1 2004-12-02 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * tabular.[Ch]: use size_t-like types for cell, row and column
6 2004-12-01 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
8 * lyxfunc.C (getStatus): do not lose previous information when
9 calling BufferView::getStatus; do not set a default "Command
10 disabled" message at the beginning, but just before returning.
12 2004-11-30 Georg Baum <Georg.Baum@post.rwth-aachen.de>
14 * cursor.h (getStatus): add better comment from src/cursor.C
16 2004-11-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
18 * text3.C (getStatus): return false when the lfun is not handled
20 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
22 * broken_headers.h: remove
24 * Makefile.am (lyx_SOURCES): remove broken_headers.h
26 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
28 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
31 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
32 top_y_, merge fitcursor with update
33 (updateScrollbar, scrollDocView, fitCursor, center, update): new
36 (workAreaDispatch): adapt to new coord scheme
37 (redoCurrentBuffer): remove
39 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
41 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
44 * coordcache.[Ch]: add paragraph cache and helpers
46 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
49 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
50 (targetX, setTargetX): introduce
52 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
53 baseline -> ascent, as the rest of lyx
55 * lyxtext.h: remove redoParagraphs, updateParPositions,
56 fullRebreak, redoParagraphInternal. move dist to anon namespace in
57 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
58 have ascent/descent (ascent is ascent of first par)
60 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
63 * paragraph.[Ch]: unify dimension handling with the rest of lyx
65 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
67 * pariterator.C: fix infinite loop introduced in par->pit renaming
69 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
70 in insets and LyXText, draw two off-screen paragraphs using
71 NullPainter, and adapt to new coord scheme
75 * text3.C: adapt lfun handlers to the new coord scheme, which
76 means: there's only guaranteed coord information for onscreen pars
77 plus one above and one below. This implies that one can do search
78 from y coordinates in the range [-1,workHeight]
80 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
82 * rename a lot of InsetOld to InsetBase
84 2004-11-25 Angus Leeming <leeming@lyx.org>
88 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
90 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
92 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
93 call BufferView::getStatus if LCursor::getStatus did nothing
94 (setStatusMessage, getStatusMessage): removed.
96 * FuncStatus.C (message): new methods. Used to provide an error
97 message indicating why a command is disabled.
98 (clear, |=, FuncStatus): update for message.
100 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
102 * lyxfunc.C (dispatch): always call sendDispatchMessage
104 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
107 * BufferView_pimpl.C:
121 * undo.C: par->pit renaming
123 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
125 * tabular.C (cellstruct): use initialization, store a shared_ptr
126 to insettext instead of the insettext directly, adjust to fit.
127 (operator=): new function
129 (rowstruct): use initialization
130 (columnstruct): use initialization
131 (ltType): use initialization
134 * lyxlength.h (swap): new function
136 * LColor.[Ch] (operator=): use the common semantics
138 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
140 * lyxfind.C (findNextChange): update the bufferview after setting
143 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
145 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
146 number of InsetOptArgs has already been inserted.
148 * output_latex.C (latexOptArgInsets): new method. This outputs all
149 the optarg insets, up to the limit defined in the layout file.
150 (optArgInset): removed
151 (TeXOnePar): call latexOptArgInsets; correctly update texrow
153 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
155 * paragraph.C (isLetter): remove special spellchecker-related
156 code; return true also for digits
157 (isWord, isKomma): remove
159 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
160 * lyxfind.C (MatchString()): use isLetter instead of isWord
162 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
164 * pariterator.h (operatir=): comment out un-implemented member
167 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
170 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
172 * lyxfont.h: include LColor.h to satisfy concept checks.
174 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
176 * pariterator.h: add typdefs for value_type, difference_type,
177 pointer and reference to satisfy concept checks. Also add default
178 constructor for same reason.
180 * pariterator.C (operator++): add post-increment operator to
181 satisfy concept checks.
183 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
186 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
188 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
189 checks. Also rename base_type to BaseType to follow naming
192 * FloatList.h: include Floating.h to satisfy concept checks.
194 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * lyxfunc.C (getStatus): when the origin of the request is menu or
197 toolbar, and the LyXView does not have focus, do as if there was
200 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
201 FuncRequest to individual entries of LFUN_SEQUENCE
203 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
205 * output_latex.C (TeXOnePar): override runparams.moving_arg
206 according to the needprotect value of the current paragraph (bug
209 * paragraph.C (simpleTeXOnePar): no need to override
210 runparams.moving_args here
212 2004-11-14 John Spray <spray_john@users.sourceforge.net>
214 * vspace.C: fix off-by-one-error, related to fix #1682
216 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
218 * lengthcommon.C: a more general fix for bug 1682
220 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
222 * text.C (backspace): fix crash
224 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
226 * format.[Ch] (getFormatFromFile): new method
227 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
229 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
231 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
233 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
235 * lyxfunc.C (dispatch): remove the verbose argument
236 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
239 * kbmap.C (defkey): set the origin of func to KEYBOARD
241 * MenuBackend.C (MenuItem):
242 * ToolbarBackend.C (add): set the origin of func to UI
244 * funcrequest.[Ch]: add origin member, which indicates which part
245 of LyX requests an action
247 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
249 * converter.C (move): don't lie in the error message
250 * converter.h (isReachable, move): document
252 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
254 * buffer.C: remove unused using lyx::support::atoi
255 * paragraph_funcs.C: ditto
257 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
259 * bufferlist.C (exists): use bind and equal_to instead of
262 * lyxtextclasslist.C (NumberOfClass): ditto
264 * cursor.C (insert): use for_each instead of explicit for loop
266 * bufferlist.C (getFileNames): use std::transform and
267 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
269 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
272 * buffer.C (changeLanguage): use for_each instead of explicit for
274 (hasParWithID): implement using getParFromID
276 * LaTeXFeatures.C: ws change only
278 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
281 * BufferView_pimpl.C (trackChanges): use for_each instead of
284 2004-11-04 André Pönitz <poenitz@gmx.net>
287 * undo.C (textUndoOrRedo): fix crash when creating undo information.
289 * dociterator.C (asDocIterator): use hard assert again.
291 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
293 * lyxlength.C (asLatexString): rewrite so that it does not use
296 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
298 * text3.C (specialChar, dispatch): make sure cursor moves to the
299 right after inserting an inset
301 2004-11-02 José Matos <jamatos@lyx.org>
303 * output_docbook.C (docbook):
304 * paragraph.C (getID):
305 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
306 garantee that the output is always legal.
308 * tabular.C (docbook):
309 * outputprams.[Ch]: remove mixed contents.
311 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
313 * text2.C (setCounter): prevent endless loop
315 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
317 * exporter.C (copyFile): use the mover instead of support::copy()
318 * exporter.C (Export): pass format and latex name to copyFile()
319 * exporter.h (addExternalFile): document
320 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
322 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
324 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
326 2004-10-30 José Matos <jamatos@lyx.org>
328 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
329 text and no inset or font change. This allows to use CDATA
330 sections just for the whole paragraph.
332 2004-10-30 José Matos <jamatos@lyx.org>
334 * paragraph.C (getFirstWord): remove unused variable.
336 2004-10-30 José Matos <jamatos@lyx.org>
338 * paragraph.C (getFirstWord): the content should always be escaped
340 (simpleDocBookOnePar):
341 * output_docbook.C (makeEnvironment): replace reference to CDATA
344 2004-10-30 José Matos <jamatos@lyx.org>
346 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
348 2004-10-30 José Matos <jamatos@lyx.org>
350 * output_docbook.C (makeParagraphs):
351 * paragraph.[Ch] (emptyTag): for docbook and company, if the
352 standard paragraph has only a given type of content drop the wrapper.
354 2004-10-29 José Matos <jamatos@lyx.org>
356 * output_docbook.C (makeEnvironment):
358 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
360 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
362 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
363 (cleanID): sanitize any id.
365 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
367 * buffer.C, lyxlex_pimpl.C:
368 * lyxlex_pimpl.C (setFile):
369 s/getExtFromContents/getFormatFromContents/
371 2004-10-28 José Matos <jamatos@lyx.org>
373 * output_docbook.C (makeEnvironment): move id to broadest possible
376 * sgml.C (openTag): apply substitution of <> for all attributes.
378 2004-10-28 José Matos <jamatos@lyx.org>
380 * buffer.C (makeLinuxDocFile, makeDocBookFile):
381 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
382 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
384 * sgml.[Ch]: new version for open and closeTag for paragraph and
385 for strings. Now they handle the ids of paragraphs.
387 2004-10-26 Angus Leeming <leeming@lyx.org>
389 * Makefile.am: add mover.[Ch].
391 * converter.C (convert, move): use the new Movers to move external
392 files to the temp directory.
394 * lyx_main.C (init): ensure that the global system_movers data
397 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
400 * mover.[Ch]: new files, defining a Mover as a utility to move an
401 external file between directories and, if necessary, manipulate this
402 file using a helper script.
404 2004-10-25 José Matos <jamatos@lyx.org>
406 * output_docbook.C (makeCommand): merge two if's that tested the
409 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
411 * sgml.C (escapeString): fix warning in a better way
413 2004-10-25 José Matos <jamatos@lyx.org>
415 * sgml.C (escapeString): import the require boosts header file for
416 tie, and avoid a signed unsigned comparison.
418 2004-10-25 José Matos <jamatos@lyx.org>
420 * sgml.h: add #include <string>
422 2004-10-25 José Matos <jamatos@lyx.org>
424 * sgml.[Ch] (escapeString): new function to escape all the string.
426 2004-10-24 José Matos <jamatos@lyx.org>
428 * paragraph.[Ch] (getFirstWord): new function to get the first
429 word. Useful for description.
430 (simpleDocBookOnePar): remove depth argument, add another that
431 says where to start the paragraph.
433 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
434 use the new functions to fix cleanly the support for descriptions.
436 2004-10-24 José Matos <jamatos@lyx.org>
438 * buffer.C (makeLinuxDocFile, makeDocBookFile):
439 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
440 * output_linuxdoc.C (linuxdocParagraphs):
441 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
442 add buffer as argument.
444 2004-10-24 José Matos <jamatos@lyx.org>
446 * output_docbook.C (makeEnvironment, searchEnvironment): place
447 CDATA inside paragraphs and fix scope for listitems.
449 2004-10-24 José Matos <jamatos@lyx.org>
451 * output_docbook.C: remove using statement for stack.
453 2004-10-23 José Matos <jamatos@lyx.org>
455 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
456 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
457 docbook. The new scheme is recursive and makes use of iterators, the
458 same as latex export works.
459 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
460 directly with the paragraph contents. This code was moved up to
461 output_docbook.C (docbookParagraphs).
462 * sgml.C (openTag, closeTag): removed unneeded newlines.
463 (closeEnvTags) removed.
465 2004-10-23 André Pönitz <poenitz@gmx.net>
467 * undo.C (textUndoOrRedo):
468 * dociterator.C (asDocIterator): work around crash
470 * cursor.C (getStatus): replace ASSERT by more verbose error message
471 and manual correction of the problem. Should increase stability
472 while providing more sensible information.
474 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
476 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
478 * bufferlist.C (previous, next): new methods
481 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
483 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
485 * buffer.C (makeDocBookFile): add dsssl stylesheet control
486 entities to preamble.
488 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
490 * messages.C (Pimpl): strip off translation context information
492 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
495 the cursor is correct (bug 1694)
497 2004-10-13 José Matos <jamatos@lyx.org>
499 * output_docbook.C (docbookParagraphs): fix closing tags in the
502 2004-10-09 José Matos <jamatos@lyx.org>
504 * buffer.C: format up to 237.
505 * bufferparams.C (write): use tostr to convert booleans to strings.
507 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
509 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
511 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
513 * LaTeX.C: implement use of babel language in xindy.
515 2004-10-05 José Matos <jamatos@lyx.org>
517 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
518 Add new translators to help reading and writing the lyx file.
520 2004-10-05 José Matos <jamatos@lyx.org>
522 * ParagraphParameters.C (read):
523 * text.C (readParToken): replace nexToken by more appropriate lex
526 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
528 * LaTeX.C (runMakeIndex):
529 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
530 (usually 'makeindex') configurable.
532 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
533 with a variable rather than with a number.
535 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
537 * output_latex.C (TeXOnePar): make sure font setting is the first
538 thing that gets output (and the last at the end). Should fix bug
541 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
543 * pch.h: use proper signal include
545 * LaTeX.h: Use preferred calling of Boost.Signal
548 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
550 * pch.h: dont include <boost/function/function0.hpp>
552 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
554 * paragraph_pimpl.h: remove usage of ShareContainer
556 * paragraph_pimpl.C: remove initialization of ShareContainer.
558 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
562 * BufferView.C (putSelectionAt): change the semantics when
563 backwards == true: now, this just swaps cursor and anchor wrt the
566 * BufferView.h (putSelectionAt): add some documentation
568 * lyxfind.C (findBackwards): rewrite using while(). In particular,
569 make sure backwardChar is done at least once (to avoid getting
571 (findNextChange): use putSelectionAt in the forward direction
572 (operator()): use Paragraph::isWord
574 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
576 * Spacing.C (set): c_str fix
578 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
580 * lyx_cb.C (Reconfigure): quote the name of configure script in
581 case it contains spaces
583 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
587 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
588 (BOOST_LIBS): use top_buildir when looking for the file
590 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
592 * pch.h: do not use include boost/format.hpp, multiple symbols
593 will result (gcc bug)
596 2004-08-23 José Matos <jamatos@lyx.org>
598 * bufferparams.C (readToken): fix reading of the author field.
600 2004-08-20 José Matos <jamatos@lyx.org>
602 * lyxrc.C: remove support/translator.h inclusion since it is not used.
604 2004-08-20 José Matos <jamatos@lyx.org>
606 * lyxlex.[Ch] (findToken): remove function.
608 * ParagraphParameters.C (findToken):
609 * bufferparams.C (findToken): replace call for previous function
610 with local copy. This local function has one more argument, the
611 read string argument.
613 2004-08-16 José Matos <jamatos@lyx.org>
615 * ParagraphParameters.C (write):
616 * Spacing.C (writeFile):
617 * bufferparams.C (writeLaTeX):
618 * lyx_cb.C (Reconfigure):
619 * paragraph.C (write):
620 * tabular.C (write): remove unnecessary space at end of line.
623 2004-08-16 José Matos <jamatos@lyx.org>
625 * text.C (readParagraph): remove debug message.
627 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
629 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
632 * output_plaintext.C (asciiParagraph): set depth correctly
634 * outputparams.h: add member depth
636 * paragraph_funcs.C (ownerPar): remove.
638 * text2.C (setCounter): remove first_pit; comment out some
639 non-working code that uses ownerPar
641 * BufferView.C (getParentLanguage): remove. Not used anymore, and
644 2004-08-16 José Matos <jamatos@lyx.org>
646 * text.C (readParToken, readParagraph, read): report all unknown tokens.
647 For the same level of importance use the same chanel to report problems.
648 (read): add code to deal with \begin_body and \end_body.
651 2004-08-15 José Matos <jamatos@lyx.org>
653 * lyxlex.C (getString): fix comment, buffer::readBody is now
656 * tex-strings.C (string_papersize): Default -> default,
657 Custom -> custom, for consistency with other options.
659 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
663 * Makefile.am: support pch
665 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
667 * text.C (readParToken): remove the static LyXFont variable and
668 pass it as a parameter instead. This fixes a nasty bug where an
669 inset will be inserted with a bad font in some situations
670 (readParagraph): adapt
672 * text2.C (setCounter): reduce number of calls to pars_[pit]
674 * text.C (singleWidth): add an assert, fix a test
676 * rowpainter.C (paintText): reduce number of calls to singleWidth
678 * paragraph.C (isHfill):
681 2004-08-14 André Pönitz <poenitz@gmx.net>
686 * lyxtext.h (several functions): use a Paragraph & argument
689 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
691 * metricsinfo.h: add a new field ltr_pos to PainterInfo
693 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
695 * text.C (singleWidth): remove useless test
697 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
699 * tabular.h: remove bogus comments
701 * tabular.C (getDescentOfRow):
702 (isPartOfMultiColumn): add assertions
704 * lyxlength.C (inPixels): remove #warning
706 2004-08-14 André Pönitz <poenitz@gmx.net>
708 * paragraph.h: inline getChar()
710 * BufferView.h: remove unused declarations
712 2004-08-14 José Matos <jamatos@lyx.org>
714 * Buffer.[Ch] (readDocument): new name for old readBody.
715 * Buffer.C: new file format, new keywords: \begin_document,
716 \begin_header, \begin_body, \end_body.
718 * bufferparams.C (readToken): replace all calls to lex.nextToken
719 by lex.next(). Do the same to eatLine except where really needed.
721 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
722 line when writing to the lyx file.
724 * output_plaintext.C (asciiParagraph): fix Bibliography style
727 * text.C (read): fix end of file handling.
729 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
731 * MenuBackend.C (Menu::operator[]): new method to access
732 individual menu items
733 (Menu::hasFunc): new method. search for an item that corresponds
735 (MenuBackend::specialMenu): new method
736 (MenuBackend::expand): if a special menu has been set, skip
737 entries whose func() appears in this menu
739 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
741 * text3.C: use Debug::DEBUG a bit more
743 * text.C (leftMargin): try to simplify a tiny bit change var x to
744 l_margin. Dont output the wide margins always.
745 (rightMargin): no margin in inner texts
747 * rowpainter.h (nestMargin): new func
748 (changebarMargin): new func
749 (rightMargin): new func
751 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
755 * factory.C (createInset): modify setDrawFrame
757 * cursor.C: use Debug::DEBUG a bit more
759 2004-08-14 André Pönitz <poenitz@gmx.net>
762 * Makefile.am: new files to accomodate an 'external' (x,y)-position
763 cache for all insets in (at least partially) visible (top-level)
766 * BufferView_pimpl.C: reset external coord cache before every update.
767 This means the coord cache only contains valid entries.
769 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
772 * BufferView_pimpl.C (getInsetByCode): move function out of class
773 and change in to a template in anon namespace. Also fix to do what
776 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
779 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
781 (breakParagraph): rename par to par_offset and use a local
782 reference. Add code to keep the language over a rebreak.
783 (breakParagraphConservative): rename par to par_offset, use a
785 (mergeParagraph): ditto
787 (isFirstInSequence): ditto
788 (outerFont): rename pit to par_offset
790 * paragraph.C: ws change
795 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
797 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
800 * paragraph.C (simpleTeXOnePar): when we have a \item with
801 optional argument, enclose the argument with curly brackets (in
802 case it contains a closing square bracket)
806 * text3.C (checkInsetHit): constify
808 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
810 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
813 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
815 Fix toggling of collapsable insets with the mouse (bug 1558)
817 * lyxfunc.C (dispatch): adapt to LCursor changes
819 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
820 make sure that dispatch is not invoked twice
822 * cursor.C (needsUpdate): new method
823 (dispatch): return void
824 (result): new method, to access the DispatchResult of the cursor.
826 2004-08-13 José Matos <jamatos@lyx.org>
828 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
830 2004-08-13 André Pönitz <poenitz@gmx.net>
832 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
834 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
837 2004-08-12 André Pönitz <poenitz@gmx.net>
839 * text3.C: take out the 'cursor right' form insertInset and only
840 do it in those places when it is really needed. Fixes crash on
843 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
845 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
847 * BufferView_pimpl.C (setBuffer): initialize the current font of
848 the underlying LyXText
850 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
852 * kbsequence.C (print): use UI native formatting for menu
855 * text.C (insertChar): call Paragraph::insertChar with a font
858 * paragraph.C (insertInset, insertChar): the version that takes a
859 LyXFont argument is now a wrapper around the other one (the
860 opposite used to be true).
862 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
863 argument. Font setting is done in Paragraph now.
865 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
867 * outputparams.h: add new members intitle and lang.
869 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
870 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
872 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
874 * text3.C (dispatch): remove special handling of button 4 and 5,
875 it is now taken care of in the frontend code.
877 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
879 * Spacing.h: add <string> (STLPort compile fix)
881 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
883 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
885 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
887 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
890 * converter.C (showMessage): inherit from unary_function, make
893 * buffer.C (writeFile): initialize retval
895 * InsetList.h: rename private variable list to list_
896 * InsetList.[Ch]: adjust accordingly.
898 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
900 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
901 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
902 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
903 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
904 * ParagraphParameters.C, LaTeXFeatures.C: replace
905 "support/std_sstream.h" with <sstream>
907 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
909 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
910 * lyxsocket.C (LyXServerSocket): ditto
911 (serverCallback): ditto
913 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
915 * LaTeXFeatures.C: check release date when loading jurabib.
917 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
919 * lyxserver.C (startPipe): call register_socket_callback
920 (endPipe): call unregister_socket_callback
922 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
924 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
925 (LyXServerSocket): register the callback
926 (LyXServerSocket): unregister the callback
927 (fd): delete function
928 (serverCallback): improve error checking and setup the callbacks.
929 (dataCallback): change arg to fd.
930 (writeln): new func (copied fro the client socket) used for server
932 (LyXDataSocket): simplify
933 (~LyXDataSocket): close ann unregiser callback
934 (server): delete function
935 (fd): delete function
936 (readln): small changes, improve some std::string usage
937 (writeln): constify a bit
939 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
941 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
944 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
946 * BufferView_pimpl.C (setBuffer): set the layout combox value only
947 after it has been populated
949 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
951 * text2.C (insertInset): move cursor when inserting inset.
953 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
955 * kbmap.C (findbindings): a couple of new methods. returns a
956 container of kb_sequence objects. The real work is done by the
957 private recursive version
958 (printbindings): uses findbindings to print out a bracketed list
959 of bindings (renamed from findbinding).
961 * MenuBackend.C (binding): use kb_keymap::findbindings
963 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
965 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
967 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
969 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
971 * paragraph.C (isWord): return true on insets that report
974 * text.C (getWord): use Paragraph::isWord to decide what is in a
975 word and what is not; fix bug 1609.
977 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
979 * tex-strings.C: add "none" to string_paperpackages[], fixes
980 off-by-one-error in the paperpackage selection.
983 * tex-strings.[Ch]: char const * string[n]
984 -> char const * const string[]
986 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
988 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
989 command, return early.
991 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
993 * debug.h: add DEBUG to enum and fix size of ANY.
995 * debug.C: add support for Debug::DEBUG
996 (showTags): cast errorTags.level to unsigned int
998 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
999 (redoCurrentBuffer): ditto
1000 (updateScrollbar): ditto
1001 * cursor.C (dispatch): ditto
1002 * text2.C (setLayout): ditto
1004 (updateCounters): ditto
1006 (deleteEmptyParagraphMechanism): ditto
1008 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
1010 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
1011 annotations to cleanup the Makefile slightly.
1013 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1015 * lyxrc.C: do not set user_email to a default value but use empty
1016 instead. The entry used to be translated, which does not work
1017 since at the point where lyxrc is constructed there is no
1018 translation service available
1020 * messages.C (getLocaleDir): remove and use directly
1021 lyx_localedir() instead
1023 2004-06-02 Angus Leeming <leeming@lyx.org>
1025 Fix crash caused by dereferencing null pointer 'exportdata' in
1026 OutputParams by creating a new ExportData variable on the heap,
1027 storing it in a boost::shared_ptr.
1028 The crash was triggered when generating an Instant Preview
1029 of an external inset.
1031 * Makefile.am: add outputparams.C
1033 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1034 (c-tor): allocate memory to it.
1036 * exporter.C (c-tor): associated changes.
1038 2004-06-01 Angus Leeming <leeming@lyx.org>
1040 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1041 contains data before calling isInset(0). (Bug 1513.)
1043 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1045 * exporter.C (checkOverwrite): new method
1046 * exporter.C (copyFile): new method
1047 * exporter.C (Export): copy referenced files to the document dir
1048 * exporter.[Ch]: new class ExportedFile
1049 * exporter.[Ch]: new class ExportData. Contains currently the
1050 names of referenced external files
1051 * outputparams.h: add exportdata member.
1053 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1055 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1058 2004-05-19 Angus Leeming <leeming@lyx.org>
1063 * lyxfunc.C: small changes due to the introduction of namespace
1064 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1066 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1068 * text3.C (dispatch): supress update when only moving the cursor
1069 * cursor.C (selHandle): remove commented code
1071 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1073 * paragraph.C (startTeXParParams): correct column count
1074 * CutAndPaste.C (pasteSelection): remove const_cast
1075 * output_docbook.C (docbookParagraphs): remove const_cast
1076 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1077 const_cast and return ParagraphList::const_iterator
1078 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1079 * output_plaintext.C (writeFileAscii): remove const_cast
1080 * paragraph.[Ch] (simpleTeXOnePar): make const
1081 * paragraph_funcs.C (outerPar): use const iterators
1082 * paragraph_pimpl.C (validate): use const iterators
1083 * text.C (setHeightOfRow): use const iterators
1085 2004-05-17 Angus Leeming <leeming@lyx.org>
1088 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1090 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1091 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1092 if the citation engine has changed.
1094 2004-05-14 José Matos <jamatos@lyx.org>
1096 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1097 if the textclass does not provide it. Have it different for sgml and
1099 support the language of document.
1100 * output_docbook.C (docbookParagraphs):
1101 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1102 first anchor as the id of the paragraph, remove special case code.
1103 * sgml.C (escapeChar): escape only < & >.
1105 2004-05-14 Angus Leeming <leeming@lyx.org>
1107 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1108 dependencies on src/frontends/controllers/biblio.h. Define a
1109 CiteEngine_enum wrapper class to enable the enum to be forward
1112 2004-05-12 Angus Leeming <leeming@lyx.org>
1114 * buffer.C: up LYX_FORMAT to 234.
1115 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1116 use_numerical_citations with a single biblio::CiteEngine cite_engine
1118 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1120 2004-05-13 José Matos <jamatos@lyx.org>
1123 * converter.C (Converter, readFlags): add xml member.
1124 * outputparams.h: add XML flavor.
1125 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1127 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1129 * lyxfunc.C (dispatch):
1130 (getStatus): fix handling of LFUN_SEQUENCE
1132 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1134 * debug.C (showLevel): do not forget the end-of-line marker
1136 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1138 * kbmap.C (read): do not stop parsing a bind file when an error
1141 2004-04-29 Angus Leeming <leeming@lyx.org>
1146 * text2.C: wrap a bunch of #warning statements
1147 inside #ifdef WITH_WARNINGS blocks.
1149 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1151 * buffer.C: increment format to 233.
1153 2004-04-28 Angus Leeming <leeming@lyx.org>
1155 * BufferView_pimpl.C:
1158 s/updateToolbar()/updateToolbars()/
1159 s/Toolbar.h/Toolbars.h/
1161 2004-04-28 Angus Leeming <leeming@lyx.org>
1163 * BufferView.[Ch] (c-tor):
1164 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1165 No longer passes these data to the WorkArea generator.
1167 2004-04-28 Angus Leeming <leeming@lyx.org>
1169 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1171 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1173 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1175 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1177 * output_latex.C (TeXEnvironment): make sure that there is a line
1178 break before \end{foo} for the last paragraph of a document
1179 (TeXOnePar): if the paragraph is at the end of the document (or
1180 inset) and the language has to be reset, then make sure that the
1181 line break is _before_ the language command, not after (fixes bug
1182 1225); also make sure that the language reset command is the first
1183 thing after the paragraph (to ensure proper nesting of
1184 environments and thus fix bug 1404)
1186 2004-04-21 John Levon <levon@movementarian.org>
1189 * ToolbarBackend.C: make "name" be a programmatic name
1190 and a gui_name field.
1192 * lyxfunc.C: display the minibuffer on M-x
1194 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1196 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1199 2004-04-19 Angus Leeming <leeming@lyx.org>
1201 * BufferView_pimpl.C (setBuffer): changed preview interface.
1203 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1206 2004-04-19 John Levon <levon@movementarian.org>
1208 * BufferView_pimpl.C:
1209 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1211 2004-04-05 Angus Leeming <leeming@lyx.org>
1213 * text.C (redoParagraphs): add call to updateCounters(), thereby
1214 fixing the missing "Figure #:" label from the caption of a
1217 2004-04-13 Angus Leeming <leeming@lyx.org>
1219 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1220 cursor is clicked out of an inset.
1222 2004-04-13 Angus Leeming <leeming@lyx.org>
1224 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1225 than an InsetOld one.
1227 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1229 * format.[Ch]: add editor to Format
1230 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1231 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1233 2004-04-08 André Pönitz <poenitz@gmx.net>
1235 * metricsinfo.h: remove PainterInfo::width member
1237 2004-04-08 Angus Leeming <leeming@lyx.org>
1239 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1240 "\providecommand" rather than "\newcommand", thereby preventing
1241 clashes with packages that define "\boldsymbol" themselves.
1244 2004-04-08 Angus Leeming <leeming@lyx.org>
1246 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1247 thereby squashing an unnecessary warning.
1249 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1251 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1254 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1256 * BufferView.C (setCursor): call redoParagraph (some insets could
1258 (putSelectionAt): remove the 'double update' trick
1260 * BufferView_pimpl.C (fitCursor): call refreshPar
1261 (workAreaDispatch): remove an uneeded update call
1262 (dispatch): remove some manual update calls
1264 * cursor.[Ch]: remove cached_y_, updatePos
1265 (selHandle): set noUpdate when appropriate
1267 * lyxfunc.C (dispatch): track if we need an update
1269 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1271 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1272 (paintSelection): cheap optimization, do not call cursorX when not
1274 (paintPars): change signature
1277 (paintTextInset): adjust
1281 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1283 * lengthcommon.C: compilation fix: remove explicit array size from
1284 unit_name[] and friends
1286 2004-04-05 Angus Leeming <leeming@lyx.org>
1288 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1290 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1291 present only for the preferences dialog.
1292 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1294 2004-04-05 Angus Leeming <leeming@lyx.org>
1296 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1297 to enable the frontends to export changes to lyxrc correctly.
1299 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1301 2004-04-07 André Pönitz <poenitz@gmx.net>
1303 * cursor.[Ch] (selClear, adjust): remove math
1305 * cursor_slice.C: more agressive assert
1308 * BufferView_pimpl.C: rework mouse event dispatch
1315 2004-04-05 André Pönitz <poenitz@gmx.net>
1317 * cursor.[Ch] (valign, halign...): remove unneeded functions
1319 2004-04-05 Angus Leeming <leeming@lyx.org>
1321 * lyxlength.[Ch] (unit_name et al.): const-correct.
1323 2004-04-05 Angus Leeming <leeming@lyx.org>
1325 * BufferView_pimpl.C:
1334 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1336 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1338 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1340 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1342 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1343 * BufferView_pimpl.[Ch] (getStatus)
1344 * BufferView.[Ch] (getStatus): add
1345 * lyxfunc.C (getStatus): move lfuns handled in
1346 BufferView::dispatch to te function above
1347 * Cursor.C (setSelection): set selection() = true
1349 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1351 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1353 2004-03-31 Angus Leeming <leeming@lyx.org>
1355 * lyxfunc.C (dispatch): Fall through to the generic
1356 Dialogs::show("preamble").
1358 2004-03-31 Angus Leeming <leeming@lyx.org>
1360 * lyxfunc.C (dispatch): Fall through to the generic
1361 Dialogs::show("spellchecker").
1363 2004-03-31 Angus Leeming <leeming@lyx.org>
1365 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1368 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1373 * insetiterator.[Ch]:
1378 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1380 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1382 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1383 insets where we are putting the cursor.
1385 2004-03-31 Angus Leeming <leeming@lyx.org>
1388 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1390 * lyxrc.[Ch] (read, write): overloaded member functions taking
1391 a std::[io]stream arguments.
1393 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1395 2004-03-31 Angus Leeming <leeming@lyx.org>
1397 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1398 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1400 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1401 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1403 2004-03-31 Angus Leeming <leeming@lyx.org>
1405 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1406 the LFUN_ALL_INSETS_TOGGLE code.
1408 2004-03-30 Angus Leeming <leeming@lyx.org>
1410 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1411 has died. Fall through to the generic Dialogs::show("document").
1413 2004-03-30 Angus Leeming <leeming@lyx.org>
1416 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1417 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1419 * lyxfunc.C (getStatus, dispatch): define the actions for these
1420 lfuns. Little more than a cut and pste job from ControlDocument.C
1422 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1424 2004-03-30 Angus Leeming <leeming@lyx.org>
1427 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1428 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1430 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1431 open/closed state of ollapsable insets. Usage:
1433 all-inset-toggle <state> <name>, where
1434 <state> == "open" || "closed" || "toggle" and
1435 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1437 * lyxtext.h, text2.C (toggleInset): removed.
1439 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1440 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1441 now passes LFUN_INSET_TOGGLE to the found inset.
1443 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1444 is now invoked as "all-insets-toggle toggle branch".
1446 2004-03-30 Angus Leeming <leeming@lyx.org>
1450 * pariterator.[Ch]: added/corrected header blurb.
1452 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1454 * dociterator.[Ch]: add an inset_ member
1455 (backwardPos): implemented
1456 (backwardPos, forwardPos): use inset_ when the stack is empty.
1457 (doc_iterator_begin, doc_iterator_end): implemented
1458 * pariterator.[Ch]: adjust, add begin, end
1459 * insetiterator.[Ch]: adjust, add begin, end
1463 * BufferView_pimpl.C:
1464 * CutAndPaste.C: adjust
1466 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1468 * buffer.C: increment file format to 232.
1469 * LaTeXFeatures.C: add bibtopic package.
1470 * bufferparams.[Ch]: param \use_bibtopic.
1472 * lyxrc.[Ch]: add lyxrc bibtex_command
1473 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1475 * buffer.C: increment file format to 231.
1477 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1479 * dociterator.C: implement forwardPar
1480 * iterators.[Ch]: remove, replaced by
1481 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1483 * BufferView_pimpl.C:
1486 * bufferview_funcs.C:
1492 * Makefile.am: adjust
1494 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1496 * CutAndPaste.C (pasteSelection): fix 2 crashes
1497 (eraseSelection): fix a crash
1498 * paragraph_funcs.C: remove a warning
1500 2004-03-28 Angus Leeming <leeming@lyx.org>
1503 * LyXAction.C (init): new LFUN_PRINT.
1505 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1507 2004-03-27 Angus Leeming <leeming@lyx.org>
1510 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1512 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1514 2004-03-27 Angus Leeming <leeming@lyx.org>
1516 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1517 insetlist always contains non-null pointers to insets.
1519 2004-03-26 Angus Leeming <leeming@lyx.org>
1521 * src/BufferView_pimpl.C:
1522 * src/CutAndPaste.C:
1525 * src/output_plaintext.C:
1526 * src/outputparams.h:
1527 * src/paragraph_funcs.C:
1531 * src/frontends/controllers/ControlErrorList.C:
1532 * src/frontends/gtk/FileDialogPrivate.C:
1533 * src/frontends/gtk/GPainter.C:
1534 * src/frontends/gtk/GToolbar.C:
1535 * src/frontends/qt2/QRef.C:
1536 * src/mathed/math_scriptinset.C: squash compiler warnings.
1538 2004-03-26 Angus Leeming <leeming@lyx.org>
1540 * ispell.C (LaunchIspell::start):
1541 * lyx_cb.C (AutoSaveBuffer::start):
1542 invoke run(DontWait) rather than runNonBlocking().
1544 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1546 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1548 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1550 * kbsequence.C (print): adjust
1552 * kbmap.C (printKeySym): rename and change signature
1553 (printKey): use LyXKeySym::print()
1555 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1557 * undo.C: add using std::advance to compile for stlport
1559 2004-03-24 Angus Leeming <leeming@lyx.org>
1561 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1562 it leads to a crash when no buffer is present.
1564 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1565 Martin Vermeer <martin.vermeer@hut.fi>
1567 * lyxfunc.C (dispatch):
1568 * bufferparams.C (readToken): use the new LColor::setColor
1570 * LColor.[Ch] (setColor): new version that takes two strings as
1571 argument and creates a new color entry if necessary
1573 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1575 * buffer.C (makeLaTeXFile): if the main latex file that is
1576 processed is usually a subdocument of some master, then pretend
1577 for a while that it is actually the master
1579 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1581 * buffer.C (getLabelList):
1582 (getBibkeyList): use getMasterBuffer()
1583 (getMasterBuffer): new method. Returns the main document in the
1584 case where one is using included documents.
1586 2004-03-25 André Pönitz <poenitz@gmx.net>
1590 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1592 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1594 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1595 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1597 * ParameterStruct.h: merge with ParagraphParameters
1599 * lyxtext.h: remove LyXText::parOffset() and getPar()
1601 * text3.C: Remove all 'manual' update calls. We do now one per user
1602 interaction which is completely sufficient.
1606 * BufferView_pimpl.C:
1607 * FontIterator.[Ch]:
1609 * ParagraphParameters.[Ch]:
1614 * cursor_slice.[Ch]:
1621 * output_docbook.[Ch]:
1622 * output_latex.[Ch]:
1623 * output_linuxdoc.[Ch]:
1624 * output_plaintext.[Ch]:
1626 * paragraph_funcs.[Ch]:
1627 * paragraph_pimpl.[Ch]:
1635 * frontends/controllers/ControlDocument.C:
1636 * frontends/controllers/ControlErrorList.C:
1637 * frontends/controllers/ControlSpellchecker.C:
1640 * insets/insetbase.h:
1641 * insets/insetbibitem.C:
1642 * insets/insetbox.C:
1643 * insets/insetbranch.C:
1644 * insets/insetcaption.C:
1645 * insets/insetcharstyle.C:
1646 * insets/insetcharstyle.h:
1647 * insets/insetcollapsable.C:
1648 * insets/insetcollapsable.h:
1649 * insets/insetert.C:
1650 * insets/insetfloat.C:
1651 * insets/insetfoot.C:
1652 * insets/insetmarginal.C:
1653 * insets/insetnote.C:
1654 * insets/insetoptarg.C:
1655 * insets/insettabular.C:
1656 * insets/insettext.C:
1657 * insets/insettext.h:
1658 * insets/insetwrap.C:
1659 * mathed/math_mboxinset.C:
1660 * mathed/math_nestinset.C:
1661 * mathed/math_scriptinset.C:
1662 * mathed/math_scriptinset.h:
1665 2004-03-24 Angus Leeming <leeming@lyx.org>
1667 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1668 deal with any child processes that have finished but are waiting to
1669 communicate this fact to the rest of LyX.
1671 2004-03-24 Angus Leeming <leeming@lyx.org>
1673 64-bit compile fixes.
1675 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1676 (c-tor): pass lyx::pos_types rather than ints.
1678 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1681 * text.C (Delete): compile fix.
1682 (getPar): ensure that function declaration is the same as that in
1685 2004-03-23 Angus Leeming <leeming@lyx.org>
1687 * ispell.C (LaunchIspell):
1688 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1689 a boost::shred_ptr rather than a std::auto_ptr.
1691 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1693 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1694 handle LFUN_FILE_INSERT_*
1696 * lyxrc.C (setDefaults, getDescription, output, read):
1697 * lyxrc.h: remove ps_command
1699 2004-03-22 Angus Leeming <leeming@lyx.org>
1701 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1702 Ensure that error_handler is processed once only and that all data
1703 is saved before attempting to output any warning messages.
1705 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1707 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1709 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1711 2004-03-19 André Pönitz <poenitz@gmx.net>
1713 * cursor.[Ch] (reset): take main text inset as argument
1715 * BufferView: adjust
1716 * BufferView_pimpl.C: adjust
1718 * paragraph.[Ch]: fix completely broken operator=()
1720 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1722 * LColor.C (getFromLyXName): make sure that the color name is used
1725 2004-03-17 Angus Leeming <leeming@lyx.org>
1728 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1730 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1731 dialog and to kill a forked process.
1733 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1735 * text2.C (setCursorFromCoordinates): fix font problem
1737 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1739 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1740 bogus "rebuild cursor" code
1742 2004-03-11 André Pönitz <poenitz@gmx.net>
1744 * buffer.[Ch]: use InsetText instead of LyXText as container for
1747 * dociterator.[Ch]: drop the BufferView * member which is not needed
1748 anymore after the change to buffer.C
1750 * paragraph_funcs.C:
1754 * BufferView_pimpl.[Ch]:
1756 * cursor_slice.[Ch]: adjust
1758 * text3.C: fix bug in mathDispatch
1760 2004-03-08 André Pönitz <poenitz@gmx.net>
1762 * undo.[Ch]: use 'StableDocumentIterator' as base for
1765 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1768 * bufferparams.[Ch]: add jurabib support and param.
1770 * LaTeX.C: add FIXME/comment.
1772 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1774 * buffer.C: increment file format to 230.
1776 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1778 * cursor.C (dispatch): avoid infinite loops
1780 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1782 * rowpainter.C (paintSelection): fix x coordinates
1784 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1786 * text.C (rowBreakPoint): fix breaking before displayed insets
1788 2004-03-01 André Pönitz <poenitz@gmx.net>
1790 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1792 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1796 * BufferView_pimpl.C:
1804 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1810 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1811 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1813 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1815 * Bidi.[Ch] (computeTables): const correctness
1816 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1817 fill_hfill, fill_label_hfill and x from Row
1818 * lyxtext.h: prepareToPrint returns a RowMetrics
1819 * rowPainter.C: adjust
1820 * text.C (prepareToPrint): use width, not textWidth. adjust
1821 (redoParagraphInternal, cursorX): adjust
1822 * text2.C (getColumnNearX): adjust
1823 (init): put a default value to the top LyXText::width
1825 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1827 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1829 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1831 * lyxtext.h: add FontIterator class
1833 * text.C (FontIterator, operator*, operator->, operator++): add
1834 (rowBreakPoint, setRowWidth): adjust (fixing a
1837 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1839 * BufferView_pimpl.C (workAreaDispatch): allow also
1840 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1842 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1844 * text.C (rowBreakPoint): fix a bug showing with very large insets
1846 2004-02-25 André Pönitz <poenitz@gmx.net>
1849 * cursor.[Ch]: move some mathed specific code to mathed
1851 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1853 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1854 use_tempdir in preferences
1855 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1857 * lyx_main.C: ensure that tempdir is valid
1858 * lyxlex.h: correct typo
1859 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1860 * paragraph.[Ch] (isMultiLingual): make const
1861 * cursor.[Ch] (openable): make const
1863 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1865 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1867 2004-02-20 André Pönitz <poenitz@gmx.net>
1869 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1871 * cursor.[Ch]: prepare for localized getStatus()
1877 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1879 2004-02-20 André Pönitz <poenitz@gmx.net>
1881 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1883 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1885 * text2.C (setCursorFromCoordinates): switch to absolute coords
1887 (cursorDown): adjust
1888 * text3.C (dispatch): adjust
1890 2004-02-16 André Pönitz <poenitz@gmx.net>
1892 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1895 * cursor_slice.[Ch]: remove unneeded acessor function
1897 * lyxtext.h: rename rtl() to isRTL()
1905 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1907 * rowpainter.C (paintSelection): coord fix
1909 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1911 * Spacing.C: compile fix
1913 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1915 * cursor.C (dispatch): restore current_ before returning
1917 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1919 * text2.C (cursorUp, cursorDown): fix coords
1922 2004-02-12 André Pönitz <poenitz@gmx.net>
1927 * text3.C: add LCursor & parameter to most cursor movement functions
1928 remove usage of LyXText::cursorRow() and cursorPar()
1930 * cursor.[Ch]: add textRow() needed members
1933 * BufferView_pimpl.C:
1936 * BufferView_pimpl.C: adjust
1938 2004-02-11 André Pönitz <poenitz@gmx.net>
1942 * BufferView_pimpl.C: shift undo/redo handling
1944 * cursor.[Ch]: fix mathed crash
1947 * lyxtext.h: move selectionAsText to LCursor
1955 * rowpainter.C: fix excessive drawing
1957 2004-02-06 André Pönitz <poenitz@gmx.net>
1960 * BufferView_pimpl.[Ch]:
1961 * text3.C: move some text specific LFUN handling
1963 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1965 * text3.C (checkInsetHit): adjust coords
1966 * text2.C (getColumnNearX): adjust coords
1967 (edit): adjust coords
1968 * text.C (getRowNearY): add two asserts
1970 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1973 * format.C: add using std::distance to compile on gcc 2.95/stlport
1975 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1977 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1979 2004-02-04 André Pönitz <poenitz@gmx.net>
1981 * BufferView.[Ch] (insertInset):
1982 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1987 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1989 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1990 on the default clause of the switch
1991 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1992 wasn't catched by LCursor::dispatch
1994 2004-02-03 André Pönitz <poenitz@gmx.net>
1997 * cursor.[Ch]: some additional asserts
1999 * undo.[Ch]: remove LyXText dependency in interface
2003 * lyxtext.h (firstPar, lastPar): remove dead functions
2008 * paragraph.[Ch]: adjust
2010 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
2012 * lyxfind.C (find): fix argument order in call to ::find
2014 2004-02-02 André Pönitz <poenitz@gmx.net>
2016 * cursor.[Ch]: remove direct access to anchor
2018 * text.C: remove findText() hack
2020 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2022 * iterators.[Ch] (lockPath): remove in favour of...
2023 * BufferView.[Ch] (setCursor): this addition
2024 * BufferView.C (putSelectionAt): adjust
2025 * undo.C (performUndoOrRedo): adjust
2026 * lyxfunc.C (dispatch): adjust
2028 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2030 * iterators.C (lockPath): add a missing slice
2031 * undo.C (performUndoOrRedo): remove redundant positioning code
2033 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2035 * vc-backend.C (scanMaster): ";" -> ';'
2037 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2039 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2040 std::binary_function
2042 * lyxtextclass.C (compare_name): rename to...
2043 (LayoutNamesEqual): ...this
2045 * lyxlex_pimpl.C (compare_tags): inherit from
2046 std::binary_function, put back into anon namespace
2048 * lyxfind.C (MatchString): inherig from std::binary_function
2049 (findChange): use empty() istead of !size()
2051 * format.C (FormatNamesEqual): new functor
2058 * converter.C (compare_Converter): rename to...
2059 (ConverterEqual): ...this, and fixup a bit.
2060 (getConverter): use it, and make function const
2061 (getNumber): use it, and make function const
2065 * bufferlist.C: add using boost::bind
2067 * MenuBackend.C (MenuNamesEqual): new functor
2068 (hasMenu): use it, and make function const
2069 (hasSubmenu): use nested bind to get rid of compare_memfun.
2071 2004-01-30 André Pönitz <poenitz@gmx.net>
2073 * BufferView_pimpl.C:
2076 * cursor_slice.[Ch]:
2079 * paragraph_funcs.C:
2080 * paragraph_funcs.h:
2084 * text3.C: move some of the edit(x,y) handling to the insets
2085 some coordinate changes.
2087 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2089 * text.C: add using statements for std::advance and std::distance
2091 * paragraph.C: add using statement for std::distance
2093 * lyxfind.C: add using statement for std::advance
2095 * cursor.C (region): remove std:: from swap
2096 (openable): use nucleus in stead of operator->
2098 * BufferView.C: add using statements for std::distance and std::swap
2100 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2102 * iterators.C: Remove the pimple, move the needed structures to
2103 the header file. Create accessor for the positions stack.
2104 (asPosIterator): remove function
2106 * PosIterator.C (PosIterator): move constructors to top of file
2107 (PosIterator): reimplement the constructor taking a ParIterator in
2109 (setFrom): new function
2110 (operator!=): inline it
2112 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2114 * lyxfind.C (replaceAll): use std::advance
2116 * iterators.h: inherit from std::iterator.
2118 * PosIterator.C (advance, distance): remove
2119 * PosIterator.h: interit from std::iterator.
2121 2004-01-26 André Pönitz <poenitz@gmx.net>
2124 * BufferView_pimpl.[Ch]:
2128 * bufferview_funcs.C:
2138 * output_linuxdoc.C:
2139 * output_plaintext.C:
2141 * paragraph_funcs.[Ch]:
2142 * paragraph_pimpl.[Ch]:
2148 * text3.C: more IU: dumps most of the rest of the mathcursor
2149 implementation into cursor.[Ch]; "globalize" a bit of it.
2151 2004-01-25 Angus Leeming <leeming@lyx.org>
2153 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2155 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2157 * LaTeXFeatures.h: add nice_ and nice() const
2158 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2160 2004-01-20 André Pönitz <poenitz@gmx.net>
2163 * BufferView_pimpl.C:
2165 * bufferview_funcs.C:
2167 * cursor_slice.[Ch]:
2178 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2179 LCursor and mathcursor parts to LCursor and InsetBase.
2181 2004-01-15 André Pönitz <poenitz@gmx.net>
2183 * cursor_slice.[Ch]: add a few covienience functions
2185 * funcrequest.[Ch]: remove BufferView * member
2187 * BufferView_pimpl.C:
2194 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2196 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2198 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2199 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2201 2004-01-13 André Pönitz <poenitz@gmx.net>
2204 * lyxtext.h: hide cursor and selection anchor behind accessor function
2207 * BufferView_pimpl.[Ch]:
2209 * bufferview_funcs.C:
2219 * cursor_slice.[Ch]: some integer type changes for inset unification
2221 * lyxcursor.[hC]: remove, it's CursorSlice now.
2224 * BufferView_pimpl.[Ch]:
2225 * bufferview_funcs.C:
2231 * textcursor.[Ch]: adjust
2233 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2235 * text2.C (undoSpan): add and use
2236 * text.C (breakParagraph): use undoSpan (fix bug 578)
2239 2004-01-08 Angus Leeming <leeming@lyx.org>
2241 * BufferView_pimpl.C (MenuInsertLyXFile):
2242 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2243 * lyxfunc.C (menuNew, open, doImport):
2244 FileFilterList change to the FileDialog open and save functions.
2246 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2248 * ShareContainer.h: make isEqual and isUnique adaptable
2250 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2252 2004-01-07 Angus Leeming <leeming@lyx.org>
2255 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2257 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2259 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2260 functions replacing find, replace and replaceAll.
2262 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2263 LFUN_WORDFIND(FORWARD|BACKWARD).
2265 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2267 * text.C (breakParagraph): remove an outdated #warning
2269 2004-01-07 André Pönitz <poenitz@gmx.net>
2271 * lyxfind.C: somewhat clearer logic
2273 * text.C: prevent crash in cursorX on unitialized row cache
2275 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2277 * lyxcursor.[Ch] (operator>): add
2278 * textcursor.C (selStart, selEnd): use std::min and std::max
2280 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2282 * Chktex.C: include boost/format.hpp
2284 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2286 * InsetList.C: replace functor MathcIt with adaptable functor
2288 (insetIterator): modify accordingly
2290 * BranchList.h: move the BranchNamesEqual functor here from...
2291 * BranchList.C: ... to here
2293 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2295 (add): replace a finding loop with std::find_if.
2297 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2299 * output_docbook.C: moving LatexParam functionality into
2302 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2304 * buffer.C: increment format to 229.
2306 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2309 * lyx_sty.[Ch]: remove minipageindent_def
2315 * text3.C: remove LFUN_INSET_MINIPAGE
2317 2003-12-28 Angus Leeming <leeming@lyx.org>
2319 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2321 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2323 * text2.C (setParagraph): fix off-by-one crash
2325 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2327 * output_docbook.C: header stuff for AGU
2329 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2331 * text2.C (redoCursor): remove
2334 * BufferView_pimpl.C: remove calls to redoCursor and
2335 setCursor(cursor.par(), cursor.pos()) all around
2337 2003-12-15 Angus Leeming <leeming@lyx.org>
2339 * buffer.C: up the format to 228.
2341 2003-12-15 André Pönitz <poenitz@gmx.net>
2343 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2348 * BufferView_pimpl.C:
2357 2003-12-15 Angus Leeming <leeming@lyx.org>
2359 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2360 than getFromGUIName to manipulate the color.
2362 2003-12-14 Angus Leeming <leeming@lyx.org>
2364 * BranchList.[Ch]: minimize the API.
2365 (Branch::getBranch, getColor): now return a 'const &'.
2366 (Branch::setSelected) now returns a bool set to true if the
2367 selection status changes.
2368 (BranchList::clear, size, getColor, setColor, setSelected,
2369 allBranches, allSelected, separator): removed.
2370 (BranchList::find): new functions, returning the Branch with
2372 (BranchList::add, remove): return a bool indicating that
2373 the operation was successful.
2375 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2376 new InsetBranch::isBranchSlected member function.
2378 * LColor.[Ch]: mimimize the API.
2379 (fill): renamed as addColor and made private.
2380 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2381 versions of these functions taking a string arg have been removed.
2383 * bufferparams.C (readToken):
2384 * lyxfunc.C (dispatch):
2385 * lyxrc.C (read): changes due to the altered BranchList and
2388 * factory.C (createInset, readInset): changes due to altered
2391 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2394 * lyxfunc.C: remove insetminipage. "minipage-insert"
2395 now produces a frameless minipage box inset.
2397 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2399 * textcursor.[Ch] (selStart,selEnd): add new methods
2400 remove selection::start, end, use LyXCursor::operator<
2401 * lyxcursor.[Ch] (operator<): add
2402 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2403 * BufferView.[Ch] (unsetXSel): add
2404 * text2.C (clearSelection): use unsetXSel,adjust
2407 * rowpainter.C: adjust
2408 * bufferview_funcs.C (put_selection_at): adjust
2410 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2412 * BufferView_pimpl.C: small coord. correction
2414 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2416 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2417 dragging over the splash screen.
2419 2003-12-11 Angus Leeming <leeming@lyx.org>
2421 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2422 as it is now handled in LyXText::dispatch.
2424 * text3.C (doInsertInset): remove a level of nesting.
2426 2003-12-11 Angus Leeming <leeming@lyx.org>
2428 * factory.C (createInset): changes due to the changed interface to
2429 InsetCommandMailer::string2params.
2431 2003-12-10 Angus Leeming <leeming@lyx.org>
2433 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2434 'dialog-show-new-inset <inset name>'
2436 2003-12-10 Angus Leeming <leeming@lyx.org>
2438 * buffer.C: up the format to 227.
2440 * factory.C: the box inset is now identified simply by 'Box'.
2442 2003-12-10 Angus Leeming <leeming@lyx.org>
2444 * buffer.C: up the format to 226.
2446 * factory.C: the note inset is now identified simply by 'Note'.
2448 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2450 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2451 when a pit is enough. Standarize a couple of loops.
2453 2003-12-05 Angus Leeming <leeming@lyx.org>
2455 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2456 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2457 data to the re-worked "log" dialog.
2459 2003-12-03 André Pönitz <poenitz@gmx.net>
2465 * paragraph_funcs.C:
2467 * text2.C: use Inset::getText instead of Inset::getParagraph
2469 2003-12-03 André Pönitz <poenitz@gmx.net>
2473 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2474 InsetText::read() as LyXText::read()
2476 2003-12-02 Angus Leeming <leeming@lyx.org>
2478 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2479 type. Add a comment in the implementation that the function uses
2480 the stream's bad() function rather than fail() as the std::streams
2483 2003-12-02 André Pönitz <poenitz@gmx.net>
2485 * lyxlex.[Ch]: make interface more similar to std::stream
2487 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2489 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2491 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2493 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2495 * vspace.[Ch]: remove VSpace::NONE
2497 2003-12-01 André Pönitz <poenitz@gmx.net>
2500 * lyxtext.h: move ParagraphList member to LyXText
2501 rename LyXText::ownerParagraphs to LyXText::paragraph
2504 * bufferview_funcs.C:
2514 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2516 * undo.C: fix cursor positioning
2518 2003-12-01 John Levon <levon@movementarian.org>
2520 * BufferView_pimpl.C: fix a crash on exit with
2523 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2525 * BranchList.C: fix setSelected() method.
2527 2003-11-28 André Pönitz <poenitz@gmx.net>
2529 * ParagraphParameters.[Ch]:
2530 * ParameterStruct.h: remove space above/below from Paragraph to
2533 * BufferView_pimpl.C:
2539 * paragraph_funcs.C:
2545 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2547 * factory.C: Syntax change for CharStyles
2549 2003-11-28 André Pönitz <poenitz@gmx.net>
2554 * buffer.[Ch]: move LyXText member
2556 2003-11-28 André Pönitz <poenitz@gmx.net>
2558 * BufferView.[Ch]: make LyXText * text a private member
2560 * BufferView_pimpl.C:
2571 * output_plaintext.C: cleanup
2573 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2576 * lyxtextclass.[Ch]: parametrize SGML document header
2578 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2581 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2584 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2586 * text2.C (setFont): rework using PosIterator (no more recursive)
2587 (setCharFont): no more needed
2588 (setLayout): no more selection cursors fiddling (done by redoCursor)
2589 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2590 destroy remaining ones)
2592 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2594 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2596 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2599 * text3.C: adjust + re-allow multi par depth changes
2600 * textcursor.C: simplify a bit
2602 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2608 * src/output_docbook.C:
2609 * src/output_latex.C:
2614 * src/text2.C: Introducing a number of tags parametrizing various
2615 XML formats that we may want to support
2617 2003-11-25 André Pönitz <poenitz@gmx.net>
2619 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2621 * lyxtext.h (leftMargin/rightMargin): simplify interface
2628 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2630 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2631 master file to any child files. Fixes bug 546.
2633 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2635 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2637 2003-11-24 André Pönitz <poenitz@gmx.net>
2639 * rowpainter.C: simplification
2641 * text2.C (updateCounters): remove call to redoParagraph on
2642 changed labels as this is far too expensive.
2644 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2646 * converter.C (convert): fix a crash: this function gets
2647 called with buffer == 0 from importer code.
2649 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2651 * text3.C (cursorPrevious): make sure that we do not compare
2652 iterators form different containers.
2655 * rowpainter.C (paintSelection): make sure that we do not compare
2656 iterators from different containers.
2658 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2659 iterators from different ParagraphList containers.
2662 * text2.C (LyXText): change order of initialization slightly
2663 (operator=): new function. copy all variables except cache_par_
2664 (moveUp): make sure that we do not compare iterators from
2665 different ParagraphList constainers.
2668 * text.C (firstPar): new function
2669 (lastPar): new function
2670 (endPar): new function
2672 * lyxtext.h: move things around and group public functions, public
2673 variables, private functions, private variables
2675 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2677 * factory.C: change call to InsetERT constructor to avoid
2678 additional invocation of method status
2679 * text2.C (toggleInset): remove redundant update() call
2680 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2681 instead of a Bufferview pointer
2683 2003-11-21 André Pönitz <poenitz@gmx.net>
2685 * rowpainter.C: simplification
2687 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2689 * text3.C (dispatch): make possible to extend a word/row selection
2692 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2694 * lyxtext.h: x0_,y0_ -> xo_,yo_
2695 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2696 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2697 * rowpainter.C (paintRows): paint full paragraphs
2699 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2701 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2704 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2706 * lyxtext.h: add x0_, y0_
2707 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2708 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2710 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2712 * text2.C (setCursorIntern): move the x_target update here *
2713 * text3.C: change some bv() to true/false in calls to
2714 cursorUp/Down/Right/Left
2715 * cursor.C: use helper function.
2717 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2719 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2720 * paragraph_funcs.[Ch]: correct comment
2721 * rowpainter.C: do not paint selections away from bv->cursor()
2722 Fix a long standing selection painting bug.
2723 * text3.C: generalize mouse-selection code to LyXTexts other that
2725 * textcursor.C: do not use y coords if we can use par offsets
2727 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2729 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2730 cursor position after e.g. inset insert)
2732 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2734 * lyxfind.C (replace): adjust to locking removal + some
2737 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2739 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2742 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2745 * output_docbook.C: XML sanitation: new layout
2746 parameters InnerTag and CommandDepth
2748 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2750 * BufferView_pimpl.C:
2752 * text3.C: Fix the insertion and modification of button-style
2755 2003-11-13 André Pönitz <poenitz@gmx.net>
2757 * InsetList.[Ch]: remove deleteLyXText
2759 * paragraph.[Ch]: cache beginOfBody position
2764 * text3.C: remove superfluous update() calls
2768 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2770 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2771 * BufferView.C (fitLockedInsetCursor): remove
2772 * cursor.[Ch] (getDim): add
2773 * text.C (getRowNearY): add faster version
2774 * text3.C: remove some update calls
2776 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2788 * text3.C: The Character Style /XML short element patch.
2790 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2793 * factory.C: Small step to solving 'unable to insert some insets'
2796 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2798 * cursor.[Ch] (updatePos): new function for updating the y
2799 position of the tip inset
2800 * bufferview_funcs.C (put_selection_at):
2801 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2803 2003-11-11 André Pönitz <poenitz@gmx.net>
2805 * text.C: remove big comment on invalid Paragraph pointers as it is
2808 2003-11-11 André Pönitz <poenitz@gmx.net>
2810 * text_funcs.[Ch]: merge with ...
2818 * Makefile.am: remove text_funcs.[Ch]
2820 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2822 * cursor.C (getPos): return absolute cached y coord
2824 * BufferView_pimpl.C (fitCursor): new simplistic code
2825 (workAreaDispatch): add a fitCursor call
2827 2003-11-10 André Pönitz <poenitz@gmx.net>
2830 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2832 2003-11-10 André Pönitz <poenitz@gmx.net>
2834 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2835 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2836 indicate that the cursor needs to leave an inset
2838 * lyxtext.h: remove inset locking
2840 * cursor.[Ch]: re-implement functionality provided by inset locking
2843 * BufferView_pimpl.[Ch]:
2845 * bufferview_funcs.[Ch]:
2857 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2859 * PosIterator.[Ch]: replace the stack with a vector, add inset
2861 * iterators.[C]: adjust
2863 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2865 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2867 * paragraph_funcs.C (readParToken): put the correct id in the
2868 error item, not the id of the top paragraph
2870 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2872 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2873 * bufferview_funcs.C (put_selection_at): use the above
2875 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2877 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2879 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2881 * output_linuxdoc.h:
2882 * output_plaintext.h:
2884 * output_docbook.h: add #include statements
2886 2003-11-05 José Matos <jamatos@lyx.org>
2888 * output_docbook.[Ch]:
2889 * output_latex.[Ch]:
2890 * output_linuxdoc.[Ch]:
2891 * output_plaintext.[Ch]: New files for output formats.
2892 * output.[Ch]: New file for helper functions.
2895 * paragraph_funcs.[Ch]: output functions moved to new files.
2897 * outputparams.h: rename of latexrunparams.h
2905 * paragraph_funcs.[Ch]:
2906 * paragraph_pimpl.[Ch]:
2907 * tabular.[Ch]: rename ascii to plaintext
2908 and LatexRunParams to OutputParams.
2910 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2912 * iterators.[Ch] (text): require bv argument
2913 * undo.C (recordUndo):
2914 * lyxfunc.C (dispatch):
2915 * bufferview_funcs.C (put_selection_at): adjust
2917 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2919 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2921 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2923 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2926 2003-11-04 André Pönitz <poenitz@gmx.net>
2928 * cursor.[Ch]: restructure
2931 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2933 * iterators.[Ch] (asCursor): remove
2935 * lfuns.h: remove LFUN_INSET_EDIT
2941 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2943 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2945 * lyxfind.[Ch]: complete overhaul
2946 * BufferView_pimpl.C:
2948 * paragraph.[Ch] (insert): add
2950 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2954 * text.C: remove dead spellcheck code
2956 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2958 * dispatchresult.h: add a val setter
2960 * cursor.C (dispatch): use a tempvar for data_[i]
2962 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2964 * PosIterator.[Ch]: compile fix
2966 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2968 * text.C (cursorPar): deactivate the cursor cache
2970 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2972 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2974 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2976 * text3.C (dispatch): adjust for new DisptchResult semantics.
2978 * lyxfunc.C (dispatch): handle update when return from
2979 Cursor::dispatch, adjust for new DispatchResult semantics.
2981 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2982 DispatchResult(true) mean to not update. Add class functions for
2983 setting dispatched and update, as well as reading.
2985 * cursor.C (dispatch): don't handle update here
2987 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2989 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2990 * trans_mgr.C: adjust
2992 * paragraph_funcs.C (readParToken): exception safety
2994 * lyxvc.h: store the vcs pointer in a scoped_ptr
2997 * lyxsocket.C (serverCallback): exception safety
2999 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
3001 * ispell.C (clone): make it return a auto_ptr
3003 * factory.C (createInset): exception safety
3004 (readInset): exception safety
3006 * bufferlist.C (newBuffer): exception safety
3008 * Thesaurus.C (Thesaurus): use initialization for aik_
3010 * MenuBackend.C (expandToc): exception safety.
3012 2003-11-03 André Pönitz <poenitz@gmx.net>
3016 * bufferview_funcs.C: remove getInsetFromId()
3019 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3025 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3027 * PosIterator.C (distance, advance): new
3028 * bufferview_funcs.[Ch] (put_selection_at): new
3029 * iterators.[Ch] (lockPath): new
3031 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3033 * iterators.[Ch] (asPosIterator): added
3034 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3035 * PosIterator.[Ch]: added
3037 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3041 * cursor.C (dispatch):
3042 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3044 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3045 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3046 contructor, add a class function dispatched. Remove operator>=
3048 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3050 * debug.C: only use the default constructor for debugstream
3053 * main.C (main): include debug.h and setup the lyxerr streambuf
3056 2003-10-31 José Matos <jamatos@lyx.org>
3058 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3060 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3061 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3062 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3063 * paragraph_pimpl.C (simpleTeXSpecialC):
3064 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3065 add LatexRunParams argument.
3067 * exporter.C (Export): change call accordingly.
3069 * latexrunparams.h: add new member to take care of the other backends.
3070 2003-10-30 José Matos <jamatos@lyx.org>
3072 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3073 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3074 factorise code for paragraph output.
3076 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3079 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3081 * text3.C (dispatch):
3082 * lyxfunc.C (dispatch):
3083 * cursor.C (dispatch):
3084 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3086 * dispatchresult.h: make the dispatch_result_t ctor explicit
3088 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3091 * buffer.C: small refactoring of docbook stuff
3093 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3095 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3098 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3100 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3101 operator dispatch_result_t, and operators for == != and >=
3103 * cursor.C (dispatch): adjust for operator dispatch_result_t
3104 removal. comment out call to update
3106 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3108 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3116 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3119 * dispatchresult.h: new file, DispatchResult broken out of
3122 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3124 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3126 * text.C (rowBreakPoint): put a hack inside #if 0
3128 2003-10-28 André Pönitz <poenitz@gmx.net>
3132 * paragraph_funcs.C:
3135 * text2.C: general cleanup (lots of small stuff)
3137 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3139 * text2.C (cursorEnd): simple fix to the "end key goes to one
3140 before the end on last row" bug
3142 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3144 * text.C (backspace): fix the "zombie characters"
3146 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3148 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3150 2003-10-27 André Pönitz <poenitz@gmx.net>
3152 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3154 * factory.C: handle new InsetPagebreak, InsetLine
3156 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3157 and move handling into new InsetPagebreak, InsetLine
3159 * BufferView_pimpl.C:
3161 * ParagraphParameters.C:
3162 * ParameterStruct.h:
3167 * paragraph_funcs.C:
3168 * paragraph_pimpl.C:
3174 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3177 * lyxrow_funcs.[Ch]:
3183 * text3.C: remove lastPos uses in favour of Row::endpos
3185 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3187 * undo.C (performUndoOrRedo): fix two crashes by setting a
3188 cursor by hand and reordering some calls. Use bv->lockInset instead
3189 of inset->edit because the latter loses cursor information
3191 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3193 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3195 (rowBreakPoint): fix width. change point to point + 1.
3196 Add a missing check.
3198 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3201 * lyxfunc.C: fix (at least partly) the problems
3202 with the Nav menu and headers inside branch insets
3205 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3207 * paragraph.C (getChar): add strong asserts
3209 * lyxrow_funcs.C (lastPos): remove hideous hack
3211 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3212 (fill): adjust to that (avoid an infinite loop)
3214 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3216 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3218 2003-10-23 André Pönitz <poenitz@gmx.net>
3220 * RowList_fwd.h: change list<> to vector<> to gain speed
3221 after suggestion from Alfredo
3223 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3225 * lyxtext.h: move the bidi stuff from here...
3228 * Bidi.[Ch]: ... to here
3230 2003-10-23 André Pönitz <poenitz@gmx.net>
3233 * text.C (isLastRow, isFirstRow): new functions
3235 * paragraph.h: new width cache member
3237 * rowpainter.C: replace RowList::iterator with Row & where possible
3239 * lyxfunc.C: replace several view()->text with a single call
3241 * toc.C: fix 'unused' warning
3243 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3245 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3246 when woring with stream::pos_type
3247 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3249 2003-10-22 André Pönitz <poenitz@gmx.net>
3252 * text.C: use Row & instead of RowList::iterator
3254 * lyxrow.h: rename end() to endpos()
3260 2003-10-22 Angus Leeming <leeming@lyx.org>
3262 * buffer.[Ch] (fully_loaded): new member function, returning true
3263 only when the file has been loaded fully.
3264 Used to prevent the premature generation of previews and by the
3265 citation inset to prevent computation of the natbib-style label.
3267 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3268 templates are all set up.
3270 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3272 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3274 * text.C: fixed an "oops" in the "is a bit silly"
3277 2003-10-21 André Pönitz <poenitz@gmx.net>
3279 * FuncStatus.[Ch]: small stuff, whitespace
3281 * lyxfont.[Ch]: operator<<() for debug reasons
3285 * lyxtext.h: whitespace, spelling
3287 * paragraph.C: naming of variables
3290 * text2.C: small stuff
3293 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3295 * text.C: (1) finish off the inset display() work;
3296 (2) fix the "is a bit silly" bug (accessing char
3299 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3301 * text.C: re-introduce display() for insets, fixing the
3302 various bugs (stretch of line above, math inset
3305 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3307 * text.C (rightMargin): remove spurious semicolon
3309 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3312 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3314 * text3.C: fix one crash due to wrong cursor def
3316 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3318 * vc-backend.C (scanMaster): make the regex static
3320 * LaTeX.C (scanAuxFile): make the regexs static
3322 * text3.C (doInsertInset, dispatch, dispatch):
3323 * text2.C (cursorUp, cursorDown):
3324 * text.C (selectNextWordToSpellcheck):
3325 * BufferView_pimpl.C (dispatch):
3326 * lyxfunc.C (dispatch): localDispatch -> dispatch
3328 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3330 * lyxsocket.C: include <cerrno>
3332 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3334 * lyxfunc.C (dispatch): remove textcache stuff
3336 * bufferlist.C (release): remove textcache stuff
3339 * TextCache.C: delete file
3340 * TextCache.h: delete file
3342 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3344 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3345 delete of the bv_->text.
3346 (resizeCurrentBuffer): remove texcache stuff
3347 (workAreaResize): ditto
3349 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3351 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3354 2003-10-16 André Pönitz <poenitz@gmx.net>
3361 * text3.C: speed up by storing y positions per paragraph plus per-row
3362 offset instead of having a 'full' y position in the row.
3364 2003-10-15 André Pönitz <poenitz@gmx.net>
3368 * undo.[Ch]: make undo aware of inner insets
3370 2003-10-14 Angus Leeming <leeming@lyx.org>
3372 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3373 static member functions LyX::ref() and LyX::cref.
3374 (lastfiles): new accessor functions for the new lastfiles_ member var.
3375 (addLyXView, views_): add a new LyXView to the list of views_.
3376 (updateInset): loop over all LyXViews to call their own updateInset
3377 member function, returning a pointer to the Buffer owning the inset.
3379 * BufferView_pimpl.C (loadLyXFile):
3380 * MenuBackend.C (expandLastfiles):
3381 * bufferlist.C (MenuWrite, QuitLyX):
3382 lastfiles is no longer a global variable.
3383 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3385 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3386 static function. Access through LyX::cref().emergencyCleanup().
3388 2003-10-14 André Pönitz <poenitz@gmx.net>
3390 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3392 * undo.[Ch]: restoring part of 'undo in insets'
3395 * undo_funcs.[Ch]: merge with undo.[Ch]
3397 * tabular.C: small cleansing stuff
3399 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3401 * paragraph_funcs.C (readParToken): report unknown insets as error
3402 boxes. Use the outer paragraph as location (also for unknown
3405 * factory.C (readInset): do not abort on reading an unknown inset.
3406 Eat it and return 0.
3408 2003-10-13 Angus Leeming <leeming@lyx.org>
3410 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3412 * lyxrc.C: displayTranslator is now a function,
3413 declared in GraphicsTypes.h.
3415 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3417 * format.C: new placeholder $$a to pass the socket address.
3419 * bufferlist.[Ch]: new function getBufferFromTmp.
3421 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3422 files in the temporary dir.
3424 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3426 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3428 * Makefile.am: add lyxsocket.[Ch].
3430 * lyx_main.C (error_handler): handle SIGPIPE.
3432 2003-10-13 André Pönitz <poenitz@gmx.net>
3434 * BufferView_pimpl.C:
3439 * undo_funcs.[Ch]: use paroffset_type instead of
3440 ParagraphList::iterators to prevent multiple conversion
3441 (and get a more robust interface)
3443 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3445 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3447 * text3.C (dispatch): ditto
3449 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3451 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3452 move the onlyfile, use onlyfile instead of foundfile in a couple
3455 * DepTable.C (update): flush the error stream a bit more
3457 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3459 * lyxserver.C (callback): adjust
3461 * lyxfunc.C (getStatus): add a missing brace in commented code
3462 (ensureBufferClean): reindent
3463 (dispatch): delete version taking a string
3465 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3467 * LaTeX.C (deplog): move found file handlig from here...
3468 (handleFoundFile): .. to new function here.
3469 (deplog): make sure to discover several files mentioned on the
3472 2003-10-10 André Pönitz <poenitz@gmx.net>
3479 * text3.C: fix some of the tabular crashes
3481 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3483 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3485 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3487 2003-10-09 André Pönitz <poenitz@gmx.net>
3489 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3492 * BufferView_pimpl.C:
3493 * bufferview_funcs.C:
3504 * undo_funcs.C: adjust
3506 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3508 * text2.C (incrementItemDepth): new function, use a backtracking
3509 algorithm to discover the correct item depth.
3510 (resetEnumCounterIfNeeded): new function, use a backtracking
3511 algorithm to discover if counter reset is needed.
3512 (setCounter): use them. Simplify a bit. Add different labels for
3513 different item depths for itemize.
3515 * paragraph.C (Paragraph): remove initialization of enumdepth
3518 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3519 enumerate and itemize. Change the type of itemdepth to signed char.
3521 2003-10-08 André Pönitz <poenitz@gmx.net>
3523 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3528 * tabular.[Ch]: fix crash after 'row-insert'
3530 2003-10-08 Angus Leeming <leeming@lyx.org>
3532 Fix doxygen warnings.
3534 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3535 Remove CutAndPaste:: prefix from header file declaration.
3537 * LColor.h (fill): remove LColor:: prefix from declaration.
3539 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3540 use lyx::depth_type rather than Paragraph::depth_type so that
3541 header file and .C file match.
3543 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3545 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3546 * aspell.C: \file aspell_local.C -> \file aspell.C
3547 * gettext.C: \file gettext.C -> \file src/gettext.C
3548 * gettext.h: \file gettext.h -> \file src/gettext.h
3549 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3550 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3551 * text.C: \file text.C -> \file src/text.C
3553 * toc.C: move comment so that doxygen is not confused.
3555 2003-10-07 Angus Leeming <leeming@lyx.org>
3557 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3559 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3562 * aspell_local.h: add forgotten std::string's.
3564 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3571 * text3.C: The Box patch. Fancybox support, minipage, parbox
3573 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3579 * ParagraphParameters.h:
3589 * lyxtextclasslist.h:
3592 * paragraph_pimpl.C:
3593 * textcursor.h: add <string> and other small fixes to make Lars'
3594 std::string patch compile with STLport.
3596 2003-10-06 Angus Leeming <leeming@lyx.org>
3598 * LColor.h: Add missing #include <string>.
3600 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3602 * All most all file in all subdirs: Make <string> be the prefered
3603 way of getting to std::string, add using declarations.
3605 2003-10-06 André Pönitz <poenitz@gmx.net>
3607 * metricsinfo.C: initialize LyXFont before changing attribute.
3608 (fixes the 'math in \emph is upright' bug)
3610 2003-10-06 André Pönitz <poenitz@gmx.net>
3612 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3614 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3617 * paragraph_pimpl.C: Small fixes to build using STLport
3619 2003-10-02 André Pönitz <poenitz@gmx.net>
3622 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3624 2003-10-01 André Pönitz <poenitz@gmx.net>
3626 * factory.C: assert early
3628 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * lyx_main.C: remove the global debug object
3632 * debug.h: adjust for new debugstream
3634 * debug.C: adjust for new debugstream and keep the global debug
3637 2003-09-22 Angus Leeming <leeming@lyx.org>
3639 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3640 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3641 an incomplete class LyXFont.
3643 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3645 * factory.C: bug fix in branches
3647 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * lyxfunc.C (processKeySym): adjust
3651 (dispatch): change arg name from ev to func, adjust
3652 (sendDispatchMessage): ditto
3654 * lyx_main.C (defaultKeyBindings): adjust keybindings
3655 (deadKeyBindings): ditto
3657 * kbsequence.C (addkey): return a FuncRequest
3659 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3661 * kbmap.C (bind): take a FuncRequest as arg, adjust
3664 (defkey): change to take a FuncRequest as arg, adjust
3665 (findbinding): take a FuncRequest as arg, adjust.
3667 * funcrequest.h (operator=): added
3669 * funcrequest.C (FuncRequest): default kb_action changed from
3670 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3672 * buffer.C (dispatch): simplify
3673 (dispatch): adjust to take a FuncRequest as arg, adjust
3675 * boost.C (assertion_failed): change assertion message slightly
3677 * ToolbarBackend.C (read): simplify
3679 * MenuBackend.C (binding): adjust call to findbinding, add a
3680 message if no binding is found.
3682 (expandToc): correct by adding a empty FuncRequest
3684 * LyXAction.C: include <boost/assert.hpp>
3685 (isPseudoAction): delete function
3686 (LookupFunc): change name to...
3687 (lookupFunc): this. change return type to FuncRequest.
3688 (getActionName): take kb_action as arg, simplify
3689 (funcHasFlag): add an assert, simplify.
3691 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3693 * toc.C (action): return a FuncRequest, simplify
3695 * lyxfunc.C (processKeySym): adjust
3696 (getStatus): delete version that takes an int.
3698 (dispatch): delete version that takes action as int
3700 (sendDispatchMessage): simplify and adjust
3702 * funcrequest.C (getArg): take unsigned int as arg
3704 * ToolbarBackend.C (read): adjust
3705 (add): delete version that takes func as a string.
3706 (getIton): take a FuncRequest as arg
3708 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3711 * MenuBackend.C (MenuItem): add a new construct that only takes a
3712 Kind, simplify the constructor use for submenus.
3714 (expandLastfiles): adjust
3715 (expandDocuments): adjust
3716 (expandFormats): adjust
3717 (expandFloatListInsert): adjust
3718 (expandFloatInsert): adjust
3719 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3721 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3722 Remove class variables lyx_pseudo_map and lyx_arg_map
3724 * LyXAction.C (searchActionArg): delete function
3725 (getPseudoAction): delete function
3726 (retrieveActionArg): delete function
3727 (LookupFunc): make it return kb_action, simplify.
3728 (getActionName): simplify
3730 * factory.C (createInset): fix new bug
3732 2003-09-19 Angus Leeming <leeming@lyx.org>
3734 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3735 masterFilename_ parameter in the include inset.
3737 * factory.C (createInset): changes due to the changes to InsetInclude.
3739 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3741 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3743 2003-09-18 Angus Leeming <leeming@lyx.org>
3746 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3747 Inset::fillWithBibKeys.
3748 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3750 2003-09-18 Angus Leeming <leeming@lyx.org>
3752 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3754 (ctor): pass and store a 'Buffer const &'
3755 (buffer): new member function.
3757 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3758 '*this' to the LaTeXFeatures ctor.
3760 2003-09-18 Angus Leeming <leeming@lyx.org>
3766 * text.C: rename EnumLColor as LColor_color.
3768 2003-09-18 Angus Leeming <leeming@lyx.org>
3770 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3771 remove #include "insets/insetbase.h" from cursor.h.
3773 2003-09-18 Angus Leeming <leeming@lyx.org>
3775 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3776 InsetOld_code to remove #include "inset.h".
3778 * iterators.C: add #include "insets/inset.h"
3780 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3782 * BufferView.C: remove more locking stuff that apparently doesn't
3783 do anything sensible.
3785 2003-09-16 André Pönitz <poenitz@gmx.net>
3788 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3791 2003-09-16 Angus Leeming <leeming@lyx.org>
3793 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3795 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3798 * paragraph.h: remove #include "lyxfont.h". Forward declare
3801 2003-09-16 Angus Leeming <leeming@lyx.org>
3803 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3804 of support/textutils.h.
3805 (isWord): move the contents of support/textutils.h's IsWordChar here.
3811 * text2.C: add #include "paragraph.h".
3814 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3816 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3822 * LaTeX.C: use namespace alias for lyx::support::os
3824 2003-09-16 Angus Leeming <leeming@lyx.org>
3827 * bufferview_funcs.C:
3830 * paragraph_pimpl.C:
3832 * text.C: add #include "LColor.h".
3834 2003-09-16 Angus Leeming <leeming@lyx.org>
3836 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3837 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3839 Store the FontBits::color variable as an int rather than as an
3840 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3843 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3844 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3845 string calls together.
3847 * lyxrc.C: add #include "LColor.h".
3849 2003-09-15 Angus Leeming <leeming@lyx.org>
3851 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3854 2003-09-15 Angus Leeming <leeming@lyx.org>
3856 * LColor.h: add an EnumLColor wrapper for LColor::color.
3858 * lyxfont.[Ch] (color, setColor, realColor):
3859 * lyxtext.h, text.C (backgroundColor):
3860 pass EnumLColor args to/from the functions, rather than LColor::color
3864 * lyxtext.h: forward declare EnumLColor.
3866 * lyx_main.C: add #include "LColor.h".
3868 2003-09-15 Angus Leeming <leeming@lyx.org>
3870 * .cvsignore: add lyx-gtk.
3872 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3877 * ParagraphParameters.C
3881 * bufferview_funcs.C
3891 * vc-backend.C: remove usage of STRCONV
3893 2003-09-15 Angus Leeming <leeming@lyx.org>
3895 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3896 explicitly define the color passed to the painter.
3898 2003-09-15 Angus Leeming <leeming@lyx.org>
3900 * bufferparams.C (BufferParams): reorder member initializers to avoid
3903 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3905 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3906 * text.C (updateRowPositions): remove an unusual nop
3908 2003-09-12 André Pönitz <poenitz@gmx.net>
3910 * BufferView_pimpl.C:
3919 * Counters.[Ch]: finish the 'automatic counters' job
3921 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3923 * aspell.C: include <boost/assert.cpp> (compile fix)
3925 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3927 * boost.C (assertion_failed): use lyx::support::abort instead of
3930 2003-09-10 Angus Leeming <leeming@lyx.org>
3932 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3933 with their _fwd progeny.
3935 2003-09-09 Angus Leeming <leeming@lyx.org>
3937 134 files throughtout the source tree: replace 'using namespace abc;'
3938 directives with the appropriate 'using abc::xyz;' declarations.
3940 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3942 * boost.C (emergencyCleanup): moved here from LAssert.c
3943 (assertion_failed): new function, called by BOOST_ASSERT
3945 * several files: change Assert to BOOST_ASSERT
3947 2003-09-09 Angus Leeming <leeming@lyx.org>
3949 * buffer.[Ch]: Add an Impl class and move Buffer's member
3950 variables into it. As a result move several header files out of
3953 Add header files to lots of .C files all over the tree as a result.
3955 2003-09-09 Angus Leeming <leeming@lyx.org>
3957 * buffer.[Ch]: make Buffer's member variables private. Add
3960 Lots of changes all over the tree as a result.
3962 2003-09-08 Angus Leeming <leeming@lyx.org>
3964 * graph.C: #include <config.h>.
3966 2003-09-08 Angus Leeming <leeming@lyx.org>
3970 * BufferView_pimpl.C:
3999 * toc.C: remove redundant using directives.
4001 2003-09-07 Angus Leeming <leeming@lyx.org>
4003 * LaTeXFeatures.h: remove #include "support/types.h".
4004 * ToolbarBackend.h: remove #include <algorithm>.
4005 * changes.h: remove #include <ctime>.
4006 * debug.h: remove #include <iosfwd>.
4007 * graph.h: remove #include "support/std_string.h".
4008 * lyx_main.h: remove #include <csignal>.
4009 * lyxlex_pimpl.h: remove #include <fstream>.
4010 * sgml.h: remove #include <algorithm>, <utility>.
4011 * toc.h: remove #include "support/std_ostream.h".
4012 Add #include <iosfwd>.
4014 2003-09-07 Angus Leeming <leeming@lyx.org>
4016 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
4018 * converter.h: forward declare LatexRunParams.
4019 * encoding.h: remove #include "lyxrc.h".
4020 * lyxtext.h: remove #include "LColor.h".
4021 * lyxtextclass.h: remove #include "support/types.h".
4022 * trans.h: remove #include "tex-accent.h".
4023 * trans_mgr.h: remove #include "tex-accent.h".
4024 * insets/inset.h: remove #include "support/types.h", <vector>.
4025 * insets/insetcollapsable.h: remove #include "LColor.h".
4026 * insets/insetinclude.h: remove #include "dimension.h".
4027 * insets/insetlatexaccent.h: remove #include "dimension.h".
4028 * insets/insetoptarg.h:: remove #include "insettext.h".
4029 * insets/insettext.h: remove #include "dimension.h",
4030 <boost/shared_ptr.hpp>
4032 * insets/renderers.h: add #include "dimension.h".
4033 * insets/updatableinset.h: add #include "support/types.h".
4035 * many .C files: Associated changes.
4037 2003-09-06 Angus Leeming <leeming@lyx.org>
4039 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4040 one, inside testInvariant.
4042 * PrinterParams.C: new file.
4043 * PrinterParams.[Ch]: move the function bodies out of line.
4045 2003-09-06 Angus Leeming <leeming@lyx.org>
4047 * ParagraphParameters.h: forward declare ParameterStruct rather than
4048 including its header file.
4049 (depth): moved out-of-line.
4051 2003-09-06 Angus Leeming <leeming@lyx.org>
4053 * BufferView_pimpl.h:
4056 * lyxfunc.h: forward declare LyXKeySym rather than
4057 #include "frontends/LyXKeySym.h".
4059 * BufferView_pimpl.C:
4062 * lyxfunc.C: associated changes.
4064 2003-09-06 Angus Leeming <leeming@lyx.org>
4066 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4067 As a result, can remove the #include "insets/inset.h" from BufferView.h
4069 2003-09-06 Angus Leeming <leeming@lyx.org>
4071 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4072 As a result, can remove the #include "insets/inset.h" from BufferView.h
4074 2003-09-06 Angus Leeming <leeming@lyx.org>
4080 * bufferview_funcs.C:
4081 * BufferView_pimpl.C:
4086 * ParagraphParameters.C:
4091 * frontends/controllers/ControlDocument.C:
4092 * insets/insetcaption.C: rearrange the #includes into some sort of
4095 * buffer.h: remove #includes ErrorList.h, undo.h
4097 2003-09-06 Angus Leeming <leeming@lyx.org>
4099 * support/types.h: add a 'depth_type' typedef, used to store the
4100 nesting depth of a paragraph.
4103 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4104 defining explicitly.
4107 * paragraph_funcs.h:
4108 * ParagraphParameters.h:
4109 * sgml.h: use lyx::depth_type rather than Paragraph or
4110 ParameterStruct's depth_type.
4113 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4116 * BufferView_pimpl.C:
4118 * ParagraphParameters.C:
4121 * bufferview_funcs.C:
4128 * frontends/LyXView.C:
4129 * frontends/controllers/ControlDocument.C:
4130 * frontends/controllers/ControlErrorList.C:
4131 * insets/insetbibitem.C:
4132 * insets/insetbranch.C:
4133 * insets/insetcaption.C:
4134 * insets/insetcollapsable.C:
4135 * insets/insetenv.C:
4136 * insets/insetert.C:
4137 * insets/insetfloat.C:
4138 * insets/insetfoot.C:
4139 * insets/insetfootlike.C:
4140 * insets/insetnewline.C:
4141 * insets/insetquotes.C:
4142 * insets/insettabular.C:
4143 * insets/insettext.C:
4144 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4146 * frontends/controllers/ControlChanges.C: #include "changes.h".
4148 2003-09-06 Angus Leeming <leeming@lyx.org>
4150 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4151 than #including paragraph.h.
4154 * RowList.h: deleted. Superfluous.
4164 * insets/insettext.h: use ParagraphList_fwd.h rather than
4167 * paragraph.h: don't forward declare ParagraphList.
4170 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4171 rather than ParagraphList.h. paragraph.h is still needed for the
4172 Paragraph::depth_type parameters.
4174 * textcursor.h: enable it to compile stand-alone in light of the
4177 * bufferview_funcs.C:
4189 * frontends/controllers/ControlParagraph.C:
4190 * frontends/controllers/ControlTabular.C:
4191 * insets/insetmarginal.C:
4192 * insets/insetminipage.C:
4193 * insets/insetnote.C:
4194 * insets/insetoptarg.C: add header files needed to compile again.
4196 2003-09-06 Angus Leeming <leeming@lyx.org>
4198 * RowList_fwd.h: new file, forward-declaring Row rather than
4199 #including lyxrow.h.
4204 * insets/insettext.h: use it instead of RowList.h
4206 * bufferview_funcs.C:
4213 * text3.C: #include "RowList.h".
4215 2003-09-05 Angus Leeming <leeming@lyx.org>
4217 * factory.C (createInset):
4218 * vspace.C (c-tor): replace sscanf call with an istringstream.
4219 * ispell.C: re-add missing HP/UX headers.
4220 * lyxserver.C: re-add missing os2 headers.
4222 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4231 * text3.C: re-add missing system headers, needed for 2.95.2.
4233 2003-09-05 Angus Leeming <leeming@lyx.org>
4235 Changes most place everywhere due to the removal of using directives
4236 from support/std_sstream.h.
4238 2003-09-05 Angus Leeming <leeming@lyx.org>
4240 Replace LString.h with support/std_string.h,
4241 Lsstream.h with support/std_sstream.h,
4242 support/LIstream.h with support/std_istream.h,
4243 support/LOstream.h with support/std_ostream.h.
4245 Changes resulting throughout the tree.
4247 2003-09-05 Angus Leeming <leeming@lyx.org>
4249 * sgml.h: ensure that the header file can be compiled stand-alone.
4250 * *.C: strip out redundant #includes. (320 in total.)
4252 2003-09-04 Angus Leeming <leeming@lyx.org>
4254 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4255 here (from getPackages).
4257 * debug.[Ch]: add a new EXTERNAL tag.
4259 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4261 * text2.C (cursorEnd): simplify
4263 (getColumnNearX): adjust
4265 * text.C (computeBidiTables): adjust
4268 * rowpainter.C (paintChars): adjust
4269 (paintSelection): adjust
4270 (paintChangeBar): adjust
4273 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4275 (numberOfSeparators): adjust
4277 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4283 * text3.C: Restricts the mouse click functionality
4284 of insets like bibtex, include, toc and floatlist to the visible
4285 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4286 up the dialogs. Cursor has to be in front of the inset (i.e.
4287 start of row) for this to function.
4289 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4291 * bufferview_funcs.C (currentState): output row information
4293 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4295 * bufferview_funcs.C (currentState): output paragraph position
4297 2003-09-04 Angus Leeming <leeming@lyx.org>
4299 * FloatList.h: move out #include "Floating.h".
4300 * LaTeX.h: move out #include "DepTable.h".
4301 * LyXAction.h: move out #include "funcrequest.h".
4302 * buffer.h: move out #include "author.h", "iterators.h".
4303 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4304 * lyx_main.h: move out #include "errorlist.h".
4305 * lyxfunc.h: move out #include "FuncStatus.h".
4306 * lyxtext: move out #include "lyxcursor.h".
4307 * paragraph_pimpl.h: move out #include "counters.h".
4309 2003-09-03 Angus Leeming <leeming@lyx.org>
4311 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4312 preamble_snippets list, enabling us to add snippets to the preamble
4313 only if the snippet was not there already.
4315 2003-09-04 Angus Leeming <leeming@lyx.org>
4317 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4319 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4321 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4324 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4326 * BranchList.C: point fix, earlier forgotten
4328 2003-09-02 Angus Leeming <leeming@lyx.org>
4330 * box.C (contains): renamed from 'contained' after a fantastic
4333 2003-09-02 John Levon <levon@movementarian.org>
4339 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4341 2003-09-02 John Levon <levon@movementarian.org>
4343 * text2.C: simplification of cursorEnd(), including partial
4346 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4348 * buffer.C (readFile): add a space
4350 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4352 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4354 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4356 * buffer.C (readFile): new function, take a filename and a
4357 ParagraphList::iterator
4359 (readFile): adjust, make it private. don't use setStream, make
4360 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4361 always contain the filename.
4363 * BufferView.C (insertLyXFile): simplify and make it work for
4366 2003-08-30 John Levon <levon@movementarian.org>
4368 * Makefile.am: fix dist (from Kayvan)
4370 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4372 * most files: change to use const Buffer refs
4374 2003-08-27 André Pönitz <poenitz@gmx.net>
4376 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4377 on top of ownerPar().
4379 2003-08-27 John Levon <levon@movementarian.org>
4381 * funcrequest.C: properly initialise POD members
4383 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4385 * lyxtext.h (top_y): move top_y from here
4390 * BufferView_pimpl.[Ch]: to here
4391 * frontends/screen.C:
4392 * insets/insettabular.C:
4393 * insets/insettext.C: adjust
4394 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4396 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4399 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4401 2003-08-26 André Pönitz <poenitz@gmx.net>
4403 * paragraph_func.[Ch] (outerPar): new function
4406 * paragraph_funcs.C:
4407 * paragraph_funcs.h:
4408 * paragraph_pimpl.C:
4409 * text2.C: remove Inset::par_owner
4411 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4416 * text2.C: eliminates the needFullRow/display() stuff
4417 altogether, putting the logic in metrics/draw in the insets.
4419 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4421 * text2.C (redoParagraphInternal, redoParagraphs):
4422 * text.C (redoParagraph): add a call to updateRowPositions at the
4423 end of each 'metrics-like' call. Remove all others.
4424 (getRow): remove the 'y-computing' version.
4425 (getRowNearY): do not compute nor return the real y. Solve the
4426 'y < 0' problem and simplify.
4428 2003-08-22 Angus Leeming <leeming@lyx.org>
4430 * *.[Ch]: clean-up of licence and author blurbs.
4431 Also move config.h out of a few .h files and into a few .C files.
4433 2003-08-22 André Pönitz <poenitz@gmx.net>
4435 * lyxrow.[Ch]: add x_ and *fill_ members
4440 * text2.C: adjust/remove prepareToPrint() calls
4442 2003-08-22 André Pönitz <poenitz@gmx.net>
4444 * lyxrow.[Ch]: add end_ member
4446 * lyxrow_funcs.C: use LyXRow::end_
4448 * lyxtext.h (singleWidth): add LyXFont parameter
4451 * text2.C: adjust LyXText::singleWidth() calls
4453 * text.C (redoParagraph): simplify row breaking logic
4456 2003-08-19 André Pönitz <poenitz@gmx.net>
4458 * funcrequest.C: initialize button_ member
4461 * rowpainter.[Ch]: interface consolidation
4463 2003-08-18 André Pönitz <poenitz@gmx.net>
4466 * BufferView_pimpl.C:
4468 * paragraph_funcs.C:
4470 * text3.C: remove LyXScreen::draw() and fitCursor calls
4472 * BranchList.h: remove spurious semicolons
4474 * MenuBackend.C: fix branchlist related crash
4476 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4484 * bufferparams.[Ch]:
4488 * text3.C: implements the 'branch inset'
4489 idea. This allows the output of various versions of a document
4490 from a single source version, selectively outputing or suppressing
4491 output of parts of the text.
4492 This implementation contains a 'branch list editor' in a separate
4493 tab of the document settings dialog. Branches are user definable
4494 and have a "display colour" to distinguish them on-screen.
4496 ColorHandler was somewhat cleaned up.
4497 (1) make possible a dynamically growing LColor list by allowing
4498 the graphic context cache to grow along (vector);
4499 (2) eliminate an IMHO unnecessary step in colour allocation.
4501 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4503 * BufferView_pimpl.C: compile fix
4505 2003-08-15 André Pönitz <poenitz@gmx.net>
4507 * rowpainter.C: remove extra metrics calls
4509 * lyxtext.h: merge the two constructors into a single one,
4510 pass reference to owner's par list
4512 * BufferView_pimpl.C:
4516 2003-08-15 André Pönitz <poenitz@gmx.net>
4518 * lyxrow_funcs.[Ch]:
4521 * paragraph_funcs.C:
4526 * text_funcs.C: split LyXText::rowlist_ into individual
4527 Paragraph::rows_ chunks
4530 * BufferView_pimpl.[Ch]:
4533 * text3.C: remove toggleSelection()
4535 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4537 * bufferlist.C: beautify two alerts (shorter text of buttons)
4538 * buffer.C: Remove redundant ' ' from message
4540 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4541 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4542 rename VALIGN_CENTER to VALIGN_MIDDLE
4544 2003-08-11 André Pönitz <poenitz@gmx.net>
4546 * lyxtext.h (getPar):
4547 * text.C: new function
4549 2003-08-11 André Pönitz <poenitz@gmx.net>
4552 * tracer.[Ch]: remove unneeded files
4554 * InsetList.[Ch]: remove resizeInsetsLyXText()
4559 * text3.C: merge insertParagraphs() and appendParagraph()
4560 remove breakAgain(), update()
4562 * BufferView_pimpl.[Ch]:
4563 * bufferview_funcs.[Ch]:
4567 * tabular.C: adjust after text & InsetList changes.
4569 2003-08-08 André Pönitz <poenitz@gmx.net>
4571 * text.C (insertChar, backspace): replace rowlist fiddling
4572 with rebreak of full par
4575 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4576 checkParagraph, updateInset): removed
4578 2003-08-07 André Pönitz <poenitz@gmx.net>
4581 * text3.C: merge some LFUN handlers, remove dead code
4583 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4585 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4587 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4589 * text2.C (DEPM): fix part of bug 1255 and 1256
4591 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4593 * BufferView_pimpl.C (workAreaDispatch): change to use
4594 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4595 that are no mouse related.
4597 2003-08-05 André Pönitz <poenitz@gmx.net>
4600 * BufferView_pimpl.[Ch]:
4601 * bufferview_funcs.C:
4603 * text3.C: rip out "deep update"
4605 * textcursor.[Ch] (last_sel_cursor): remove unused member
4607 2003-08-04 André Pönitz <poenitz@gmx.net>
4610 * BufferView_pimpl.[Ch]:
4611 * ParagraphParameters.C:
4612 * bufferview_funcs.C:
4618 * text3.C: replace "complicated" BufferView::update(...) calls with
4621 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4623 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4625 * Makefile.am (lyx_SOURCES): add paper.h
4627 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4629 * Makefile.am: move things around so that both lyx-qt and
4630 lyx-xforms can be built (according to --with-frontend). Then lyx
4631 is a symbolic link to lyx-[firstfrontend]
4633 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4635 * Always use std::endl with lyxerr
4637 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4639 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4641 2003-08-01 André Pönitz <poenitz@gmx.net>
4644 * BufferView_pimpl.[Ch]:
4646 * text3.C: merge BufferView::repaint() and BufferView::update()
4648 2003-08-01 José Matos <jamatos@lyx.org>
4650 * buffer.[Ch]: file_format is no longer a buffer data element.
4652 2003-08-01 André Pönitz <poenitz@gmx.net>
4657 * text2.C: make redoParagraph more independent of current cursor
4659 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4661 * text2.C: remove unneeded members
4663 2003-07-30 André Pönitz <poenitz@gmx.net>
4665 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4667 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4668 create a single function...
4670 * paragraph_funcs.C (moveItem): ... here.
4673 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4675 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4677 * LColor.[Ch]: Add comment and greyedout logical colors.
4679 2003-07-30 André Pönitz <poenitz@gmx.net>
4681 * tabular.C: don't use Assert too heavily. This crashes where it
4684 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4686 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4687 is disabled (bug 1232)
4689 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4691 * factory.C: limited 'arg' scope
4693 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4695 * factory.C: fixed Note submenu issues
4697 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4699 * factory.C: submenu for Note/Comment/Greyedout
4701 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4704 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4706 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4709 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4710 greyedout. Patch provided by Jürgen Spitzmüller.
4712 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4714 * kbmap.C (read): fix error message when reading bind files
4716 2003-07-29 Angus Leeming <leeming@lyx.org>
4718 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4719 certainly does not do what it purports to do. I am doing it, and
4720 us, a favour by killing it.
4722 2003-07-28 José Matos <jamatos@lyx.org>
4724 * buffer.C (readBody, do_writeFile):
4725 * paragraph.C(readParagraph): \end_document replaces \the_end.
4727 2003-07-29 André Pönitz <poenitz@gmx.net>
4730 * BufferView_pimpl.[Ch]:
4734 * textcursor.[Ch]: remove toggleToggle & Co
4736 2003-07-28 José Matos <jamatos@fep.up.pt>
4738 * buffer.C (readParagraph):
4739 * params_func (readParToken, readParagraph):
4740 * paragraph.C (write): \layout -> \begin_layout.
4742 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4744 * lyxlex_pimpl.C (setFile): clean up slightly.
4746 * bufferparams.h: add compressed var
4748 * buffer_funcs.C (readFile): adjust for LyXLex change
4749 (newFile): ditto + simplify
4751 * buffer.C (writeFile): handle writing of compressed files
4753 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4754 Check if the file is compressed and set a bufferparm if so.
4756 * Makefile.am (lyx_LDADD): remove explicit -lz
4758 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4760 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4761 makeDocBookFile): put the real LyX version in the first line of
4765 * version.C.in: remove lyx_docversion
4767 * tabular.C (write_attribute): add a template-based version to
4768 write enums properly
4770 2003-07-28 André Pönitz <poenitz@gmx.net>
4775 * text3.C: use doubles again for x-coordinates. They are needed.
4777 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4779 * messages.C (getLocaleDir): use lyx_localedir()
4781 * lyxlex_pimpl.C (setFile): compress stuff
4783 * buffer.C (writeFile): add some compression stuff
4784 (do_writeFile): new func, dont call expliti close... will this
4787 * Makefile.am (lyx_LDADD): add -lz
4789 2003-07-28 José Matos <jamatos@fep.up.pt>
4791 * buffer.C: increment file format.
4792 * paragraph_funcs (readParagraph, readParToken):
4793 * paragraph.C (readParagraph): add \end_layout.
4795 2003-07-27 Angus Leeming <leeming@lyx.org>
4797 * Makefile.am: remove special casing for configure-time setting of
4798 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4800 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4801 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4803 2003-07-26 André Pönitz <poenitz@gmx.net>
4805 * paragraph_func.[Ch]:
4806 * paragraph.C (realizeFont): inline it whereever it is used
4811 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4814 2003-07-26 André Pönitz <poenitz@gmx.net>
4818 * text2.C: get rid of LyXText::need_break_row
4820 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4822 * toc.[Ch]: put namespace toc inside namespace lyx
4824 * MenuBackend.C (expandToc2): adjust for lyx::toc
4827 * lyxfunc.C (dispatch): adjust for lyx::find
4829 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4830 lyx::find instead. Reorganize a bit.
4831 (LyXReplace): rename to replace
4832 (LyXFind): rename to find
4834 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4837 2003-07-26 André Pönitz <poenitz@gmx.net>
4839 * text.C (setHeightOfRow): restrict scope of temporary variable
4841 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4842 code (never has been used?)
4844 2003-07-27 Asger Alstrup <alstrup@local>
4846 * text.C (fill): Optimise algorithm to exploit that we can reuse
4847 the LyXFont for many characters.
4848 (setHeightOfRow): Same thing.
4849 (rowBreakPoint): Same thing.
4851 2003-07-26 Asger Alstrup <alstrup@local>
4853 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4855 * text.C (singleWidth): Spurious font copying in hot-spot
4856 singleWidth avoided. Reorder tests for arabic for efficiency.
4858 * text.C (fill): handle empty paragraphs better.
4860 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4863 * encoding.h: add includes
4865 * lyxrc.C: remove reading of bind files
4867 * lyx_main.C (init): setup bindings and menus only if we have a
4870 * kbmap.C (read): new method. Do the actual reading of bind
4873 * converter.C (dvipdfm_options):
4876 (output): adapt PAPER_* enums.
4878 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4880 * bufferparams.h: remove paper-related enums from there
4882 * paper.h: New file. A trivial header file to hold paper-related
4883 enums. It should later expand to contain many paper-related
4886 * lyxrc.C: declare extern displayTranslator
4888 2003-07-27 José Matos <jamatos@fep.up.pt>
4890 * tabular.[Ch] (linuxdoc): add support for tables and figures
4893 2003-07-27 José Matos <jamatos@fep.up.pt>
4895 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4896 consistency in both functions.
4897 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4899 2003-07-26 Asger Alstrup <alstrup@local>
4901 * rowpainter.C (paintRows): Change algorithm to work directly on
4902 the insets rather than asking every character in the document
4903 whether its an inset.
4905 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4907 * buffer.C (openFileWrite): factorize some code
4909 2003-07-26 Angus Leeming <leeming@lyx.org>
4912 * lyx_main.[Ch]: replace occurances of system_tempdir with
4915 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4917 * rename Inset to InsetOld
4919 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4921 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4922 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4923 which I think is a bit clearer. EDIT is gone, since it was
4924 premature optimisation, and broken for mathed anyway.
4925 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4926 with cursor positioning in insets as well (math insets still do not
4927 work, but that's a different story anyway.) It mysteriously
4928 crashes sometimes with undo in the first paragraph, but I'm fairly
4929 confident that this is a compiler bug.
4931 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4933 * paragraph.C (Paragraph): adjust for new clone return type
4935 (copyIntoMinibuffer): ditto
4937 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4939 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4940 by not having a special case, and always doing a full rebreak of
4941 the document after undo.
4943 2003-07-23 Angus Leeming <leeming@lyx.org>
4945 * factory.C (createInset): InsetExternal::setParams now takes a
4948 2003-07-23 Angus Leeming <leeming@lyx.org>
4950 * factory.C (createInset): changed interface to the external and
4951 graphics mailers' string2params functions.
4953 2003-07-23 Angus Leeming <leeming@lyx.org>
4955 * factory.C (createInset): pass a
4956 Buffer const * parameter to InsetExternalMailer's string2params.
4958 2003-07-22 John Levon <levon@movementarian.org>
4960 * Thesaurus.h: include the right aiksaurus header
4962 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4964 * MenuBackend.C (expand): check menu shortcuts unconditionally
4966 2003-07-21 Angus Leeming <leeming@lyx.org>
4968 * factory.C (createInset): pass a
4969 buffer_path parameter to InsetGraphicsMailer's string2params.
4971 2003-07-21 Angus Leeming <leeming@lyx.org>
4973 * BufferView_pimpl.C (buffer):
4976 * lyxfunc.C (dispatch):
4977 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4978 rather than the grfx shortcut.
4980 2003-07-21 André Pönitz <poenitz@gmx.net>
4982 * rowpainter.C: remove unused variables
4985 * tabular_funcs.h: move to tabular.C
4986 * Makefile.am: adjust
4988 * tabular.[Ch]: basic optical cleaning
4990 * author.h: pass references, not values
4992 2003-07-18 André Pönitz <poenitz@gmx.net>
5000 * text3.C: two-phase drawing for InsetText and InsetTabular
5001 some float -> int changes.
5003 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5005 * lyx_main.C: fix the fix
5007 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
5009 * lyx_main.C: fix a crash in batch mode if no files specified
5012 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
5014 * format.[Ch] (papersize): moved to BufferParams
5015 * converter.[Ch] (dvips_options): moved to BufferParams
5016 (dvipdfm_options): moved to anon namespace
5017 * bufferparams.[Ch]: added above functions.
5019 2003-07-17 André Pönitz <poenitz@gmx.net>
5023 * text2.C: don't call inset->update() anymore
5025 * metricsinfo.[Ch]: add convenience constructor
5027 2003-07-16 André Pönitz <poenitz@gmx.net>
5032 * text2.C: replace the LyXCursor::irow_ member with
5033 on-demand computation of the value
5035 2003-07-16 John Levon <levon@movementarian.org>
5037 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5039 2003-07-15 André Pönitz <poenitz@gmx.net>
5042 * text2.C: remove no more needed refresh_row
5044 2003-07-15 André Pönitz <poenitz@gmx.net>
5049 * text3.C: refresh_status tristate -> need_update bool
5051 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5053 * lyxtext.h (init): remove reinit argument (act as if always true)
5054 * text2.C: adjust to that
5056 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5058 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5059 * text3.C: use it to delete selections in some cases
5060 (bugs 441, 673, 702, 954).
5062 2003-07-14 André Pönitz <poenitz@gmx.net>
5064 * rowpainter.[Ch]: reduce interface
5066 2003-07-14 André Pönitz <poenitz@gmx.net>
5068 * BufferView_pimpl.C:
5069 * text2.C: adjust after removing unused BufferView * argument
5071 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5073 * text2.C (init): fix a crash fired on resize
5075 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5077 * buffer.[Ch]: added new closing signal
5078 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5079 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5080 BufferView::Pimpl via the closing the signal
5082 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5084 * buffer.[Ch]: take out all bv-related from buffer
5086 * BufferView_pimpl.[Ch]: connect to new signals
5087 * CutAndPaste.C: removed useless asserts
5088 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5091 * lyxfunc.C: moved view-related funciontality from vc here
5092 * paragraph.C: removed outdated comments
5095 2003-07-10 André Pönitz <poenitz@gmx.net>
5097 * BufferView_pimpl.C:
5101 * text2.C: remove InsetText::InnerCache, clean up consequences
5103 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5105 * ispell.C: fix two typos in error messages
5107 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5109 * Extend Note inset to other forms of annotation like Comment
5110 and Greyedout. Right button click gives dialog.
5112 Files modified or added (+):
5116 * ControlNote.[Ch] +
5118 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5119 frontends/controllers
5123 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5125 * aspell.C: add missing namespace lyx::support
5127 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5129 * BufferView.[Ch] (newFile): Add
5130 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5131 * LaTeX.[Ch] (message): added this signal and use it
5132 * buffer.[Ch] (busy, message): added these signals and use them
5133 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5137 * importer.C: use buffer signals instead of direct bv calling
5138 * lyx_cb.[Ch] (ShowMessage): removed
5141 * paragraph_funcs.C:
5142 * text2.C: use buffer signals
5144 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5146 * introduce namespace lyx::graphics
5148 2003-07-02 André Pönitz <poenitz@gmx.net>
5150 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5152 2003-07-01 André Pönitz <poenitz@gmx.net>
5159 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5160 text*.C to text_func.C
5162 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5164 * introduce namespace lyx::support
5166 2003-06-30 André Pönitz <poenitz@gmx.net>
5171 * text.C: re-enable --with-included-string
5173 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5175 * textcursor.C: add <config.h>
5177 * text.C (getWord): remove const from word_location arg
5179 * lyxvc.C (getLogFile): fix const type order
5181 * lyxtext.h: remove const from word_location arg, add arg name
5183 * lyxlayout.h: currect type on labeltype.
5185 * importer.C: correct \file
5187 * converter.C (intToFormat): use std:: on ret val, ws changes
5189 * bufferlist.h: correct \file
5191 * buffer.C (makeLinuxDocFile): fix const type order
5192 (makeDocBookFile): ditto
5193 (fillWithBibKeys): use std:: on stdlib args.
5195 * CutAndPaste.C: fix authors.
5196 (availableSelections): use std:: on return vector
5198 2003-06-27 André Pönitz <poenitz@gmx.net>
5200 * BufferView_pimpl.C:
5201 * bufferview_funcs.C:
5209 * text3.C: remove LyXCursor::row_ member
5212 * text.C: rename fullRebreak() to partialRebreak() and implement
5213 a fullRebreak() that really bereks fully
5215 * textcursor.h: new struct for cursor-related data
5217 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5219 * lyx_main.C (LyX): get full path of document loaded on the
5222 2003-06-26 André Pönitz <poenitz@gmx.net>
5224 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5225 remove unused/broken operator>,<,>=.
5227 * text.C: remove only use of broken operator<= in an Assert().
5229 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5231 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5232 moved errorlist_.clear to showErrorList
5234 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5236 * converter.C (scanLog, runLaTeX):
5237 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5238 move the bv->showErrorList call to the callers
5239 * lyxfunc.C: i.e. here...
5241 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5242 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5243 namespace, the second to...
5244 * buffer_funcs (BufferFormat, parseErrors): added
5245 * errorlist.C (ErrorList(TeXErrors const &)): removed
5247 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5249 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5251 2003-06-24 "Garst R. Reese" <reese@isn.net>
5255 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5257 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5259 * version.C.in: change docversion to 1.4
5261 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5263 * buffer.C: fix a bug just introduced
5265 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5267 * buffer.[Ch]: added the parseError signal and use it, removed
5269 * BufferView.[Ch] (addError): moved to ...
5270 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5271 to the Buffer::parseError signal to catch (guess what) parse errors
5272 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5274 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5276 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5277 ability to create a buffer and to return an existing one from
5278 the list. Moved these functions to...
5279 * buffer_funcs.[Ch]: added
5280 * BufferView.[Ch] (loadLyXFile): added
5281 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5282 job removed from bufferlist::loadLyXFile.
5283 * buffer.C (setReadOnly): make it work without view
5284 (i.e added an if (users))
5286 2003-06-19 Angus Leeming <leeming@lyx.org>
5289 * LyXAction.C (init):
5290 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5291 with LFUN_DIALOG_SHOW <name> <data>.
5293 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5295 * CutAndPaste.C (availableSelections): small compilation fix for
5296 ancient (gcc 2.9x) compilers
5298 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5300 * text3.C (cursorNext): add tmp var
5302 * text2.C (updateCounters): for function calling out of for clause
5303 (replaceSelectionWithString): ditto
5304 (insertStringAsParagraphs): ditto
5305 (getColumnNearX): add tmp var
5306 (setCursorFromCoordinates): add tmp var
5307 (cursorDownParagraph): add tmp var
5308 (deleteEmptyParagraphMechanism): add tmp var
5310 * text.C (insertChar): add tmp var
5312 * rowpainter.C (paintDepthBar): add tmp var
5314 * CutAndPaste.C (availableSelections): potentially check all
5315 paragraphs in a cut to fill the shown strings.
5317 2003-06-18 André Pönitz <poenitz@gmx.net>
5319 * kbmap.[Ch]: use vector<> instead of list<>
5321 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5323 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5324 pasteSelection with index
5326 * text2.C (pasteSelection): modify, call pasteSelection with index
5328 * paragraph.C (asString): reimplement version with no interval to
5329 call the one with interval.
5331 * lyxtext.h: add index arg to pasteSelection
5333 * MenuBackend.C (MenuItem): handle PasteRecent
5334 (Menu::read::Menutags): add md_pasterecent
5336 (expandPasteRecent): new function
5339 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5341 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5343 (availableSelections): new function
5345 2003-06-17 Angus Leeming <leeming@lyx.org>
5347 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5349 2003-06-17 Angus Leeming <leeming@lyx.org>
5352 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5354 * lyxfunc.C (dispatch): invoke it.
5356 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5358 * iterators.C (operator++, ParPosition): reintroduce some
5359 const_cast for the benefit of older compilers.
5361 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5363 * text3.C (dispatch): do not modify clipboard when doing
5364 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5365 LFUN_DELETE_SKIP on a selection selection
5367 2003-06-16 André Pönitz <poenitz@gmx.net>
5373 * tabular.[Ch]: IU of clone() and getLabelList();
5375 2003-06-13 André Pönitz <poenitz@gmx.net>
5377 * tabular.h: compactification
5379 2003-06-12 André Pönitz <poenitz@gmx.net>
5383 * tabular_funcs.h: some renaming plus whitespace
5385 2003-06-12 André Pönitz <poenitz@gmx.net>
5388 * BufferView_pimpl.C:
5394 * toc.C: Return a Paragraph & for ParIterator::operator*()
5396 2003-06-11 John Levon <levon@movementarian.org>
5400 * ToolbarBackend.C: add "Toolbars" section and
5403 2003-06-10 Angus Leeming <leeming@lyx.org>
5406 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5408 * lyxfunc.C (dispatch): invoke it.
5410 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5412 * main.C: protect <ios> with HAVE_IOS
5413 (main): protect sync_with_stdio with HAVE_IOS
5415 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5417 * text2.C (cutSelection): adjust
5418 (pasteSelection): adjust
5420 * messages.C: handle get of empty string
5422 * main.C (main): use sync_with_stdio(false)
5424 * lyxfunc.C (dispatch): adjust
5426 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5427 (WriteAs): remove unneeded BufferView arg.
5429 * bufferparams.h: use correct types on papersize, papersize2 and
5432 * bufferparams.C (readToken): adjust for type
5433 (writeLaTeX): add missing cases to switch.
5435 * bufferlist.C (quitWriteBuffer): adjust
5438 * buffer.C (asciiParagraph): remove some commented code.
5440 * CutAndPaste.C: remove current_view extern variable.
5441 (cutSelection): add BufferParams arg.
5442 (eraseSelection): add BufferParams arg.
5443 (pasteSelection): add Buffer const & arg
5445 2003-06-07 John Levon <levon@movementarian.org>
5448 * paragraph_funcs.C:
5449 * paragraph_pimpl.C:
5453 * paragraph.C: allow InsetERT to freely space lines,
5454 and some consolidation of code
5456 2003-06-06 José Matos <jamatos@fep.up.pt>
5458 * buffer.C (makeDocBookFile): fix bug #821
5460 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5462 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5464 2003-06-04 Angus Leeming <leeming@lyx.org>
5466 * buffer.C: bump format to 224.
5468 2003-06-05 André Pönitz <poenitz@gmx.net>
5470 * text2.C (redoParagraphs): remove two const_cast<>
5472 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5474 * ParagraphList.h: remove last remnants of NO_STD_LIST
5476 2003-06-03 Angus Leeming <leeming@lyx.org>
5478 * factory.C (createInset): small change to the way InsetExternal's params
5481 2003-06-04 André Pönitz <poenitz@gmx.net>
5483 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5485 * paragraph_pimpl.h:
5486 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5488 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5490 * undo_funcs.C: make some simple cases of undo work again
5492 2003-06-03 John Levon <levon@movementarian.org>
5494 * ispell.C: HPUX doesn't have sys/select.h
5497 2003-06-03 John Levon <levon@movementarian.org>
5499 * CutAndPaste.C: update tabular and include inset
5504 * paragraph.C: remove owningBuffer(), don't pass Buffer
5507 * factory.C: insetGraphicsParams changed
5509 2003-06-02 John Levon <levon@movementarian.org>
5515 * text3.C: remove insetparent
5517 2003-06-02 John Levon <levon@movementarian.org>
5520 * buffer.C: fix inset_iterator.end(), move out of line
5523 2003-06-01 John Levon <levon@movementarian.org>
5525 * text3.C: use a proper cut/paste when doing inset
5526 insert (from Jürgen Spitzmüller)
5528 2003-06-01 John Levon <levon@movementarian.org>
5530 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5532 2003-05-30 André Pönitz <poenitz@gmx.net>
5534 * rowpainter.C: unify second drawing phase
5536 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5538 * trans_mgr.C: remove one case of current_view
5540 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5542 * paragraph_funcs.h: remove paragraph.h include
5544 * paragraph.h: delete NO_STD_LIST stuff
5546 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5548 * buffer.h: remove paragraph.h include
5550 * ParagraphList.C: delete file
5552 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5554 * toc.C (getTocList): adjust
5556 * paragraph_pimpl.C (validate): adjust
5558 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5560 * paragraph.C (Paragraph): adjust
5561 (getPositionOfInset): use const_iterator, adjust
5562 (bibitem): use const_iterator, adjust
5563 (setInsetOwner): adjust
5565 * iterators.C (operator++): adjust
5567 * InsetList.[Ch]: Replace selfmade iterator with standard
5568 vector::iterator also introduce const_iterator. Remove getPos,
5569 getInset and setInset from InsetTable. Adjust accordingly.
5571 * BufferView.C (lockInset): adjust
5572 (ChangeInsets): adjust
5574 * tabular.[Ch]: delete commented same_id functions
5576 2003-05-28 John Levon <levon@movementarian.org>
5578 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5580 2003-05-28 André Pönitz <poenitz@gmx.net>
5582 * metricsinfo.[Ch]: remove 'fullredraw' member
5584 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5586 * lyxtextclass.C (operator): remove caching.
5588 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5592 * text2.C (cursorBottom): adjust
5593 (setCounter): use ParagraphList::find, adjust
5595 * text.C (workWidth): use ParagraphList::find, adjust
5597 * lyxcursor.C (LyXCursor): adjust
5599 * buffer.C (inset_iterator): adjust
5601 * ParagraphList.h: make iterator(value_type) private, make
5602 ParagraphList a friend of iterator.
5604 * ParagraphList.C (find): new function
5606 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5608 2003-05-27 André Pönitz <poenitz@gmx.net>
5610 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5612 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5614 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5616 2003-05-26 John Levon <levon@movementarian.org>
5618 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5620 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5622 * remove same_id from function signatures, adjust.
5624 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5626 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5628 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5630 * paragraph.C (Paragraph): get rid of same_ids parameter
5632 * ParagraphList.C (insert): adjust
5635 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5637 * paragraph_funcs.C (breakParagraph): adjust
5638 (breakParagraphConservative): adjust
5640 * buffer.C (readParagraph): adjust
5642 * ParagraphList.C (insert): take a reference instead of a pointer
5645 * paragraph.[Ch] (id): new function
5647 * bufferlist.C (newFile): adjust
5649 * ParagraphList.C (ParagraphList): adjust
5651 (push_back): take a reference instead of a pointer.
5653 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5655 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5658 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5659 set else use old code.
5661 * ParagraphList.C: remove all NO_NEXT code and only compile this
5662 code of NO_STD_LIST is set.
5664 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5666 * BufferView_pimpl.C:
5676 * graphics/GraphicsConverter.C:
5677 * graphics/PreviewLoader.C: header adjustment
5679 2003-05-23 Angus Leeming <leeming@lyx.org>
5681 * LaTeXFeatures.[Ch] (useBabel): new method.
5682 * bufferparams.C (writeLaTeX): use it.
5684 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5686 * ParagraphList.h (set): remove unused function.
5688 2003-05-23 André Pönitz <poenitz@gmx.net>
5691 * BufferView_pimpl.C:
5695 * undo_funcs.C: setUndo reworked
5697 * iterators.[Ch]: add access to topmost ParagraphList
5699 * lyxtext.[Ch] (workWidth): add a const
5701 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5703 * texrow.[Ch] (increasePos): remove function
5704 * exporter.C (export): removed unused var and outdated comment
5706 2003-05-23 Angus Leeming <leeming@lyx.org>
5708 * latexrunparams.h: rename fragile as moving_arg.
5709 * paragraph.C (simpleTeXOnePar): ditto.
5710 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5712 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5714 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5716 (textUndoOrRedo): comment out a currently unused var.
5718 * paragraph.h (NO_NEXT): enable NO_NEXT
5720 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5722 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5724 * exporter.C (Export): adjust for removeAutoInsets removal.
5726 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5728 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5730 * BufferView.[Ch] (removeAutoInsets): delete function
5732 2003-05-22 Angus Leeming <leeming@lyx.org>
5734 * latexrunparams.h: add a free_spacing variable.
5736 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5737 to pass moving_arg, as the data is stored in runparams.fragile.
5739 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5740 to Inset::latexOptional or to simpleTeXOnePar.
5742 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5743 free_spacing arg to Inset::latexOptional.
5745 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5748 2003-05-22 Angus Leeming <leeming@lyx.org>
5750 * latexrunparams.h: add fragile and use_babel variables.
5752 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5753 * buffer.C (makeLaTeXFile): store this returned value in
5754 runparams.use_babel, thus passing it to the inset::latex methods.
5756 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5757 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5759 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5760 longer has a fragile arg, as it is stored in runparams.fragile.
5762 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5763 moving_arg parameter as the data is stored in runparams.fragile.
5765 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5766 a fragile parameter as the data is stored in runparams.fragile.
5768 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5770 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5772 2003-05-22 Angus Leeming <leeming@lyx.org>
5774 * latexrunparams.h: add a 'bool nice' which defaults to false.
5776 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5777 now encapsulated within runparams.
5779 * bufferlist.C (updateIncludedTeXfiles):
5780 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5782 2003-05-22 Angus Leeming <leeming@lyx.org>
5784 * latexrunparams.h: new file containing struct LatexRunParams.
5785 * Makefile.am: add new file.
5787 * LaTeX.[Ch] (c-tor, run):
5788 * buffer.[Ch] (makeLaTeXFile):
5789 * bufferlist.[Ch] (updateIncludedTeXfiles):
5790 * converter.C (convert, scanLog):
5791 * converter.[Ch] (runLaTeX):
5792 * exporter.C (Export):
5793 * paragraph.[Ch] (simpleTeXOnePar):
5794 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5795 * paragraph_funcs.[Ch] (latexParagraphs):
5796 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5797 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5798 pass around a LatexRunParams parameter.
5800 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5802 * paragraph.[Ch]: remove unused constructor
5804 * ParagraphList.C (erase): new function, taking two iterators
5806 2003-05-22 André Pönitz <poenitz@gmx.net>
5808 * undo_funcs.C: remove duplicated code
5810 * iterator.[Ch]: operator=
5812 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5814 * tabular.C (SetMultiColumn): ws changes
5816 * rowpainter.C (paintFirst): get rid of a ->previous
5818 * lyx_cb.C (getPossibleLabel): parlist simplification
5820 * BufferView.C (ChangeInsets): simplify slightly.
5822 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5824 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5825 * lfuns.h: new LFUN_SPACE
5826 * lyxfunc.C: protected space has a new lfun
5827 * paragraph_funcs.C: read new space insets
5829 * factory.C: handle new space insets
5831 2003-05-22 André Pönitz <poenitz@gmx.net>
5834 * BufferView_pimpl.C:
5837 * undo_funcs.C: return a ParIterator from getParFromID.
5839 * iterators.[Ch]: add two const's
5841 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5843 * toc.C (getTocList): adjust
5845 * iterators.[Ch]: rework for parlist
5847 * buffer.C (par_iterator_begin): adjust
5848 (par_iterator_end): adjust
5850 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5852 * BufferView.C (removeAutoInsets): adjust
5853 (ChangeInsets): adjust
5855 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5857 * text.C (top_y): fix bug 1110
5859 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5861 * errorlist.[Ch]: added
5864 * BufferView_pimpl.C:
5865 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5868 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5870 * Makefile.am: ensure that lyx is relinked upon changes to the
5871 various "convenience" libs.
5873 2003-05-20 Angus Leeming <leeming@lyx.org>
5875 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5876 files are compiled in alphabetical order again.
5878 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5880 2003-05-19 Angus Leeming <leeming@lyx.org>
5882 * gettext.[Ch]: remove "char const * _(char const *)".
5884 2003-05-19 André Pönitz <poenitz@gmx.net>
5886 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5895 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5897 2003-05-19 André Pönitz <poenitz@gmx.net>
5901 * lyxtextclass.[Ch]:
5903 * paragraph_funcs.[Ch]:
5905 * text3.C: more insetenv work
5907 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5909 * ParagraphParameters.C (params2string): small bug fixed
5911 2003-05-16 André Pönitz <poenitz@gmx.net>
5914 * bufferview_funcs.C: patch from Kornel Benko to prevent
5915 crash when _(...) is called twice in a statement
5917 2003-05-16 André Pönitz <poenitz@gmx.net>
5924 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5926 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5928 * lyx_main.C (init): remove spurious static_cast
5930 2003-05-14 André Pönitz <poenitz@gmx.net>
5932 * BufferView.C: fix format string
5934 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5936 * BufferView.[Ch] (insertErrors): removed
5937 * BufferView.[Ch] (showErrorList): added
5938 * buffer.C (runChkTeX):
5939 * converter.C (scanLog): call showErrorList instead of inserterrors
5941 2003-05-13 André Pönitz <poenitz@gmx.net>
5943 * BufferView_pimpl.C:
5945 * bufferview_func.C:
5952 * tabular_funcs.h: tostr() from its own header
5954 * ParagraphParameters.C:
5959 * text3.C: STRCONV()
5961 2003-05-12 André Pönitz <poenitz@gmx.net>
5964 * BufferView_pimpl.C:
5968 * ParagraphParameters.C:
5972 * bufferview_funcs.C:
5985 * paragraph_funcs.C:
5989 * text3.C: boost::format -> bformat all over the place
5992 2003-05-09 André Pönitz <poenitz@gmx.net>
5994 * LColor.[Ch]: Pimpl the #include <map> away
5996 2003-05-09 John Levon <levon@movementarian.org>
5998 * bufferlist.C: never remove emergency saves
6000 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
6002 * Makefile.am: better lib building
6004 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
6006 * texrow.[Ch]: remove dependency on Paragraph and just store a id
6008 * paragraph_pimpl.C (simpleTeXBlanks): adjust
6009 (simpleTeXSpecialChars): adjust
6010 (simpleTeXSpecialChars): adjust
6011 * paragraph.C (simpleTeXOnePar): adjust
6012 * buffer.C (makeLaTeXFile): adjust
6014 * Makefile.am (BOOST_LIBS): allow boost as system lib.
6016 * text2.C (changeDepth): parlist cleanup
6017 (getColumnNearX): ditto
6019 * rowpainter.C (getLabelFont): parlist cleanup
6021 * bufferlist.C (newFile): parlist cleanup
6023 * CutAndPaste.C (eraseSelection): parlist cleanup
6025 * BufferView_pimpl.C (trackChanges): parlist cleanup
6028 * BufferView.C (lockInset): parlist cleanup.
6029 (ChangeInsets): ditto
6031 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6033 * CutAndPaste.h: Update file header.
6035 * CutAndPaste.C: Update file header.
6036 Store the parts cut out of the Document in a limited_stack.
6037 (copySelection): adjust
6038 (pasteSelection): new function, takes the index in the limited stack.
6039 (nrOfParagraphs): adjust
6040 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6041 simplify error inset insertion.
6042 (checkPastePossible): adjust
6044 2003-05-06 John Levon <levon@movementarian.org>
6046 * text2.C: don't cast wrap inset to float
6048 2003-05-05 André Pönitz <poenitz@gmx.net>
6051 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6053 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6054 few naked Paragraph *.
6056 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6058 * bufferparams.C: Output warning if a document with missing
6059 TeX document class is loaded
6060 * exporter.C: Disable TeX exports if the document class is missing
6063 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6064 isTeXClassAvailable()
6066 2003-05-03 John Levon <levon@movementarian.org>
6069 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6070 explicit cursor show/hide
6072 * BufferView_pimpl.h:
6073 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6074 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6076 * lyxfunc.C: hide cursor before dispatching.
6081 * text3.C: remove explicit cursor hides
6083 2003-05-02 André Pönitz <poenitz@gmx.net>
6085 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6088 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6091 * text2.C: tiny whitespace
6093 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6095 * undo_funcs.C: almost only ws changes.
6097 * ParagraphList.C (splice): just return if pl is empty.
6099 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6101 * ParagraphList.C (splice): new function.
6103 * CutAndPaste.C (pasteSelection): use it
6105 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6107 * CutAndPaste.C (pasteSelection): remove the last next and
6108 previous from this file.
6110 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6112 * CutAndPaste.C (pasteSelection): more clean up, user proper
6113 ParagraphList functions for pasteing.
6115 * ParagraphList.C (insert): new function, three arg insert
6117 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6119 * ParagraphList.C (insert): new function, three arg insert
6121 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6124 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6126 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6128 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6130 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6132 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6134 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6135 (copySelection): clean up a bit.
6136 (pasteSelection): use make_pair
6138 * ParagraphList.C (ParagraphList): implement copy constructor
6139 (operator=): implement, base on copy constructor.
6142 * paragraph.C (erase): return a bool
6144 * paragraph_pimpl.C (erasePos): remove function, move contents...
6145 (erase): ... here. Return a bool.
6146 (erase): call erase instead of erasePos.
6148 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6150 * ParagraphList.h: define PitPosPair
6151 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6152 ParagraphList, fix a bug on pasting multiple pars
6153 * text2.C: change interface to C&P
6155 2003-04-30 André Pönitz <poenitz@gmx.net>
6157 * undo_func.C: revert part of yesterday's patch 2
6159 2003-04-30 John Levon <levon@movementarian.org>
6161 * LColor.C: s/tabular/table/
6163 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6165 * text3.C (dispatch): do not convert iterator -> pointer
6166 * undo_funcs.C (setCursorParUndo): ditto
6167 * text_funcs.C (transposeChars): ditto
6169 * text2.C (setLayout): ws changes only
6171 * text.C (breakParagraph): do not convert iterator -> pointer
6173 (acceptChange): ditto
6174 (rejectChange): ditto
6179 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6182 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6184 * text3.C (gotoInset): YABG (yet another bad getChar)
6186 2003-04-29 André Pönitz <poenitz@gmx.net>
6188 * paragraph.h: make operator= private unimplemented as long as
6191 * ParagraphList.C: whitespace
6194 * paragraph_pimpl.[Ch]:
6195 * paragraph_funcs.C:
6197 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6200 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6202 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6204 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6205 * paragraph.[Ch] (erase):
6206 * paragraph_pimpl.[Ch] (erase): change return type and value
6207 * text2.C (cutSelection): some rework
6209 2003-04-28 John Levon <levon@movementarian.org>
6211 * bufferlist.C: changes for unsaved changes dialog
6213 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6215 * bufferlist.C (newFile): set language (messages_) for new
6218 * buffer.C (readFile): ws changes only.
6220 2003-04-28 André Pönitz <poenitz@gmx.net>
6225 * BufferView_pimpl.C:
6226 * BufferView.C: getParFromID related ParagraphList::iterator changes
6228 2003-04-28 André Pönitz <poenitz@gmx.net>
6230 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6233 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6235 * messages.C: remove one more localedir class variable.
6237 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6239 * messages.C (getLocaleDir): singleton generation function
6241 (Messages): add a default constructor.
6243 * main.C (main): do not setup localedir here, do not call
6246 * gettext.C (_): use it.
6247 (gettext_init): delete funciton
6249 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6251 * gettext.C (getLyXMessages): new singleton generating function.
6253 * buffer.C (updateDocLang): adjust
6255 * Makefile.am (messages.o): add target
6256 (main.o): remove target
6258 2003-04-27 John Levon <levon@movementarian.org>
6263 * lyxvc.C: specify cancel button in Alert::prompt
6265 2003-04-26 John Levon <levon@movementarian.org>
6270 * LyXAction.C: add LFUN_INSET_SETTINGS
6272 * lyxfunc.C: don't enable tabular-feature when there's
6273 just any locking inset
6275 2003-04-26 John Levon <levon@movementarian.org>
6277 * bufferlist.C: re-add Cancel to buffer close question
6279 * lyxfunc.C: fix import UI a bit
6281 2003-04-25 John Levon <levon@movementarian.org>
6283 * gettext.C: remove the broken asserts for now
6285 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6287 * messages.C: make case where setlocale cannot comply work better.
6289 * buffer.C (updateDocLang): new function
6290 (changeLanguage): use it
6293 * text2.C (setCounter): use B_ a bit.
6295 * lyxlayout.C (Read): be sure to trim the label strings.
6297 * messages.C (Messages): fix typo in comment
6299 * buffer.C (readFile): set message_ after file is loaded.
6300 (makeDocBookFile): remove double return
6301 (changeLanguage): reset message_ upon language change.
6302 (B_): new func, use this to get translated buffer strings.
6304 * main.C: add myself and Jean Marc as authors.
6306 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6308 * messages.[hC]: pimplify Messages, and three different pimpls to be
6309 used in different circumstances.
6311 * gettext.[Ch]: change for use with new message code.
6313 2003-04-24 André Pönitz <poenitz@gmx.net>
6315 * factory.C: support for eqref
6317 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6319 * messages.[Ch]: add missing char
6321 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6323 * messages.[Ch]: New files
6325 2003-04-18 John Levon <levon@movementarian.org>
6329 * BufferView_pimpl.C:
6333 * text2.C: remove layout-copy/paste (bug 778)
6335 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6337 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6339 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6341 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6342 if they succeed. Act accordingly.
6344 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6346 * text2.C (setCharFont): adjust
6347 (setCounter): adjust
6348 (insertStringAsLines): adjust
6350 * text.C (leftMargin): adjust
6351 (setHeightOfRow): adjust
6353 * rowpainter.C (paintFirst): adjust
6356 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6358 (isFirstInSequence): ditto
6359 (getEndLabel): ditto
6362 * paragraph.C (getParLanguage): comment out some hard stuff.
6364 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6366 (simpleDocBookOnePar): ditto
6367 (makeDocBookFile): use ParagraphList::iterator
6369 * CutAndPaste.C (pasteSelection): adjust
6371 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6373 * text2.C (getFont): adjust
6374 (getLayoutFont): adjust
6375 (getLabelFont): adjust
6377 * paragraph_funcs.C (TeXOnePar): adjust
6379 * buffer.C (simpleLinuxDocOnePar): adjust
6380 (simpleDocBookOnePar): adjust
6382 * CutAndPaste.C (pasteSelection): adjust
6384 * BufferView.C (getEncoding): adjust
6386 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6388 2003-04-16 John Levon <levon@movementarian.org>
6390 * lyxfind.C: use parlist stuff for search/changes
6392 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6394 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6396 * text2.C (deleteEmptyParagraphMechanism): adjust
6398 * text2.[Ch] (ownerParagraph): delete func (both of them
6400 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6402 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6404 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6406 * ParagraphList.C: prepare for NO_NEXT
6408 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6410 * text2.C (getFont): adjust
6411 (getLayoutFont): adjust
6412 (getLabelFont): adjust
6414 * paragraph.C (getFont): adjust
6415 (getLabelFont): adjust
6416 (getLayoutFont): adjust
6418 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6420 2003-04-15 John Levon <levon@movementarian.org>
6424 * lyx_main.C: handle Include in .ui files
6426 2003-04-15 John Levon <levon@movementarian.org>
6428 * MenuBackend.C: make the doc files length shorter
6431 * ToolbarBackend.C: handle toolbar placement flags,
6434 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6436 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6439 * paragraph_funcs.C (TeXOnePar): adjust
6441 * paragraph.C (getLabelFont): add outerfont arg, adjust
6442 (getLayoutFont): ditto
6443 (simpleTeXOnePar): adjust
6445 * paragraph_pimpl.C (realizeFont): delete func
6447 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6449 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6450 row argument, constify cur argument.
6452 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6454 * text2.C (getFont): adjust
6455 (getLayoutFont): adjust
6456 (getLabelFont): adjust
6458 * paragraph_funcs.C (TeXOnePar): adjust
6459 (outerFont): new func...
6460 (realizeFont): ...moved out from here, changed this to facilitate
6463 * paragraph.C (getFont): take outerfont as arg, adjust
6464 (simpleTeXOnePar): add outerfont arg, adjust
6466 * buffer.C (simpleLinuxDocOnePar): adjust
6467 (simpleDocBookOnePar): adjust
6469 * CutAndPaste.C (pasteSelection): adjust
6471 * BufferView.C (getEncoding): adjust
6473 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6475 * text2.C (setCharFont): adjust
6476 (setCounter): adjust
6478 * text.C (leftMargin): adjust
6479 (setHeightOfRow): adjust
6481 * rowpainter.C (paintFirst): adjust
6484 * paragraph_pimpl.C (realizeFont): adjust
6486 * paragraph.C (isFirstInSequence): move from here...
6487 * paragraph_funcs.C (isFirstInSequence): ...to here
6489 * paragraph.C (outerHook): move from here...
6490 * paragraph_funcs.C (outerHook): ...to here
6492 * paragraph.C (depthHook): move from here...
6493 * paragraph_funcs.C (depthHook): ...to here
6495 * paragraph.C (getEndLabel): move from here...
6496 * paragraph_funcs.C (getEndLabel): ...to here
6498 * text2.C (realizeFont): move from here...
6499 * paragraph_funcs.C (realizeFont): ...to here
6501 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6503 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6505 2003-04-14 Angus Leeming <leeming@lyx.org>
6507 * LColor.[Ch]: scrap LColor mathcursor.
6509 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6511 * lyxlex.[Ch] (text): delete function
6512 * trans.C (Load): adjust
6513 * paragraph_funcs.C (readParToken): adjust
6515 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6517 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6518 vector<char> instead of a char[].
6520 * lyxlex_pimpl.C (getString): adjust
6522 (lex): use getString
6526 * lyxlex.C (text): use pimpl_->getString()
6530 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6532 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6533 (makeFontEntriesLayoutSpecific): temp var for par.size()
6534 (setLayout): temp var for ownerParagraphs().end()
6535 (fullRebreak): temp var for rows().end()
6536 (selectionAsString): temp var for boost::next(startpit), realize
6537 that the while really is a regular for loop.
6538 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6539 setCursor in one place.
6540 (setParagraph): temp vr for ownerParagraphs().end()
6541 (updateCounters): make the while loop a for loop
6542 (cutSelection): temp var for ownerParagraphs().end()
6543 (updateInset): make the do {} while() a regular for loop
6544 (getCursorX): use temp vars
6545 (setCurrentFont): use temp vars
6546 (getColumnNearX): use temp vars
6548 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6550 * text.C (transformChar): use temp var for getChar
6551 (computeBidiTables): use temp var for row->par()
6552 (fill): move temp vars for row->par() and pit->layout() earlier in
6554 (labelFill): use temp var for row->par()
6555 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6556 asc and desc, realize that pit never changes and that firstpit is
6557 just a duplicate and not needed. Exchange rit->par() with pit in a
6559 (breakAgain): use a temp var for boost::next(rit)
6560 (breakAgainOneRow): ditto
6561 (breakParagraph): use a temp var for rows().begin()
6562 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6563 (cursorRightOneWord): use temp var for cursor.par() and
6564 cursor.pos(), remove usage of tmpcursor.
6565 (cursorLeftOneWord): use temp var for cursor.par() and
6566 cursor.pos() only set cur at end of function.
6568 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6570 * text.C, text2.C: exchange all usage of Paragraph::next with
6571 boost::next(ParagraphList::iterator)
6573 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6575 * text2.C (cursorTop): simplify implementation
6576 (cursorBottom): ditto
6577 (setParagraph): use ParagraphList::iterator
6578 (setCurrentFont): adjust
6579 (getColumnNearX): adjust
6580 (cursorRight): adjust
6581 (cursorLeft): remove usage of Paragraph::previous
6582 (cursorUpParagraph): ditto
6583 (deleteEmptyParagraphMechanism): slight cleanup
6585 * text.C (isBoundary): take a Paragraph const & instead of a
6587 (addressBreakPoint): ditto
6588 (leftMargin): remove usage of Paragraph::previous.
6589 (setHeightOfRow): ditto
6590 (cursorLeftOneWord): ditto
6591 (selectNextWordToSpellcheck): ditto
6594 (breakParagraph): remove one usage of Paragraph::next
6595 (redoParagraph): ditto
6596 (acceptChange): ditto
6597 (insertChar): adjust
6598 (rowBreakPoint): adjust
6600 * bufferview_funcs.C (toggleAndShow): adjust
6602 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6604 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6605 methods to access it.
6607 * text.C: Added updateRowPositions to compute all row positions.
6608 Make top_y and getRowNearY() to use the cached y position
6610 2003-04-11 John Levon <levon@movementarian.org>
6612 * text.C (rowBreakPoint): reintroduce the labelEnd
6613 checks, code copied from the row fill stuff. Deep voodoo.
6615 * text.C (fill): add a comment and debugging for the
6618 2003-04-11 John Levon <levon@movementarian.org>
6620 * text.C: make sure fullrow insets get wrapped to the next line,
6621 even when they're in a manual label
6623 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6625 * text2.C (insertParagraph): make it take ParagraphList::iterator
6627 (setLayout): make it return ParagraphList::iterator
6628 (redoParagraphs): ditto
6630 (checkParagraph): ditto
6632 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6634 * text2.C: adjust several funcs.
6635 (realizeFont): take a ParagraphList::iterator as arg.
6636 (getLayoutFont): ditto
6637 (getLabelFont): ditto
6638 (setCharFont): ditto
6640 * text.C: adjust several funcs.
6642 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6644 * text.C (selectNextWordToSpellcheck): don't accidentally
6647 2003-04-10 John Levon <levon@movementarian.org>
6649 * ToolbarBackend.C (getIcon): special handling for
6652 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6654 * text2.C (cursorRight): a getChar assert fixed
6656 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6658 * text2.C (getFont): change to take a ParagraphList::iterator
6659 instead of Paragraph*
6660 Adjust several functions.
6662 * text.C (transformChar): change to take a ParagraphList::iterator
6663 instead of Paragraph*
6664 (singleWidth): ditto
6665 Adjust several functions.
6667 * rowpainter.C: adjust several functions
6668 * rowpainter.h:store a ParagraphList::iterator and not a
6672 2003-04-09 John Levon <levon@movementarian.org>
6677 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6678 and the "help" bits as well
6680 2003-04-09 John Levon <levon@movementarian.org>
6683 * ToolbarBackend.C: allow multiple toolbars
6685 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6687 * undo_funcs.C (setCursorParUndo): adjust
6689 * text_funcs.C (transposeChars): adjust
6691 * text3.C (gotoNextInset): adjust
6694 * text2.C (setLayout): adjust
6695 (changeDepth): adjust
6697 (redoParagraphs): adjust
6698 (selectionAsString): adjust
6699 (setParagraph): adjust
6700 (insertInset): adjust
6701 (cutSelection): adjust
6702 (copySelection): adjust
6703 (pasteSelection): adjust
6704 (insertStringAsLines): adjust
6705 (updateInset): adjust
6706 (setCursor): change to take a ParagraphList::iterator parameter
6707 (setCursorIntern): change to take a ParagraphList::iterator parameter
6708 (setCurrentFont): adjust
6709 (cursorLeft): adjust
6710 (cursorRight): adjust
6711 (deleteEmptyParagraphMechanism): adjust
6713 * text.C (breakParagraph): adjust
6714 (insertChar): adjust
6715 (acceptChange): adjust
6716 (rejectChange): adjust
6717 (selectNextWordToSpellcheck): adjust
6718 (changeCase): adjust
6722 * lyxfind.C (SearchForward): adjust
6723 (SearchBackward): adjust
6724 (nextChange): adjust
6726 * lyxcursor.C (par): adjust
6728 * lyxcursor.h: store a ParagraphList::iterator instead of a
6731 * lyx_cb.C (getPossibleLabel): adjust
6733 * bufferview_funcs.C (toggleAndShow): adjust
6735 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6738 * BufferView.C (removeAutoInsets): adjust
6739 (lockedInsetStoreUndo): adjust
6741 2003-04-09 John Levon <levon@movementarian.org>
6743 * ToolbarBackend.C: try icon without argument
6744 if with argument fails
6746 2003-04-08 John Levon <levon@movementarian.org>
6749 * ToolbarBackend.C: add getIcon(), handle tooltip,
6750 and change from "Icon" to "Item".
6752 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6754 * BufferView.C (lockInset): another bad getchar crunched
6756 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6758 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6761 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6763 * lyxfind.C (searchForward, searchBackwards): bug 782
6765 2003-04-07 John Levon <levon@movementarian.org>
6767 * paragraph.C: remove dead comment
6769 * text.C: remove troublesome depth-fiddling code
6770 in leftMargin() and rightMargin() (bug 1017)
6772 * text.C: fix breaking of rows in nested lists
6775 * text2.C (updateCounters): fix up depth values
6778 2003-04-07 John Levon <levon@movementarian.org>
6780 * BufferView_pimpl.C: clear message when doc finishes resizing,
6781 and after a mouse event
6783 * lyxfunc.C: clear message after exiting inset
6785 2003-04-07 John Levon <levon@movementarian.org>
6787 * bufferview_funcs.C: show math status not outside
6788 status in the statusbar
6790 2003-04-07 John Levon <levon@movementarian.org>
6792 * lyxfunc.C: note status changed after a depth change
6794 2003-04-04 Angus Leeming <leeming@lyx.org>
6796 * LaTeX.h: move AuxInfo operator==, != out of line.
6797 Remove LaTeX virtual destructor; nothing derives from it.
6798 Move operator()() out of public area and rename it startscript().
6799 Change protected for private.
6801 2003-04-04 Angus Leeming <leeming@lyx.org>
6804 * text2.C: remove unneeded #includes.
6806 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6808 * text2.C (dEPM): fix the heigth of the next row
6810 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6812 * text.C: squashed an invalid getChar requester + some ws changes
6814 2003-04-03 John Levon <levon@movementarian.org>
6816 * bufferview_funcs.h:
6817 * bufferview_funcs.C:
6820 * text2.C: make getStatus work for the env depth lfuns
6822 2003-04-03 John Levon <levon@movementarian.org>
6824 * bufferview_funcs.h:
6825 * bufferview_funcs.C:
6828 * text2.C: parlistize decDepth(), by merging it with incDepth()
6830 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * lyxrow.h: store a ParagraphList::iterator instead of a
6833 Paragraph* and adjust other class functions to suit.
6835 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6838 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6840 * text2.C (setCursor): do not anchor to cursor row for the time being
6842 2003-04-02 John Levon <levon@movementarian.org>
6849 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6851 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6853 * paragraph.h: make ParagraphList and ParagraphList::iterator
6854 friends of Paragraph.
6856 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6858 * ParagraphList.C: Use the private next_ and previous_ from
6861 2003-04-01 John Levon <levon@movementarian.org>
6865 * Makefile.am: rename, remove defaults gunk
6868 * MenuBackend.C: remove defaults gunk
6871 * Languages.C: remove defaults gunk
6874 * lyx_main.C: error out if files couldn't be found.
6876 2003-04-02 John Levon <levon@movementarian.org>
6878 * text2.C: make incDepth() use parlist
6880 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6882 * undo_funcs.C (firstUndoParagraph): adjust
6884 * text3.C (gotoInset): adjust
6885 (dispatch): adjust, and rewrite loop.
6887 * text2.C (init): adjust, and rewrite loop.
6888 (redoParagraphs): adjust
6889 (updateInset): adjust, and rewrite loop.
6890 (deleteEmptyParagraphMechanism): adjust
6892 * tabular.C (LyXTabular): adjust
6893 (SetMultiColumn): adjust
6896 * lyxtext.[Ch] (ownerParagraph): delete function
6897 (ownerParagraphs): new function returns a ParagraphList.
6899 * BufferView.C (removeAutoInsets): adjust
6900 (insertErrors): adjust
6901 (setCursorFromRow): adjust
6903 2003-04-01 Angus Leeming <leeming@lyx.org>
6905 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6908 2003-04-02 John Levon <levon@movementarian.org>
6914 * text_funcs.C: make transposeChars a free function
6916 * lyxrow_funcs.C: remove wrong comment
6918 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6921 * rowpainter.C: adjust
6926 * lyxrow_funcs. [Ch]: new files
6928 * lyxrow.[Ch]: remove next and previous pointers
6929 (next,previous): remove accessor functions
6930 (isParEnd): move to lyxrow_funcs
6931 (lastPos): move to lyxrow_funcs
6932 (nextRowIsAllInset): move to lyxrow_funcs
6933 (lastPrintablePos): move to lyxrow_funcs
6934 (numberOfSeparators): move to lyxrow_funcs
6935 (numberOfHfills): move to lyxrow_funcs
6936 (numberOfLabelHfills): move to lyxrow_funcs
6937 (hfillExpansion): move to lyxrow_funcs
6941 * bufferview_funcs.C (toggleAndShow): adjust
6943 * RowList.h: Remove class RowList from file leave just a
6946 * RowList.C: delete file
6948 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6951 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6953 * text3.C (cursorPrevious): adjust
6954 (cursorNext): adjust
6957 * text2.C (redoHeightOfParagraph): adjust
6958 (redoDrawingOfParagraph): adjust
6961 * text.C (breakParagraph): adjust
6962 (insertChar): adjust
6965 * rowpainter.C (RowPainter): adjust
6966 (leftMargin): simplify and adjust
6967 (most rowpainter functions): adjust.
6969 * rowpainter.h: store the row as RowList::iterator not as Row*
6971 * lyxcursor.C (row): taka RowList::iterator as arg
6974 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6977 2003-04-01 Angus Leeming <leeming@lyx.org>
6979 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6980 stuff like bool Bool.
6982 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6984 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6987 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6989 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6992 * lyxtext.h (rows): drop one version and leve a const variant that
6993 returns a RowList::iterator.
6995 2003-03-31 Angus Leeming <leeming@lyx.org>
6997 * text.C (fill): ensure that the signature is the same as that in the
7000 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
7002 * text2.C (redoParagraphs): adjust
7003 (updateCounters): adjust
7004 (checkParagraph): adjust
7005 (getColumnNearX): adjust and reformat a bit.
7007 * text.C (top_y): adjust
7009 (leftMargin): adjust
7010 (prepareToPrint): adjust
7012 (getRowNearY): adjust
7014 * lyxtext.h: make rowlist_ mutable.
7016 * RowList.h: add const_iterator
7017 * RowList.C: adjust for RowList::const_iterator.
7019 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7022 2003-03-31 John Levon <levon@movementarian.org>
7025 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7027 * lyx_main.C: set default fonts from using lyx_gui funcs
7029 * exporter.C: pdf_mode moved from lyxrc
7032 * lyxfunc.C: changes from above
7034 2003-03-31 John Levon <levon@movementarian.org>
7036 * lyx_main.C: fix to the last fix
7038 2003-03-31 John Levon <levon@movementarian.org>
7040 * bufferlist.C: "Load original" -> "Load Original"
7046 * format.C: more Alert cleanups
7048 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7050 * text2.C (removeParagraph): make it take a RowList::iterator as
7052 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7053 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7055 * text.C (anchor_row): make it take a RowList::iterator as arg,
7057 (computeBidiTables): make it take a const reference to Row instead
7058 of Row pointer, adjust.
7059 (leftMargin): make it take a RowList::iterator as arg, adjust.
7060 (rowBreakPoint): adjust
7061 (breakAgainOneRow): make it take a RowList::iterator as arg,
7063 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7065 * bufferview_funcs.C (toggleAndShow): adjust
7067 2003-03-30 John Levon <levon@movementarian.org>
7071 * boost-inst.C: moved to support
7073 * several files: changes as a result
7075 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7077 * text2.C (LyXText): adjust.
7079 (removeRow): make it take a RowList::iterator as arg, adjust.
7080 (fullRebreak): adjust
7081 (deleteEmptyParagraphMechanism): adjust
7082 (clearPaint): adjust
7085 * text.C (top_y): adjust
7086 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7087 (breakAgain): make it take a RowList::iterator as arg, adjust.
7088 (breakParagraph): adjust
7089 (insertChar): adjust
7092 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7093 need_break_row, and refresh_row.
7095 * text3.C (dispatch): adjust
7097 * text2.C (checkParagraph): adjust
7099 (setCursorFromCoordinates): adjust
7101 * text.C (top_y): adjust
7103 (getRow): make it return a RowList::iterator, adjust
7104 (getRowNearY): make it return a RowList::iterator, adjust
7106 * text2.C (init): adjust
7107 (insertRow): remove function
7108 (insertParagraph): adjust
7109 (redoParagraphs): adjust
7110 (fullRebreak): adjust
7111 (updateCounters): adjust
7113 * text.C (top_y): rewrite to use RowList iterators.
7115 (setHeightOfRow): rewrite to sue RowList iterators.
7116 (appendParagraph): adjust
7117 (breakAgain): adjust
7118 (breakAgainOneRow): adjust
7119 (breakParagraph): adjust
7121 (getRowNearY): adjust, and remove commented code.
7123 * lyxtext.h (firstRow): delete function
7124 (lastRow): delete function
7125 (rows): new function (const and non-const versions.)
7126 (insertRow): delete function
7128 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7130 2003-03-29 John Levon <levon@movementarian.org>
7132 * BufferView_pimpl.C: always update scrollbar top
7133 because pasting text when we're anchored could mean we
7134 miss an update altogether
7136 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7138 * text2.C (init): use rowlist_.end() and not 0.
7139 (insertRow): change to take a RowList::iterator as arg, adjust
7141 (insertParagraph): change to take a RowList::iterator as arg,
7143 (redoParagraphs): remove some debug msgs.
7145 * text.C (appendParagraph): change to take a RowList::iterator
7146 arg, adjust for this.
7147 (breakAgain): add an assert
7148 (breakAgainOneRow): ditto
7150 2003-03-29 John Levon <levon@movementarian.org>
7152 * text2.C: do not clear selection after inc/decDepth
7155 2003-03-29 John Levon <levon@movementarian.org>
7158 * buffer.C: fix broken strerrors according to Lars
7160 2003-03-29 John Levon <levon@movementarian.org>
7162 * converters.C: more Alert cleanups
7164 2003-03-29 John Levon <levon@movementarian.org>
7166 * bufferview_funcs.C: remove pointless Alert
7168 * buffer.C: fix confusing error message when
7169 a template is chmoded 000
7171 2003-03-29 John Levon <levon@movementarian.org>
7175 * BufferView_pimpl.C: Alert fixes
7179 * tabular-old.C: remove unused table compat reading
7181 2003-03-29 John Levon <levon@movementarian.org>
7186 * lyx_cb.C: more Alert cleanups
7188 * lyxfunc.C: don't allow chktex if not latex document
7190 2003-03-29 John Levon <levon@movementarian.org>
7194 * buffer.C: warnings pushed down from support/,
7197 2003-03-29 John Levon <levon@movementarian.org>
7199 * lyxfunc.C: safety check for C-r (revert)
7201 2003-03-29 John Levon <levon@movementarian.org>
7204 * bufferlist.C: several UI fixes using Alert::prompt.
7205 Fix the pointless looping quit code. Fix stupid revert
7210 * lyx_cb.C: use Alert::prompt
7212 * lyx_main.C: remove a silly question
7214 * lyxfunc.C: remove a couple of silly questions,
7217 2003-03-28 John Levon <levon@movementarian.org>
7219 * text2.C: fix bug 974 (End on empty par)
7221 2003-03-28 John Levon <levon@movementarian.org>
7223 * BufferView_pimpl.C:
7225 * lfuns.h: remove do-nothing math greek lfuns
7227 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7229 * lyxgluelength.h (isValidGlueLength): add default arg on
7230 parameter 2. Remove default arg from friend in class.
7232 * lyxlength.h (isValidLength): add default arg on parameter 2.
7233 Remove default arg from friend in class.
7235 * text2.C (LyXText): adjust, initialize refresh_row.
7239 (insertParagraph): adjst
7240 (redoParagraphs): adjust
7241 (fullRebreak): adjust
7242 (updateCounters): adjust
7243 (deleteEmptyParagraphMechanism): first attempt at fixing a
7246 * text.C (top_y): adjust
7247 (setHeightOfRow): adjust
7249 (getRowNearY): adjust
7251 * lyxtext.h: include RowList.h
7252 (~LyXText): not needed anymore, deleted.
7253 (firstRow): modify for RowList
7254 (lastRow): new function
7255 Delete firstrow and lastrow class variables, add a Rowlist
7256 rowlist_ class variable.
7258 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7261 * RowList.C (insert): fix case where it == begin().
7263 2003-03-26 Angus Leeming <leeming@lyx.org>
7265 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7266 the thesaurus dialog.
7268 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7270 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7272 * RowList.[Ch]: new files
7274 * ParagraphList.C (erase): handle the case where it == begin
7277 2003-03-25 John Levon <levon@movementarian.org>
7281 * aspell.C: add new aspell support
7284 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7287 2003-03-25 Angus Leeming <leeming@lyx.org>
7290 * LyXAction.C (init): new LFUN_INSET_INSERT.
7292 * BufferView_pimpl.C (dispatch): split out part of the
7293 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7295 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7298 2003-03-25 Angus Leeming <leeming@lyx.org>
7300 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7302 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7305 * text3.C: remove useless row->height(0)
7307 2003-03-25 John Levon <levon@movementarian.org>
7311 * text3.C: rename the refreshing stuff to better names
7313 2003-03-24 John Levon <levon@movementarian.org>
7315 * BufferView_pimpl.h:
7316 * BufferView_pimpl.C: update layout choice on a mouse
7319 2003-03-23 John Levon <levon@movementarian.org>
7321 * Makefile.am: fix commandtags.h reference
7323 2003-03-22 John Levon <levon@movementarian.org>
7325 * BufferView_pimpl.C:
7330 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7332 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7335 * text.C: take the rtl methods out of line
7337 2003-03-21 André Pönitz <poenitz@gmx.net>
7339 * metricsinfo.[Ch]: new files containing structures to be passed around
7340 during the two-phase-drawing...
7342 2003-03-21 André Pönitz <poenitz@gmx.net>
7344 * lyxtextclass.C: read 'environment' tag.
7346 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7348 * text2.C (removeRow): fix bug 964
7350 2003-03-20 John Levon <levon@movementarian.org>
7354 * text2.C: paint cleanups. Inset::update() dropped font
7357 2003-03-19 John Levon <levon@movementarian.org>
7359 * lyxfunc.C: only fitcursor/markDirty if available()
7361 2003-03-19 John Levon <levon@movementarian.org>
7363 * commandtags.h: rename to ...
7365 * lfuns.h: ... this, and renumber / cleanup
7367 2003-03-19 John Levon <levon@movementarian.org>
7369 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7370 fit the cursor after an lfun
7374 * BufferView_pimpl.h:
7375 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7377 * LyXAction.C: layout-character should have ReadOnly
7379 * ParagraphParameters.C:
7381 * bufferview_funcs.C:
7388 * undo_funcs.C: changes from above
7390 2003-03-18 John Levon <levon@movementarian.org>
7392 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7393 remove it from update()
7395 * lyxfunc.C: update layout choice after an lfun
7397 * text3.C: remove extra updateLayoutChoice()s
7399 2003-03-18 John Levon <levon@movementarian.org>
7401 * text.C: top_y change means full repaint, fix
7402 a drawing bug with cursor movement
7404 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7408 * text2.C: anchor row on setCursor
7410 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7412 * lyxtext.h: remove almost all mutable keywords
7415 * text3.C: remove const keywords accordingly
7417 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7419 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7421 (TeXEnvironment): ditto
7424 2003-03-17 John Levon <levon@movementarian.org>
7426 * text.C (rowBreakPoint): remove attempt to fix displayed
7427 math insets inside a manual label
7429 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7431 * lyxtext.h: remove BufferView* as first arg from almost all class
7433 * other files: adjust.
7435 2003-03-17 John Levon <levon@movementarian.org>
7439 * text2.C: more paint cleanups
7441 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7444 * rowpainter.C: remove "smart" background painting code
7446 2003-03-16 John Levon <levon@movementarian.org>
7451 * text3.C: add helper functions for setting refresh_row/y
7453 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7455 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7456 newline inset which *can* get inserted in the pass_thru layouts.
7457 This is primarily for literate documents.
7459 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7461 * buffer.C: increment LYX_FORMAT to 223
7463 2003-03-14 André Pönitz <poenitz@gmx.net>
7465 * textclass.h: prepare for environment handling, ws changes
7466 * lyxlayout.C: read latexheader and latexfooter tags
7468 2003-03-14 John Levon <levon@movementarian.org>
7470 * text2.C: rewrite ::status() a bit
7472 2003-03-13 John Levon <levon@movementarian.org>
7474 * lyxtext.h: add some docs
7476 2003-03-13 John Levon <levon@movementarian.org>
7481 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7483 2003-03-13 John Levon <levon@movementarian.org>
7485 * text3.C: fix appendix redrawing
7487 2003-03-13 John Levon <levon@movementarian.org>
7489 * text.C (setHeightOfRow):
7491 * rowpainter.C: make appendix mark have the text
7492 "Appendix" so the user knows what it is
7495 * LColor.C: s/appendixline/appendix/ from above
7497 2003-03-13 John Levon <levon@movementarian.org>
7499 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7501 * text.C: fix a getChar(pos) bug properly
7503 2003-03-13 Angus Leeming <leeming@lyx.org>
7506 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7507 Probably only temporary. Let's see how things pan out.
7509 * BufferView.C (unlockInset):
7510 * BufferView_pimpl.C (fitCursor):
7511 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7513 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7514 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7516 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7517 new functions that convert ParagraphParameters to and from a string.
7519 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7520 BufferView::Pimpl's dispatch.
7521 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7523 2003-03-13 André Pönitz <poenitz@gmx.net>
7527 * factory.C: make it aware of InsetEnv
7529 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7531 * text2.C (setCursor): never ask for one past last
7532 (setCursor): add some debugging messages.
7534 * text.C (singleWidth): never ask for one past last
7535 (singleWidth): ditto
7537 (rightMargin): ditto
7538 (rowBreakPoint): ditto
7539 (setHeightOfRow): ditto
7540 (prepareToPrint): ditto
7542 * rowpainter.C (paintBackground): never ask for one past last
7543 (paintText): never ask for one past last
7545 * paragraph_pimpl.C (getChar): make the assert stricter, never
7546 allow the one past last pos to be taken
7548 * paragraph.C (getChar): ws changes only
7550 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7551 (numberOfSeparators): ditto
7552 (numberOfHfills): ditto
7554 2003-03-12 John Levon <levon@movementarian.org>
7560 * paragraph_funcs.C: fix per-buffer authorlists
7562 2003-03-12 John Levon <levon@movementarian.org>
7564 * text.C: fix newline in right address
7566 2003-03-12 Angus Leeming <leeming@lyx.org>
7568 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7569 duplicate those in LyXFunc::dispatch.
7573 * ToolbarDefaults.C:
7574 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7575 Add LFUN_FONTFREE_UPDATE.
7577 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7578 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7580 * bufferview_func.[Ch]: several new functions to facilliate
7581 transfer of data to and from the character dialog.
7583 2003-03-12 John Levon <levon@movementarian.org>
7588 * paragraph_funcs.C:
7589 * paragraph_pimpl.C:
7593 * text3.C: remove META_NEWLINE in favour of an inset
7596 * rowpainter.C: remove paintNewline (done by inset)
7598 2003-03-12 John Levon <levon@movementarian.org>
7600 * paragraph_pimpl.C: complain about bad getChar()s
7601 for a while at least
7603 2003-03-12 John Levon <levon@movementarian.org>
7606 * buffer.C: move paragraph read into a separate function,
7607 a little renaming to reflect that.
7610 * bufferparams.C: remove the author_ids map, not necessary now
7613 * factory.C: moved Buffer::readInset to here
7615 * paragraph_funcs.h:
7616 * paragraph_funcs.C: readParagraph free function moved from
7619 * tabular.C: name change
7621 2003-03-12 John Levon <levon@movementarian.org>
7624 * ParagraphParameters.C: move par params input to
7627 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7628 behave like a normal read from the stream wrt reading
7629 a line vs. a \\token
7631 2003-03-12 John Levon <levon@movementarian.org>
7634 * ParagraphParameters.h:
7635 * ParagraphParameters.C: move output code to a
7638 2003-03-12 John Levon <levon@movementarian.org>
7640 * BufferView.C (insertLyXFile):
7643 * tabular.C: use a parlist iterator for creating the
7646 2003-03-12 John Levon <levon@movementarian.org>
7648 * buffer.C: make current_change static local not
7651 2003-03-12 John Levon <levon@movementarian.org>
7653 * buffer.C: fix insertStringAsLines for change tracking
7655 2003-03-12 John Levon <levon@movementarian.org>
7662 * bufferparams.C: move author list into params. Rename some
7663 functions. Move the header reading into a separate token
7664 loop. Move the header token reading into BufferParams.
7666 2003-03-12 John Levon <levon@movementarian.org>
7668 * changes.C: put debug inside lyxerr.debugging() checks
7670 2003-03-11 André Pönitz <poenitz@gmx.net>
7672 * factory.C: make it aware of InsetHFill
7674 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7676 * buffer.C (latexParagraphs): move function from here...
7677 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7680 2003-03-10 Angus Leeming <leeming@lyx.org>
7682 * LyXAction.C (init): fix bug in poplating array with multiple entries
7683 with the same LFUN (spotted by JMarc).
7685 2003-03-10 John Levon <levon@movementarian.org>
7688 * text2.C: move getColumnNearX() near its
7691 2003-03-10 John Levon <levon@movementarian.org>
7693 * text.C: fix break before a minipage
7695 2003-03-10 John Levon <levon@movementarian.org>
7697 * text.C: fix the last commit
7699 2003-03-09 John Levon <levon@movementarian.org>
7703 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7704 bug 365 (don't break before insets unless needed). Don't
7705 return a value > last under any circumstances.
7707 2003-03-09 Angus Leeming <leeming@lyx.org>
7709 * BufferView_pimpl.C (trackChanges, dispatch): call
7710 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7712 2003-03-09 Angus Leeming <leeming@lyx.org>
7714 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7715 than Dialogs::showAboutlyx().
7717 2003-03-09 Angus Leeming <leeming@lyx.org>
7719 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7720 than Dialogs::showTabularCreate().
7722 2003-03-09 John Levon <levon@movementarian.org>
7726 * text2.C: 3rd arg to nextBreakPoint was always the same.
7729 2003-03-08 John Levon <levon@movementarian.org>
7736 * text2.C: Remove the "main" bit from the "main body"
7739 2003-03-08 John Levon <levon@movementarian.org>
7741 * text.C (leftMargin): The left margin of an empty
7742 manual label paragraph should not include the label width
7745 * text.C (prepareToPrint): don't attempt to measure hfills
7746 for empty manual label paragraphs - the answer should be 0
7748 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7750 * CutAndPaste.C: remove commented code and reindent.
7752 2003-03-08 John Levon <levon@movementarian.org>
7755 * lyxfunc.C: move reloadBuffer()
7758 * BufferView.C: to here
7760 * lyxvc.C: add comment
7763 * vc-backend.C: call bv->reload() to avoid
7764 getStatus() check on MENURELOAD
7766 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7768 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7769 to an old format .dep file.
7771 2003-03-07 Angus Leeming <leeming@lyx.org>
7773 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7774 when the LFUN_MOUSE_RELEASE should have been handled by
7775 inset->localDispatch.
7777 2003-03-07 Angus Leeming <leeming@lyx.org>
7779 * BufferView_pimpl.C (dispatch):
7780 * LyXAction.C (init):
7781 * ToolbarDefaults.C (init):
7783 * lyxfunc.C (getStatus):
7784 remove LFUN_INSET_GRAPHICS.
7786 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7788 2003-03-07 Angus Leeming <leeming@lyx.org>
7791 * LyXAction.C (init):
7792 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7794 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7797 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7799 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7800 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7802 2003-03-07 Angus Leeming <leeming@lyx.org>
7804 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7807 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7809 * ParagraphList.C (front): new function
7812 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7814 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7815 and top_row_offset_. removed var first_y.
7817 * text2.C (LyXText, removeRow):
7819 * BufferView_pimpl.C:
7820 use these methods instead of using first_y
7822 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7824 * text2.C (pasteSelection): adjust for checkPastePossible
7826 * CutAndPaste.C: remove Paragraph * buf and replace with
7827 ParagraphList paragraphs.
7828 (DeleteBuffer): delete
7829 (cutSelection): change the tc type to textclass_type
7830 (copySelection): change the tc type to textclass_type
7831 (copySelection): adjust for ParagraphList
7832 (pasteSelection): change the tc type to textclass_type
7833 (pasteSelection): adjust for Paragraphlist
7834 (nrOfParagraphs): simplify for ParagraphList
7835 (checkPastePossible): simplify for ParagraphList
7836 (checkPastePossible): remove unused arg
7838 * ParagraphList.C (insert): handle the case where there are no
7841 * CutAndPaste.h: make CutAndPaste a namespace.
7843 * text3.C (dispatch): adjust
7845 * text.C (breakParagraph): add a ParagraphList as arg
7847 * paragraph_funcs.C (breakParagraph): change to take a
7848 BufferParams and a ParagraphList as args.
7849 (breakParagraphConservative): ditto
7850 (mergeParagraph): ditto
7851 (TeXDeeper): add a ParagraphList arg
7852 (TeXEnvironment): ditto
7855 * buffer.C (readLyXformat2): adjust
7856 (insertStringAsLines): adjust
7857 (latexParagraphs): adjust
7859 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7860 (cutSelection): adjust
7861 (pasteSelection): adjust
7863 * BufferView_pimpl.C (insertInset): adjust
7865 2003-03-05 Angus Leeming <leeming@lyx.org>
7868 * LyXAction.C (init):
7869 * BufferView_pimpl.C (dispatch):
7870 * lyxfunc.C (getStatus):
7871 remove LFUN_CHILD_INSERT.
7873 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7875 2003-03-05 Angus Leeming <leeming@lyx.org>
7878 * LyXAction.C (init):
7879 * src/factory.C (createInset):
7880 * lyxfunc.C (getStatus):
7881 * text3.C (dispatch):
7882 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7884 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7886 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7888 * ParagraphList.C (insert): handle insert right before end()
7889 (erase): fix cases where it can be first or last paragraph.
7891 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7893 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7894 Paragraph::next and Paragraph::previous
7897 * text.C (breakParagraph): adjust
7899 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7900 BufferParams& as arg.
7901 (breakParagraph): use ParagraphList::insert
7902 (breakParagraphConservative): take a Buffer* instead of a
7903 BufferParams& as arg.
7904 (breakParagraphConservative): use ParagraphList::insert.
7906 * buffer.C (insertStringAsLines): un-const it
7907 (insertStringAsLines): adjust
7909 * ParagraphList.C (insert): new function
7911 * CutAndPaste.C (pasteSelection): adjust
7913 * text.C (backspace): adjust
7915 * tabular.C (SetMultiColumn): adjust
7917 * CutAndPaste.C (cutSelection): adjust
7918 (pasteSelection): adjust
7920 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7921 Buffer const * as arg
7923 * ParagraphList.C (erase): new function
7924 * paragraph_funcs.C (mergeParagraph): use it
7925 (mergeParagraph): make it take a Buffer* instead of a
7926 BufferParams* as arg
7928 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7930 (breakParagraphConservative): ditto
7932 * paragraph.h: remove the breakParagraph friend
7934 * paragraph.C (eraseIntern): new function
7935 (setChange): new function
7937 * paragraph_funcs.C (mergeParagraph): make it take a
7938 ParagraphList::iterator instead of a Paragraph *, adjust
7941 * paragraph.h: move an #endif so that the change tracking stuff
7942 also works in the NO_NEXT case.
7944 2003-03-04 Angus Leeming <leeming@lyx.org>
7947 * LyXAction.C: new LFUN_INSET_MODIFY.
7949 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7950 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7952 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7954 * several files: ws changes only
7956 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7957 (TeXEnvironment): ditto
7960 * buffer.C (makeLaTeXFile): adjust
7961 (latexParagraphs): make it take ParagraphList::iterator as args
7963 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7965 * buffer.C (latexParagraphs): adjust
7967 * paragraph.C (TeXOnePar): move function...
7968 (optArgInset): move function...
7969 (TeXEnvironment): move function...
7970 * paragraph_pimpl.C (TeXDeeper): move function...
7971 * paragraph_funcs.C: ...here
7973 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7975 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7977 * buffer.C (readInset): remove compability code for old Figure and
7980 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7982 * buffer.C: ws changes
7985 * BufferView_pimpl.C: ditto
7988 * bufferlist.h: ditto
7992 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7994 * converter.[Ch]: split into itself +
7997 * Makefile.am: += graph.[Ch] + format.[Ch]
8004 * lyxrc.C: added #include "format.h"
8006 2003-02-27 Angus Leeming <leeming@lyx.org>
8008 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
8011 * factory.C (createInset): add "label" to the factory.
8013 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
8014 string and do no more.
8016 2003-02-27 Angus Leeming <leeming@lyx.org>
8019 * LyXAction.C (init):
8020 * factory.C (createInset):
8021 * BufferView_pimpl.C (dispatch):
8022 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8024 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8026 * lyxfunc.C (dispatch):
8027 * text3.C (dispatch): pass name to params2string.
8029 2003-02-26 Angus Leeming <leeming@lyx.org>
8031 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8033 Rearrange the ~includes. Strip out the unnecessary ones.
8035 * factory.C (createInset): reformat.
8036 create new insets for the various LFUN_XYZ_APPLY lfuns.
8038 2003-02-26 John Levon <levon@movementarian.org>
8041 * lyxrow.C: add isParStart,isParEnd helpers
8043 * paragraph.h: make isInserted/DeletedText take refs
8045 * paragraph_funcs.h:
8046 * paragraph_funcs.C: remove #if 0'd code
8051 * text.C: use lyxrow helpers above.
8052 Move draw and paint routines to RowPainter.
8053 Make several methods use refs not pointers.
8054 Make backgroundColor() const.
8055 Add markChangeInDraw(), isInInset().
8056 Merge changeRegionCase into changeCase.
8057 Make workWidth() shouldn't-happen code into an Assert.
8060 * rowpainter.C: new class for painting a row.
8063 * vspace.C: make inPixels take a ref
8065 2003-02-26 Angus Leeming <leeming@lyx.org>
8067 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8070 2003-02-25 John Levon <levon@movementarian.org>
8072 * ispell.C: give the forked command a more accurate name
8074 2003-02-22 John Levon <levon@movementarian.org>
8077 * toc.C: make TocItem store an id not a Paragraph *
8080 2003-02-21 Angus Leeming <leeming@lyx.org>
8082 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8083 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8084 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8085 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8086 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8087 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8089 * BufferView_pimpl.C (dispatch):
8090 * LyXAction.C (init):
8091 * factory.C (createInset):
8092 * lyxfunc.C (getStatus, dispatch):
8093 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8095 2003-02-21 Angus Leeming <leeming@lyx.org>
8097 * BufferView_pimpl.C (MenuInsertLyXFile):
8098 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8099 * lyxfunc.C (menuNew, open, doImport):
8100 no longer pass a LyXView & to fileDlg.
8102 2003-02-21 Angus Leeming <leeming@lyx.org>
8104 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8105 * LyXAction.C: change, BIBKEY to BIBITEM.
8106 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8107 Change InsetBibKey to InsetBibitem.
8108 Change BIBKEY_CODE to BIBITEM_CODE.
8109 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8110 * factory.C: replace insetbib.h with insetbibitem.h.
8111 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8112 * paragraph.C: replace insetbib.h with insetbibitem.h.
8113 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8114 Change bibkey() to bibitem().
8115 * text.C: remove insetbib.h.
8116 * text2.C: replace insetbib.h with insetbibitem.h.
8117 change bibkey() to bibitem().
8118 * text3.C: remove insetbib.h.
8119 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8121 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8123 * lyxrc.C (output): enclose user email in quotes (in case there are
8126 2003-02-18 John Levon <levon@movementarian.org>
8128 * buffer.h: add std::
8130 2003-02-17 John Levon <levon@movementarian.org>
8136 * pspell.C: reworking. Especially in ispell, a large
8137 number of clean ups and bug fixes.
8139 * lyxfunc.C: fix revert to behave sensibly
8141 2003-02-17 André Pönitz <poenitz@gmx.net>
8144 * commandtags.h: new LFUN_INSERT_BIBKEY
8154 * paragraph_func.C: remove special bibkey handling
8156 2003-02-17 John Levon <levon@movementarian.org>
8158 * text.C (Delete): fix case where delete at the end of
8159 the very first paragraph would not merge the pars
8161 2003-02-17 John Levon <levon@movementarian.org>
8163 * lyxrow.C: fix lastPrintablePos()
8165 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8167 * bufferparams.C (writeLaTeX): add a std:here
8169 * buffer.C: and remove a using directive there
8171 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8173 * buffer.C (makeLaTeXFile): move the code that generates the
8176 * bufferparams.C (writeLaTeX): ... in this new method
8178 * LaTeXFeatures.C (getEncodingSet): make const
8179 (getLanguages): make const
8181 * MenuBackend.C (binding): returns the binding associated to this
8183 (add): sets the status of each item by calling getStatus. Adds
8185 (read): add support for OptSubMenu
8186 (expand): remove extra separator at the end of expanded menu
8188 2003-02-15 John Levon <levon@movementarian.org>
8191 * BufferView_pimpl.C:
8193 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8194 inset code that had no actual effect. Remove unneeded status
8197 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8199 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8202 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8204 * text.C (drawLengthMarker): also draw an arrow marker for
8205 symbolic lengths (medskip...)
8207 2003-02-14 John Levon <levon@movementarian.org>
8210 * tabular.C: better method names
8212 2003-02-14 John Levon <levon@movementarian.org>
8214 * BufferView_pimpl.C:
8219 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8220 it's a more accurate name. Remove some pointless uses.
8222 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8224 * text2.C (LyXText): change order of initilizers to shut off
8227 2003-02-14 John Levon <levon@movementarian.org>
8229 * buffer.C: use ParIterator for getParFromID()
8233 * paragraph_pimpl.h:
8234 * paragraph_pimpl.C: remove unused getParFromID()
8236 2003-02-14 John Levon <levon@movementarian.org>
8238 * buffer.C: remove some very old #if 0'd parse code
8240 2003-02-13 John Levon <levon@movementarian.org>
8244 * text2.C: move hfillExpansion(), numberOfSeparators(),
8245 rowLast(), rowLastPrintable(), numberofHfills(),
8246 numberOfLabelHfills() ...
8249 * lyxrow.C: ... to member functions here.
8254 * text.C: remove LyXText::beginningOfMainBody(), and call
8255 p->beginningOfMainBody() directly. Move the check for
8256 LABEL_MANUAL into the latter.
8263 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8269 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8270 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8272 2003-02-13 John Levon <levon@movementarian.org>
8274 * CutAndPaste.C: remove debug
8276 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8278 * paragraph.C (asString): remove two unused variables
8280 * lyxtextclass.C (readTitleType):
8282 (LyXTextClass): handle new members titletype_ and titlename_
8284 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8286 2003-02-09 John Levon <levon@movementarian.org>
8289 * buffer.C: replace hand-coded list with a map for the dep clean
8291 2003-02-08 John Levon <levon@movementarian.org>
8293 * LaTeX.C: consolidate code into showRunMessage() helper
8295 2003-02-08 John Levon <levon@movementarian.org>
8300 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8301 and pass the size in explicitly
8303 * BufferView_pimpl.h:
8304 * BufferView_pimpl.C:
8306 * BufferView.C: add getCurrentChange()
8308 * BufferView_pimpl.h:
8309 * BufferView_pimpl.C: handle change lfuns
8311 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8312 for changes. Mark pasted paragraphs as new.
8314 * support/lyxtime.h:
8315 * support/lyxtime.C:
8316 * DepTable.C: abstract time_t as lyx::time_type
8319 * LColor.C: add colours for new text, deleted text, changebars
8321 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8322 package use "usenames" option.
8326 * LyXAction.C: add change lfuns
8330 * author.C: author handling
8333 * buffer.C: add a per-buffer author list, with first entry as
8334 current author. Handle new .lyx tokens for change tracking. Output
8335 author list to .lyx file. Output dvipost stuff to .tex preamble.
8336 Bump lyx format to 222.
8339 * bufferlist.C: add setCurrentAuthor() to reset current author details
8343 * bufferparams.C: add param for tracking
8345 * bufferview_funcs.C: output change info in minibuffer
8349 * changes.C: add change-tracking structure
8352 * debug.C: add CHANGES debug flag
8355 * lyxfind.C: add code for finding the next change piece
8358 * lyxrc.C: add user_name and user_email
8361 * lyxrow.C: add a metric for the top of the text line
8364 * text.C: implement accept/rejectChange()
8367 * text.C: paint changebars. Paint new/deleted text in the chosen
8368 colours. Strike through deleted text.
8372 * paragraph_pimpl.h:
8373 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8374 in the current change to the insert functions. Rework erase to
8375 mark text as deleted, adding an eraseIntern() and a range-based
8376 erase(). Implement per-paragraph change lookup and
8379 * paragraph_funcs.C: Fixup paste for change tracking.
8381 * tabular.C: mark added row/columns as new.
8383 * text.C: fix rowLast() to never return -1. Don't allow
8384 spellchecking of deleted text. Track transpose changes. Don't
8385 allow paragraph break or merge where appropriate.
8387 * text2.C: leave cursor at end of selection after a cut.
8389 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8391 * text.C (getLengthMarkerHeight):
8392 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8393 visible on screen too.
8395 2003-02-07 John Levon <levon@movementarian.org>
8397 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8399 2003-02-05 Angus Leeming <leeming@lyx.org>
8401 * lyxserver.C (read_ready): revert my patch of 11 September last year
8402 as it sends PC cpu through the roof. Presumably this means that
8403 the lyxserver will no longer run on an Alpha...
8405 2003-01-30 Angus Leeming <leeming@lyx.org>
8407 * factory.C (createInset): create an InsetCommandParam of type "index"
8408 and use it to 'do the right thing'.
8410 * text2.C (getStringToIndex): ensure that cursor position is always
8411 reset to the reset_cursor position.
8413 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8415 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8418 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8422 * lyxfunc.C: Output messages with identical spelling, punctuation,
8425 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8427 * MenuBackend.C (expandFormats): List only viewable export formats
8430 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8433 * lyxfunc.C (getStatus): Make sure that formats other than
8434 "fax" can also be disabled
8436 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8438 * text3.C (dispatch): put the lfuns that insert insets in 3
8439 groups, and call doInsertInset with appropriate arguments.
8440 (doInsertInset): new function, that creates an inset and inserts
8441 it according to some boolean parameters.
8443 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8445 * buffer.C (readFile): remember to pass on 'par' when calling
8446 readFile recursively.
8448 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8450 * MenuBackend.C (expandFormats): add "..." to import formats.
8452 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8454 * paragraph.C (asString): Remove XForms RTL hacks.
8456 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8457 * buffer.C: fix typo
8459 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8461 * Makefile.am (LIBS): delete var
8462 (lyx_LDADD): add @LIBS@ here instead.
8464 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8466 * Clarify the meaning of "wheel mouse jump"
8468 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8470 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8473 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8475 * importer.C (Loaders): do not preallocate 3 elements in the
8476 vector, since one ends up with 6 elements otherwise
8478 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8480 * DepTable.C (write): write the file name as last element of the
8481 .dep file (because it may contain spaces)
8482 (read): read info in the right order
8484 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8486 * paragraph_pimpl.C (simpleTeXBlanks):
8487 (simpleTeXSpecialChars):
8488 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8490 * tabular.C (latex): add some missing case statements. Reindent.
8492 * MenuBackend.C (expandToc): remove unused variable.
8494 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8503 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8506 2003-01-05 John Levon <levon@movementarian.org>
8509 * BufferView.C: add getEncoding()
8512 * kbsequence.C: do not store last keypress
8515 * lyxfunc.C: store last keypress here instead. Pass encoding
8518 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8520 * lyx_main.C (init): remove annoying error message when following
8521 symbolic links (bug #780)
8523 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8525 * text.C (insertChar):
8526 * lyxrc.C (getDescription): remove extra spaces
8528 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8530 * lyxrc.C (getDescription): remove extra spaces
8532 2002-12-20 John Levon <levon@movementarian.org>
8534 * text3.C: hack fix for page up/down across tall rows
8536 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8538 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8541 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8543 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8544 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8545 thesaurus is not compiled in
8547 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8549 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8551 2002-12-16 Angus Leeming <leeming@lyx.org>
8554 * lyx_main.C (init): remove override_x_deadkeys stuff.
8556 2002-12-12 John Levon <levon@movementarian.org>
8558 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8559 insert. Only remove shift modifier under strict
8562 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8564 * MenuBackend.C (expandToc): fix crash.
8566 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8568 * MenuBackend.C (expandToc): gettext on float names.
8570 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8572 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8573 implement bool empty() [bug 490]
8575 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8577 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8579 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8581 * several files: ws changes
8583 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8585 * text2.C (setCounter): clean up a bit, use boost.format.
8586 (updateCounters): initialize par upon declaration.
8588 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8589 if the layout exists. We do not just store the layout any more.
8590 (SwitchLayoutsBetweenClasses): use boost.format
8592 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8594 * converter.C (convert): if from and to files are the same, use a
8595 temporary files as intermediary
8597 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8600 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8602 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8604 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8606 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8608 * tabular.C (asciiPrintCell): use string(size, char) instead of
8611 * sgml.C (openTag): fix order of arguments to string constructor
8614 * lyxfunc.C (dispatch): use boost.format
8616 * lots of files: change "c" -> 'c'
8618 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8620 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8622 2002-11-25 Angus Leeming <leeming@lyx.org>
8624 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8626 * lyx_main.C (init): compile fix.
8628 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8630 * lyx_cb.C (start): boost.formatify
8631 do not include <iostream>
8633 * lengthcommon.C: ws only
8635 * boost-inst.C,BoostFormat.h: add more explict instantations
8637 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8639 * lots of files: handle USE_BOOST_FORMAT
8641 2002-11-21 John Levon <levon@movementarian.org>
8643 * pspell.C: fix compile
8645 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8647 * lyxfunc.C (dispatch): use boost::format
8651 * lyxfont.C (stateText): use boost::format
8653 * lyx_main.C (LyX): use boost::format
8655 (queryUserLyXDir): ditto
8658 (typedef boost::function): use the recommened syntax.
8660 * importer.C (Import): use boost::format
8662 * debug.C (showLevel): use boost::format
8664 * converter.C (view): use boost::format
8669 * bufferview_funcs.C (currentState): use boost::format
8671 * bufferlist.C (emergencyWrite): use boost::format
8673 * buffer.C (readLyXformat2): use boost::format
8674 (parseSingleLyXformat2Token): ditto
8676 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8678 * LaTeX.C (run): use boost::format
8680 * Chktex.C (scanLogFile): use boost::format
8682 * BufferView_pimpl.C (savePosition): use boost::format
8683 (restorePosition): ditto
8684 (MenuInsertLyXFile): ditto
8686 * BoostFormat.h: help file for explicit instation.
8688 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8690 * tabular.C (latex): Support for block alignment in fixed width
8693 2002-11-17 John Levon <levon@movementarian.org>
8695 * BufferView_pimpl.C:
8697 * lyxfunc.C: split filedialog into open/save
8699 2002-11-08 Juergen Vigna <jug@sad.it>
8701 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8702 by my last patch (hopefully).
8704 2002-11-08 John Levon <levon@movementarian.org>
8713 * toc.C: ParConstIterator, and use it (from Lars)
8715 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8717 * lyxtextclass.[Ch]: revise and add doxygen comments
8719 2002-11-07 John Levon <levon@movementarian.org>
8721 * text.C: fix progress value for spellchecker
8723 * toc.C: fix navigate menu for insetwrap inside minipage
8725 * paragraph_funcs.C: added FIXME for suspect code
8727 2002-11-07 John Levon <levon@movementarian.org>
8729 * BufferView_pimpl.C: fix redrawing of insets
8732 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8734 * text2.C (updateCounters): fix bug 668
8736 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8738 * text3.C (dispatch): Do not make the buffer dirty when moving the
8741 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8743 * vc-backend.C: STRCONV
8746 * text2.C (setCounter): STRCONV
8748 * paragraph.C (asString): STRCONV
8750 * lyxlength.C (asString): STRCONV
8751 (asLatexString): ditto
8753 * lyxgluelength.C (asString): STRCONV
8754 (asLatexString): ditto
8756 * lyxfunc.C (dispatch): STRCONV
8759 * lyxfont.C (stateText): STRCONV
8761 * importer.C (Import): STRCONV
8763 * counters.C (labelItem): STRCONV
8764 (numberLabel): ditto
8765 (numberLabel): remove unused ostringstream o
8770 * bufferview_funcs.C (currentState): STRCONV
8772 * buffer.C (readFile): STRCONV
8773 (asciiParagraph): ditto
8774 (makeLaTeXFile): ditto
8776 * Spacing.C (writeEnvirBegin): STRCONV
8778 * LaTeXFeatures.C (getLanguages): STRCONV
8779 (getPackages): ditto
8781 (getBabelOptions): ditto
8782 (getTClassPreamble): ditto
8783 (getLyXSGMLEntities): ditto
8784 (getIncludedFiles): ditto
8788 (scanAuxFile): ditto
8791 * LString.h: add the STRCONV macros
8793 * BufferView_pimpl.C (savePosition): STRCONV
8794 (restorePosition): ditto
8795 (MenuInsertLyXFile): ditto
8797 * vc-backend.C (scanMaster): change from submatch[...] to
8800 * funcrequest.C: include config.h
8802 * factory.C: include config.h
8804 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8806 * box.C: include config.h
8808 * LaTeX.C (scanAuxFile): change from submatch[...] to
8812 2002-10-25 Angus Leeming <leeming@lyx.org>
8814 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8816 * ispell.[Ch] (setError): new method.
8817 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8818 Use setError() insetead of goto END.
8820 * lyx_cb.C (AutoSave): move out child process into new class
8823 2002-10-30 John Levon <levon@movementarian.org>
8825 * text3.C: make start appendix undoable
8827 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8829 * lyxlength.C (inPixels): Fix returned value.
8831 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8834 2002-10-24 Angus Leeming <leeming@lyx.org>
8836 * lyxgluelength.h: no need to forward declare BufferParams
8837 or BufferView, so don't.
8839 2002-10-21 John Levon <levon@movementarian.org>
8841 * BufferView.C: menuUndo ->undo, redo
8843 * BufferView.h: document, remove dead, make some methods private
8845 * paragraph_funcs.h:
8846 * paragraph_funcs.C:
8847 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8852 * sgml.C: move sgml open/close tag into sgml.C
8854 * bufferview_funcs.h: unused prototype
8857 * lyxfunc.C: remove unused
8860 * text.C: remove unused
8862 2002-10-21 John Levon <levon@movementarian.org>
8866 * BufferView_pimpl.h:
8867 * BufferView_pimpl.C: fix mouse wheel handling based on
8868 patch from Darren Freeman
8870 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8872 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8874 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8876 * lyxlength.C (inPixels): Fix hanfling of negative length.
8877 Fix LyXLength::MU case.
8879 2002-10-16 John Levon <levon@movementarian.org>
8881 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8883 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8885 * converter.C (view): add support for $$i (file name) and $$p
8886 (file path) for the viewer command. If $$i is not specified, then
8887 it is appended to the command (for compatibility with old syntax)
8889 2002-10-14 Juergen Vigna <jug@sad.it>
8891 * undo_funcs.C (textHandleUndo): alter the order in which the
8892 new undopar is added to the LyXText, as we have to set first
8893 the right prev/next and then add it as otherwise the rebuild of
8894 LyXText is not correct. Also reset the cursor to the right paragraph,
8895 with this IMO we could remove the hack in "redoParagraphs()".
8897 2002-10-09 Angus Leeming <leeming@lyx.org>
8899 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8900 to turn off an optimisation if a new inset is to be inserted.
8902 2002-10-11 André Pönitz <poenitz@gmx.net>
8904 * lyxtext.h: make some functions public to allow access
8905 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8907 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8909 * text3.C (dispatch): when changing layout, avoid an infinite loop
8912 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8914 * lyxrc.C (read): treat a viewer or converter command of "none" as
8917 * MenuBackend.C (expandFormats): for an update, also allow the
8918 formats that are not viewable
8920 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8921 script if it is newer than the lyxrc.defaults in user directory
8923 2002-10-07 André Pönitz <poenitz@gmx.net>
8925 * text.C: Vitaly Lipatov's small i18n fix
8927 2002-09-25 Angus Leeming <leeming@lyx.org>
8929 * ispell.h: doxygen fix.
8931 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8933 * buffer.h (readFile): Add a new argument to the method, to allow
8934 reading of old-format templates.
8936 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8938 * toc.C (getTocList): Get TOC from InsetWrap.
8940 2002-09-16 John Levon <levon@movementarian.org>
8942 * lyxfunc.C: check tabular for cut/copy too
8944 2002-09-12 John Levon <levon@movementarian.org>
8949 * factory.C: add header
8951 * paragraph_funcs.h:
8952 * paragraph_funcs.C: cleanup
8954 2002-09-11 John Levon <levon@movementarian.org>
8956 * PrinterParams.h: odd/even default to true
8958 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8960 * PrinterParams.h: update printer parameters for new xforms dialog
8962 2002-09-11 Angus Leeming <leeming@lyx.org>
8964 * lyxserver.C (read_ready): re-write to make it more transparent
8965 and to make it work in coherent fashion under Tru64 Unix.
8967 2002-09-11 André Pönitz <poenitz@gmx.net>
8971 * text3.C: implement LFUN_WORDSEL
8973 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8975 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8976 make floatlist_ a boost::shared_ptr<FloatList>
8978 * lyxtextclass.C: include FloatList.h
8979 (LyXTextClass): initialize floatlist_
8980 (TextClassTags): add TC_NOFLOAT
8981 (Read): match "nofloat" to TC_NOFLOAT and use it.
8982 (readFloat): modify call to floatlist_
8986 * FloatList.[Ch] (FloatList): remove commented out float
8988 (erase): new function
8990 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8992 * MenuBackend.C (expandToc): fix crash when there is no document
8995 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8997 * many files: Add insetwrap.
8999 2002-09-09 John Levon <levon@movementarian.org>
9001 * text2.C: remove confusing and awkward depth wraparound
9003 2002-09-09 John Levon <levon@movementarian.org>
9005 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
9008 * buffer.C: remove getIncludeonlyList()
9011 * lyxfunc.C: remove headers
9013 2002-09-09 Juergen Vigna <jug@sad.it>
9015 * text.C (getColumnNearX): fix form Michael this is most
9016 probably a cut&paste bug.
9018 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9020 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9022 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9023 references, ws changes.
9025 * text2.C (init): update counters after init
9026 (insertParagraph): no need to set counter on idividual paragraphs.
9027 (setCounter): access the counters object in the textclass object
9028 on in the buffer object.
9029 (updateCounters): ditto
9031 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9032 shared_ptr<Counters> to avoid loading counters.h in all
9034 (LyXTextClass): initialize ctrs_
9035 (TextClassTags): add TC_COUNTER, and ...
9036 (Read): use it here.
9037 (CounterTags): new tags
9038 (readCounter): new function
9039 (counters): new funtion
9040 (defaultLayoutName): return a const reference
9042 * counters.C (Counters): remove contructor
9043 (newCounter): remove a couple of unneeded statements.
9044 (newCounter): simplify a bit.
9045 (numberLabel): some small formatting changes.
9047 * buffer.[Ch]: remove all traces of counters, move the Counters
9048 object to the LyXTextClass.
9050 2002-09-06 Alain Castera <castera@in2p3.fr>
9052 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9053 package to set the horizontal alignment on fixed width columns.
9056 * lyx_sty.h: added tabularnewline macro def.
9058 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9060 2002-09-06 John Levon <levon@movementarian.org>
9062 * LyXAction.C: tooltips for sub/superscript
9064 * MenuBackend.C: a bit more verbose
9066 * lyxfunc.C: tiny clean
9068 * undo_funcs.C: document undo_frozen
9070 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9072 * counters.C (Counters): add missing algorithm counter.
9074 * text2.C (setCounter): lookup the counter with layouts latexname
9075 instead of by section number.
9076 (setCounter): use a hackish way to lookup the correct enum
9078 a float name->type change
9079 reset enum couners with counter name directly instead of depth value.
9081 * counters.C (Counters): remove the push_backs, change to use the
9082 float type not the float name.
9083 (labelItem): remove unused string, float name->type change
9085 * counters.h: don't include vector, loose the enums and sects vectors
9087 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9089 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9090 (Read): add float->TC_FLOAT to textclassTags
9091 (Read): and handle it in the switch
9092 (readFloat): new function
9094 * FloatList.C (FloatList): comment out the hardcoded float
9097 * lyxlayout.h: ws change.
9099 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9101 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9103 2002-09-03 Angus Leeming <leeming@lyx.org>
9105 * BufferView_pimpl.h: qualified name is not allowed in member
9106 declaration: WorkArea & Pimpl::workarea() const;
9108 * factory.C: added using std::endl directive.
9110 * text3.C: added using std::find and std::vector directives.
9112 2002-08-29 André Pönitz <poenitz@gmx.net>
9115 * text2.C: remove unused member number_of_rows
9118 * BufferView2.C: remove file, move contents to...
9119 * BufferView.C: ... here
9121 * BufferView_pimpl.C:
9122 * factory.C: move more inset creation to factory
9124 * vspace.C: avoid direct usage of LyXText, ws changes
9127 don't provide direct access to WorkArea, use two simple
9128 acessors haveSelction() and workHeight() instead
9131 2002-08-29 John Levon <levon@movementarian.org>
9133 * BufferView_pimpl.C (dispatch): do not continue when
9136 2002-08-28 André Pönitz <poenitz@gmx.net>
9138 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9141 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9143 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9145 * buffer.C: increment LYX_FORMAT to 221
9147 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9148 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9150 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9152 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9154 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9156 * factory.C (createInset): use LyXTextClass::floats
9158 * MenuBackend.C (expandFloatListInsert):
9159 (expandFloatInsert):
9162 * text2.C (setCounter):
9164 * LaTeXFeatures.C (useFloat):
9165 (getFloatDefinitions):
9167 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9169 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9170 floatlist_, with accessor floats().
9172 * FloatList.h: remove global FloatList
9174 2002-08-26 André Pönitz <poenitz@gmx.net>
9176 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9180 * BufferView_pimpl.C:
9181 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9183 2002-08-25 John Levon <levon@movementarian.org>
9185 * LyXAction.C: fix margin note description
9187 2002-08-24 John Levon <levon@movementarian.org>
9191 * bufferview_funcs.C:
9193 * undo_funcs.C: cleanups
9195 * lyxfunc.C: disable CUT/COPY when no selection
9197 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9199 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9200 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9202 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9203 Add backward compatibility to "mono", "gray" and "no".
9205 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9207 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9208 (and file_format >= 200).
9210 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9212 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9214 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9216 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9218 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9220 * BufferView_pimpl.C:
9227 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9228 inset and code to make it work with the paragraph code. The inset
9229 can be anywhere in the paragraph, but will only do the expected
9230 thing in LaTeX if the layout file contains the parameter line
9232 (or more generally, a nonzero value) for that layout.
9234 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9236 * paragraph.h: remove the declaration of undefined counters class
9239 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9241 * text2.C (setCounter): fixed enumeration mis-count as reported by
9242 Dr. Richard Hawkins.
9244 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9246 * paragraph_funcs.h: remove some unneeded includes
9248 * text.C (backspace): pasteParagraph now in global scipe
9250 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9251 (pasteSelection): ditto
9253 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9254 * paragraph_funcs.C (pasteParagraph): ... here
9256 2002-08-20 André Pönitz <poenitz@gmx.net>
9258 * commandtags.h: new LFUNs for swapping/copying table row/colums
9261 * lyxfunc.C: support for new lfuns
9263 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9266 * buffer.[Ch]: remove NO_COMPABILITY stuff
9268 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9270 * boost.C (throw_exception): new file, with helper function for
9271 boost compiled without exceptions.
9276 * ParameterStruct.h:
9277 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9279 * bufferlist.C (emergencyWriteAll): use boost bind
9281 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9283 * text.C: include paragraph_funcs.h
9284 (breakParagraph): breakParagraph is now in global scope
9286 * paragraph_funcs.[Ch]: new files
9288 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9291 * buffer.C: include paragraph_funcs.h
9292 (insertStringAsLines): breakParagraph is now in global scope
9294 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9297 * CutAndPaste.C: include paragraph_funcs.h
9298 (cutSelection): breakParagraphConservative is now in global scope
9299 (pasteSelection): ditto
9301 * buffer.h: declare oprator== and operator!= for
9302 Buffer::inset_iterator
9304 * bufferlist.C (emergencyWrite): don't use fmt(...)
9306 * text3.C: add using std::endl
9308 * BufferView.C (moveCursorUpdate): remove default arg
9310 2002-08-20 André Pönitz <poenitz@gmx.net>
9312 * buffer.[Ch]: move inline functions to .C
9315 * BufferView_pimpl.C:
9317 * buffer.[Ch]: use improved inset_iterator
9320 * paragraph.[Ch]: write one paragraph at a time
9322 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9324 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9325 style if style is not specified.
9327 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9329 * text2.C (setCounter): when searching for right label for a
9330 caption, make sure to recurse to parent insets (so that a caption
9331 in a minipage in a figure float works) (bug #568)
9333 2002-08-20 André Pönitz <poenitz@gmx.net>
9335 * text3.C: new file for LyXText::dispatch() and helpers
9337 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9339 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9341 2002-08-19 André Pönitz <poenitz@gmx.net>
9344 * text.C: new LyXText::dispatch()
9346 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9348 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9350 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9352 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9355 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9357 * Makefile.am: use $(variables) instead of @substitutions@
9359 2002-08-15 André Pönitz <poenitz@gmx.net>
9362 * BufferView_pimpl.C: streamlining mathed <-> outer world
9366 * LyXAction.C: remove unused LFUN_MATH
9368 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9370 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9372 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9374 * paragraph.C (Paragraph): reformat a bit
9375 (cutIntoMinibuffer): use builtin InsetList function instad of
9379 * buffer.C: include boost/bind.hpp, add using std::for_each
9380 (writeFileAscii): use ParagraphList iterators
9381 (validate): use for_each for validate traversal of paragraphs
9382 (getBibkeyList): use ParagraphList iterators
9383 (resizeInsets): use for_each to resizeInsetsLyXText for all
9385 (getParFromID): use ParagraphList iterators
9387 * BufferView2.C (lockInset): use paragraph list and iterators
9389 2002-08-14 John Levon <levon@movementarian.org>
9391 * lyxserver.C: remove spurious xforms include
9393 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9395 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9397 2002-08-13 André Pönitz <poenitz@gmx.net>
9400 * lyxfunc.C: further cleaning
9402 2002-08-13 André Pönitz <poenitz@gmx.net>
9404 * funcrequest.h: new constructor
9406 * funcrequest.C: move stuff here from .h
9409 * BufferView_pimpl.C:
9412 * lyxfunc.C: subsequent changes
9414 * lyxfunc.h: new view() member function
9416 * lyxfunc.C: subsequent changes
9418 2002-08-13 Angus Leeming <leeming@lyx.org>
9421 * BufferView_pimpl.C:
9429 changes due to the changed LyXView interface that now returns references
9430 to member variables not pointers.
9432 2002-08-13 Angus Leeming <leeming@lyx.org>
9434 * WordLangTuple (word, lang_code): return references to strings,
9439 * lyxtext.h: forward-declare WordLangTuple.
9444 * text.C: #include "WordLangTuple.h".
9447 * text.C: (selectNextWordToSpellcheck): constify return type.
9449 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9455 * paragraph_pimpl.h:
9458 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9460 Made updateCounter always count from start of buffer, and removed
9461 second argument (par).
9462 Reverted floats number display to '#'. Perhaps I'll try again when the
9463 code base is sanitized a bit.
9465 2002-08-12 Angus Leeming <leeming@lyx.org>
9467 * buffer.[Ch] (getLabelList): constify.
9469 2002-08-07 André Pönitz <poenitz@gmx.net>
9471 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9473 * funcrequest.h: extension to keep mouse (x,y) position
9475 2002-08-12 Juergen Vigna <jug@sad.it>
9477 * BufferView2.C (insertErrors): forbid undo when inserting error
9480 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9482 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9484 * ParagraphList.[Ch]: new files
9486 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9488 * BufferView2.C (lockInset): ParagraphList changes
9491 * bufferlist.C: ditto
9495 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9497 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9498 unused class variable counter_,
9500 * paragraph.[Ch] (getFirstCounter): delete unused function
9502 * counters.C: include LAssert.h
9503 (reset): add a new function with no arg, change other version to
9504 not have def. arg and to not allow empty arg.
9506 * text2.C (setCounter): remove empty arg from call to Counters::reset
9508 2002-08-11 John Levon <levon@movementarian.org>
9510 * Makefile.am: add WordLangTuple.h
9512 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9514 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9515 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9517 * insets/insettext.C: InsetList changes
9519 * graphics/GraphicsSupport.C (operator()): InsetList changes
9521 * toc.C (getTocList): InsetList changes
9523 * paragraph_pimpl.[Ch]: InsetList changes
9525 * paragraph.[Ch]: InsetList changes
9527 * buffer.C (inset_iterator): InsetList changes
9528 (setParagraph): ditto
9529 * buffer.h (inset_iterator): ditto
9530 * iterators.C (operator++): ditto
9531 * iterators.h: ditto
9533 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9535 * InsetList.[Ch]: new files, most InsetList handling moved out of
9538 * BufferView2.C (removeAutoInsets): InsetList changes
9540 (ChangeInsets): ditto
9542 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9544 * paragraph_pimpl.h (empty): new function
9546 * paragraph.[Ch] (empty): new function
9548 * other files: use the new Paragraph::empty function
9550 2002-08-09 John Levon <levon@movementarian.org>
9552 * lyxtext.h: remove unused refresh_height
9554 2002-08-09 John Levon <levon@movementarian.org>
9561 * paragraph.C: move sgml char escaping out of paragraph
9564 * paragraph.C: remove id setter
9568 * paragraph_pimpl.C: remove dead tex_code_break_column
9570 * bufferview_funcs.C: small cleanup
9572 * lyxfunc.C: remove dead proto
9574 * lyxtext.h: make some stuff private. Remove some dead stuff.
9576 * lyxgluelength.C: make as[LyX]String() readable
9578 2002-08-08 John Levon <levon@movementarian.org>
9583 * ToolbarDefaults.C:
9586 * toc.C: lyxaction cleanup
9588 2002-08-08 John Levon <levon@movementarian.org>
9590 * BufferView2.C: small cleanup
9593 * lyxfind.C: move unnecessary header into the .C
9595 2002-08-08 John Levon <levon@movementarian.org>
9597 * funcrequest.h: just tedious nonsense
9600 * lyx_main.C: cleanups
9603 * vspace.C: remove dead header lyx_main.h
9605 2002-08-07 Angus Leeming <leeming@lyx.org>
9608 * paragraph_pimpl.h:
9609 Forward declare class Counters in paragraph.h by moving the ctrs member
9610 variable into Paragraph::Pimpl.
9611 (counters): new method, returning a reference to pimpl_->ctrs.
9613 * text2.C: ensuing changes.
9615 2002-08-07 John Levon <levon@movementarian.org>
9617 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9619 * BufferView_pimpl.C: announce X selection on double/triple
9622 * lyx_main.C: use correct bool in batch dispatch
9624 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9626 2002-08-07 André Pönitz <poenitz@gmx.net>
9628 * funcrequest.h: new class to wrap a kb_action and its argument
9631 * BufferView_pimpl[Ch]:
9635 * lyxrc.C: subsequent changes
9638 2002-08-07 John Levon <levon@movementarian.org>
9640 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9641 document options change.
9643 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9648 * makefile.am: move counters functionality over from
9649 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9651 2002-08-06 John Levon <levon@movementarian.org>
9653 * WordLangTuple.h: new file for word + language code tuple
9664 * BufferView2.C: use WordLangTuple
9667 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9669 2002-08-06 John Levon <levon@movementarian.org>
9671 * lyx_main.C: fix cmdline batch handling
9673 2002-08-06 André Pönitz <poenitz@gmx.net>
9675 * lyxrc.C: set default for show_banner to true
9677 2002-08-06 John Levon <levon@movementarian.org>
9679 * pspell.C: fix a crash, and allow new aspell to work
9681 2002-08-06 John Levon <levon@movementarian.org>
9684 * kbmap.C: small cleanup
9687 * vspace.C: add const
9689 2002-08-05 John Levon <levon@movementarian.org>
9691 * LyXAction.C: back to tabular-insert
9693 2002-08-04 John Levon <levon@movementarian.org>
9696 * BufferView.C: cosmetic change
9698 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9708 * BufferView2.C: purge all "Lyx" not "LyX" strings
9711 * lyxcursor.C: attempt to add some documentation
9716 * ToolbarDefaults.C:
9717 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9718 merge with LFUN_TABULAR_INSERT
9725 * pspell.C: split up i/pspell implementations into separate
9726 files, many cleanups
9728 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9730 * text2.C: some cleanup
9732 * lyxfunc.C: don't check for isp_command == "none" any more, it
9733 didn't make any sense
9735 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9740 * makefile.am: move counters functionality over
9741 from text2.C/paragraph.[Ch] to counters.[Ch], and
9743 2002-08-02 John Levon <levon@movementarian.org>
9745 * buffer.C: s/lyxconvert/lyx2lyx/
9747 2002-08-02 Angus Leeming <leeming@lyx.org>
9749 * lyxlex.C: revert John's change as it breaks reading of the user
9752 2002-08-02 Angus Leeming <leeming@lyx.org>
9754 * importer.C (Import):
9755 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9756 changes due to LyXView::view() now returning a boost::shared_ptr.
9758 2002-08-02 John Levon <levon@movementarian.org>
9760 * lyxlex.C: small cleanup
9762 2002-08-02 John Levon <levon@movementarian.org>
9764 * text2.C (status): small cleanup, no logic change
9766 2002-08-01 John Levon <levon@movementarian.org>
9769 * buffer.C (writeFile): don't output alerts, caller
9773 * lyx_cb.C: from above
9775 * lyxfunc.C: allow to open non-existent files
9777 2002-07-31 John Levon <levon@movementarian.org>
9779 * lyxserver.C: don't let incidental errors get
9782 2002-07-30 John Levon <levon@movementarian.org>
9784 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9786 2002-07-30 John Levon <levon@movementarian.org>
9789 * lyxserver.C: remove I/O callback too
9791 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9793 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9796 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9798 * many files: strip,frontStrip -> trim,ltrim,rtrim
9800 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9802 * PrinterParams.h: remove extern containsOnly, and include
9803 support/lstrings.h instead.
9805 * LaTeX.C (scanAuxFile): modify because of strip changes
9807 * buffer.C (makeLaTeXFile): ditto
9808 * bufferparams.C (writeFile): ditt
9809 * lyxfont.C (stateText): ditto
9810 * lyxserver.C (read_ready): ditto
9811 * vc-backend.C (scanMaster): ditto
9813 * BufferView_pimpl.h: ws changes
9815 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9817 2002-07-26 André Pönitz <poenitz@gmx.net>
9819 * kb_sequence.C: remove unnedred usings
9821 2002-07-26 Juergen Vigna <jug@sad.it>
9823 * lyxfind.C (LyXReplace): we have to check better if the returned
9824 text is not of theLockingInset()->getLockingInset().
9826 2002-07-25 Juergen Vigna <jug@sad.it>
9828 * lyxfind.C (LyXReplace): don't replace if we don't get the
9831 * undo_funcs.C (createUndo): remove debugging code.
9833 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9835 * buffer.C (parseSingleLyXformat2Token): Use default placement
9836 when reading old floats.
9838 * FloatList.C (FloatList): Change the default placement of figure
9839 and tables to "tbp".
9841 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9843 * MenuBackend.C: using std::max
9845 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9847 * MenuBackend.C (expandToc):
9848 (expandToc2): code moved from xforms menu frontend. It is now
9849 generic and TOCs are transparent to menu frontends.
9851 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9853 * toc.C (getTocList): protect against buf=0
9855 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9856 Menu as first parameter. Now, this calls itself recursively to
9857 expand a whole tree (this will be useful for TOC handling)
9858 (expandFloatInsert): remove 'wide' version of floats
9860 * MenuBackend.h (submenuname): returns the name of the submenu.
9861 (submenu): returns the submenu itself, provided it has been
9862 created by MenuBackend::expand
9864 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9866 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9867 insets which have noFontChange == true. (bug #172)
9869 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9871 * BufferView_pimpl.C: add connection objects and use them...
9874 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9876 * MenuBackend.C (expandLastfiles):
9879 (expandFloatListInsert):
9880 (expandFloatInsert):
9881 (expand): split expand in parts
9883 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9885 * lyx_gui.C: use lyx_gui::exit()
9887 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9889 * LyXAction.C: show the failing pseudo action
9891 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9893 * buffer.C (readFile): Run the lyxconvert script in order to read
9896 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9900 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9902 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9906 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9908 2002-07-22 Herbert Voss <voss@lyx.org>
9911 * lyxlength.[Ch]: add support for the vertical lengths
9913 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9915 * toc.[Ch]: std:: fixes
9917 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9919 * lyxrc.C: do not include lyx_main.h
9921 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9927 * BufferView2.C: include "lyxlex.h"
9930 * bufferparams.h: do not #include "lyxlex.h"
9932 * lyxtextclasslist.C (Add): remove method
9933 (classlist): renamed to classlist_
9935 * paragraph_pimpl.C:
9939 * bufferview_funcs.C:
9944 * toc.C (getTocList): use BufferParams::getLyXTextClass
9946 * toc.C (getTocList): use InsetFloat::addToToc
9948 * toc.[Ch]: new files, containing helper functions to handle table
9951 * lyxfunc.C (dispatch): no need to remove spaces around command
9953 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9954 first command of the sequence; it is not very clever, but I do not
9955 have a better idea, actually
9957 * LyXAction.C (LookupFunc): make sure to remove space at the
9958 beginning and end of the command
9960 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9962 * MenuBackend.C (getMenubar): new method: return the menubar of
9964 (read): treat differently reading of menu and menubar (in
9965 particular, the menubar has no name now)
9966 (Menu::menubar): remove
9968 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9971 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9973 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9974 a bibitem inset in a RTL paragraph.
9976 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9978 * paragraph_pimpl.C: constify
9980 * BufferView_pimpl.C:
9982 * lyxfunc.C: fix dispatch in a nicer way
9984 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9986 * lyxfunc.C (dispatch):
9987 * BufferView_pimpl.C:
9988 * BufferView_pimpl.h:
9990 * BufferView.h: rename Dispatch() to dispatch()
9992 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9994 * lyxlayout.C (Read): honor DependsOn tag
9996 * lyxlayout.[Ch] (depends_on): new method
9998 * version.C.in: update lyx_docversion
10000 * LaTeXFeatures.C (getMacros): only define \LyX when needed
10002 * paragraph.C (validate): remove from here...
10003 * paragraph_pimpl.C (validate): ... and move here
10004 (isTextAt): make it const
10006 * buffer.C (getLists): ws cleanup
10008 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
10010 * language.C (read): Use iso8859-1 encoding in latex_lang
10011 (this prevents LyX from crashing when using iso10646-1 encoding).
10013 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10015 * text2.C (toggleInset): if cursor is inside an inset, close the
10016 inset and leave cursor _after_ it
10018 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10020 * lyxfunc.C: move minibuffer completion handling out of here
10022 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10024 * BufferView_pimpl.C:
10025 * LaTeX.C: fix dispatch calls
10027 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10029 * text.C (drawChars): Fix Arabic text rendering.
10031 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10035 * lyxfunc.C: remove message-push/pop
10039 * lyxfunc.C: rationalise some code by removing verboseDispatch
10040 in favour of a bool argument to dispatch()
10042 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10044 * lyx_main.C (init): make sure to read symlinks as absolute paths
10046 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10049 * lyxfunc.C: no need for commandshortcut to be a member
10051 2002-07-15 André Pönitz <poenitz@gmx.net>
10053 * converter.C: add support for $$s (scripts from lib/scripts dir)
10054 * lyx_main.C: white space
10056 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10060 * lyxrc.C: remove second exit confirmation
10062 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10067 * BufferView_pimpl.h:
10068 * BufferView_pimpl.C:
10069 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10071 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10073 * MenuBackend.C (expand): add numeric shortcuts to document menu
10075 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10077 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10079 * lyxfont.C (setLyXFamily):
10086 * buffer.C (asciiParagraph): use ascii_lowercase
10088 2002-07-15 Mike Fabian <mfabian@suse.de>
10090 * lyxlex_pimpl.C (search_kw):
10091 * lyxlex.C (getLongString):
10092 * converter.h (operator<):
10093 * converter.C (operator<):
10094 * buffer.C (parseSingleLyXformat2Token):
10096 * ToolbarDefaults.C (read):
10097 * MenuBackend.C (checkShortcuts):
10099 * LColor.C (getFromGUIName):
10100 (getFromLyXName): use the compare_ascii_no_case instead of
10101 compare_no_case, because in turkish, 'i' is not the lowercase
10102 version of 'I', and thus turkish locale breaks parsing of tags.
10104 2002-07-16 Angus Leeming <leeming@lyx.org>
10106 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10107 now takes a Buffer const & argument.
10109 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10111 * BufferView.C (resize): check there's a buffer to resize
10113 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10115 * lyxfunc.C: remove dead code
10118 * lyxserver.C: use lyx_guii::set_read_callback
10120 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10122 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10123 an inset in a RTL paragraph.
10125 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10127 * lyxfunc.C: repaint after a font size update
10129 2002-07-15 André Pönitz <poenitz@gmx.net>
10131 * lyxlength.C: inBP should be able to return negative values
10133 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10135 * lyxfunc.C: use lyx_gui::update_fonts()
10137 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10139 * lyxfunc.C: use lyx_gui::update_color()
10141 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10147 * lyxrc.C: remove file->new asks for name option, and let
10148 buffer-new take an argument
10150 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10152 * BufferView_pimpl.C: remove unneeded extra repaint()
10154 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10156 * LyXAction.C: allow command-sequence with NoBuffer
10158 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10160 2002-07-10 Angus Leeming <leeming@lyx.org>
10162 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10164 2002-07-09 Angus Leeming <leeming@lyx.org>
10166 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10168 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10170 * lengthcommon.h: whitespace
10172 * lyxfunc.C: update scrollbar after goto paragraph
10174 * lyxtext.h: factor out page break drawing, and fix it so
10175 page break/added space paints as selected nicely
10177 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10179 * BufferView_pimpl.C: add FIXMEs, clean up a little
10181 2002-07-09 André Pönitz <poenitz@gmx.net>
10183 * lyxfont.[Ch]: support for wasy symbols
10185 2002-07-08 André Pönitz <poenitz@gmx.net>
10187 * BufferView_pimpl.C: apply John's patch for #93.
10189 2002-07-05 Angus Leeming <leeming@lyx.org>
10191 * BufferView_pimpl.C (buffer): generate previews if desired.
10193 * LColor.h: add "preview" to the color enum.
10195 * LColor.C (LColor): add a corresponding entry to the items array.
10197 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10200 2002-07-05 Angus Leeming <leeming@lyx.org>
10202 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10203 The body of the code is now in the method that is passed an ostream &
10204 rather than a file name.
10205 Pass an additional only_preamble parameter, useful for the forthcoming
10208 2002-07-03 André Pönitz <poenitz@gmx.net>
10210 * lyxfunc.C: simplify getStatus() a bit for math stuff
10212 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10214 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10216 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10218 * text.C (changeRegionCase): do not change case of all the
10219 document when region ends at paragraph end (bug #461)
10221 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10223 * paragraph.C (startTeXParParams):
10224 (endTeXParParams): add \protect when necessary
10226 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10228 * BufferView_pimpl.C (workAreaExpose): remove warning
10230 2002-06-27 Angus Leeming <leeming@lyx.org>
10232 * Makefile.am: add lyxlayout_ptr_fwd.h.
10234 2002-06-26 André Pönitz <poenitz@gmx.net>
10236 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10238 2002-06-25 Angus Leeming <leeming@lyx.org>
10240 * lyxfunc.C (dispatch): Comment out the call to
10241 grfx::GCache::changeDisplay. The method no longer exists now that the
10242 pixmap generation part of the graphics loader has been moved into
10245 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10247 * text2.C: layout as layout
10249 * text.C: layout as layout
10251 * tabular.C (OldFormatRead): layout as layout
10253 * paragraph_pimpl.C (TeXDeeper): layout as layout
10254 (realizeFont): layout as layout
10256 * paragraph.C (writeFile): layout as layout
10257 (validate): layout as layout
10258 (getFont): layout as layout
10259 (getLabelFont): layout as layout
10260 (getLayoutFont): layout as layout
10261 (breakParagraph): layout as layout
10262 (stripLeadingSpaces): layout as layout
10263 (getEndLabel): layout as layout
10264 (getMaxDepthAfter): layout as layout
10265 (applyLayout): layout as layout
10266 (TeXOnePar): layout as layout
10267 (simpleTeXOnePar): layout as layout
10268 (TeXEnvironment): layout as layout
10269 (layout): layout as layout
10270 (layout): layout as layout
10272 * lyxtextclass.C (compare_name): new functor to work with
10273 shared_ptr, layout as layout
10274 (Read): layout as layout
10275 (hasLayout): layout as layout
10276 (operator): layout as layout
10277 (delete_layout): layout as layout
10278 (defaultLayout): layout as layout
10280 * lyxlayout_ptr_fwd.h: new file
10282 * lyxlayout.C (Read): layout as layout
10284 * lyx_cb.C (MenuInsertLabel): layout as layout
10286 * bufferlist.C (newFile): layout as layout
10288 * buffer.C (readLyXformat2): layout as layout
10289 (parseSingleLyXformat2Token): layout as layout
10290 (insertStringAsLines): layout as layout
10291 (asciiParagraph): layout as layout
10292 (latexParagraphs): layout as layout
10293 (makeLinuxDocFile): layout as layout
10294 (simpleLinuxDocOnePar): layout as layout
10295 (makeDocBookFile): layout as layout
10296 (simpleDocBookOnePar): layout as layout
10297 (getLists): layout as layout
10299 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10301 * CutAndPaste.C (cutSelection): layout as layout
10302 (pasteSelection): layout as layout
10303 (SwitchLayoutsBetweenClasses): layout as layout
10305 * BufferView_pimpl.C (Dispatch): layout as layout
10306 (smartQuote): layout as layout
10308 * BufferView2.C (unlockInset): layout as layout
10310 2002-06-24 André Pönitz <poenitz@gmx.net>
10312 * lyxfunc.C: fix #487
10314 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10318 * lyxfunc.C: remove display_shortcuts, show_banner
10320 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10322 * Buffer_pimpl.C: oops, update on resize
10324 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10331 * BufferView.C: use repaint()
10333 * BufferView_pimpl.h:
10334 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10335 as it's a clearer description. Remove superfluous
10338 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10340 * text.C: fix bug 488. Not ideal, but getting
10341 getWord() to work properly for the insets that
10342 matter is more difficult ...
10344 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10346 * BufferView_pimpl.C:
10349 * lyxfunc.C: remove the six million index lyxfuncs to just
10350 one, and DTRT (bug 458)
10352 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10356 * BufferView_pimpl.h:
10357 * BufferView_pimpl.C: clean up resize() stuff,
10358 and unnecessary updateScreen()s
10360 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10364 * BufferView_pimpl.h:
10365 * BufferView_pimpl.C:
10368 * minibuffer.C: remove focus management of workarea,
10369 not needed. Use screen's greyOut()
10371 2002-06-17 Herbert Voss <voss@lyx.org>
10373 * converter.C: (convert) do not post a message, when converting
10374 fails, let the calling function decide what to do in this case
10376 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10378 * lyxfunc.C: tidy up a little
10380 2002-06-16 <alstrup@diku.dk>
10382 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10383 Got rid of FORMS_H_LOCATION include. Now we are
10386 2002-06-15 LyX Development team <lyx@rilke>
10388 * buffer.[Ch] (sgmlOpenTag):
10389 (sgmlCloseTag): Added support for avoiding pernicious mixed
10390 content. Return number of lines written.
10392 (makeLinuxDocFile):
10393 (makeDocBookFile): Fixed calls to sgml*Tag.
10394 Simple white space clean.
10396 (simpleDocBookOnePar): Simple white space clean.
10398 * tabular.[Ch] (docBook): Renamed to docbook and got another
10399 argument to related with the pernicious mixed content.
10401 (docbookRow): Fixed calls for docbook inset method.
10403 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10405 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10406 so it's X11 independent.
10410 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10412 2002-06-15 Lyx Development team <lyx@electronia>
10414 * intl.h: Renamed getTrans to getTransManager.
10416 2002-06-14 Angus Leeming <leeming@lyx.org>
10418 * Makefile.am: nuke forgotten stl_string_fwd.h.
10420 2002-06-12 Angus Leeming <leeming@lyx.org>
10422 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10424 2002-06-13 Angus Leeming <leeming@lyx.org>
10427 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10429 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10431 * kbmap.C (getiso): add support for cyrillic and greek
10433 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10437 * BufferView_pimpl.h:
10438 * BufferView_pimpl.C: move bogus scrolling logic
10441 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10444 * BufferView_pimpl.C: view->resize() change
10446 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10448 * BufferView_pimpl.C: topCursorVisible
10451 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10455 * lyx_gui.C: move to frontends/
10459 * lyx_main.C: changes from above
10461 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10468 * lyx_main.C: minor tidy
10470 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10472 * BufferView_pimpl.h:
10473 * BufferView_pimpl.C:
10475 * BufferView.C: make painter() const,
10478 * BufferView2.C: use screen() accessor
10481 * lyx_main.C: some minor cleanup
10483 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10485 * BufferView_pimpl.h:
10486 * BufferView_pimpl.C: remove enter/leaveView,
10489 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10494 * BufferView_pimpl.h:
10495 * BufferView_pimpl.C: only construct screen once,
10498 * lyxrc.C: remove pointless comment
10500 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10503 * BufferView.C: remove active() and belowMouse()
10505 * BufferView_pimpl.h:
10506 * BufferView_pimpl.C: use workarea() not workarea_,
10507 and make it use a scoped_ptr instead
10509 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10511 * lyx_gui.C: add debug message on BadWindow
10513 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10515 * sp_spell.C: fdopen is not part of the C++ standard.
10517 * paragraph.C (InsetIterator): use >= instead of ==
10519 2002-06-07 Angus Leeming <leeming@lyx.org>
10521 Fixes needed to compile with Compaq cxx 6.5.
10522 * BufferView_pimpl.C:
10529 * lyxtextclasslist.C:
10534 all c-library variables have been moved into namespace std. Wrap
10535 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10540 Add a using std::abs declaration.
10542 * kbmap.h (modifier_pair):
10543 * paragraph.h (InsetTable, InsetList):
10544 * lyxfont.h (FontBits):
10545 type definition made public.
10547 * bufferlist.C (emergencyWriteAll): the compiler complains that
10548 there is more than one possible lyx::class_fun template to choose from.
10549 I re-named the void specialisation as lyx::void_class_fun.
10551 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10553 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10554 the compiler is is unable to find tostr in write_attribute.
10556 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10558 * buffer.C (sgmlError): hide #warning
10560 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10562 * xtl/*: get rid of xtl, which is not in use anyway
10564 * LyXAction.C (init):
10565 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10566 were unimplemented xtl experimentation
10568 2002-06-04 André Pönitz <poenitz@gmx.net>
10570 * lyxfunc.C: disable array operation on simple formulae
10572 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10574 * converter.C: constify a bit
10576 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10578 * lyx_gui.C: check xforms version correctly
10580 2002-04-30 Herbert Voss <voss@lyx.org>
10582 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10585 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10587 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10588 attempt to register it with a VCS)
10590 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10592 * lyx_main.C (init): honor variables LYX_DIR_13x and
10595 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10599 * lyx_main.C: fix a crash on bad command line,
10600 and give a useful exit status on error
10602 * lyxfunc.C (doImport): allow -i lyx to work
10604 2002-03-30 André Pönitz <poenitz@gmx.net>
10606 * lyxfunc.C: mathed font changes
10608 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10623 * trans_mgr.h: srcdocs, and some minor cleanups
10625 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10627 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10628 call getFont all the time)
10630 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10632 * switch from SigC signals to boost::signals
10634 2002-05-29 André Pönitz <poenitz@gmx.net>
10636 * paragraph_pimpl.C (getChar): don't call size() too often...
10638 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10640 * paragraph_pimpl.C (insertChar): do not try to update tables when
10641 appending (pos == size())
10643 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10644 in order to reduce drastically the number of comparisons needed to
10645 parse a large document
10647 2002-05-29 André Pönitz <poenitz@gmx.net>
10653 * textclasslist.[Ch]:
10654 * sp_ispell.h: whitespace change
10656 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10658 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10659 lyxaction directly now.
10661 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10665 * lyxvc.C: remove unused headers
10667 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10674 * undo_funcs.C: some cleanups. Use shared_ptr
10675 and a template for the undo stacks.
10677 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10679 * BufferView_pimpl.h:
10680 * BufferView_pimpl.C:
10687 * text2.C: use key_state/mouse_state
10689 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10691 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10694 * chset.C: change include order
10695 (loadFile): use boost regex and get rid of LRegex and LSubstring
10697 * Makefile.am (BOOST_LIBS): new variable
10698 (lyx_LDADD): use it
10700 * LaTeX.C: change include order.
10701 (scanAuxFile): use boost regex and get rid of LRegex and
10705 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10710 * FontInfo.C: moved to frontends/xforms/
10713 * FontLoader.C: moved into frontends for GUIIzation
10718 * lyxfunc.C: changes from above
10720 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10722 * LColor.C: remove spurious X include
10724 * BufferView_pimpl.C:
10729 * text2.C: move font metrics to frontends/
10731 2002-05-24 Juergen Vigna <jug@sad.it>
10733 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10734 setting the undo_cursor.
10736 * ParagraphParameters.h: include local includes first.
10738 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10740 * BufferView_pimpl.C:
10741 * BufferView_pimpl.h:
10745 * screen.C: move WorkArea into frontends/
10751 * BufferView2.C: move LyXScreen into frontends/
10755 * lyx_gui.C: move lyxlookup into frontends/xforms/
10757 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10760 * BufferView_pimpl.C:
10770 * bufferview_funcs.C:
10783 * vc-backend.C: move LyX/XFormsView into frontends/
10785 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10797 * text2.C: move Painter to frontends/
10799 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10801 * buffer.C: comment out some some code that depend upon lyx_format
10804 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10805 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10807 * buffer.h (NO_COMPABILITY): turn off compability
10809 * ColorHandler.C: include scoped_array.hpp
10811 * font.C: Use more specific smart_ptr header.
10814 * ShareContainer.h: ditto
10815 * lyx_main.h: ditto
10817 * FontInfo.h: ditto
10818 * BufferView_pimpl.h: ditto
10819 * ColorHandler.h: ditto
10821 * kbmap.C (defkey): change call to shared_ptr::reset
10823 2002-05-21 Juergen Vigna <jug@sad.it>
10825 * buffer.C (insertErtContents): fix to insert ert asis if it is
10826 non empty. Skip it completely if it contains only whitespaces.
10828 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10830 * BufferView_pimpl.C:
10831 * BufferView2.C: clear selection on paste (bug 393)
10833 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10835 * DepTable.C: include ctime
10837 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10839 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10841 2002-05-14 Juergen Vigna <jug@sad.it>
10843 * text.C (breakParagraph): fixed function to honor the keepempty
10844 layout in the right maner and also to permit the right breaking
10845 algorithm on empty or non empyt keepempty paragraphs.
10847 * paragraph.C (breakParagraph): we have to check also if the par
10848 is really empty (!size()) for isempty otherwise we do the wrong
10851 2002-05-10 Juergen Vigna <jug@sad.it>
10853 * buffer.[Ch] : The following are only changes to the ert
10854 compatibility read reading old LaTeX layout and font stuff and
10855 convert it to ERTInsets.
10857 * buffer.h: added isErtInset().
10859 * buffer.C (struct ErtComp): add a fromlayout bool to check
10860 if we're inside a LaTeX layout.
10861 (isErtInset): new helper function.
10862 (insertErtContents): look for other ert insets before this one
10863 and insert the contents there, so that we don't have subsequent
10864 ERT insets with nothing between them. This way we create only one
10865 inset with multiple paragraphs. Also check if we don't insert only
10866 spaces ' ' as they are ignored anyway afterwards in the .tex file
10867 so if we have only spaces we will ignore this latex part in the
10869 (parseSingleLyXformat2Token \\layout): better compatibility when
10870 reading layout-latex stuff.
10871 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10873 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10874 stuff after reading the inset only get the information back from
10877 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10879 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10881 * LaTeXFeatures.C (getBabelOptions): New method.
10883 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10885 * BufferView_pimpl.C (Dispatch): work around missing argument for
10888 2002-05-08 Juergen Vigna <jug@sad.it>
10890 * text.C (leftMargin): handle paragraph leftindent.
10892 * paragraph.C (writeFile): write the new \\leftindent tag.
10893 (validate): handle leftindent code.
10894 (TeXEnvironment): handle paragraphleftindent code again.
10896 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10898 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10899 for paragrap_extra indent code and new token \\leftindent.
10900 (latexParagraphs): handle the leftindent as environment.
10902 * ParameterStruct.h: added leftindent support.
10904 * ParagraphParameters.C (leftIndent): added support functions for
10905 the paragraph left indent.
10907 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10910 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10912 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10915 * text.C (computeBidiTables): No bidi in insetERT.
10917 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10920 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10922 * version.C.in: pre 5
10924 2002-05-02 José Matos <jamatos@fep.up.pt>
10925 * buffer.C (makeDocBookFile): white space changes, add newline to
10927 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10929 * tabular.C (docBook): fix typo.
10931 2002-05-03 Juergen Vigna <jug@sad.it>
10933 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10934 change in LyXText as we can not be sure it was not freed.
10935 (drawOneRow): remove unused code.
10937 * text.C (drawInset): redo the calculation of the need_break_row as
10938 it could have a row which was already freed.
10939 (draw): look at the return value of drawInset and return false if
10940 it also returned false.
10941 (paintRowText): look at the return value of draw and return false if
10942 it also returned false.
10944 * lyxtext.h: added bool return type to drawInset() and draw() so that
10945 if we have a change in the row so that the rowbreak has to be redone
10946 we abort drawing as it will be called again.
10948 2002-05-02 Juergen Vigna <jug@sad.it>
10950 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10951 a change in the maintext also if we're inside an inset.
10952 (Dispatch): set the cursor again after a break line and after the
10953 screen has been updated as it could be we're in a different row.
10955 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10956 to set the cursor behind the pargraph with > size().
10957 (setCursor): check also for the same paragraph when checking where
10958 to put the cursor if we have a NFR inset.
10960 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10961 parts of layout read further up as it still was in the wrong
10964 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10966 * screen.C (drawFromTo): change sine fullRebreak always return
10969 * buffer.C (parseSingleLyXformat2Token): reindent some
10971 * BufferView_pimpl.C (update): change since fullRebreak always
10973 (Dispatch): git rid of the last hardcoded "Standard"s.
10975 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10977 * text2.[Ch] (fullRebreak): make it return void now that we always
10980 2002-04-30 Juergen Vigna <jug@sad.it>
10982 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10983 ert compatibility check for "latex" layout.
10985 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10987 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10988 minipages: use col% instead of p%, and also use the current font.
10989 (makeLaTeXFile): Fix use babel condition.
10990 (parseSingleLyXformat2Token): Correct font when reading old floats.
10992 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10994 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10995 inserting list of floats.
10997 2002-04-25 Herbert Voss <voss@lyx.org>
10999 * MenuBackend.C (expand): don't add the graphics extensions to the
11002 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11004 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
11005 non-existing layout, do not complain if it was the default layout
11006 of the original class (bug #342)
11008 2002-04-24 Juergen Vigna <jug@sad.it>
11010 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
11011 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
11013 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
11015 * buffer.C (getBibkeyList): If using \bibliography, return the
11016 option field with the reference itself. Enables us to provide natbib
11017 support when using \bibliography.
11019 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11021 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11023 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11024 natbib is provided by the LaTeX class.
11026 2002-04-23 Juergen Vigna <jug@sad.it>
11028 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11031 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11033 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11035 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11037 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11038 ensuremath around textordmasculine, textordfeminine and
11041 2002-04-19 Juergen Vigna <jug@sad.it>
11043 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11044 reinitializing the buffer otherwise row-dimensions may be wrong.
11045 (update): reset also the selection cursors if they do exits otherwise
11046 their x/y positions may be wrong.
11048 * text2.C (cursorDown): don't enter the inset if we came from a row
11049 above and are one row over the inset.
11051 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11052 really leaving an inset.
11054 2002-04-18 Juergen Vigna <jug@sad.it>
11056 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11057 of the selected paragraph does not have the selected layout also if
11060 * text2.C (setLayout): fixed bug which did not change last selected
11063 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11064 changed the read and substituted \\end_float with \\end_inset!
11066 * BufferView_pimpl.C (cursorPrevious):
11067 (cursorNext): fixed to make it work with rows heigher than the work
11068 area without moving the cursor only the draw of the row.
11069 (workAreaMotionNotify): fix jumping over high rows.
11071 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11073 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11076 2002-04-16 Juergen Vigna <jug@sad.it>
11078 * text2.C (setCursor): set also the irow().
11079 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11081 (cursorDown): support for locking an inset if the x_fix value goes
11082 inside it. That way I can transverse insets too with cursor up/down.
11084 * lyxrow.h: added irow helper function same as other (i) functions.
11086 * BufferView_pimpl.C (cursorPrevious):
11087 (cursorNext): fixed for insets!
11089 2002-04-15 Juergen Vigna <jug@sad.it>
11091 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11092 position otherwise it is wrong in some cases.
11094 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11095 inside the inset before the call.
11097 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11099 * buffer.[Ch] (getBibkeyList): make it const.
11101 2002-04-12 Juergen Vigna <jug@sad.it>
11103 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11105 * text2.C (getCursorX): new helper function
11106 (setCursor): compute also ix_
11107 (setCursorFromCoordinates): set also ix.
11109 * lyxcursor.h: added ix_ and helper functions.
11111 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11113 * buffer.C (insertStringAsLines): dont break paragraph if the this
11114 paragraph is inside an inset which does not permit it!
11116 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11117 also with no chars on this paragraph.
11118 (paintRowText): only paint stuff if it's inside the workarea!
11120 * paragraph.C (breakParagraph): honor keepempty flag and break the
11121 paragraph always below not above.
11123 * BufferView2.C (unlockInset): update the paragraph layout on inset
11124 unlock as we changed paragraph in such a case.
11126 * lyxfind.C (LyXFind): clear the former selection if not found!
11128 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11129 again called in insertChar().
11131 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11132 an inset which uses the whole row!
11133 (rightMargin): ditto.
11134 (insertChar): force a rebreak if we inserted an inset!
11136 2002-03-28 Herbert Voss <voss@lyx.org>
11138 * lyxlength.[Ch]: add inBP() to get the right PS-point
11139 units (BigPoint). With inPixels we have rounding errors
11141 2002-04-11 Juergen Vigna <jug@sad.it>
11143 * text2.C (setCursorFromCoordinates): set iy to the right value.
11144 (setCursor): add check if row->previous exists!
11146 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11147 an old float_type as this was the case in the old code!
11149 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11151 * BufferView2.C (showLockedInsetCursor): use iy
11152 (fitLockedInsetCursor): ditto
11154 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11155 locked insets as there we have the right value now.
11157 * lyxcursor.C: added iy_ variable and iy functions to set to the
11158 baseline of cursor-y of the locked inset.
11160 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11161 (setCursor): fixed for insets which need a full row.
11163 * text.C (rowLastPrintable): don't ignore the last space when before
11164 an inset which needs a full row.
11165 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11166 as last character of a row when before a inset which needs a full row.
11168 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11170 * version.C.in: update date
11172 * text2.C (fullRebreak): try to always return true and see what
11175 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11177 * MenuBackend.C (expand): use Floating::listName
11179 * FloatList.C (FloatList): add listName argument to the built-in
11182 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11183 text associated with the float.
11185 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11187 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11189 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11191 * ShareContainer.h: add a couple of missing typenames.
11193 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11195 * lyxrc.C (getDescription): use _() correctly rather than N_().
11197 2002-03-28 Herbert Voss <voss@lyx.org>
11199 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11200 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11202 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11204 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11205 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11207 2002-03-29 Juergen Vigna <jug@sad.it>
11209 * lyxfunc.C (dispatch): add a missing fitCursor call.
11211 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11212 it was scrolled by a cursor move, so return the bool status.
11214 * BufferView.C (fitCursor): return the bool flag also to the outside
11215 world as this is needed.
11217 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11219 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11220 call the edit() as it is not needed (and wrong) IMO.
11221 (workAreaButtonPress): set the screen_first variable before evt.
11222 unlock the inset as this may change screen_first and then we have
11223 a wrong y position for the click!
11225 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11227 * MenuBackend.C (expand): another translation that I missed
11229 2002-03-28 Juergen Vigna <jug@sad.it>
11231 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11233 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11235 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11237 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11239 * MenuBackend.C (expand): fix export/view/update when there is no
11242 2002-03-27 Herbert Voss <voss@lyx.org>
11244 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11247 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11249 * bufferview_funcs.C (currentState): only show paragraph number
11250 for is DEVEL_VERSION is set.
11252 * lyxfunc.C (dispatch): put warning in INFO channel
11254 * MenuBackend.C (expand): translate the name of floats
11256 * FloatList.C (FloatList): mark the float names for translation
11258 * converter.C (convert): use LibScriptSearch
11260 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11262 * MenuBackend.C (defaults): fix default menu (we might as well get
11265 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11267 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11270 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11272 * lyxvc.C: reorder includes.
11274 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11276 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11279 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11281 * CutAndPaste.C: change layouts earlier on paste
11282 to avoid crashing when calling getFont()
11284 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11286 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11289 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11291 * WorkArea.C: remove 'Pending' debug message.
11293 * most files: ws cleanup
11295 * buffer.[Ch]: ws changes
11297 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11299 2002-03-21 Juergen Vigna <jug@sad.it>
11301 * tabular.C (SetMultiColumn): collapse also the contents of the
11302 cells and set the last border right. Added a Buffer const * param.
11304 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11306 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11309 2002-03-19 Juergen Vigna <jug@sad.it>
11311 * text2.C (clearSelection): reset also xsel_cache.
11313 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11314 where it needs to be called (John tells us to do so too :)
11315 (selectionLost): reset sel_cache.
11317 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11319 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11321 * text2.C (setCursorIntern): put debuging code in INSETS channel
11323 2002-03-19 André Pönitz <poenitz@gmx.net>
11325 * lyxfunc.C: tiny whitespace change
11327 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11329 * ToolbarDefaults.C (init):
11330 * LyXAction.C (init):
11332 * BufferView_pimpl.C (Dispatch):
11333 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11335 2002-03-19 Allan Rae <rae@lyx.org>
11337 * exporter.C (Export): removeAutoInsets before doing anything else.
11338 While I've just introduced a dependency on BufferView this really is
11339 the best place to clean the buffer otherwise you need to cleanup in
11340 a dozen places before calling export or cleanup in a dozen functions
11343 * converter.C (runLaTeX):
11344 (scanLog): Better handling of removeAutoInsets and screen updates.
11346 * lyxfunc.C (dispatch): small whitespace changes
11348 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11350 * WorkArea.C (C_WorkAreaEvent): return a value.
11351 (event_cb): return 1 if we handled the event, 0 otherwise.
11353 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11355 2002-03-18 Juergen Vigna <jug@sad.it>
11357 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11358 (GetAdditionalWidth): ditto.
11359 (RightLine): ditto.
11362 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11363 inset if we're there actually (probably not used right now but this
11364 is the direction to go for unifying code).
11365 (paste): disable code to clear the selection.
11367 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11368 inside an InsetText and move the check further up as it is in the
11371 * text2.C (pasteSelection): set a selection over the pasted text.
11373 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11375 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11376 and libgraphics to build on Cygwin.
11378 2002-03-15 Juergen Vigna <jug@sad.it>
11380 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11381 inserting an Inset into the paragraph. I know this is not the best
11382 fix but we already use current_view in CutAndPaste so we will remove
11383 all of it's using at the same time.
11385 * buffer.C (sgmlError): deactivated function till it is rewritten in
11386 the right mode, now it can create problems.
11388 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11389 before accessing it.
11391 2002-03-14 Juergen Vigna <jug@sad.it>
11393 * undo_funcs.C (textHandleUndo): do the right thing when updating
11394 the inset after the undo/redo.
11396 * text2.C (setCursor): just some testcode for #44 not ready yet.
11398 * undo_funcs.C (textHandleUndo): set the next() and previous()
11399 pointers of the paragraph to 0 before deleting otherwise we have
11400 problems with the Paragraph::[destructor].
11402 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11403 on a paragraph insertion.
11405 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11407 * buffer.C (asciiParagraph): use += operator for char append to
11410 * paragraph.C (getFontSettings): compare >= not just >
11411 (highestFontInRange): ditto
11414 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11416 * paragraph.C: change several algorithm to be more appripriate for
11417 the problem domain. This is lookip in FontList and in the InsetList.
11419 2002-03-13 André Pönitz <poenitz@gmx.net>
11422 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11424 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11429 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11431 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11433 * Painter.C (display): anon helper function, adjust code for this
11435 (pixmap): remove function.
11437 * Painter.h: remove private display variable.
11439 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11441 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11443 * WorkArea.[Ch]: remove figinset_canvas cruft.
11445 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11447 * lyxtextclass.C (operator): add one item cache optimization.
11449 * bufferlist.h: doxy changes
11451 * bufferlist.C: ws changes
11453 * DepTable.[Ch] (ext_exist): place const in the right spot.
11455 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11457 (workAreaExpose): call resizeInsets when the with BufferView changes.
11458 (Dispatch): adjust for protectedBlank removal
11459 (specialChar): call updateInset if the insert went ok.
11461 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11462 specialChar instead.
11464 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11466 * BufferView.h: doxy change
11468 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11470 * lyxtextclass.C (operator[]): remove non-const version
11471 (defaultLayout): remove non-const version
11473 2002-03-12 Juergen Vigna <jug@sad.it>
11475 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11476 did resize the LyXText too.
11478 * buffer.C (readLyXformat2): set layout information on newly allocated
11481 * tabular.C (OldFormatRead): set layout information on the paragraph.
11483 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11485 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11487 2002-03-11 Juergen Vigna <jug@sad.it>
11489 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11491 (resizeCurrentBuffer): force also the insets to resize themselfes.
11492 (moveCursorUpdate): fixed up for InsetText.
11494 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11497 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11498 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11499 value of Dialogs::tooltipsEnabled().
11500 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11502 2002-03-08 Juergen Vigna <jug@sad.it>
11504 * BufferView_pimpl.C (updateInset): update inset inside inset also
11505 if it isn't inside theLockingInset().
11507 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11509 * buffer.C (asciiParagraph): redo some of the word and line length
11511 (getLists): look for Caption instead of caption.
11513 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11515 * buffer.C (Buffer): initialize niceFile to true
11517 (makeLinuxDocFile):
11518 (makeDocBookFile): make sure niceFile is true on exit
11520 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11522 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11524 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11526 * LyXSendto.C: remove.
11527 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11528 * lyx_gui.C: remove now-redundant comment.
11529 * ColorHandler.h: remove forward declaration of class WorkArea.
11530 * lyxfunc.C: remove #include "WorkArea.h".
11532 2002-03-07 Juergen Vigna <jug@sad.it>
11534 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11535 got moved away with the DEPM and also set the inset_owner always
11536 right which before could have been omitted.
11538 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11540 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11541 wanted layout is not found.
11543 2002-03-07 Juergen Vigna <jug@sad.it>
11545 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11547 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11549 * paragraph.C (breakParagraph): use default layout not layout of
11551 (Paragraph): clear ParagraphParameters.
11553 2002-03-06 Juergen Vigna <jug@sad.it>
11555 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11556 otherwise it would not be a valid lenght. Fixed a special case in
11557 the minipage compatibility read where we end the document with a
11560 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11561 was set as it could be 0 for InsetTexts first entry.
11563 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11565 * paragraph.C (writeFile): if layout is empty write out
11566 defaultLayoutName().
11568 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11569 file without named layout we set layout to defaultLayoutName().
11571 2002-03-06 Juergen Vigna <jug@sad.it>
11573 * CutAndPaste.C (copySelection): set layout for new paragraph.
11575 * text.C (prepareToPrint): leave ERT inset left aligned
11576 (leftMargin): don't indent paragraphs inside ERT insets
11578 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11580 * paragraph.C (breakParagraph): dont call clear do the work manually
11582 * paragraph.[Ch] (clear): remove function
11584 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11586 * paragraph.C (Paragraph): dont call clear, the work has already
11589 * lyxtextclass.C (operator): assert if n is empty
11591 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11592 work manually instead.
11594 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11596 * BufferView_pimpl.C: protect selectionLost against text == 0
11598 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11600 * text.C (breakParagraph): fix a setting layout to '0' problem.
11602 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11604 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11605 final location of file, for the included files, and graphics.
11607 2002-03-05 Juergen Vigna <jug@sad.it>
11609 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11611 2002-03-04 Juergen Vigna <jug@sad.it>
11613 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11615 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11616 last column of multicolumn cells.
11617 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11619 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11621 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11622 file if it doesn't go to a temporary file.
11624 * buffer.C (sgmlOpenTag):
11625 (sgmlCloseTag): remove extra newline insertion.
11627 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11629 * text.C (getRowNearY): comment out debug msg
11631 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11633 * text2.C: first -> first_y
11635 * text.C (getRowNearY): add some attemts at a possible
11636 optimization, not working.
11638 * tabular.[Ch]: add BufferParams to several function so that newly
11639 created paragraph can be initialized to he default layotu for the
11642 * tabular-old.C (ReadOld): add buf->params to call of Init
11644 * screen.C: rename text->first to text->first_y
11646 * paragraph.C (breakParagraph): always set layout in the broken
11649 * lyxtextclass.C (Read): remove lowercase
11652 (delete_layout): ditto
11654 * lyxtext.h: rename first -> first_y
11656 * lyxlayout.C (Read): remove lowercase
11659 (obsoleted_by): ditto
11661 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11663 * buffer.C (insertErtContents): add params are to InsetERT
11664 (parseSingleLyXformat2Token): add code to check if a paragraphs
11665 layout really exist.
11666 (parseSingleLyXformat2Token): add params to several inset
11668 (asciiParagraph): remove lowercase, do the layout comparisons with
11671 * BufferView_pimpl.C (cursorNext): first -> first_y
11672 (resizeCurrentBuffer): first -> first_y
11673 (updateScrollbar): first -> first_y
11674 (scrollCB): first -> first_y
11675 (workAreaMotionNotify): first -> first_y
11676 (workAreaButtonPress): first -> first_y
11677 (checkInsetHit): first -> first_y
11678 (cursorPrevious): first -> first_y
11679 (cursorNext): first -> first_y
11680 (Dispatch): add buffer_->params to severl inset contructors
11682 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11684 * lyxlayout.C (Read): remove some debug info that I forgot.
11686 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11687 clean up the code slightly.
11688 (makeLinuxDocFile): ditto
11689 (makeDocBookFile): ditto
11691 * text2.C: layout as string
11693 * text.C: layout as string
11695 * paragraph_pimpl.C: layout as string
11697 * paragraph.[Ch]: layout as string
11699 * lyxtextclasslist.[Ch]: layout as string
11701 * lyxtextclass.[Ch]: layout as string
11703 * lyxtext.h: layout as string
11705 * lyxlayout.[Ch]: layout as string
11707 * lyx_cb.C: layout as string
11709 * bufferview_funcs.C: layout as string
11711 * bufferparams.C: layout as string
11713 * buffer.C: layout as string
11715 * LyXView.[Ch]: layout as string
11717 * LaTeXFeatures.[Ch]: layout as string
11719 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11721 * BufferView_pimpl.C: change current_layout to string, remove
11726 (workAreaButtonRelease): layout as string
11728 * BufferView2.C (unlockInset): adjust
11730 * vspace.C (asLatexCommand): use an explict temp variable.
11732 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11734 * Makefile.am: use FRONTEND_*
11736 2002-03-01 Juergen Vigna <jug@sad.it>
11738 * tabular.C (SetWidthOfMulticolCell): changed to something better
11739 I hope but still work in progress.
11740 (recalculateMulticolumnsOfColumn): renamed function from
11741 recalculateMulticolCells as it is more appropriate now.
11742 (SetWidthOfCell): calculate multicols better.
11744 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11746 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11748 * lyxfunc.C (processKeySym): print sequence also if it is
11749 `deleted' (complete)
11751 * kbsequence.C (print): print sequence even if it is deleted
11752 (complete would be a better word, actually).
11754 * lyxfunc.C (dispatch): print complete options after a prefix key
11756 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11758 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11760 * text2.C (setCharFont): eliminate setCharFont code duplication.
11762 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11764 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11765 LFUN_TABULAR_FEATURE (bug #177)
11767 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11769 * Makefile.am: remove figure.h
11771 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11773 * Bufferview_pimpl.C:
11785 * text2.C: remove #include "lyx_gui_misc.h".
11787 * LaTeX.C: added #include <cstdio>
11789 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11791 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11792 that the paragraph following this one can have.
11794 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11796 * vspace.C (asLatexCommand): fix bogus gcc warning
11798 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11800 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11802 * text2.C (setLayout): get rid of redundant code
11804 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11806 * text2.C (incDepth): make sure depth cannot be increased beyond
11809 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11811 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11812 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11814 * PainterBase.h (image):
11815 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11816 a LyXImage const *.
11818 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11822 * BufferView_pimpl.C:
11823 * BufferView_pimpl.h:
11843 * sp_spell.C: remove fig inset, and the crap house of
11844 cards that follows it
11846 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11851 * os2_errortable.h:
11852 * nt_defines.h: move .h into support/
11854 * vms_defines.h: remove
11856 * WorkArea.C: add space in debug output
11860 * buffer.C: add WITH_WARNINGS
11864 * bufferlist.C: s/retrive/retrieve/, add docs
11873 * chset.C: add docs
11875 * lyxgui.C: add ID to X error handler
11877 * lyxtestclass.c: fix typo
11879 2002-02-26 Juergen Vigna <jug@sad.it>
11881 * tabular_funcs.C (write_attribute): changed so that some default
11882 attributes are not written at all.
11883 (getTokenValue): set default values before trying to read the
11884 value so we have the return value always set as default if we don't
11885 find the token we search for.
11887 * tabular.C (Write): write bools as bools not as strings!
11889 2002-02-22 Juergen Vigna <jug@sad.it>
11891 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11892 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11894 * text.C (leftMargin): don't add an indent for paragraphs inside
11895 tabular cells (fix #208).
11897 2002-02-21 José Matos <jamatos@fep.up.pt>
11899 * tabular.C (docBook): fixed support for long tables.
11901 2002-02-20 Juergen Vigna <jug@sad.it>
11903 * text2.C (getFont): get the drawing font of the Inset if this
11904 paragraph is inside an inset (only important for InsetERT for now).
11906 * buffer.C (insertErtContents): use new lanugage params in ERT
11909 * CutAndPaste.C: commenting out seemingly uneeded code.
11911 2002-02-19 Allan Rae <rae@lyx.org>
11913 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11914 Iterators might be simple to use but they also get invalidated.
11915 (removeAutoInsets): renamed saved cursor tracking variables and added
11916 some comments to clarify what everything does.
11918 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11925 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11926 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11929 * vc-backend.h: remove #include "support/syscall.h"
11933 * converter.C: rearrange #includes in Lars' approved fashion.
11935 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11936 forward declare class Timeout in the header file.
11938 * XFormsView.C: changes due to the above.
11940 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11941 similar to LyXView.
11943 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11944 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11946 2002-02-18 José Matos <jamatos@fep.up.pt>
11948 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11951 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11953 * a lot of small ws changes
11954 * add a lot of using std::XXX
11955 * use std construcs some places where approp.
11956 * use some exisint stuff from lyxfunctional where approp.
11957 * Make file changes to use partial linking (lets test this now...)
11959 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11963 remove #include "support/syscontr.h" as it's redundant. Always has been.
11971 change Systemcalls::System to Systemcalls::Wait and
11972 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11973 No change of functionality, just reflects the stripped down Systemcalls
11976 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11978 * debug.[Ch]: add a GRAPHICS type to the enum.
11980 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11982 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11984 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11987 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11989 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11990 match the changes below.
11992 * text2.C (toggleInset): if there is not editable inset at cursor
11993 position, try to see if cursor is _inside_ a collapsable inset
11996 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11998 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11999 document menu has a nice checkbox
12001 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12003 * lyxlength.C (asLatexString): change PW to output as percent of
12006 * lengthcommon.C: change '%' to 't%'
12008 * lyxfunc.C (dispatch): a few comments from Martin
12010 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
12014 * BufferView_pimpl.h:
12015 * BufferView_pimpl.C: clear our selection when X tells us we've lost
12018 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12020 * vspace.C (inPixels): fix compiler warning
12022 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12024 * lyxfunc.C (getStatus): fix status message for disabled commands.
12026 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12028 * BufferView_pimpl.C: fix crash on close buffer
12029 during selection (#227)
12031 2002-01-27 Herbert Voss <voss@lyx.org>
12033 * buffer.C: link old Figure to new graphic inset
12035 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12037 * FontLoader.C (getFontinfo): Change the latex font names in order
12038 to match the names of type1inst.
12040 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12042 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12044 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12045 (extchanged): ditto
12047 (remove_files_with_extension): ditto
12048 (remove_file): ditto
12051 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12052 document is smaller than the work area height. Do not initialize
12053 static variables to 0.
12055 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12057 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12059 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12060 LFUN_LAYOUT_PARAGRAPHS.
12062 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12063 tabular. It is possible to provide a possible cell, which will
12064 typically be the actcell from the corresponding insettabular
12066 * lyxfunc.C (getStatus): small cleanup; disable
12067 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12070 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12072 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12074 * paragraph.C (startTeXParParams):
12075 (endTeXParParams): new methods. The LaTeX code to
12076 start/end paragraph formatting
12077 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12078 empty (fixes bug #200)
12080 * vspace.C (inPixels): adapt to the change below
12081 (inPixels): [later] more cleanups (remove unused variables)
12083 * lyxlength.C (inPixels): change to use a width and a height as
12086 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12088 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12089 Replaced with \paperwidth
12091 * DepTable.C (insert): add std:: qualifier
12093 2002-01-18 Allan Rae <rae@lyx.org>
12095 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12098 * text.C (drawInset): Turned out I didn't know enough about how
12099 rebreaking worked. This fixes most of the redraw problems. I see
12100 an occasional cursor trail when a line is broken now and the cursor
12101 placement can seem out by a few pixels also after a rebreak.
12103 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12105 * buffer.C (parseSingleLyXformat2Token): update because minipage
12106 width is now a LyXLength
12108 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12110 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12113 2002-01-17 Juergen Vigna <jug@sad.it>
12115 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12117 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12118 is set correctly and the inset is updated correctly.
12120 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12122 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12123 the beginning of the loop.
12125 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12127 * lyxrc.C: improve help for use_scalable_fonts
12129 2002-01-17 Allan Rae <rae@lyx.org>
12131 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12133 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12135 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12136 make sure to set their inset_owner to the right value (bug #171)
12138 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12141 * DepTable.C: Implement mtime checking to reduce time spent doing
12144 2002-01-16 Juergen Vigna <jug@sad.it>
12146 * tabular.C (GetAdditionalHeight): one of error fixed.
12148 * lyxrc.C (output): small fix in writing use_pspell.
12150 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12152 * sp_base.h: #include LString.h
12154 2002-01-16 Allan Rae <rae@lyx.org>
12156 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12157 Can someone check this please?
12159 * text.C (drawInset): It was possible that p.row would be removed by
12160 breakAgainOneRow upsetting a few other settings. There may be another
12161 small tweak possible by setting need_break_row = 0 when p.row has been
12162 removed but I don't know enough about the logic here.
12164 2002-01-15 Allan Rae <rae@lyx.org>
12166 * text.C (insertChar): removed conditional truism.
12168 * BufferView2.C (removeAutoInsets): More tweaks.
12169 cur_par_prev could be a stray pointer. Check for trailing empty line
12170 in case last line was cur_par and only had an error inset on it.
12172 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12174 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12177 * vc-backend.C (most methods):
12178 * exporter.C (Export):
12179 * converter.C (convert):
12181 * LyXSendto.C (SendtoApplyCB):
12182 * lyxfunc.C (dispatch):
12186 * lyx_cb.C (AutoSave):
12188 * BufferView_pimpl.C (MenuInsertLyXFile):
12189 * buffer.C (runChktex): use Buffer::filePath().
12191 * buffer.h: rename filename to filename_; rename filepath to
12192 filepath_ and make it private
12193 (filePath): new method
12195 * buffer.C (writeFile): use fileName()
12198 * lyx_main.C (init): fix starting of LyX when the binary is a
12199 link from so,ewhere else.
12201 * minibuffer.C: include <cctype> for isprint
12203 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12205 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12206 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12207 name clash with InsetCollapsable's width function.
12209 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12211 * lastfiles.C: include <iterator>
12213 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12215 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12218 * buffer.C (makeLaTeXFile): ditto.
12219 Also make loop operation more transparent.
12221 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12223 * ToolbarDefaults.C: remove trailing comma closing namespace.
12225 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12227 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12230 * trans.C (Load): comment out unused variable, allowed.
12232 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12234 * minibuffer.[Ch] (append_char): new method to recieve input from the
12235 drop-down completion browser. If a key was pressed, then recieve this
12236 char and append it to the existing string.
12237 (peek_event): modify the positioning data passed to the completion
12238 browser so that it can be placed above the minibuffer rather than below.
12239 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12241 * LyXAction.C (init): alloe error-next for readonly documents.
12243 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12246 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12248 * bufferlist.C (readFile): create the buffer _after_ checking that
12251 * lyxfunc.C (verboseDispatch): fix handling of arguments
12253 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12255 * lyxrc.C: use string::erase() instead of initializing to "".
12258 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12260 * BufferView_pimpl.h:
12261 * BufferView_pimpl.C:
12264 * text2.C: tell X when we have made a selection for copying
12266 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12268 * BufferView_pimpl.C (MenuInsertLyXFile):
12269 * lyxfunc.C (menuNew):
12271 (doImport): add shortcuts to directory buttons
12273 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12276 * lyxfunc.C (setStatusMessage):
12277 (getStatusMessage): new methods
12278 (getStatus):use setStatusMessage instead of setErrorMessage
12279 (dispatch): when function is disabled, set error message here
12280 [instead of in getStatus previously]
12282 * BufferView_pimpl.C (workAreaButtonRelease): update
12283 toolbar/menubar here too.
12285 2002-01-13 Allan Rae <rae@lyx.org>
12287 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12288 Now seems indestructible. Remaining task is to audit all other
12289 code affected by deleteEmptyParagraphMechanism. One small quirk
12290 left is that an empty document with an error in the preamble can
12291 be made to report an error but no error box appears. I don't know
12293 (removeAutoInsets): Improved comments.
12295 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12298 * Thesaurus.C: update for Aiksaurus 0.14
12300 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12302 * text2.C (firstParagraph): removed member function, all uses
12303 replaces with ownerParagraph
12304 (redoParagraphs): here
12305 (updateInset): here
12306 (toggleAppendix): here
12307 * BufferView2.C (insertErrors): here
12308 (setCursorFromRow): here
12310 2002-01-13 Allan Rae <rae@lyx.org>
12312 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12313 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12314 There is still a way to segfault this although you may have to do this
12315 multiple times: Have an InsetERT with an unknown command in it.
12316 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12317 <down-arrow>, <Enter> again, View->DVI, BANG!
12319 * text2.C (setCursor):
12320 (deleteEmptyParagraphMechanism):
12321 * lyxtext.h (setCursor):
12322 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12323 Making use of the return value may help fix other bugs.
12325 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12327 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12329 * LyXView.C (updateMenubar): call MenuBar::update here
12330 (updateToolbar): but not here
12331 (showState): do not update toolbar/menubar
12333 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12334 should need to care about that.
12336 * lyxfunc.C (verboseDispatch): simplify a bit
12337 (getStatus): have a version which takes a pseudoaction, and
12338 another which requires a (kb_action,string).
12340 * LyXAction.C (retrieveActionArg): make it work also when action
12341 is not a pseudo-action.
12342 (getActionName): simplify a bit
12345 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12347 * lyxfunc.C (verboseDispatch): new families of methods with
12348 several ways to specify a command and a bool to indicate whether
12349 the command name and shortcut should be displayed in minibuffer
12350 (eventually, we could extend that to a finer bitmask like
12351 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12352 (dispatch): the pristine dispatch command which just, well,
12353 dispatchs! Note it still sets its result to minibuffer; I'm not
12356 * lyxfunc.h: remove setHintMessage
12358 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12360 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12362 * BufferView_pimpl.C (specialChar): delete new inset if we have
12363 not been able to insert it.
12365 * kbmap.C: revert to using int instead of kb_action, since all we
12366 are dealing with is pseudo-actions.
12368 * LyXAction.C (searchActionArg): change to return int instead of
12369 kb_action, since the result is a pseudoaction.
12371 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12373 * buffer.C (insertErtContents): Fix (partially) the font bug.
12375 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12377 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12378 as the other one is broken on my machine!
12380 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12383 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12385 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12387 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12388 reflect their actual use. Provide compatibility code for older lyxrc
12391 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12393 change names of popup font variables in line with the changes to lyxrc.C
12395 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12397 * buffer.C (asciiParagraph): avoid outputing a word twice after
12400 * lyxrc.C (getDescription): document that document_path and
12401 template_path can be empty.
12403 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12405 * LaTeXFeatures.C (getMacros):
12406 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12408 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12410 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12412 (getPackages): rename feature "floats" to "float". Use an array to
12413 iterate over 'simple' features (i.e. just a \usepackage). Add
12414 handling of "amsmath" (renamed from "amsstyle").
12416 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12418 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12421 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12423 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12424 FuncStaus::FuncStatus & FuncStaus::some_method().
12426 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12428 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12429 of the func_satus stuff. Edited and massaged in various ways by
12432 * lyxfunc.C (getStatus): use FuncStatus
12434 2002-01-08 Juergen Vigna <jug@sad.it>
12436 * text.C (nextBreakPoint): use function Inset::isChar().
12438 * paragraph.C (TeXOnePar): use function
12439 Inset::forceDefaultParagraphs.
12441 * buffer.C (latexParagraphs): use function
12442 Inset::forceDefaultParagraphs.
12444 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12446 * lyx_gui.C (init): set the style of the menu popups to
12447 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12449 2002-01-07 Juergen Vigna <jug@sad.it>
12451 * text.C (setHeightOfRow): small fix
12452 (prepareToPrint): don't look at alignment if we don't have the place
12455 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12457 * box.C: New file. Move the Box methods and functions out of box.h,
12458 following Lars' suggestion.
12460 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12462 * box.h: #include "support/LOstream.h", needed for inlined function.
12465 * lyxtextclasslist.C: added some using std declarations.
12467 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12469 * box.h: make signed dimensions to allow insets wider than
12470 the screen (bug #162)
12472 * BufferView_pimpl.C: add some insetHit debug
12474 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12476 * vc-backend.C: add FIXME
12478 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12480 * lyxfunc.C (getStatus): enable code for showing math font status
12483 2002-01-07 Juergen Vigna <jug@sad.it>
12485 * text.C (nextBreakPoint): removed debug output not needed anymore.
12487 2002-01-06 Juergen Vigna <jug@sad.it>
12489 * text.C (nextBreakPoint): fixed up this function we had this bug
12490 since ever but now hopefully we break row better.
12491 (insertChar): we have to check if an inset is the next char as it
12492 could now happen that a large inset is causing a break.
12494 2002-01-05 Juergen Vigna <jug@sad.it>
12496 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12497 if it doesn't like to be drawed.
12499 2002-01-04 Juergen Vigna <jug@sad.it>
12501 * BufferView2.C (lockInset): forgot to set a cursor.
12503 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12505 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12507 * FormMathsPanel.C:
12510 * form_maths_panel.C:
12511 * form_maths_panel.h:
12512 * form_maths_panel.fd: implemented sub- and super- buttons in math
12515 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12516 (or ^ space) to be used as in TeX (req'd by André).
12518 * lyxfunc.C: Allow ^ and _ again to be used both as
12519 super/subscript (mathed) and as themselves (in text).
12521 2002-01-03 Allan Rae <rae@lyx.org>
12523 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12524 "LyX" or the filename of the current buffer if it has one. This is a
12525 modified form of John Levon's patch.
12527 * XFormsView.C (setWindowTitle): also set icon title.
12529 * LyXView.h (setWindowTitle): signature changed.
12530 * XFormsView.h (setWindowTitle): ditto.
12532 2002-01-02 Juergen Vigna <jug@sad.it>
12534 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12536 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12538 * screen.C (topCursorVisible): introduce a temp var for
12539 text->cursor.row(), handle the case where this row is null. (kindo
12542 * text2.C (setCursor): add a couple of asserts.
12544 * paragraph.h (inset_iterator): add -> operator
12546 * paragraph.[Ch] (autoDeleteInsets): remove member function
12548 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12549 cursor pos correctly and handle inset deletion by itself.
12550 (insertErrors): move iterator declaration out of for expression
12552 * lyxtextclass.C: add <algorithm>
12554 * Makefile.am: added the new files to sources, removed layout.C
12556 * layout.C: removed file
12558 * layout.h: remove LYX_DUMMY_LAYOUT
12560 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12564 * lyxtextclass.[Ch]:
12565 * lyxtextclasslist.[Ch]: new files
12567 * include order changes to a lot of files, also changes because of
12570 2001-12-27 Juergen Vigna <jug@sad.it>
12572 * buffer.C (asciiParagraph): more fixes.
12574 * tabular.C (ascii): make ascii export support export of only the
12575 data separated by a column-delimiter.
12576 (ascii): better support for ascii export.
12578 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12580 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12582 * tabular_funcs.C: use a "using std::getline" instead of the
12583 previous fix from Angus (necessary for cxx + lyxstring)
12585 2001-12-24 Juergen Vigna <jug@sad.it>
12587 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12589 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12590 problems. First check a minipage also if we have some ert-contents
12591 (not only on par->size(), second set the right depth of the paragraph
12592 on the relink to the root-paragraph-list!
12594 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12595 which then did not anymore update the main paragraphs on undo/redo!
12597 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12599 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12600 code. Support all font-changing funcs (even those which are not in
12601 menu currently). Support for reporting font settings in
12602 mathed (disabled until Andre provides a function on mathed's side).
12604 * func_status.h (toggle): small helper function to set toggle
12607 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12609 * tabular_funcs.C: getline -> std::getline
12611 2001-12-21 Juergen Vigna <jug@sad.it>
12613 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12614 accessed and could be 0 (I couldn't generate this but it seems
12617 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12619 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12620 * tabular_funcs.h: here and include iosfwd
12622 2001-12-20 Juergen Vigna <jug@sad.it>
12624 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12625 inside inset but undo_par was.
12627 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12629 * Thesaurus.C: always include <config.h> in sources.
12633 * box.h: do not include <config.h> in header files
12635 * text.C (paintLastRow): remove unused variable
12637 * text.C (transformChar):
12639 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12641 * Painter.C (text):
12642 * font.C (width): rewrite to use uppercase() instead of
12645 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12647 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12649 * lyxfind.C: clean up of find failure position change
12651 2001-12-20 Juergen Vigna <jug@sad.it>
12653 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12655 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12656 (TeXRow): added to LaTeX a single tabular row.
12657 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12658 (Latex): simplified and finally good LT-h/f support.
12659 (various_functions): just small adaptions for LT-h/f support.
12661 * tabular_funcs.[hC]: added and moved here all not classfunctions
12664 2001-12-19 Juergen Vigna <jug@sad.it>
12666 * tabular.[Ch]: better support for longtabular options (not finished
12669 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12671 * text.C (paintLastRow): use the label font instead of the font of
12672 the last character to compute the size of *_BOX. This makes more
12673 sense and avoids a crash with empty paragraphs.
12674 Use Painter::rectangle to draw EMPTY_BOX.
12676 2001-12-19 Juergen Vigna <jug@sad.it>
12678 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12679 the paragraphs if the replaced paragraph is not the first one!
12680 Tried to delete not used paragraphs but does not work yet so for
12681 now it's inside #ifdef's and by default off!
12683 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12685 * MenuBackend.C: include "lyx_main.h" instead of declaring
12686 lastfiles (actually was declared as LastFiles* instead of a
12689 2001-12-17 Juergen Vigna <jug@sad.it>
12691 * tabular.C (AppendColumn): applied John's fix
12693 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12697 * BufferView_pimpl.h:
12698 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12701 * box.h: new start of class for above
12703 * lyxfunc.C: ignore space-only minibuffer dispatches.
12704 Show the command name when it doesn't exist
12706 * minibuffer.C: don't add empty lines to the history
12708 * minibuffer.C: add a space on dropdown completion
12710 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12712 * text.C: fix line above/below drawing in insets
12714 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12716 * lyxlength.C (LyXLength): Initialize private variables.
12718 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12720 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12721 when inserting error insets.
12723 2001-12-13 Juergen Vigna <jug@sad.it>
12725 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12726 actually sometimes the before-paragraph.
12727 (setUndo): don't clear the redostack if we're not actually undoing!
12729 2001-12-06 Juergen Vigna <jug@sad.it>
12731 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12732 and fixed redoing of main paragraph, so we can use it now ;)
12734 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12736 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12738 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12741 2001-12-13 André Pönitz <poenitz@gmx.net>
12744 * undo_func.C: minor cleanup
12746 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12748 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12749 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12750 font in urw-fonts package which is marked as -urw-fontspecific and
12751 does not work (incidentally, changing the encoding in the
12752 fonts.dir of this package to -adobe-fontspecific fixes the
12755 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12756 is a crash when undoing first paragraph (Juergen, please take a
12757 look). THis does not mean the undo fix is wrong, just that it
12760 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12761 the (Paragraph*) version when needed instead of duplicating the
12764 * text.C (workWidth): use Inset::parOwner to find out where the
12765 inset has been inserted. This is a huge performance gain for large
12766 documents with lots of insets. If Inset::parOwner is not set, fall
12767 back on the brute force method
12769 * paragraph_pimpl.C (insertInset):
12770 * paragraph.C (Paragraph):
12771 (cutIntoMinibuffer): set parOwner of insets when
12772 inserting/removing them
12774 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12776 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12782 * mathed/formulabase.C:
12783 * mathed/math_cursor.[Ch]:
12784 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12787 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12789 * lyxlength.[Ch] (operator!=): new function
12791 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12793 * text.C (workWidth): use Inset::parOwner to find out where the
12794 inset has been inserted. This is a huge performance gain for large
12795 documents with lots of insets. If Inset::parOwner is not set, fall
12796 back on the brute force method
12798 * paragraph_pimpl.C (insertInset):
12799 * paragraph.C (Paragraph):
12800 (cutIntoMinibuffer): set parOwner of insets when
12801 inserting/removing them
12803 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12805 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12807 * tabular-old.C (getTokenValue):
12808 * tabular.C (getTokenValue):
12809 (write_attribute): new versions for LyXLength
12810 (everywhere): adjust the use of widths
12812 * tabular.h: change the type of widths from string to LyXLength
12814 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12816 * paragraph.C: fixed missing line number count when exporting
12817 Environments to LaTeX file
12819 * buffer.C: added informational message for checking line numbers.
12821 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12823 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12824 paragraph, do the 'double space' part, but not the 'empty
12827 * text.C (workWidth): small optimization
12828 (getLengthMarkerHeight): use minimal size for negative lengths.
12830 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12832 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12834 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12836 2001-12-11 André Pönitz <poenitz@gmx.net>
12839 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12841 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12843 * text2.C: keep selection on a setFont()
12845 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12847 * lyx_cb.C: another bv->text misuse, from insert label
12849 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12852 * kbsequence.C: re-instate nmodifier mask
12854 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12856 * lyx_main.h: make lyxGUI private.
12858 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12860 * lyxfind.C: place the cursor correctly on failed search
12862 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12864 * text.C (getLengthMarkerHeight): for small heights, the arrows
12865 are not always on top/bottom of the text
12866 (drawLengthMarker): smaller arrows; take the left margin in
12867 account; draw also vfills.
12869 (paintLastRow): remove special code for vfill and standard spaces,
12870 since everything is handled in drawLengthMarker now.
12872 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12874 * buffer.C (insertErtContents): try to handle font and language
12875 interaction a bit better.g
12877 * ColorHandler.C (updateColor): change the hash to cover the whole
12878 LColor enum, ws cleanup
12879 (getGCLinepars): ditto
12880 (getGCLinepars): only lookup in the linecache once.
12882 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12884 * iterators.C (operator++): Make the iterator more robust
12886 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12888 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12890 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12893 * text.C: better added space drawing
12895 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12898 * BufferView2.C: fix layout combo update on inset unlock
12900 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12902 * Makefile.am: don't compile unused files
12904 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12908 * LyXAction.C: remove old LFUN_LAYOUTNO
12910 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12912 * paragraph_pimpl.h:
12913 * paragraph_pimpl.C: isTextAt() doesn't need font param
12915 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12918 * lyxlex.C: little cleanup
12920 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12922 * BufferView_pimpl.C: fix insertAscii for insets
12924 2001-12-05 Juergen Vigna <jug@sad.it>
12926 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12927 set the right font on the "multi" paragraph paste!
12929 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12935 * lyxlength.C: remove out-commented code.
12937 * BufferView_pimpl:
12951 * vc-backend.C: change "while(" to "while ("
12953 * lyxlength.[Ch]: add zero function to check if length is zero or
12955 * lyxgluelength.C: use it
12957 2001-12-05 Allan Rae <rae@lyx.org>
12959 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12960 Works for 2.95.3, from what I understand of Garst's reports this should
12961 work for other g++ versions. We're screwed if the abs(int) definition
12962 changed between bugfix releases of gcc.
12964 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12966 * text.C: fix chapter label offset !
12968 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12971 * text.C: fix hfill at end of line, clean up
12973 2001-12-04 Juergen Vigna <jug@sad.it>
12975 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12976 that we force an update of the inset and it's owners if neccessary.
12978 2001-12-03 Juergen Vigna <jug@sad.it>
12980 * text.C (rowLast): simplified code
12982 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12984 * lyxfunc.C: fix show options on timeout
12986 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12988 * screen.C (topCursorVisible): scroll half a page when the cursor
12989 reached top of bottom of screen
12991 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12993 * minibuffer.C: deactivate on loss of focus
12995 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12997 * vspace.[Ch] (operator!=): add operator.
12999 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
13001 * BufferView_pimpl.C: refuse to open an inset when
13002 there's a selection.
13004 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
13006 * BufferView_pimpl.C: allow to click on RHS of full row insets
13008 2001-11-30 Juergen Vigna <jug@sad.it>
13010 * tabular.C (LyXTabular): add a same_id to set the same id's in the
13011 insets for undo reasons.
13013 2001-11-28 André Pönitz <poenitz@gmx.net>
13015 * vspace.[Ch]: cosmetical changes
13017 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13027 * kbsequence.C: part re-write of old kb code
13030 * WorkArea.C: remove Lgb_bug_find_hack
13032 2001-11-30 José Matos <jamatos@fep.up.pt>
13034 * buffer.C (makeDocBookFile): add a comment to point a hack.
13035 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13036 Fixed a double write of labels.
13038 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13041 * LaTeX.h Fixed bug in LaTeX class where it would not
13042 re-run latex if no depfiles were changed, but the .dvi was removed.
13044 2001-11-28 André Pönitz <poenitz@gmx.net>
13046 * all the files from the change on 2001/11/26:
13047 use lyx::layout_type instead of LyXTextClass::size_type
13048 use lyx::textclass_type instead of LyXTextClassList::size_type
13050 2001-11-29 Juergen Vigna <jug@sad.it>
13052 * text.C: added support for paragraph::isFreeSpacing()
13054 * buffer.C: same as above
13056 * paragraph.h: inserted isFreeSpacing() function to enable
13057 FreeSpacing inside InsetERT.
13059 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13060 of the paragraph's in the cut/copy buffer to 0!
13062 * text2.C (removeRow): remove the assert as it can!
13064 * lyxtext.h: added helper function firstRow returning firstrow and
13065 made firstrow private again.
13067 * BufferView2.C (lockInset): don't relock if we're already locked!
13069 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13070 the only paragraph.
13071 (removeRow): added Assert::(firstrow)
13073 * debug.C: forgot to add INSETTEXT here.
13075 2001-11-28 Juergen Vigna <jug@sad.it>
13077 * sp_spell.C (initialize): changed error text to more general
13078 spellchecker command use (not only ispell!)
13080 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13082 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13084 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13086 * vspace.C: initialise lyxgluelength on failure
13088 2001-11-28 Allan Rae <rae@lyx.org>
13090 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13091 declaration & definition that looks like a function declaration.
13093 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13095 * BufferView2.C (copy):
13096 (copyEnvironment): do not clear the selection when doing a copy.
13098 * text.C (paintFirstRow): compilation fix
13100 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13102 * tabular.C (Latex): correct line count when writing latex.
13104 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13106 * paragraph_pimpl.h:
13107 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13110 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13114 * LColor.C: change vfillline->added_space
13116 * text.C: add markers and text for added space
13118 * vspace.C: fix comment
13120 2001-11-28 André Pönitz <poenitz@gmx.net>
13122 * paragraph.C: whitespace changes
13123 * all the other files from the change on 2001/11/26:
13124 change *::pos_type into lyx::pos_type
13126 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13128 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13129 language of the document when inserting error insets.
13131 2001-11-26 André Pönitz <poenitz@gmx.net>
13133 * BufferView_pimpl.[Ch]:
13141 * paragraph_pimpl.[Ch]:
13144 * text2.C: reduce header dependencies, introduce type for positions
13146 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13148 * <various>: change to use Alert.h
13150 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13152 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13153 when encountering an unknown token.
13154 (readLyXformat2): Show an error message if there were unknown tokens.
13156 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13159 * BufferView_pimpl.C:
13163 * text2.C: use par->isInset()
13165 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13167 * paragraph_pimpl.h:
13168 * paragraph_pimpl.C: cleanup
13170 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13172 * text2.C (removeRow):
13173 * text.C (setHeightOfRow): remove useless (and costly) call to
13176 2001-11-20 Allan Rae <rae@lyx.org>
13178 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13179 Now need Inset*::checkInsertChar() to return true for appropriate
13180 cases so that the characters in the minibuffer will actually be
13183 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13185 * text.C: change the order of the includes.
13186 (workWidth): initialize it at once.
13187 (workWidth): make maxw unsigned
13188 (setHeightOfRow): remove unused variable (inset)
13189 (selectSelectedWord): remove unused variable (inset)
13190 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13192 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13194 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13195 server is not running.
13197 (closeConnection): add debug info when server is disabled.
13199 * ColorHandler.C (getGCForeground): send debug message to GUI
13202 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13204 * kbmap.C (bind): modify because return conventions of
13205 kb_sequence::parse have changed.
13207 * kbsequence.C (parse): only ignore spaces and not any stupid
13208 control character. This avoids tests like s[i] <= ' ', which are
13209 guaranteed to fail with 8bit characters and signed chars.
13210 Change return code to string::npos when there have been no error
13211 (0 was a bad idea when error is at first character)
13213 2001-11-14 José Matos <jamatos@fep.up.pt>
13216 * buffer.C (simpleDocBookOnePar): removed unused argument.
13218 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13220 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13221 insets which are part of a word. Paragraph::isLetter takes care of
13222 that now. Use Paragraph::isInset to identify insets.
13223 (selectSelectedWord): do not test for hyphenation break.
13225 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13226 that protected spaces are considered as spaces.
13228 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13231 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13234 * lyxserver.C: fix it. and small cleanup.
13236 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13238 * BufferView_pimpl.C: use inline helpers
13241 * LaTeXFeatures.C: fix typos
13244 * Spacing.C: move spacing_string into class
13246 * ToolbarDefaults.C: move stuff into namespace anon
13248 * layout.h: update enum
13250 * lyxfunc.C: use better debug
13252 * minibuffer.h: fix typo
13256 * WorkArea.C: add and use Debug::WORKAREA
13260 * text2.C: code re-organisation, inline helpers
13262 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13264 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13265 std::vector.empty().
13267 2001-11-09 Allan Rae <rae@lyx.org>
13269 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13270 '\n's after tables. Tabular and ERT inset work now makes this no
13273 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13276 * minibuffer.C: fix crash, improve drop-down completion
13278 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13281 * lyxserver.C: invalidate fd's when doing endPipe()
13283 2001-11-08 José Matos <jamatos@fep.up.pt>
13285 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13286 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13289 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13291 2001-11-07 José Matos <jamatos@fep.up.pt>
13294 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13297 * buffer.C (sgmlOpenTag):
13298 * buffer.C (sgmlCloseTag): removed debug info.
13300 * buffer.h (sgmlOpenTag):
13301 * buffer.h (sgmlCloseTag): made public.
13303 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13305 * buffer.C (saveParamsAsDefaults):
13306 * lyx_cb.C (MenuLayoutSave): remove
13308 * LyXAction.C (init):
13310 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13312 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13314 * buffer.C (setPaperStuff): removed from here...
13316 * bufferparams.C (setPaperStuff): ... and moved there.
13318 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13322 * XFormsView.C: add support for drop-down completion
13324 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13326 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13329 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13331 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13334 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13336 * lyx_main.C: change ref to known bugs
13338 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13340 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13341 to work around older babel problems.
13343 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13345 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13347 2001-10-24 Juergen Vigna <jug@sad.it>
13349 * tabular-old.C (ReadOld): below variable changes reflected.
13351 * tabular.[Ch]: added ltType struct for longtable header/footer
13352 defines and changed all instances where they are used. Added
13353 future support for double top/bottom rows.
13355 2001-10-24 José Matos <jamatos@fep.up.pt>
13357 * buffer.h (docbookHandleCaption):
13358 * buffer.C (docbookHandleCaption): removed unused function.
13359 (makeDocBookFile): moved docbook supported version to v4.1.
13361 2001-10-24 José Matos <jamatos@fep.up.pt>
13364 * tabular.C (docbookRow): new function to export docbook code of a row.
13365 (DocBook): now honors the longtable flags.
13367 2001-10-23 José Matos <jamatos@fep.up.pt>
13370 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13371 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13373 * buffer.C (makeLinuxDocFile):
13374 (makeDocBookFile): reworked the preamble, more clean, and with
13375 support for lyx defined entities. Changed the document declaration
13376 to be more XML friendly.
13378 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13379 if we need to output XML that should be done with a filter.
13381 2001-10-22 Juergen Vigna <jug@sad.it>
13383 * sp_pspell.h (class PSpell): add alive function needed in the
13384 controller to see if the spellchecker could be started.
13386 2001-10-22 Juergen Vigna <jug@sad.it>
13388 * buffer.C (insertStringAsLines): modify the font for inserting
13389 chars in certain conditions by calling checkInsertChar(font).
13391 2001-10-19 Juergen Vigna <jug@sad.it>
13393 * text.C (workWidth): use getRow instead of wrong algorithm.
13394 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13396 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13401 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13403 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13405 * text.C (workWidth): do not search for the exact row when
13406 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13407 optimization for big documents.
13409 2001-10-18 Juergen Vigna <jug@sad.it>
13411 * text.C (workWidth): new function with added Inset * parameter.
13413 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13415 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13417 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13418 change return type of getColumnNearX.
13421 * text.C (changeRegionCase): use uppercase/lowercase instead of
13424 (rightMargin): simplify code by factoring out the uses of
13429 (appendParagraph): use Paragraph::size_type
13431 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13433 * vspace.C (asLatexString): add a missing break
13435 2001-10-15 Herbert Voss <voss@perce.de>
13437 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13439 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13441 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13444 2001-10-10 André Pönitz <poenitz@gmx.net>
13446 * lyxfunc.C: removed greek_kb_flag.
13448 2001-10-10 Herbert Voss <voss@perce.de>
13450 * lyx_main.C: delete global string help_lyxdir.
13452 2001-10-09 Herbert Voss <voss@perce.de>
13454 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13456 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13458 * lyx_main.C: added global string help_lyxdir.
13460 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13462 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13464 * lyxrc.C (set_font_norm_type): support iso8859-4
13466 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13468 * LaTeX.C (deplog): add another regex for MikTeX
13470 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13472 * lyxrc.C (set_font_norm_type): support iso8859-3
13474 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13476 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13478 * LaTeXFeatures.C: remove special case of french and index
13480 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13481 before \begin{document}). This solves several incompatibilities.
13483 2001-10-03 Garst Reese <reese@isn.net>
13485 * lyx_cb.C: change CheckTex error msg.
13487 2001-10-03 José Matos <jamatos@fep.up.pt>
13489 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13491 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13493 * .cvsignore: update
13495 * lyx_main.C (commandLineVersionInfo): use new style version info.
13497 * buffer.C (writeFile):
13499 (makeLinuxDocFile):
13500 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13502 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13504 * version.h: update to use stuff in version.C
13506 * version.C.in: new file. Contains version information determined
13507 at compile time. This is a merging of version.h and
13510 2001-10-03 Juergen Vigna <jug@sad.it>
13512 * BufferView_pimpl.C (update): don't change "dirty" status in
13515 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13517 * WorkArea.C (c-tor): re-position version string slightly.
13519 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13521 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13522 revert to previous code.
13524 WorkArea.[Ch]: (show, destroySplash): methods removed.
13526 WorkArea.C: rework code so that it's an amalgam of the codes before and
13527 after the splash screen was moved to WorkArea.
13529 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13532 * vspace.C (inPixels):
13535 * buffer.C (insertStringAsLines):
13536 (asciiParagraph): fix types to be large enough
13538 * lyxlex_pimpl.h: change member status from short to int
13540 * layout.h: fix type of endlabeltype
13543 * kbsequence.C (parse): change return type to string::size_type
13545 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13548 * Bullet.C (bulletSize):
13549 (bulletEntry): do not use short ints as parameters
13551 * BufferView2.C (insertLyXFile): change a char to an int.
13553 * WorkArea.C (WorkArea): remove unneeded floats in computation
13555 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13557 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13559 * paragraph.C (asString): Do not ignore newline/hfill chars when
13560 copying to the clipboard.
13562 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13564 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13565 after a multi-line inset.
13567 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13569 * paragraph.C (validate): Set NeedLyXFootnoteCode
13571 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13573 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13574 and decrease-error to decrease.
13576 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13578 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13579 it more readable (should be equivalent)
13581 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13583 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13585 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13587 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13588 of a cursor (row, etc.) after a character has been deleted
13589 (deleteEmptyParagraphMechanism): call the method above on _all_
13590 cursors held by the LyXText when a double space has been
13593 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13595 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13597 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13599 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13600 background. Use greyOut() and the new show() methods to toggle between
13601 the foreground and background. Add code to remove the splash after
13602 its initial showing.
13604 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13605 (create_forms): no longer call Dialogs::showSplash.
13607 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13609 * .cvsignore: add version_info.h
13611 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13613 * version_info.h.in: new file
13615 * Makefile.am: add version_info.h.in
13617 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13618 version_info.h instead of VERSION_INFO
13620 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13622 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13623 The ERT inset now returns string().
13625 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13627 * lyxtext.h, text.C (selectNextWord): renamed as
13628 selectNextWordToSpellcheck.
13630 * text.C (selectNextWordToSpellcheck): Modified to not select
13631 words inside an ERT inset.
13633 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13635 * lyx_cb.C (MenuLayoutSave): change a bit the question
13637 * sp_base.h: include <sys/types.h>
13639 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13641 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13643 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13645 * several files: fix typos in user-visible strings
13647 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13649 * text2.C (pasteSelection): do not set the selection, since it
13650 will be cleared later. Actually, the intent was to fix the way the
13651 selection was set, but I figured rmoving the code was just as good.
13653 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13655 * FontLoader.C (available): Check if font is available without
13658 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13660 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13662 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13664 * lyxrc.[Ch]: added display_graphics variable and associated code.
13666 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13668 * bufferparams.C (hasClassDefaults): new method. Returns true if
13669 the buffer parameters correspond to known class defaults
13671 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13673 * XFormsView.C (show): set minimum size to the main window.
13675 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13677 * text2.C (copySelection):
13679 * lyxfind.C (LyXReplace):
13680 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13681 LyXText::selectionAsString.
13683 * paragraph.C (asString): add "label" argument to the second form
13685 * text2.C (selectionAsString): add "label" argument and pass it to
13686 Paragraph::asString.
13688 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13690 * lyx_main.C (commandLineHelp): remove version information
13692 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13694 * lyx_main.C: add -version commandline option
13696 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13698 * paragraph.h: make the optional constructor arg required instead.
13699 some modifications to other files because of this.
13701 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13703 * lyxserver.C (C_LyXComm_callback): make it static
13705 * lyx_main.C (error_handler): make it static
13707 * lyx_gui.C (LyX_XErrHandler): make it static
13709 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13711 * WorkArea.C: make the extern "C" methods static.
13713 * Makefile.am (lyx_LDADD): simplify
13715 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13717 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13718 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13720 * LyXAction.C (init):
13721 * lyxfunc.C (dispatch): associated code removal.
13723 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13725 * lyxfont.h (isSymbolFont): shut off warning
13727 * text.C (setHeightOfRow):
13728 (getVisibleRow): fix crash with empty paragraphs which have a
13731 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13733 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13736 2001-09-04 José Matos <jamatos@fep.up.pt>
13739 * tabular.C (docbook): rename docBook method to docbook.
13741 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13743 * Makefile.am: add dependencies to main.o.
13745 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13747 * FontLoader.C (available): Return false if !lyxrc.use_gui
13749 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13751 * FontInfo.C (query):
13752 * converter.C (view):
13753 * importer.C (Import):
13754 * exporter.C (Export): Can not -> cannot.
13756 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13758 * BufferView_pimpl.C: allow to create index inset even if
13761 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13763 * buffer.C (getLists): replace boost::tie code with an explicit pair
13764 as boost::tie can break some compilers.
13766 * iterators.h: Added a std:: declaration to the return type of
13769 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13771 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13774 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13776 * iterators.[Ch]: New files. Provide paragraph iterators.
13778 * buffer.C (changeLanguage): Use paragraph iterators.
13779 (isMultiLingual): ditto
13781 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13783 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13785 * FontLoader.C: Support for cmr font.
13787 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13789 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13790 (available): New method.
13792 * FontInfo.C (getFontname): Use scalable fonts even when
13793 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13796 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13798 * converter.C (Formats::view): reverted! Incorrect fix.
13800 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13802 * converter.C (Formats::view): only output the -paper option
13803 if the dvi viewer is xdvi, thereby fixing bug #233429.
13805 2001-08-23 Herbert Voss <voss@perce>
13807 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13809 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13811 * Spacing.h (Spacing): Set space to Default on in the default
13814 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13816 * vc-backend.h (RCS::versionString): add RCS to version
13817 (CVS::versionString): add CVS to version
13819 * vc-backend.C (scanMaster): do not add CVS to version.
13820 (scanMaster): do not add RCS to version
13822 * lyxvc.C (versionString): new method
13824 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13826 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13828 * Spacing.C (set): initialize fval
13830 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13832 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13835 2001-08-16 Juergen Vigna <jug@sad.it>
13837 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13839 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13841 * BufferView_pimpl.C:
13844 * text2.C: setParagraph takes linespacing now
13846 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13848 * LyxAction.C: add internal LFUN_CITATION_INSERT
13850 * LyXView.C: actually apply fix
13852 * bufferlist.C: fix open non-existent file
13854 * lyxfind.C: fix indentation
13856 * lyxfunc.C: remove unneeded assert, fix typo
13858 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13860 * MenuBackend.C: use "Floatname List"
13862 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13864 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13865 when converting LaTeX layout to insetERT.
13866 Generate a non-collapsed float when reading old float
13868 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13870 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13873 2001-08-13 Juergen Vigna <jug@sad.it>
13875 * text.C (fill): return 0 instead of 20 as this seems to be the more
13878 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13880 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13883 2001-08-13 Juergen Vigna <jug@sad.it>
13885 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13887 (SearchBackward): comment out the unlocking of the inset_owner this
13888 should not be needed!
13890 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13892 * Many files: Remove inherit_language, and add latex_language
13894 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13895 collapsible insets.
13897 2001-08-10 Juergen Vigna <jug@sad.it>
13899 * text.C (prepareToPrint): fixed hfill-width in draw!
13901 * BufferView2.C (selectLastWord): save the selection cursor as this
13902 now is cleared in the function LyXText::clearSelection!
13904 2001-08-08 Juergen Vigna <jug@sad.it>
13906 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13907 BACKSPACE type functions.
13909 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13910 is only cutted from the document but not put in the cut-buffer, where
13911 still the old stuff should be.
13913 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13915 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13917 * tabular.C (SetWidthOfCell): fixed special case where the width
13919 (LeftLine): handle '|' in align_special.
13921 (LeftAlreadyDrawed): ditto
13922 (SetWidthOfCell): ditto
13924 2001-08-07 Juergen Vigna <jug@sad.it>
13926 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13928 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13930 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13931 * lyxlex.[hC]: ditto
13933 2001-08-06 Juergen Vigna <jug@sad.it>
13935 * text.C (getVisibleRow): fix up row clearing a bit.
13937 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13939 * minibuffer.C: make sure the X server sees the changes in the input.
13941 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13943 * paragraph.C (getFont): split into...
13944 (getLabelFont): this
13945 (getLayoutFont): and this
13946 * paragraph_pimpl.C (realizeFont): calling this
13948 * text2.C (getFont): split into...
13949 (getLayoutFont): this
13950 (getLabelFont): and this
13951 (realizeFont): all three calling this
13953 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13956 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13958 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13960 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13962 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13963 layouts from the Quote inset insertion.
13965 2001-08-03 Juergen Vigna <jug@sad.it>
13967 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13969 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13970 only if status not is already CHANGED_IN_DRAW (second level).
13972 * text.C (draw): don't set the need_break_row when inside an
13975 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13977 * buffer.C (parseSingleLyXformat2Token): handle more latex
13980 * bufferview_funcs.[hC]: change function names to
13981 begin with small char, adjust other files.
13983 2001-08-02 André Pönitz <poenitz@gmx.net>
13986 BufferView_pimpl.C: remove broken special code for math-greek
13988 2001-08-02 Juergen Vigna <jug@sad.it>
13990 * BufferView_pimpl.C (update): redone this function so that we
13991 update the text again if there was a CHANGE_IN_DRAW.
13993 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13994 (drawFromTo): added a new internal bool which is used by draw() and
13996 (general): some cursor drawing problems fixed.
13998 2001-08-01 Juergen Vigna <jug@sad.it>
14000 * lyxfind.C (LyXFind): fixed
14001 (SearchForward): ditto
14002 (SearchBackward): ditto
14004 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
14005 spurius drawing of the cursor in the main area.
14007 * text2.C (status): small fix which could lead to a segfault!
14008 (clearSelection): remove unneeded BufferView param.
14010 2001-08-01 André Pönitz <poenitz@gmx.net>
14012 * lyxfunc.C: small change due to changed mathed interface
14014 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14016 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
14018 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14020 * lyxfunc.c: fail gracefully if file doesn't exist
14025 * BufferView_pimpl.C: IsDirWriteable() proto changed
14027 * LyXView.C: fix updateWindowTitle() to store the last title
14029 2001-07-31 Juergen Vigna <jug@sad.it>
14031 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14032 the font (wrong since using of Paragraph::highestFontInRange).
14034 * paragraph.C (highestFontInRange): added a default_size parameter.
14036 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14037 (setHeightOfRow): reformat
14039 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14041 * converter.[hC] + affected files: move to (inital-char)lowercase
14044 * ParagraphParameters.C (ParagraphParameters): remove commented code
14046 * PainterBase.[Ch]: remove commented code
14048 * LaTeXFeatures.h: add "bool floats" for float.sty
14050 * LaTeXFeatures.C (LaTeXFeatures): init floats
14051 (require): handle float
14052 (getPackages): do it with floats
14054 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14056 * BufferView_pimpl.C (Dispatch): improve handling of
14057 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14059 * commandtags.h: #include lyxfont.h here temporarily to avoid
14062 * bufferlist.h: include LString.h here.
14064 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14066 * text2.C (getStringToIndex): new method.
14068 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14070 * *: Reduced header file dependencies all over.
14072 2001-07-30 Baruch Even <baruch@lyx.org>
14074 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14076 2001-07-29 Baruch Even <baruch@lyx.org>
14078 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14080 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14082 * ParameterStruct.h (endif): add a default constructor to make
14083 sure that all variables is initialized.
14085 * ParagraphParameters.C (ParagraphParameters): adjust
14087 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14089 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14090 index; also, check that there is something to index, and that it
14091 does not span over several paragraphs.
14092 (doubleClick): use WHOLE_WORD_STRICT for double click.
14094 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14096 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14099 2001-07-26 Baruch Even <baruch@lyx.org>
14101 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14102 an InsetFig figure, backwards compatible reading of old figure code.
14104 2001-07-27 Juergen Vigna <jug@sad.it>
14106 * text2.C: font.realize function adaption.
14108 * text.C (draw): add a warnings lyxerr text if needed.
14110 * layout.C: font.realize function adaption.
14112 * language.C: add inherit_language and implement it's handlings
14114 * bufferview_funcs.C (StyleReset): remove language parameter from
14115 font creation (should be language_inherit now).
14117 * bufferparams.C (writeFile): handle ignore_language.
14119 * paragraph.C (getFontSettings): the language has to be resolved
14120 otherwise we have problems in LyXFont!
14122 * lyxfont.C (lyxWriteChanges): added document_language parameter
14123 (update): removed unneeded language parameter
14125 * paragraph.C (validate): fixed wrong output of color-package when
14126 using interface colors for certain fonts in certain environments,
14127 which should not seen as that on the final output.
14129 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14131 * BufferView_pimpl.C:
14136 * LyXAction.C: add thesaurus support
14139 * lyxfind.C: add "once" parameter, for thesaurus, to not
14140 move to the next match
14142 2001-07-26 Juergen Vigna <jug@sad.it>
14144 * lyxfont.C (realize): honor ignore_language too!
14147 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14149 * text.C (draw): one place more for ignore_language to not draw
14152 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14154 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14156 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14158 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14159 the minipage conversion problem.
14161 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14163 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14166 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14168 * BufferView.h: don't forward declare WorkArea
14170 * BufferView.C: don't include WorkArea.h
14172 2001-07-25 André Pönitz <poenitz@gmx.net>
14176 * lyxfunc.C: new LFUN 'math-space'
14178 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14180 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14182 * text2.C (toggleInset): call open/close
14184 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14186 * lyxfunc.C (dispatch): add debug for the disabled case
14188 * font.C (buttonText): make similar to rectText
14190 * buffer.C (readInset): comment out parsing of insetlist and
14193 * PainterBase.C (rectText): small correction
14195 * BufferView_pimpl.C: comment out insettheorem and insetlist
14196 * LyXAction.C: ditto
14197 * commandtags.h: ditto
14199 2001-07-24 Juergen Vigna <jug@sad.it>
14201 * text.C (draw): honor the ignore_language.
14203 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14205 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14207 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14210 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14212 * lyxtext.h: remove unused (and unimplemented) methods
14214 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14216 * text.C (getVisibleRow): honor background color
14219 * Painter.h: remove default color argument for fillRectangle
14221 * text.C (backgroundColor): new method
14223 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14225 * text.C (getVisibleRow): adjust
14227 * font.[Ch] (rectText): new method, metrics
14228 (buttonText): new method, metrics
14230 * PainterBase.[hC]: make rectText and buttonText always draw and take
14233 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14235 * ToolbarDefaults.C (read):
14236 * MenuBackend.C (read): allow escaping in all strings
14238 * BufferView_pimpl.C (insertAndEditInset): new method.
14239 (Dispatch): use insertAndEditInset whenever appropriate.
14241 * BufferView_pimpl.C (insertNote): removed
14243 * BufferView_pimpl.C (smartQuote): new method, moved from
14244 BufferView; if an insetquote cannot be inserted, insert a '"'
14247 * BufferView2.C: remove insertCorrectQuote();
14249 * lyxfunc.C (getStatus): Add support for all remaingin
14250 inset-insert lfuns.
14252 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14254 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14255 command (necessary to pass " as parameter of self-insert.
14257 * text.C (selectWordWhenUnderCursor):
14258 (selectWord): add word_location parameter
14259 (selectWordWhenUnderCursor): same + remove special code for word
14261 (selectNextWord): use kind() to guess type of insetspecialchar,
14264 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14265 (insertErtContents): create ert insets as collapsed.
14266 (readInset): better compatibility code for Info inset.
14268 2001-07-20 Juergen Vigna <jug@sad.it>
14270 * lyxfunc.C (dispatch): use always LyXFind now!
14272 * text2.C (init): add a reinit flag so that the LyXText can be
14273 reinited instead of deleted and reallocated (used in InsetText).
14275 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14281 2001-07-18 Juergen Vigna <jug@sad.it>
14283 * text.C (selectNextWord): handle insets inside inset by calling
14284 always the bv->text functions so that we can go up the_locking_inset!
14286 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14287 in strange locations when inside an inset!
14289 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14290 handling to include insets.
14292 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14294 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14296 * LyXAction.C (init):
14298 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14299 LIGATURE_BREAK, since the name is so stupid.
14301 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14303 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14306 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14308 * sp_form.[Ch]: remove.
14310 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14312 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14315 * src/buffer.C (readInset): ditto.
14317 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14319 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14320 menuSeparator(), endOfSentenceDot(), ldots() and
14321 hyphenationPoint(), which are therefore removed.
14322 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14324 * LyXAction.C (init):
14325 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14327 * paragraph.C (getWord): removed.
14329 * BufferView_pimpl.C (Dispatch): use last word or selection for
14330 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14332 * lyx_main.C (queryUserLyXDir): do not ask before creating
14333 user_dir, except if it has been named explicitely.
14335 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14337 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14338 a document of zero size.
14340 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14342 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14343 approriately in the c-tor and in require().
14344 (getPackages): output the appropriate LaTeX for natbib support.
14346 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14347 variables "use_natbib" and "use_numerical_citations" when reading the
14349 (readInset): read the various natbib cite commands.
14350 (validate): white-space change.
14352 * bufferparams.[Ch]: new variables "bool use_natbib" and
14353 "bool use_numerical_citations".
14354 (writeFile): output them in the LyX file.
14356 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14358 * lyxfunc.C (getStatus): add support for all the inset insertion
14361 * text2.C (insertInset):
14362 * paragraph.C (insetAllowed):
14363 * BufferView_pimpl.C (insertInset): update to take in account the
14364 renaming of insertInsetAllowed
14366 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14368 * text2.C (getInset): new method. returns inset at cursor position.
14370 * BufferView_pimpl.C (Dispatch): changes because of this.
14372 * LyXAction.C (init): rename open-stuff to inset-toggle.
14374 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14376 * text2.C (toggleInset): renamed from openStuff; use
14379 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14381 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14383 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14385 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14387 * buffer.C (readLyXformat2): Add filename to the error dialog
14389 2001-07-18 Juergen Vigna <jug@sad.it>
14391 * tabular.C (GetCellNumber): put an assert here instead of the check!
14393 2001-07-17 Juergen Vigna <jug@sad.it>
14395 * BufferView_pimpl.C (toggleSelection): adapted too.
14397 * text.C (selectNextWord): adapted for use with insets.
14398 (selectSelectedWord): ditto
14400 2001-07-17 Juergen Vigna <jug@sad.it>
14402 * sp_spell.C (PSpell): fix initialitation order.
14404 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14406 * paragraph.C: spacing
14408 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14410 * sp_spell.C: repair language selection for pspell
14412 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14414 * lyxfunc.h: change more methods to begin with lower char.
14416 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14418 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14419 for unknown layouts.
14421 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14423 * buffer.C (readLyXformat2): Generate an error dialog if there are
14426 2001-07-16 Juergen Vigna <jug@sad.it>
14428 * sp_spell.C: always compile ISpell part.
14430 * lyxrc.C: added use_pspell entry and it's handling.
14432 2001-07-13 Juergen Vigna <jug@sad.it>
14434 * sp_spell.C: removed double includes.
14436 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14438 Consistent use of Lsstream.h:
14439 * Lsstream.h: added using std::stringstream for consistencies sake.
14441 * buffer.C: removed using std::stringstream
14443 * lyxfont.C (stateText):
14444 * paragraph.C (asString):
14445 * text.C (selectNextWord, selectSelectedWord):
14446 * text2.C (setCounter):
14447 * vspace.C (asString, asLatexString):
14448 std::ostringstream -> ostringstream.
14450 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14452 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14453 * commandtags.h: add LFUN_HELP_ABOUTLYX
14454 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14456 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14458 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14460 * lyx_gui_misc.C: remove spellchecker
14461 * lyxfunc.C: showSpellchecker
14463 * sp_ispell.h: added
14464 * sp_pspell.h: added
14465 * sp_spell.C: added
14466 * sp_form.[Ch]: removed
14467 * spellchecker.[Ch]: removed
14469 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14471 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14473 (simpleTeXSpecialChars): Simply print the input character without
14474 any special translation if pass_thru is set.
14476 * layout.h: Added bool pass_thru to layout class for being able to
14477 implement pass through of a paragraph for Literate Programming.
14479 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14480 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14481 * layout.C (Read): add "passthru" to list of layout tags and add
14482 code to set the pass_thru boolean when it is read.
14484 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14486 * trans_decl.h: remove allowed from KmodInfo
14488 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14489 remove allowed code
14492 * paragraph_pimpl.C (erase): use boost::prior
14494 * Painter.C (text): use data() instead of c_str() when length is
14496 * WorkArea.C (putClipboard): ditto
14497 * font.h (width): ditto
14499 * BufferView2.C: use it-> instead of (*it). for iterators
14501 * paragraph_pimpl.C: ditto
14502 * paragraph.C: ditto
14503 * minibuffer.C: ditto
14504 * language.C: ditto
14506 * encoding.C: ditto
14507 * counters.C: ditto
14508 * converter.C: ditto
14510 * Variables.C: ditto
14511 * TextCache.C: ditto
14512 * MenuBackend.C: ditto
14513 * LyXAction.C: ditto
14515 * FloatList.C: ditto
14516 * DepTable.C: ditto
14517 * ColorHandler.C (LyXColorHandler): ditto
14519 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14521 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14523 * text2.C (openStuff): reintroduce this method (which had been
14524 nuked in NEW_INSETS frenzy).
14526 * lyxfunc.C (Dispatch): when an action has not been handled, use
14527 its name in the error message, not its number.
14529 * paragraph.C (inInset): change method name to begin with lowercase.
14532 * text2.C: updates because of this.
14534 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14536 * ToolbarDefaults.C (add): add spaces in error message
14538 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14540 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14541 (readLyXformat2): rename return_par to first_par, use lyxlex's
14542 pushToken and remove the manual push handling.
14543 (parseSingleLyXformat2Token): add another ert comp. variable:
14544 in_tabular, rename return_par to first_par. handle newlines better
14546 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14548 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14550 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14552 * text2.C (getParFromID): removed
14554 * buffer.C (getParFromID): new method moved form lyxtext.
14555 * BufferView2.C (insertErrors): adjust
14556 (setCursorFromRow): adjust
14557 * BufferView_pimpl.C (restorePosition): adjust
14558 * lyxfunc.C (Dispatch): adjust
14559 * undo_funcs.C (textUndo): adjust
14561 (textHandleUndo): adjust
14562 (textHandleUndo): adjust
14564 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14566 * buffer.C: up' the LYX_FORMAT
14568 * lyxfont.h: turn NO_LATEX on as default
14570 * buffer.C (insertErtContents): new methods of tex style compability.
14571 (parseSingleLyXformat2Token): use it several places.
14572 * tabular.C (OldFormatRead): and here
14574 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14576 * text2.C: remove some commented code.
14579 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14580 * trans.C: changes because of the above.
14582 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14584 * text2.C (setCounter): Fix counters bug with bibliography layout.
14586 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14588 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14589 own member functions
14590 (simpleTeXSpecialChars): ditto
14592 2001-07-06 Juergen Vigna <jug@sad.it>
14594 * a lot of files: changed the access to LyXText::status and the
14595 call of undo-functions.
14597 * undo.[Ch]: added a inset_id to the undo informations.
14599 * undo_funcs.[Ch]: added and moved here all undo functions.
14601 * lyxtext.h: give the status enum a weight, made status_ a private
14602 variable and made accessor functions for it, removed the whole bunch
14603 of undo-functions as they are now in their own file, make some
14604 functions publically available. Added function ownerParagraph with
14607 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14608 made InInset() a const function, added getParFromID() function.
14610 * buffer.[Ch]: added const version for inset_iterator functions,
14611 added getInsetFromID() function.
14613 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14614 changed undo functions for new version.
14616 2001-07-05 Juergen Vigna <jug@sad.it>
14618 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14619 unknow mechanism does not call the proper constructor but only this
14620 one also if I request the other!?
14622 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14624 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14626 * text2.C (LyXText): use initialization lists.
14628 * lyxtext.h (Selection): initialize set_ and mark_
14629 (init): remove method
14631 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14633 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14635 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14637 * screen.[Ch]: change method names to begin with lowercase
14639 * BufferView_pimpl.C (updateScrollbar): simplify further and
14640 hopefully make it a bit faster.
14642 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14644 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14645 calling directly xforms functions.
14647 * Painter.C (Painter):
14648 * lyx_cb.C (MenuWrite):
14649 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14652 * lyx_gui.C: remove bogus guiruntime extern declaration.
14654 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14656 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14658 (redoDrawingOfParagraph): ditto
14659 (redoParagraphs): ditto
14660 (cutSelection): don't create a object for CutAndPaste use the
14661 static method directly
14662 (pasteSelection): ditto
14664 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14667 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14669 * modifications to some other files because of this.
14671 * Makefile.am (lyx_SOURCES): add XFormsView
14673 * XFormsView.[Ch]: new files
14675 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14676 the main window. Move the gui dependent stuff to XFormsView
14678 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14680 * tabular.C (GetCellInset): update cur_cell also in the row/col
14681 version of this function.
14683 * lyxfunc.C: no need to include figure_form.h here.
14689 * lyxvc.C: no need to include forms.h here.
14691 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14693 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14695 * lyxfunc.C (Dispatch):
14697 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14698 constructor argument.
14700 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14702 * paragraph.C (Paragraph): dont't clear, and just set layout.
14703 (makeSameLayout): use params's copy contructor.
14705 * ParagraphParameters.[Ch] (makeSame): delete method
14707 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14709 * Variables.[Ch]: fix indentation, rename set to isSet
14711 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14713 * lyxfunc.C (Dispatch): fix typo
14715 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14717 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14720 * bufferlist.C: include assert.h for emergencyWrite().
14722 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14724 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14725 give up at last (bug #425202) !
14727 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14733 * spellchecker.C: strip spellchecker options and bring up
14734 preferences tab instead
14736 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14738 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14739 the istringstream constructor
14741 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14743 * paragraph.C (getLayout): fix return value
14745 * paragraph.h: do not declare getLayout as inline.
14747 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14749 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14751 * lyxcursor.h (operator<): new func
14752 (operator>): new func
14753 (operator>=): new func
14754 (operator<=): new func
14756 * text.C (changeCase): use selection.start and selection.end
14757 (changeRegionCase): require from to be <= to. Require par to be a
14760 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14762 2001-06-27 Juergen Vigna <jug@sad.it>
14764 * text.C (cursorLeftOneWord): changed to return the cursor and added
14765 overlay with BufferView * parameter which calls this one.
14767 (selectWord): use new getWord function.
14768 (changeCase): renamed from changeWordCase as and extended to work
14769 also on selections.
14771 * lyxtext.h: added enum word_location
14773 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14774 changeCase as this operates now also on selections.
14776 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14778 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14780 * many files: send debug output to Debug::INFO instead of
14783 * converter.C (View):
14785 (Move): send debug output to Debug::FILES instead of console.
14787 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14789 * lyxfunc.C (getStatus): use func_status
14791 * func_status.h: new header, describing the results of
14792 LyXFunc::getStatus;
14794 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14797 2001-06-25 The LyX Project <jug@sad.it>
14799 * buffer.C (sgmlOpenTag):
14801 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14803 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14805 * text2.C: remove some dead code
14807 * tabular.C (GetCellInset): store the last cell checked (gotten)
14809 * tabular.h: add the helper for the speedup
14811 * lyxtext.h: remove some dead code
14813 2001-06-26 The LyX Project <Asger>
14815 * paragraph.C: Change export to LaTeX of alignment to
14816 \begin{center} and family for better roundtrip work with reLyX.
14818 * Tune the math drawing a bit.
14820 2001-06-25 The LyX Project <Asger>
14822 * LColor.C (LColor): New color for math background. New color
14825 2001-06-25 The LyX Project <jug@sad.it>
14827 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14829 * lyxfunc.C (Open):
14830 * bufferlist.C (newFile): do not restrict to files ending with
14833 * BufferView_pimpl.C (MenuInsertLyXFile):
14835 2001-06-24 The LyX Project <jug@sad.it>
14837 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14840 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14842 * lyxtext.h: rename most methods to begin with a small char.
14843 Lots of changes because of this.
14845 * paragraph.C (Paragraph): do not call fitToSize
14846 (erase): call Pimpl::erase
14847 (insertChar): call Pimpl::insertChar
14848 (insertInset): call Pipl::insertInset
14849 (breakParagraph): do not call fitToSize
14850 (breakParagraphConservative): do not call fitToSize
14851 (fitToSize): remove method
14853 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14855 2001-06-24 The LyX Project <Asger>
14857 * Fix Qt compilation^2
14859 2001-06-24 The LyX Project <jug@sad.it>
14861 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14862 depthHook(getDepth()-1).
14865 * ParagraphParameters.h:
14866 * ParameterStruct.h: change type of depth to unsigned int ==
14867 depth_type. Many adaptations to other files before of that.
14869 2001-06-24 The LyX Project <Asger>
14871 * Fix Qt compilation.
14873 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14875 * paragraph.h: renamed several methods to begin with small letter.
14876 several changes to many parts of the code because of this.
14878 2001-06-23 The LyX Project <jug@sad.it>
14880 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14881 rewritten to discard all double spaces when KeepEmpty is off
14882 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14883 to only handle newlines but not fiddle with spaces and friends.
14885 * lyxfunc.C (MenuNew): when doing 'new from template', use
14886 template_path as default directory
14888 2001-06-23 The LyX Project <Asger>
14890 * Clean-up of header file includes all over
14891 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14893 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14895 * paragraph.h: renamed from lyxparagraph.h
14897 2001-06-23 Asger <lyx@violet.home.sad.it>
14899 * Buffer.h: Removed Buffer::resize
14900 * BufferList.h: Removed BufferList::resize
14901 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14902 the document lazily when we change the width, or the font settings.
14904 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14906 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14908 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14910 * buffer.h: remove out of date comment
14912 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14915 * screen.C: fix "theoretical" GC leak
14917 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14919 * LaTeX.C (scanAuxFile):
14920 (deplog): remove trailing \r when reading stream (useful under
14923 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14925 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14926 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14927 and BufferView::theLockingInset(Inset*), so should use them and not
14928 access bv_->text->the_locking_inset directly.
14930 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14932 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14935 * tex-defs.h: remove old unused file
14937 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14939 * BufferView_pimpl.C: fix typo, remove minibuffer message
14940 when buffer has loaded
14942 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14944 * lyxfunc.C (Dispatch): use stringstream
14945 (MenuNew): use stringstream
14946 (Open): use stringstream
14948 * importer.C (Import): use stringstream
14950 * bufferview_funcs.C (CurrentState): use stringstream
14952 * LaTeX.C (run): use stringstream
14954 * BufferView_pimpl.C (savePosition): use stringstream
14955 (restorePosition): use stringstream
14956 (MenuInsertLyXFile): use stringstream
14958 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14971 * vspace.C: removed // -*- C++ -*- as first line.
14974 * version.h: added // -*- C++ -*- as first line.
14976 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14978 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14980 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14983 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14985 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14988 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14990 * gettext.C: include LString.h even when --disable-nls is on.
14992 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14994 * converter.h (Get): changed argument type from int to
14995 FormatList::size_type to avoid unnecessary conversion.
14997 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
15000 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15002 * gettext.h: include LString.h even when --disable-nls is on.
15004 2001-06-07 Juergen Vigna <jug@sad.it>
15006 * text.C (BreakAgain): subst spaces with tabs.
15008 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
15009 (resizeInsetsLyXText): set force on resizeLyXText.
15011 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15013 * gettext.h (gettext_init):
15014 (locale_init): use a real definition instead of a macro
15016 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
15018 * Bufferview_pimpl.C:
15020 * LColor.C: further lcolor tidies
15022 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15024 * BufferView_pimpl.C (updateScrollbar): simplify.
15026 * BufferView2.C: don't include insets/insetinfo.h, change
15027 prototype for insertInset and call the Pimpl version. let
15028 updateInset call Pimpl version.
15030 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15031 gotoInset to BufferView::Pimpl
15033 2001-06-01 Juergen Vigna <jug@sad.it>
15035 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15036 inside a LockingInset (is the update needed at all?).
15038 2001-05-31 Juergen Vigna <jug@sad.it>
15040 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15041 here not the old one otherwise how should we compare it afterwards
15044 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15049 * FontInfo.C: bring C functions into global namespace when
15052 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15054 * LString.h: make sure config.h has been loaded before LString.h.
15056 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15057 (one for each char read by EatLine!).
15059 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15062 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15064 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15065 to the same as the par we break from
15067 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15069 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15071 * MenuBackend.C (expand): also create menu entries for wide
15072 versions of the floats.
15074 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15076 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15078 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15079 frontends/Makefile.am
15085 * tabular.C (getTokenValue): add std::
15087 * tabular-old.C (getTokenValue): add std::
15088 (getTokenValue): ditto
15089 (getTokenValue): ditto
15091 * screen.C (ToggleSelection): adjust
15093 * lyxtext.h: put selection cursors inside a Selection struct.
15095 * lyxfunc.C (moveCursorUpdate): adjust
15097 * lyxfont.C (latexWriteStartChanges): add std::
15099 * lyxfind.C: adjust
15101 * font.h: delete with(char const *, LyXFont const &)
15103 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15105 * FontInfo.C (getFontname): add std::
15107 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15108 (workAreaButtonPress): adjust
15109 (tripleClick): adjust
15111 (moveCursorUpdate): adjust
15114 * BufferView2.C (gotoInset): adjust
15116 2001-05-30 Juergen Vigna <jug@sad.it>
15118 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15119 to check pspell I add this as default as I now have new pspell
15120 libraries and they seem to use this.
15122 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15124 * text2.C (CutSelection): make the cursor valid before the call to
15127 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15129 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15130 relied on 0 terminated strings and other horrors. Bug found due to
15131 the new assert in lyxstring!
15133 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15136 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15138 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15141 * lyxfunc.C (processKeySym): change method of getting to the
15144 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15145 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15146 * BufferView_pimpl.[Ch]: here as private methods.
15148 2001-05-28 Juergen Vigna <jug@sad.it>
15150 * text.C (SetHeightOfRow): added the update() call again as it is
15151 needed to initialize inset dimensions!
15153 2001-05-16 Juergen Vigna <jug@sad.it>
15155 * text2.C (SetCharFont): Add new function with BufferView * and
15156 bool toggleall parameters for setting insets internal fonts.
15157 (SetFont): Freeze the undo as we may change fonts in Insets and
15158 all this change should be inside only one Undo!
15160 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15161 setting font's in insets as for them we have the SetFont function!
15163 2001-05-15 Juergen Vigna <jug@sad.it>
15165 * text2.C (ClearSelection): to be sure we REALLY don't have any
15168 * tabular.C (TeXCellPreamble): fixed the left border problem for
15171 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15173 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15176 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15178 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15179 LFUN_BREAKPARAGRAPH.
15181 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15182 help test to "internal only", similar for LFUN_INSERT_URL
15184 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15185 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15186 auto_region_delete and deadkeys.
15188 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15191 * LColor.C: remove some dead entries, tidy a little
15193 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15195 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15197 (Dispatch): implement LFUN_ESCAPE
15199 * commandtags.h: add LFUN_ESCAPE
15201 * LyXAction.C (init): add entry for LFUN_ESCAPE
15203 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15204 Remove commented code.
15205 (insertNote): moved here
15206 (open_new_inset): moved here
15208 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15211 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15213 * kbmap.C (findbinding): clean it up and make it work correctly.
15215 * lyx_main.C (init): do not pass argc and argv as parameters
15217 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15219 * buffer.C: fix path for OS/2 & Win32
15223 * lyx_main.C: Added os:: class.
15225 * os2_defines.h: update
15227 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15229 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15230 better by trying again with reduced state.
15232 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15234 * lyxrc.C (read): print error about invalid key sequence only when
15235 debugging (because not all latinX keysyms are known to some X
15238 * kbsequence.C (getiso): add a few std:: qualifiers
15239 (getiso): comment out extra return statement.
15241 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15243 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15245 (Dispatch): enhance the accent inset a bit. (not perfect)
15247 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15249 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15251 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15253 * bufferlist.C (emergencyWrite): fix assert() call
15255 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15257 * text.C (InsertChar): Added trivial patch to only send the "you
15258 can not do multiple spaces this way" message once during a
15261 2001-05-08 Baruch Even <baruch@lyx.org>
15263 * Makefile.am: Changed order of libraries to get LyX to link properly
15264 with the gnome frontend.
15266 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15268 * LaTeXFeatures.h: add a std:: qualifier
15270 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15272 * paragraph.C (String): use stringstream
15274 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15276 * paragraph.C (writeFile): remove footflag arg
15278 * buffer.C (makeLaTeXFile): use stringstream
15279 (latexParagraphs): remove footnot gurba
15281 * LaTeXFeatures.C (getPackages): use stringstream
15282 (getMacros): likewise
15283 (getTClassPreamble): likewise
15284 (getFloatDefinitions): new method
15286 * paragraph.C (writeFile): reindent
15289 * WorkArea.h: revert the xpos + etc changes.
15291 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15293 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15295 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15296 (pasteSelection): likewise
15297 * text2.C (CreateUndo): likewise
15299 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15301 * minibuffer.C (peek_event): temporarily reduce the functionality
15302 of the minibuffer (to allow args on lfuns)
15304 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15305 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15307 * buffer.C (readInset): add compability reading of old float
15308 lists, add reading of new style float list.
15309 (readInset): avoid reevaluation of inscmd.getCmdName()
15310 (getLists): reindent
15312 * MenuBackend.C (MenuItem): implement parsing of
15313 md_floatlistinsert and md_floatinsert.
15314 (expand::LastFiles): move initalizaton of iterators out of loop,
15315 avoid reevaluation.
15316 (expand::Documents): introduce typdedef vector<string> Strings,
15318 (expand::ExportFormats): introduce typedef vector<Format const *>
15319 Formats, and use it.
15320 (expand): implement FloatListInsert and FloatInsert.
15322 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15323 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15324 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15326 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15328 (Dispatch::LFUN_FLOAT_LIST): implement
15330 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15332 * LaTeX.C (run): Fix problem with --export code.
15334 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15336 * BufferView.[Ch] (workarea): removed.
15337 (getClipboard) new method; wrapper for workarea()->getClipboard()
15339 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15342 * WorkArea.h (width, height, xpos, ypos): These methods all
15343 returned the dimensions of the work_area sub-area of WorkArea,
15344 resulting in a position error if the WorkArea were resized. Now
15345 return the dimensions of the entire WorkArea.
15347 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15349 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15351 * LaTeX.C (deplog): correct the syntax of regex reg1
15353 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15355 * undo.C: remove !NEW_INSETS cruft
15357 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15359 * text2.C: remove !NEW_INSETS cruft
15361 * text.C: remove !NEW_INSETS cruft
15363 * tabular.C: remove !NEW_INSETS cruft
15365 * spellchecker.C: remove !NEW_INSETS cruft
15367 * lyxtext.h: remove !NEW_INSETS cruft
15369 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15371 * lyxfunc.C: remove !NEW_INSETS cruft
15373 * lyxfind.C: remove !NEW_INSETS cruft
15375 * lyx_cb.C: remove !NEW_INSETS cruft
15377 * figureForm.C: remove !NEW_INSETS cruft
15379 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15381 * buffer.[Ch]: remove !NEW_INSETS cruft
15383 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15385 * CutAndPaste.C: remove !NEW_INSETS cruft
15387 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15389 * BufferView2.C: remove !NEW_INSETS cruft
15391 * BufferView.h: remove !NEW_INSETS cruft
15393 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15395 * Lsstream.h: include LString.h before the sstream headers to
15396 fix problem with gcc 2.95.3 and lyxstring
15398 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15400 * lyx_main.C: add using directives when needed for C functions
15401 declared in std:: namespace.
15403 2001-04-27 Juergen Vigna <jug@sad.it>
15405 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15406 (SetHeightOfRow): comment out the update call should not be needed!
15408 2001-04-13 Juergen Vigna <jug@sad.it>
15410 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15411 (LyXTabular): tried to minimize operator= operations (and realized
15412 hopfully Lars wish).
15414 2001-04-27 Juergen Vigna <jug@sad.it>
15416 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15418 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15420 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15422 * buffer.C (readInset): hack to make listof algorithm work
15424 * BufferView_pimpl.C: hack to make listof algorithm work
15426 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15428 * LyXAction.C: removed all !NEW_INSETS cruft
15429 (init): moved lfun_item in method
15431 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15433 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15435 * BufferView2.C (theLockingInset): white space.
15437 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15439 * minibuffer.C: include <iostream>
15441 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15443 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15445 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15447 * text.[Ch] (TransposeChars): new method
15449 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15451 * call message directly through LyXView instead of through LyXFunc
15452 * BufferView2.C: adjust
15453 * BufferView_pimpl.C: adjust
15454 * FontLoader.C: adjust
15456 * bufferview_funcs.C: adjust
15457 * converter.C: adjust
15458 * figureForm.C: adjust
15459 * importer.C: adjust
15461 * lyx_gui_misc.C: adjust
15462 * lyxfunc.C: adjust
15465 + more files in subdirs
15467 * lyxparagraph.h (size): move up int file
15470 * adjust all uses of Assert to lyx::Assert.
15472 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15473 lyxfunctional in namespace lyx
15474 * layout.C (hasLayout): ditto
15477 (delete_layout): ditto
15478 (NumberOfClass): ditto
15479 * converter.C (GetFormat): ditto
15484 * bufferlist.C (getFileNames): ditto
15485 (emergencyWriteAll): ditto
15488 * MenuBackend.C (hasSubmenu): ditto
15491 * BufferView_pimpl.C (getInsetByCode): ditto
15493 2001-04-18 Juergen Vigna <jug@sad.it>
15495 * vspace.C (asLatexString): fixed the 100% problem.
15497 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15499 * lyxfunc.C (Dispatch):
15501 * minibuffer.h: add a few std:: qualifiers
15503 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15505 * minibuffer.[Ch]: reimplement so that commands is initiated and
15506 run from lyxfunc, simplified som handling, and made the completion
15507 and history code for complete. wip.
15509 * lyxfunc.C (processKeySym): call message
15510 (miniDispatch): new temporary method
15511 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15512 (LFUN_MESSAGE): implement
15513 (LFUN_MESSAGE_PUSH): implement
15514 (LFUN_MESSAGE_POP): implement
15515 (initMiniBuffer): the initial/defualt minibuffer message.
15517 * lyxfont.[Ch]: inline some more getters
15519 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15521 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15523 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15524 (AutoSave): use LFUN_MESSAGE
15525 (Reconfigure): ditto
15527 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15529 * figureForm.C: use LFUN_MESSAGE
15531 * converter.C (runLaTeX): use LFUN_MESSAGE
15533 * bufferview_funcs.C: use LFUN_MESSAGE
15535 (changeDepth): ditto
15537 * bufferparams.h: use boost::
15539 * bufferlist.h: inherit privately from noncopyable
15541 * bufferlist.C (loadLyXFile): remove some commented code.
15543 * buffer.C (runChktex): use LFUN_MESSAGE
15545 * ShareContainer.h: inherit privately from noncopyable
15547 * ParagraphParameters.[hC] (depth): inline it.
15549 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15551 (message): new method
15552 (messagePush): ditto
15553 (messagePop): ditto
15554 (show): init minibuffer
15555 (showState): direct call
15557 * LaTeX.[Ch]: inherit privately from noncopyable
15558 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15559 instead of WriteStatus.
15561 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15563 * BufferView_pimpl.C (buffer): don't init minibuffer
15564 (workAreaButtonPress): use LFUN_MESSAGE
15565 (workAreaButtonRelease): ditto
15566 (savePosition): ditto
15567 (restorePosition): ditto
15568 (MenuInsertLyXFile): ditto
15569 (workAreaExpose): don't init minibuffer
15570 (update): remove commented code, simplify
15572 * BufferView2.C (openStuff): use LFUN_MESSAGE
15573 (toggleFloat): ditto
15576 (copyEnvironment): ditto
15577 (pasteEnvironment): ditto
15582 (updateInset): remove some commented code
15584 * lastfiles.h: inherit privately from noncopyable
15587 * lyx_main.h: ditto
15589 * lyxlex_pimpl.h: ditto
15591 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15592 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15593 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15595 * LyXAction.h: inherit privately from noncopyable, add methods
15596 func_begin, func_end, returning iterators to the func map.
15598 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15599 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15600 (func_begin): new method
15601 (func_end): new method
15603 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15605 (copySelection): ditto
15606 (pasteSelection): ditto
15608 * BufferView.C: whitespace change
15609 * BufferView.h: inherit privately from noncopyable
15611 2001-04-16 Allan Rae <rae@lyx.org>
15613 * tabular-old.C (l_getline):
15614 * spellchecker.C (sc_check_word):
15615 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15616 an unrecognised preprocessor directive. So ensure they're wrapped.
15618 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15620 * src/exporter.C (Export): Give an error message when path to file
15623 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15625 * LaTeX.C (deplog): Always check that foundfile exists.
15627 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15630 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15632 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15634 * tabular.[Ch] (getLabelList): implement new method
15636 * minibuffer.h: comment ouf setTiimer
15638 * minibuffer.C (ExecutingCB): constify res
15639 (peek_event): constify s
15640 (Set): constify ntext
15641 (Init): constify nicename
15643 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15645 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15646 (savePosition): use two params to Minibuffer::Set
15647 (restorePosition): ditto
15649 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15651 * lyx_main.C: include language.h
15653 * Makefile.am (lyx_main.o): add language.h
15655 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15661 * CutAndPaste.C: include gettext.h
15663 * lyxfont.h: remove old hack with ON and OFF.
15666 * lyxfont.h: do not include language.h...
15671 * bufferview_funcs.C:
15677 * paragraph.C: ... but do it here instead
15679 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15681 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15683 * tabular.C: small reformat
15685 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15688 (BreakParagraph): ditto
15689 (SetOnlyLayout): ditto
15692 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15695 * lastfiles.C: removed most using decl, add std:: where needed
15697 * buffer.C: ws changes
15699 * MenuBackend.C (class compare_format): put into anon namespace
15700 (expand): constify label, names, action, action2
15703 * text.C (SingleWidth): constify font
15704 (IsBoundary): constify rtl2
15705 (GetVisibleRow): constify ww
15707 * LaTeX.C (deplog): constify logfile
15709 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15711 (workAreaExpose): constify widthChange, heightChange
15713 * lyxrow.C (par): moved
15716 * lyxrow.h: as inlines here
15718 * lyxfont.h (shape): moved from lyxfont.C
15719 (emph): moved from lyxfont.C
15721 * lyxfont.C (LyXFont): use initialization list for all
15723 (shape): move to lyxfont.h as inline
15724 (emph): move to lyxfont.h as inline
15727 2001-04-04 Juergen Vigna <jug@sad.it>
15729 * vspace.C: had to include stdio.h for use of sscanf
15731 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15734 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15735 independent of xforms.
15737 2001-04-02 Juergen Vigna <jug@sad.it>
15739 * spellchecker.C: fixed namespace placing!
15741 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15743 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15744 the LyXParagraph * is 0.
15746 2001-03-29 Juergen Vigna <jug@sad.it>
15748 * vspace.C: added support for %, c%, p%, l%.
15749 (stringFromUnit): added helper function.
15750 (asLatexString): changed to give right results for the %-values.
15752 * buffer.C: convert the widthp in a width%.
15754 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15756 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15759 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15760 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15762 * lyx_cb.[Ch]: see above.
15764 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15768 * lyx.[Ch]: replaced by figure_form.[Ch].
15772 * lyxfunc.C: changed headers associated with above changes.
15774 2001-03-27 Juergen Vigna <jug@sad.it>
15776 * BufferView_pimpl.C: set the temporary cursor right!
15778 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15780 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15782 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15784 * LString.h: removed "using std::getline"!
15786 * BufferView_pimpl.C (Dispatch): changes due to changes in
15787 InsetInclude::Params.
15789 * buffer.C (tag_name): removed redundant break statements as they were
15790 producing lots of warnings with my compiler.
15792 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15794 * LString.h: add "using std::getline" when using the real <string>.
15796 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15798 * buffer.C: removed bitset usage.
15799 PAR_TAG moved to an anonymous name space.
15800 (tag_name): new funtion, also in the anonymous namespace.
15801 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15802 (makeDocBookFile): clean code. Completed transition from string arrays
15804 (SimpleDocBookOnePar): code clean.
15806 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15808 * tabular.C: add some comments.
15810 2001-03-22 Juergen Vigna <jug@sad.it>
15812 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15813 compatibility read a bit and fixed bug with minipage in different
15816 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15818 * buffer.C (pop_tag): removed.
15819 (push_tag): removed.
15820 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15821 array replaced with vector. Added support for CDATA sections.
15822 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15824 (makeDocBookFile): XML conformant declaration of CDATA section,
15825 fixed bug related to <emphasis> in the first paragraph char.
15826 (sgmlOpenTag): exclude empty tags.
15827 (sgmlCloseTag): ditto.
15829 * buffer.h (pop_tag): removed.
15830 (push_tag): removed.
15832 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15834 * language.h (Languages): added size_type and size().
15836 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15838 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15839 response on compability reading of minipages. One probliem is that
15840 the old usage of minipages was «flertydig»
15842 * several files here and in subdirs: don't use static at file
15843 scope use anon namespaces instead.
15845 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15847 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15848 LaTeX output. This is necessary for Literate document
15851 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15853 * buffer.C: insert hfill when needed.
15855 * tabular.C (l_getline): use string::erase, small whitespace change.
15857 * BufferView_pimpl.C: try the anon namespace.
15858 * WorkArea.C: ditto
15860 2001-03-16 Juergen Vigna <jug@sad.it>
15862 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15863 otherwise it won't open options-dialogs.
15865 * buffer.C: honor pextraWidth(p) on converting minipages.
15867 * tabular.C (l_getline): changed the functions to strip trailing \r.
15869 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15871 * BufferView_pimpl.C:
15872 * minibuffer..C: added "using SigC::slot" declaration.
15874 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15876 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15882 * paragraph.C: ditto
15884 * lyxtext.h: NO_PEXTRA
15886 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15888 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15889 * ParameterStruct.h: ditto
15890 * ParagraphParameters.h: ditto
15891 * lyxparagraph.h: ditto
15893 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15895 * buffer.C: add compability for minipage alignment.
15896 (latexParagraphs): remove unwanted pextra check.
15898 * several files: remove CXX_WORKING_NAMESPACES
15900 * buffer.C (pop_tag): tie is in namespace boost
15902 * BufferView.h: noncopyable is in namespace boost
15904 * lyx_main.h: ditto
15907 * lastfiles.h: ditto
15908 * bufferlist.h: ditto
15909 * ShareContainer.h: ditto
15911 * LyXAction.h: ditto
15914 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15916 * Merging changes from BRANCH_MVC back into HEAD.
15918 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15920 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15922 * BufferView_pimpl.C: change from intl.C
15926 * Makefile.am: move combox.*
15932 * intl.C: remove dialog (covered by prefs)
15934 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15936 * lyxfunc.C (Dispatch): removed redundant break statement.
15938 2001-03-14 Juergen Vigna <jug@sad.it>
15940 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15942 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15944 * buffer.C: add hack to fix compability reading of minipages.
15946 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15948 * buffer.C (getLists): Cleanup.
15950 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15952 * lyxfont.C (update): don't honor toggleall on font size.
15954 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15958 * Makefile.am: moved to frontends/xforms/
15962 * BufferView_pimpl.C: changes for moved mathpanel
15964 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15966 * gettext.h: fix gettext_init() in --disable-nls
15968 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15970 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15972 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15975 * lyx.h: strip external form
15977 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15979 * BufferView_pimpl.C: add comment, destroySplash()
15981 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15983 * BufferView_pimpl.C:
15987 * lyxfunc.C: use re-worked insetinclude
15989 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15991 * buffer.C: add using std::stringstream.
15993 * lyx_cb.C: readd using std::ios.
15995 * buffer.C: add using std::map.
15997 * BufferView_pimpl.C: add using std::vector.
15999 * ShareContainer.h: add std:: to swap.
16001 * buffer.h: add some typedefs
16002 * buffer.C (getLists): use them
16003 (getLists): renamed from getTocList.
16004 add a counter for the different float types and use it in the
16006 (getLists): use the same counter for the NEW_INSETS and the "non"
16009 * lyx_cb.h: remove unused items, includes, using etc.
16011 * ShareContainer.h: remove some commented code, add more comments
16012 and "documentation".
16014 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16016 * buffer.C (getTocList): make the list also when NEW_INSETS is
16019 * buffer.h: remove TocType
16021 * buffer.C (getTocList): change to return a map<string,
16022 vector<TocItem> >, implement for dynamic number of list.
16024 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16025 * text2.C (PasteSelection): adjust
16026 * CutAndPaste.C (pasteSelection): adjust
16028 * FloatList.C (FloatList): update from the new_insets branch.
16029 * Floating.[Ch]: ditto
16030 * LaTeXFeatures.C: ditto
16032 * lyxlex_pimpl.C: ditto
16034 * paragraph.C (Last): remove when NEW_INSETS is defined.
16036 * other file: changes because of the above.
16038 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16040 * lyxparagraph.h: rename next to next_, previous to previous_,
16041 make them private for NEW_INSETS. Rename Next() to next(),
16042 Previous() to previous().
16044 * other files: changes because of the above.
16046 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16049 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16052 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16054 * main.C (main): pass lyx_localedir to gettext_init().
16056 * gettext.h: remove locale_init and gettext_init macros
16058 * gettext.C (locale_init): new function
16059 (gettext_init): new function
16061 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16064 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16066 * Moved credits to frontends:
16067 * credits.[Ch]: removed
16068 * credits_form.[Ch]: removed
16069 * lyx_gui_misc.C: remove credits stuff
16072 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16074 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16076 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16077 unneeded destructor.
16079 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16080 a standalone pointer again.
16082 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16084 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16090 * ToolbarDefaults.C:
16099 * BufferView_pimpl.C: use new file dialog in GUII
16102 * lyx_cb.C: remove LayoutsCB to Toolbar
16104 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16106 * ShareContainer.h (get): add std:: qualifier
16108 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16110 * ShareContainer.h: define a proper ShareContainer::value_type
16111 type (and use typename to please compaq cxx)
16113 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16115 * lyxparagraph.h: move serveral local vars to
16116 ParameterStruct/ParagraphParameters., use ShareContainer in
16117 FontTable., make vars in FontTable private and add getter and
16120 * paragraph.C: changes because of the above.
16122 * lyxfont.h: remove copy constructor and copy assignment. (the
16123 default ones is ok), move number inside FontBits. move inlines to
16126 * lyxfont.C: add number to initializaton of statics, move several
16127 inlines here. constify several local vars. some whitespace
16128 cleanup. Dont hide outerscope variables.
16130 * Spacing.h: add two new constructors to match the set methods.
16132 * ShareContainer.h: new file, will perhaps be moved to support
16134 * ParameterStruct.h: new file
16136 * ParagraphParameters.h: new file
16138 * ParagraphParameters.C: new file
16140 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16141 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16143 * BufferView_pimpl.C: ParagraphParameter changes.
16144 * buffer.C: Likewise.
16145 * bufferview_funcs.C: Likewise.
16146 * text.C: Likewise.
16147 * text2.C: Likewise.
16149 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16151 * lyxfind.C (LyXReplace): do not redefine default argument in
16153 (IsStringInText): ditto
16154 (SearchForward): ditto
16155 (SearchBackward): ditto
16157 2001-03-06 Juergen Vigna <jug@sad.it>
16159 * lyxfind.C (IsStringInText): put parentes around expressions.
16161 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16163 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16165 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16167 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16169 * stl_string_fwd.h: add comment
16171 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16174 * tabular.C: remove unused DocBook methods
16180 killed DO_USE_DEFAULT_LANGUAGE
16182 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16184 * lyx_gui.C: do not include language.h.
16186 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16187 arguments in function implementation.
16189 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16191 * BufferView_pimpl.C: add <ctime>
16193 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16195 * BufferView_pimpl.C: add using std::find_if
16197 2001-02-27 José Matos <jamatos@fep.up.pt>
16199 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16202 2001-02-11 José Matos <jamatos@fep.up.pt>
16204 * buffer.C (makeDocBookFile): command styles now have a parameter as
16205 "title" by default.
16207 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16209 * layout_forms.[Ch]: removed
16210 * lyx_cb.[Ch]: out character
16211 * lyx_gui.C: out character
16212 * lyx_gui_misc.C: out character
16213 * bufferview_funcs.C: : out character,
16214 added toggleall as parameter in ToggleAndShow
16216 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16218 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16220 * text2.C (SetCurrentFont): Disable number property at boundary.
16222 2001-02-26 Juergen Vigna <jug@sad.it>
16224 * lyxfunc.C (getStatus): added a string argument override function so
16225 that this is correctly called from LyXFunc::Dispatch if it contains a
16226 do_not_use_argument which is used!
16227 (Dispatch): added check for "custom" export and call appropriate func.
16229 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16231 * lyxrc.C: Add language_command_local, language_use_babel and
16232 language_global_options.
16234 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16236 * buffer.C (makeLaTeXFile): Use language_use_babel and
16237 language_global_options.
16239 2001-02-23 Juergen Vigna <jug@sad.it>
16241 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16242 which works with LyXText and putted it inside BufferView. Here now we
16243 only call for that part the BufferView::Dispatch() function.
16245 * BufferView.C (Dispatch): added.
16247 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16248 functions which needs to use a LyXText over from LyXFunc.
16249 (MenuInsertLyXFile): added
16250 (getInsetByCode): added
16251 (moveCursorUpdate): added
16252 (static TEXT): added
16254 2001-02-22 Juergen Vigna <jug@sad.it>
16256 * BufferView_pimpl.C (update): call a status update to see if LyXText
16259 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16261 * vc-backend.C (revert): implement for CVS
16262 (getLog): implement for CVS
16264 2001-02-20 Juergen Vigna <jug@sad.it>
16266 * text2.C (ClearSelection): added BufferView param for inset_owner call
16268 * lyxfunc.C (TEXT): added this function and use it instead of
16269 directly owner->view()-text of getLyXText().
16271 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16273 * src/layout_forms.C: out preamble
16274 * src/layout_forms.h: out preamble
16275 * src/lyx_cb.C: out preamble
16276 * src/lyx_cb.h: out preamble
16277 * src/lyx_gui.C: out preamble
16278 * src/lyx_gui_misc.C: out preamble
16279 * src/lyxfunc.C: connect with guii preamble
16281 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16283 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16285 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16287 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16288 whether to run bibtex.
16290 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16292 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16294 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16296 * Makefile.am (lyx_SOURCES): removed bibforms.h
16298 * vspace.h: doxygen
16300 * text.C (GetVisibleRow): make several local vars const
16302 * tabular.C: small cleanup.
16304 * lyxserver.C (callback): use compare instead of strncmp
16306 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16307 inlines to after class or to paragraph.C
16309 * lyxfont.h: remove friend operator!=
16311 * converter.h: move friend bool operator< to non friend and after
16314 * combox.h: small cleanup
16316 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16317 to inlines after class def.
16319 * buffer.C (pop_tag): use string operations instead of strcmp
16321 * bmtable.c: doxygen, small cleanup
16323 * LaTeX.h: remove friend operator==
16325 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16337 * BufferView_pimpl.C:
16338 * BufferView.[Ch]: remove cruft
16340 2001-02-14 Juergen Vigna <jug@sad.it>
16342 * lyxfunc.C: removed #if 0 unused code
16344 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16346 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16348 * text2.C (SetSelection): added a BufferView * parameter
16350 2001-02-13 Juergen Vigna <jug@sad.it>
16352 * lyxfunc.C (Dispatch): fixed protected blank problem.
16353 * BufferView2.C (protectedBlank): added LyxText * parameter.
16355 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16356 (AppendColumn): same as above for column_info.
16358 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16359 (moveCursorUpdate): use a LyXText param for support of InsetText.
16361 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16362 (tripleClick): ditto
16364 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16366 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16368 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16370 * text2.C (SetSelection): set correct update status if inset_owner
16371 (ToggleFree): ditto
16373 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16375 * tabular.C: remove some commented code.
16377 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16379 * BufferView_pimpl.C: call hideSplash()
16381 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16384 * bibforms.h: remove
16387 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16388 add LFUN_CHILD_CREATE
16390 * counters.h: fix tiny typo
16395 * lyx.C: move splash to frontends/xforms/
16397 * lyx_gui_misc.C: move Include and Bibform to frontends
16399 * lyxvc.h: clarify comment
16401 * vspace.C: tiny housekeeping
16403 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16405 * text.C (PrepareToPrint): RTL Fix.
16407 * paragraph.C (GetUChar): New method.
16408 (String): Use GetUChar.
16410 * buffer.C (asciiParagraph): Use GetUChar.
16412 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16414 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16416 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16419 * buffer.C: rename to getLogName(), handle
16420 build log / latex log nicely
16422 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16425 * MenuBackend.h: remove support for reference menuitem type.
16427 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16429 * BufferView_pimpl.C: housekeeping
16430 * BufferView_pimpl.h:
16435 * minibuffer.h: move Timeout GUI-I
16437 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16439 * lyxrc.C (read): Update converters data-structures.
16441 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16443 * LaTeX.h (operator!=): add operator != for Aux_Info
16445 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16447 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16449 * LaTeXLog.C: deleted, useful code moved to Buffer
16452 * buffer.C: new function getLatexLogName()
16458 * lyxfunc.C: use frontends for LaTeX and VC logs
16460 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16462 * LaTeX.h: yet another std:: that Allan forgot.
16464 * Variables.C (set): renamed from isset(), because this clashes
16465 with some HP-UX macros (grr).
16467 2001-02-06 Allan Rae <rae@lyx.org>
16469 * LaTeX.h: Another bug fix. Missing std:: this time.
16471 2001-02-04 Allan Rae <rae@lyx.org>
16473 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16474 floats problem. I've left it commented out because it's not quite
16475 correct. It should also test that the current object is a table or
16476 figure inset. But I haven't gotten around to figuring out how to do
16477 that. I *think* it'll be something like: "table" == inset.type()
16479 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16482 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16484 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16485 all the citation/databases/styles in the auxilary file.
16486 (run): Rerun latex if there was a babel language error.
16488 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16490 * text.C (Backspace): Preserve the font when changing newline char
16492 (BreakParagraph): If the cursor is before a space, delete the space.
16494 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16496 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16498 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16499 new argument (code).
16500 (ChangeCitationsIfUnique): New method.
16502 * paragraph.C (GetPositionOfInset): Handle bibkey.
16504 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16506 * BufferView_pimpl.h: change type of Position::par_pos to
16507 LyXParagraph::size_type.
16509 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16511 * BufferView_pimpl.C (savePosition, restorePosition): Write
16512 messages to minibuffer.
16514 2001-01-28 José Matos <jamatos@fep.up.pt>
16516 * buffer.C (makeDocBookFile): adds support for document language.
16517 A silly restriction on the name of LatexCommand types where removed.
16518 Added support for CDATA sections, allows to chars unescaped, used
16519 among others in code, to avoid escape < and >.
16521 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16523 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16524 saved positions instrad of a stack. Furthermore, a position is
16525 stored using paragraph id/paragraph position.
16527 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16528 Remove LFUN_REF_BACK.
16530 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16532 * converter.C (dvipdfm_options): New method.
16534 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16536 * vspace.C (isValidLength): Fix for empty input string.
16538 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16540 * LyXAction.C (init): change description of LFUN_FIGURE to
16543 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16545 * LaTeX.C: add using directive
16547 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16549 * MenuBackend.C (expand): Fix the sorting of the formats.
16551 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16553 * lyx_main.C: tiny error message fix
16555 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16557 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16558 calling fl_initialize(). This fixes the problem with ',' as
16559 decimal separator in text files.
16561 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16563 * trans.C (process): Fix the keymap bug.
16565 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16567 * LaTeX.C (scanAuxFiles): New method. Provides support for
16568 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16569 (scanLogFile) Scan for "run BibTeX" messages.
16571 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16572 OT1 font encoding. Also, load the aecompl package if the ae
16575 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16577 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16579 * texrow.C (increasePos): turn two error messages into debug
16582 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16584 * LaTeX.C (scanAux): Handle the \@input macro.
16585 (runBibTeX): Use scanAux().
16587 * language.C (latex_options_): New field.
16589 * LaTeXFeatures.C (getMacros): Add language macros.
16591 * buffer.C (makeLaTeXFile): Small fix.
16593 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16595 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16597 * text2.C: add a using directive.
16599 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16604 * lyxfunc.C: kill LyXBell.
16606 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16608 * text.C (IsBoundary): Remove the error message
16610 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16612 * lyxrc.C (setDefaults): Correct initialization value for
16615 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16617 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16620 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16621 and GotoNextNote().
16623 * src/LyXAction.C: Added reference-next.
16625 * text.C (InsertChar): Use contains instead of strchr.
16627 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16629 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16631 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16632 alignment commands (when needed).
16634 * text.C (InsertChar): Add ':' to number separator chars.