1 2004-11-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * broken_headers.h: remove
5 * Makefile.am (lyx_SOURCES): remove broken_headers.h
7 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
9 * BufferView.[Ch]: remove top_y, introduce anchor_ref,
12 * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
13 top_y_, merge fitcursor with update
14 (updateScrollbar, scrollDocView, fitCursor, center, update): new
17 (workAreaDispatch): adapt to new coord scheme
18 (redoCurrentBuffer): remove
20 * FontIterator.[Ch]: Use Paragraph & instead of pit_type
22 * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
25 * coordcache.[Ch]: add paragraph cache and helpers
27 * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
30 * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
31 (targetX, setTargetX): introduce
33 * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
34 baseline -> ascent, as the rest of lyx
36 * lyxtext.h: remove redoParagraphs, updateParPositions,
37 fullRebreak, redoParagraphInternal. move dist to anon namespace in
38 tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
39 have ascent/descent (ascent is ascent of first par)
41 * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
44 * paragraph.[Ch]: unify dimension handling with the rest of lyx
46 * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
48 * pariterator.C: fix infinite loop introduced in par->pit renaming
50 * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
51 in insets and LyXText, draw two off-screen paragraphs using
52 NullPainter, and adapt to new coord scheme
56 * text3.C: adapt lfun handlers to the new coord scheme, which
57 means: there's only guaranteed coord information for onscreen pars
58 plus one above and one below. This implies that one can do search
59 from y coordinates in the range [-1,workHeight]
61 2004-11-25 Lars Gullik Bjonnes <larsbj@gullik.net>
63 * rename a lot of InsetOld to InsetBase
65 2004-11-25 Angus Leeming <leeming@lyx.org>
69 * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
71 2004-11-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
73 * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
74 call BufferView::getStatus if LCursor::getStatus did nothing
75 (setStatusMessage, getStatusMessage): removed.
77 * FuncStatus.C (message): new methods. Used to provide an error
78 message indicating why a command is disabled.
79 (clear, |=, FuncStatus): update for message.
81 2004-11-23 Georg Baum <Georg.Baum@post.rwth-aachen.de>
83 * lyxfunc.C (dispatch): always call sendDispatchMessage
85 2004-11-24 Alfredo Braunstein <abraunst@lyx.org>
102 * undo.C: par->pit renaming
104 2004-11-23 Lars Gullik Bjonnes <larsbj@gullik.net>
106 * tabular.C (cellstruct): use initialization, store a shared_ptr
107 to insettext instead of the insettext directly, adjust to fit.
108 (operator=): new function
110 (rowstruct): use initialization
111 (columnstruct): use initialization
112 (ltType): use initialization
115 * lyxlength.h (swap): new function
117 * LColor.[Ch] (operator=): use the common semantics
119 2004-11-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
121 * lyxfind.C (findNextChange): update the bufferview after setting
124 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
126 * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
127 number of InsetOptArgs has already been inserted.
129 * output_latex.C (latexOptArgInsets): new method. This outputs all
130 the optarg insets, up to the limit defined in the layout file.
131 (optArgInset): removed
132 (TeXOnePar): call latexOptArgInsets; correctly update texrow
134 2004-11-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
136 * paragraph.C (isLetter): remove special spellchecker-related
137 code; return true also for digits
138 (isWord, isKomma): remove
140 * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
141 * lyxfind.C (MatchString()): use isLetter instead of isWord
143 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
145 * pariterator.h (operatir=): comment out un-implemented member
148 * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
151 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
153 * lyxfont.h: include LColor.h to satisfy concept checks.
155 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
157 * pariterator.h: add typdefs for value_type, difference_type,
158 pointer and reference to satisfy concept checks. Also add default
159 constructor for same reason.
161 * pariterator.C (operator++): add post-increment operator to
162 satisfy concept checks.
164 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
167 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
169 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
170 checks. Also rename base_type to BaseType to follow naming
173 * FloatList.h: include Floating.h to satisfy concept checks.
175 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
177 * lyxfunc.C (getStatus): when the origin of the request is menu or
178 toolbar, and the LyXView does not have focus, do as if there was
181 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
182 FuncRequest to individual entries of LFUN_SEQUENCE
184 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
186 * output_latex.C (TeXOnePar): override runparams.moving_arg
187 according to the needprotect value of the current paragraph (bug
190 * paragraph.C (simpleTeXOnePar): no need to override
191 runparams.moving_args here
193 2004-11-14 John Spray <spray_john@users.sourceforge.net>
195 * vspace.C: fix off-by-one-error, related to fix #1682
197 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
199 * lengthcommon.C: a more general fix for bug 1682
201 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
203 * text.C (backspace): fix crash
205 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
207 * format.[Ch] (getFormatFromFile): new method
208 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
210 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
214 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
216 * lyxfunc.C (dispatch): remove the verbose argument
217 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
220 * kbmap.C (defkey): set the origin of func to KEYBOARD
222 * MenuBackend.C (MenuItem):
223 * ToolbarBackend.C (add): set the origin of func to UI
225 * funcrequest.[Ch]: add origin member, which indicates which part
226 of LyX requests an action
228 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
230 * converter.C (move): don't lie in the error message
231 * converter.h (isReachable, move): document
233 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
235 * buffer.C: remove unused using lyx::support::atoi
236 * paragraph_funcs.C: ditto
238 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
240 * bufferlist.C (exists): use bind and equal_to instead of
243 * lyxtextclasslist.C (NumberOfClass): ditto
245 * cursor.C (insert): use for_each instead of explicit for loop
247 * bufferlist.C (getFileNames): use std::transform and
248 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
250 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
253 * buffer.C (changeLanguage): use for_each instead of explicit for
255 (hasParWithID): implement using getParFromID
257 * LaTeXFeatures.C: ws change only
259 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
262 * BufferView_pimpl.C (trackChanges): use for_each instead of
265 2004-11-04 André Pönitz <poenitz@gmx.net>
268 * undo.C (textUndoOrRedo): fix crash when creating undo information.
270 * dociterator.C (asDocIterator): use hard assert again.
272 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
274 * lyxlength.C (asLatexString): rewrite so that it does not use
277 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
279 * text3.C (specialChar, dispatch): make sure cursor moves to the
280 right after inserting an inset
282 2004-11-02 José Matos <jamatos@lyx.org>
284 * output_docbook.C (docbook):
285 * paragraph.C (getID):
286 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
287 garantee that the output is always legal.
289 * tabular.C (docbook):
290 * outputprams.[Ch]: remove mixed contents.
292 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
294 * text2.C (setCounter): prevent endless loop
296 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
298 * exporter.C (copyFile): use the mover instead of support::copy()
299 * exporter.C (Export): pass format and latex name to copyFile()
300 * exporter.h (addExternalFile): document
301 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
303 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
305 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
307 2004-10-30 José Matos <jamatos@lyx.org>
309 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
310 text and no inset or font change. This allows to use CDATA
311 sections just for the whole paragraph.
313 2004-10-30 José Matos <jamatos@lyx.org>
315 * paragraph.C (getFirstWord): remove unused variable.
317 2004-10-30 José Matos <jamatos@lyx.org>
319 * paragraph.C (getFirstWord): the content should always be escaped
321 (simpleDocBookOnePar):
322 * output_docbook.C (makeEnvironment): replace reference to CDATA
325 2004-10-30 José Matos <jamatos@lyx.org>
327 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
329 2004-10-30 José Matos <jamatos@lyx.org>
331 * output_docbook.C (makeParagraphs):
332 * paragraph.[Ch] (emptyTag): for docbook and company, if the
333 standard paragraph has only a given type of content drop the wrapper.
335 2004-10-29 José Matos <jamatos@lyx.org>
337 * output_docbook.C (makeEnvironment):
339 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
341 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
343 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
344 (cleanID): sanitize any id.
346 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
348 * buffer.C, lyxlex_pimpl.C:
349 * lyxlex_pimpl.C (setFile):
350 s/getExtFromContents/getFormatFromContents/
352 2004-10-28 José Matos <jamatos@lyx.org>
354 * output_docbook.C (makeEnvironment): move id to broadest possible
357 * sgml.C (openTag): apply substitution of <> for all attributes.
359 2004-10-28 José Matos <jamatos@lyx.org>
361 * buffer.C (makeLinuxDocFile, makeDocBookFile):
362 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
363 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
365 * sgml.[Ch]: new version for open and closeTag for paragraph and
366 for strings. Now they handle the ids of paragraphs.
368 2004-10-26 Angus Leeming <leeming@lyx.org>
370 * Makefile.am: add mover.[Ch].
372 * converter.C (convert, move): use the new Movers to move external
373 files to the temp directory.
375 * lyx_main.C (init): ensure that the global system_movers data
378 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
381 * mover.[Ch]: new files, defining a Mover as a utility to move an
382 external file between directories and, if necessary, manipulate this
383 file using a helper script.
385 2004-10-25 José Matos <jamatos@lyx.org>
387 * output_docbook.C (makeCommand): merge two if's that tested the
390 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
392 * sgml.C (escapeString): fix warning in a better way
394 2004-10-25 José Matos <jamatos@lyx.org>
396 * sgml.C (escapeString): import the require boosts header file for
397 tie, and avoid a signed unsigned comparison.
399 2004-10-25 José Matos <jamatos@lyx.org>
401 * sgml.h: add #include <string>
403 2004-10-25 José Matos <jamatos@lyx.org>
405 * sgml.[Ch] (escapeString): new function to escape all the string.
407 2004-10-24 José Matos <jamatos@lyx.org>
409 * paragraph.[Ch] (getFirstWord): new function to get the first
410 word. Useful for description.
411 (simpleDocBookOnePar): remove depth argument, add another that
412 says where to start the paragraph.
414 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
415 use the new functions to fix cleanly the support for descriptions.
417 2004-10-24 José Matos <jamatos@lyx.org>
419 * buffer.C (makeLinuxDocFile, makeDocBookFile):
420 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
421 * output_linuxdoc.C (linuxdocParagraphs):
422 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
423 add buffer as argument.
425 2004-10-24 José Matos <jamatos@lyx.org>
427 * output_docbook.C (makeEnvironment, searchEnvironment): place
428 CDATA inside paragraphs and fix scope for listitems.
430 2004-10-24 José Matos <jamatos@lyx.org>
432 * output_docbook.C: remove using statement for stack.
434 2004-10-23 José Matos <jamatos@lyx.org>
436 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
437 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
438 docbook. The new scheme is recursive and makes use of iterators, the
439 same as latex export works.
440 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
441 directly with the paragraph contents. This code was moved up to
442 output_docbook.C (docbookParagraphs).
443 * sgml.C (openTag, closeTag): removed unneeded newlines.
444 (closeEnvTags) removed.
446 2004-10-23 André Pönitz <poenitz@gmx.net>
448 * undo.C (textUndoOrRedo):
449 * dociterator.C (asDocIterator): work around crash
451 * cursor.C (getStatus): replace ASSERT by more verbose error message
452 and manual correction of the problem. Should increase stability
453 while providing more sensible information.
455 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
457 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
459 * bufferlist.C (previous, next): new methods
462 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
464 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
466 * buffer.C (makeDocBookFile): add dsssl stylesheet control
467 entities to preamble.
469 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
471 * messages.C (Pimpl): strip off translation context information
473 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
475 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
476 the cursor is correct (bug 1694)
478 2004-10-13 José Matos <jamatos@lyx.org>
480 * output_docbook.C (docbookParagraphs): fix closing tags in the
483 2004-10-09 José Matos <jamatos@lyx.org>
485 * buffer.C: format up to 237.
486 * bufferparams.C (write): use tostr to convert booleans to strings.
488 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
490 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
492 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
494 * LaTeX.C: implement use of babel language in xindy.
496 2004-10-05 José Matos <jamatos@lyx.org>
498 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
499 Add new translators to help reading and writing the lyx file.
501 2004-10-05 José Matos <jamatos@lyx.org>
503 * ParagraphParameters.C (read):
504 * text.C (readParToken): replace nexToken by more appropriate lex
507 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
509 * LaTeX.C (runMakeIndex):
510 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
511 (usually 'makeindex') configurable.
513 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
514 with a variable rather than with a number.
516 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
518 * output_latex.C (TeXOnePar): make sure font setting is the first
519 thing that gets output (and the last at the end). Should fix bug
522 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
524 * pch.h: use proper signal include
526 * LaTeX.h: Use preferred calling of Boost.Signal
529 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
531 * pch.h: dont include <boost/function/function0.hpp>
533 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
535 * paragraph_pimpl.h: remove usage of ShareContainer
537 * paragraph_pimpl.C: remove initialization of ShareContainer.
539 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
543 * BufferView.C (putSelectionAt): change the semantics when
544 backwards == true: now, this just swaps cursor and anchor wrt the
547 * BufferView.h (putSelectionAt): add some documentation
549 * lyxfind.C (findBackwards): rewrite using while(). In particular,
550 make sure backwardChar is done at least once (to avoid getting
552 (findNextChange): use putSelectionAt in the forward direction
553 (operator()): use Paragraph::isWord
555 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
557 * Spacing.C (set): c_str fix
559 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
561 * lyx_cb.C (Reconfigure): quote the name of configure script in
562 case it contains spaces
564 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
568 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
569 (BOOST_LIBS): use top_buildir when looking for the file
571 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
573 * pch.h: do not use include boost/format.hpp, multiple symbols
574 will result (gcc bug)
577 2004-08-23 José Matos <jamatos@lyx.org>
579 * bufferparams.C (readToken): fix reading of the author field.
581 2004-08-20 José Matos <jamatos@lyx.org>
583 * lyxrc.C: remove support/translator.h inclusion since it is not used.
585 2004-08-20 José Matos <jamatos@lyx.org>
587 * lyxlex.[Ch] (findToken): remove function.
589 * ParagraphParameters.C (findToken):
590 * bufferparams.C (findToken): replace call for previous function
591 with local copy. This local function has one more argument, the
592 read string argument.
594 2004-08-16 José Matos <jamatos@lyx.org>
596 * ParagraphParameters.C (write):
597 * Spacing.C (writeFile):
598 * bufferparams.C (writeLaTeX):
599 * lyx_cb.C (Reconfigure):
600 * paragraph.C (write):
601 * tabular.C (write): remove unnecessary space at end of line.
604 2004-08-16 José Matos <jamatos@lyx.org>
606 * text.C (readParagraph): remove debug message.
608 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
610 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
613 * output_plaintext.C (asciiParagraph): set depth correctly
615 * outputparams.h: add member depth
617 * paragraph_funcs.C (ownerPar): remove.
619 * text2.C (setCounter): remove first_pit; comment out some
620 non-working code that uses ownerPar
622 * BufferView.C (getParentLanguage): remove. Not used anymore, and
625 2004-08-16 José Matos <jamatos@lyx.org>
627 * text.C (readParToken, readParagraph, read): report all unknown tokens.
628 For the same level of importance use the same chanel to report problems.
629 (read): add code to deal with \begin_body and \end_body.
632 2004-08-15 José Matos <jamatos@lyx.org>
634 * lyxlex.C (getString): fix comment, buffer::readBody is now
637 * tex-strings.C (string_papersize): Default -> default,
638 Custom -> custom, for consistency with other options.
640 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
644 * Makefile.am: support pch
646 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
648 * text.C (readParToken): remove the static LyXFont variable and
649 pass it as a parameter instead. This fixes a nasty bug where an
650 inset will be inserted with a bad font in some situations
651 (readParagraph): adapt
653 * text2.C (setCounter): reduce number of calls to pars_[pit]
655 * text.C (singleWidth): add an assert, fix a test
657 * rowpainter.C (paintText): reduce number of calls to singleWidth
659 * paragraph.C (isHfill):
662 2004-08-14 André Pönitz <poenitz@gmx.net>
667 * lyxtext.h (several functions): use a Paragraph & argument
670 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
672 * metricsinfo.h: add a new field ltr_pos to PainterInfo
674 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
676 * text.C (singleWidth): remove useless test
678 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
680 * tabular.h: remove bogus comments
682 * tabular.C (getDescentOfRow):
683 (isPartOfMultiColumn): add assertions
685 * lyxlength.C (inPixels): remove #warning
687 2004-08-14 André Pönitz <poenitz@gmx.net>
689 * paragraph.h: inline getChar()
691 * BufferView.h: remove unused declarations
693 2004-08-14 José Matos <jamatos@lyx.org>
695 * Buffer.[Ch] (readDocument): new name for old readBody.
696 * Buffer.C: new file format, new keywords: \begin_document,
697 \begin_header, \begin_body, \end_body.
699 * bufferparams.C (readToken): replace all calls to lex.nextToken
700 by lex.next(). Do the same to eatLine except where really needed.
702 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
703 line when writing to the lyx file.
705 * output_plaintext.C (asciiParagraph): fix Bibliography style
708 * text.C (read): fix end of file handling.
710 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
712 * MenuBackend.C (Menu::operator[]): new method to access
713 individual menu items
714 (Menu::hasFunc): new method. search for an item that corresponds
716 (MenuBackend::specialMenu): new method
717 (MenuBackend::expand): if a special menu has been set, skip
718 entries whose func() appears in this menu
720 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
722 * text3.C: use Debug::DEBUG a bit more
724 * text.C (leftMargin): try to simplify a tiny bit change var x to
725 l_margin. Dont output the wide margins always.
726 (rightMargin): no margin in inner texts
728 * rowpainter.h (nestMargin): new func
729 (changebarMargin): new func
730 (rightMargin): new func
732 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
736 * factory.C (createInset): modify setDrawFrame
738 * cursor.C: use Debug::DEBUG a bit more
740 2004-08-14 André Pönitz <poenitz@gmx.net>
743 * Makefile.am: new files to accomodate an 'external' (x,y)-position
744 cache for all insets in (at least partially) visible (top-level)
747 * BufferView_pimpl.C: reset external coord cache before every update.
748 This means the coord cache only contains valid entries.
750 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
753 * BufferView_pimpl.C (getInsetByCode): move function out of class
754 and change in to a template in anon namespace. Also fix to do what
757 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
760 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
762 (breakParagraph): rename par to par_offset and use a local
763 reference. Add code to keep the language over a rebreak.
764 (breakParagraphConservative): rename par to par_offset, use a
766 (mergeParagraph): ditto
768 (isFirstInSequence): ditto
769 (outerFont): rename pit to par_offset
771 * paragraph.C: ws change
776 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
778 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
781 * paragraph.C (simpleTeXOnePar): when we have a \item with
782 optional argument, enclose the argument with curly brackets (in
783 case it contains a closing square bracket)
787 * text3.C (checkInsetHit): constify
789 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
791 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
794 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
796 Fix toggling of collapsable insets with the mouse (bug 1558)
798 * lyxfunc.C (dispatch): adapt to LCursor changes
800 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
801 make sure that dispatch is not invoked twice
803 * cursor.C (needsUpdate): new method
804 (dispatch): return void
805 (result): new method, to access the DispatchResult of the cursor.
807 2004-08-13 José Matos <jamatos@lyx.org>
809 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
811 2004-08-13 André Pönitz <poenitz@gmx.net>
813 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
815 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
818 2004-08-12 André Pönitz <poenitz@gmx.net>
820 * text3.C: take out the 'cursor right' form insertInset and only
821 do it in those places when it is really needed. Fixes crash on
824 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
826 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
828 * BufferView_pimpl.C (setBuffer): initialize the current font of
829 the underlying LyXText
831 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
833 * kbsequence.C (print): use UI native formatting for menu
836 * text.C (insertChar): call Paragraph::insertChar with a font
839 * paragraph.C (insertInset, insertChar): the version that takes a
840 LyXFont argument is now a wrapper around the other one (the
841 opposite used to be true).
843 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
844 argument. Font setting is done in Paragraph now.
846 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
848 * outputparams.h: add new members intitle and lang.
850 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
851 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
853 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
855 * text3.C (dispatch): remove special handling of button 4 and 5,
856 it is now taken care of in the frontend code.
858 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
860 * Spacing.h: add <string> (STLPort compile fix)
862 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
864 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
866 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
868 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
871 * converter.C (showMessage): inherit from unary_function, make
874 * buffer.C (writeFile): initialize retval
876 * InsetList.h: rename private variable list to list_
877 * InsetList.[Ch]: adjust accordingly.
879 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
881 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
882 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
883 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
884 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
885 * ParagraphParameters.C, LaTeXFeatures.C: replace
886 "support/std_sstream.h" with <sstream>
888 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
890 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
891 * lyxsocket.C (LyXServerSocket): ditto
892 (serverCallback): ditto
894 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
896 * LaTeXFeatures.C: check release date when loading jurabib.
898 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
900 * lyxserver.C (startPipe): call register_socket_callback
901 (endPipe): call unregister_socket_callback
903 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
905 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
906 (LyXServerSocket): register the callback
907 (LyXServerSocket): unregister the callback
908 (fd): delete function
909 (serverCallback): improve error checking and setup the callbacks.
910 (dataCallback): change arg to fd.
911 (writeln): new func (copied fro the client socket) used for server
913 (LyXDataSocket): simplify
914 (~LyXDataSocket): close ann unregiser callback
915 (server): delete function
916 (fd): delete function
917 (readln): small changes, improve some std::string usage
918 (writeln): constify a bit
920 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
922 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
925 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
927 * BufferView_pimpl.C (setBuffer): set the layout combox value only
928 after it has been populated
930 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
932 * text2.C (insertInset): move cursor when inserting inset.
934 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
936 * kbmap.C (findbindings): a couple of new methods. returns a
937 container of kb_sequence objects. The real work is done by the
938 private recursive version
939 (printbindings): uses findbindings to print out a bracketed list
940 of bindings (renamed from findbinding).
942 * MenuBackend.C (binding): use kb_keymap::findbindings
944 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
946 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
948 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
950 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
952 * paragraph.C (isWord): return true on insets that report
955 * text.C (getWord): use Paragraph::isWord to decide what is in a
956 word and what is not; fix bug 1609.
958 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
960 * tex-strings.C: add "none" to string_paperpackages[], fixes
961 off-by-one-error in the paperpackage selection.
964 * tex-strings.[Ch]: char const * string[n]
965 -> char const * const string[]
967 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
969 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
970 command, return early.
972 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
974 * debug.h: add DEBUG to enum and fix size of ANY.
976 * debug.C: add support for Debug::DEBUG
977 (showTags): cast errorTags.level to unsigned int
979 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
980 (redoCurrentBuffer): ditto
981 (updateScrollbar): ditto
982 * cursor.C (dispatch): ditto
983 * text2.C (setLayout): ditto
985 (updateCounters): ditto
987 (deleteEmptyParagraphMechanism): ditto
989 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
991 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
992 annotations to cleanup the Makefile slightly.
994 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
996 * lyxrc.C: do not set user_email to a default value but use empty
997 instead. The entry used to be translated, which does not work
998 since at the point where lyxrc is constructed there is no
999 translation service available
1001 * messages.C (getLocaleDir): remove and use directly
1002 lyx_localedir() instead
1004 2004-06-02 Angus Leeming <leeming@lyx.org>
1006 Fix crash caused by dereferencing null pointer 'exportdata' in
1007 OutputParams by creating a new ExportData variable on the heap,
1008 storing it in a boost::shared_ptr.
1009 The crash was triggered when generating an Instant Preview
1010 of an external inset.
1012 * Makefile.am: add outputparams.C
1014 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
1015 (c-tor): allocate memory to it.
1017 * exporter.C (c-tor): associated changes.
1019 2004-06-01 Angus Leeming <leeming@lyx.org>
1021 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
1022 contains data before calling isInset(0). (Bug 1513.)
1024 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1026 * exporter.C (checkOverwrite): new method
1027 * exporter.C (copyFile): new method
1028 * exporter.C (Export): copy referenced files to the document dir
1029 * exporter.[Ch]: new class ExportedFile
1030 * exporter.[Ch]: new class ExportData. Contains currently the
1031 names of referenced external files
1032 * outputparams.h: add exportdata member.
1034 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1036 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
1039 2004-05-19 Angus Leeming <leeming@lyx.org>
1044 * lyxfunc.C: small changes due to the introduction of namespace
1045 lyx::frontend and the moving of namespace biblio to lyx::biblio.
1047 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
1049 * text3.C (dispatch): supress update when only moving the cursor
1050 * cursor.C (selHandle): remove commented code
1052 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1054 * paragraph.C (startTeXParParams): correct column count
1055 * CutAndPaste.C (pasteSelection): remove const_cast
1056 * output_docbook.C (docbookParagraphs): remove const_cast
1057 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
1058 const_cast and return ParagraphList::const_iterator
1059 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
1060 * output_plaintext.C (writeFileAscii): remove const_cast
1061 * paragraph.[Ch] (simpleTeXOnePar): make const
1062 * paragraph_funcs.C (outerPar): use const iterators
1063 * paragraph_pimpl.C (validate): use const iterators
1064 * text.C (setHeightOfRow): use const iterators
1066 2004-05-17 Angus Leeming <leeming@lyx.org>
1069 * LyXAction.C (init): new LFUN_INSET_REFRESH.
1071 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
1072 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
1073 if the citation engine has changed.
1075 2004-05-14 José Matos <jamatos@lyx.org>
1077 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
1078 if the textclass does not provide it. Have it different for sgml and
1080 support the language of document.
1081 * output_docbook.C (docbookParagraphs):
1082 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
1083 first anchor as the id of the paragraph, remove special case code.
1084 * sgml.C (escapeChar): escape only < & >.
1086 2004-05-14 Angus Leeming <leeming@lyx.org>
1088 * bufferparams.h: move biblio::CiteEngine enum here to minimize
1089 dependencies on src/frontends/controllers/biblio.h. Define a
1090 CiteEngine_enum wrapper class to enable the enum to be forward
1093 2004-05-12 Angus Leeming <leeming@lyx.org>
1095 * buffer.C: up LYX_FORMAT to 234.
1096 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
1097 use_numerical_citations with a single biblio::CiteEngine cite_engine
1099 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
1101 2004-05-13 José Matos <jamatos@lyx.org>
1104 * converter.C (Converter, readFlags): add xml member.
1105 * outputparams.h: add XML flavor.
1106 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
1108 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1110 * lyxfunc.C (dispatch):
1111 (getStatus): fix handling of LFUN_SEQUENCE
1113 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1115 * debug.C (showLevel): do not forget the end-of-line marker
1117 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1119 * kbmap.C (read): do not stop parsing a bind file when an error
1122 2004-04-29 Angus Leeming <leeming@lyx.org>
1127 * text2.C: wrap a bunch of #warning statements
1128 inside #ifdef WITH_WARNINGS blocks.
1130 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1132 * buffer.C: increment format to 233.
1134 2004-04-28 Angus Leeming <leeming@lyx.org>
1136 * BufferView_pimpl.C:
1139 s/updateToolbar()/updateToolbars()/
1140 s/Toolbar.h/Toolbars.h/
1142 2004-04-28 Angus Leeming <leeming@lyx.org>
1144 * BufferView.[Ch] (c-tor):
1145 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
1146 No longer passes these data to the WorkArea generator.
1148 2004-04-28 Angus Leeming <leeming@lyx.org>
1150 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1152 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1154 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1156 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1158 * output_latex.C (TeXEnvironment): make sure that there is a line
1159 break before \end{foo} for the last paragraph of a document
1160 (TeXOnePar): if the paragraph is at the end of the document (or
1161 inset) and the language has to be reset, then make sure that the
1162 line break is _before_ the language command, not after (fixes bug
1163 1225); also make sure that the language reset command is the first
1164 thing after the paragraph (to ensure proper nesting of
1165 environments and thus fix bug 1404)
1167 2004-04-21 John Levon <levon@movementarian.org>
1170 * ToolbarBackend.C: make "name" be a programmatic name
1171 and a gui_name field.
1173 * lyxfunc.C: display the minibuffer on M-x
1175 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1177 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1180 2004-04-19 Angus Leeming <leeming@lyx.org>
1182 * BufferView_pimpl.C (setBuffer): changed preview interface.
1184 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1187 2004-04-19 John Levon <levon@movementarian.org>
1189 * BufferView_pimpl.C:
1190 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1192 2004-04-05 Angus Leeming <leeming@lyx.org>
1194 * text.C (redoParagraphs): add call to updateCounters(), thereby
1195 fixing the missing "Figure #:" label from the caption of a
1198 2004-04-13 Angus Leeming <leeming@lyx.org>
1200 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1201 cursor is clicked out of an inset.
1203 2004-04-13 Angus Leeming <leeming@lyx.org>
1205 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1206 than an InsetOld one.
1208 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1210 * format.[Ch]: add editor to Format
1211 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1212 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1214 2004-04-08 André Pönitz <poenitz@gmx.net>
1216 * metricsinfo.h: remove PainterInfo::width member
1218 2004-04-08 Angus Leeming <leeming@lyx.org>
1220 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1221 "\providecommand" rather than "\newcommand", thereby preventing
1222 clashes with packages that define "\boldsymbol" themselves.
1225 2004-04-08 Angus Leeming <leeming@lyx.org>
1227 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1228 thereby squashing an unnecessary warning.
1230 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1232 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1235 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1237 * BufferView.C (setCursor): call redoParagraph (some insets could
1239 (putSelectionAt): remove the 'double update' trick
1241 * BufferView_pimpl.C (fitCursor): call refreshPar
1242 (workAreaDispatch): remove an uneeded update call
1243 (dispatch): remove some manual update calls
1245 * cursor.[Ch]: remove cached_y_, updatePos
1246 (selHandle): set noUpdate when appropriate
1248 * lyxfunc.C (dispatch): track if we need an update
1250 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1252 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1253 (paintSelection): cheap optimization, do not call cursorX when not
1255 (paintPars): change signature
1258 (paintTextInset): adjust
1262 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1264 * lengthcommon.C: compilation fix: remove explicit array size from
1265 unit_name[] and friends
1267 2004-04-05 Angus Leeming <leeming@lyx.org>
1269 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1271 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1272 present only for the preferences dialog.
1273 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1275 2004-04-05 Angus Leeming <leeming@lyx.org>
1277 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1278 to enable the frontends to export changes to lyxrc correctly.
1280 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1282 2004-04-07 André Pönitz <poenitz@gmx.net>
1284 * cursor.[Ch] (selClear, adjust): remove math
1286 * cursor_slice.C: more agressive assert
1289 * BufferView_pimpl.C: rework mouse event dispatch
1296 2004-04-05 André Pönitz <poenitz@gmx.net>
1298 * cursor.[Ch] (valign, halign...): remove unneeded functions
1300 2004-04-05 Angus Leeming <leeming@lyx.org>
1302 * lyxlength.[Ch] (unit_name et al.): const-correct.
1304 2004-04-05 Angus Leeming <leeming@lyx.org>
1306 * BufferView_pimpl.C:
1315 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1317 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1319 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1321 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1323 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1324 * BufferView_pimpl.[Ch] (getStatus)
1325 * BufferView.[Ch] (getStatus): add
1326 * lyxfunc.C (getStatus): move lfuns handled in
1327 BufferView::dispatch to te function above
1328 * Cursor.C (setSelection): set selection() = true
1330 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1332 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1334 2004-03-31 Angus Leeming <leeming@lyx.org>
1336 * lyxfunc.C (dispatch): Fall through to the generic
1337 Dialogs::show("preamble").
1339 2004-03-31 Angus Leeming <leeming@lyx.org>
1341 * lyxfunc.C (dispatch): Fall through to the generic
1342 Dialogs::show("spellchecker").
1344 2004-03-31 Angus Leeming <leeming@lyx.org>
1346 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1349 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1354 * insetiterator.[Ch]:
1359 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1361 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1363 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1364 insets where we are putting the cursor.
1366 2004-03-31 Angus Leeming <leeming@lyx.org>
1369 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1371 * lyxrc.[Ch] (read, write): overloaded member functions taking
1372 a std::[io]stream arguments.
1374 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1376 2004-03-31 Angus Leeming <leeming@lyx.org>
1378 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1379 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1381 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1382 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1384 2004-03-31 Angus Leeming <leeming@lyx.org>
1386 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1387 the LFUN_ALL_INSETS_TOGGLE code.
1389 2004-03-30 Angus Leeming <leeming@lyx.org>
1391 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1392 has died. Fall through to the generic Dialogs::show("document").
1394 2004-03-30 Angus Leeming <leeming@lyx.org>
1397 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1398 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1400 * lyxfunc.C (getStatus, dispatch): define the actions for these
1401 lfuns. Little more than a cut and pste job from ControlDocument.C
1403 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1405 2004-03-30 Angus Leeming <leeming@lyx.org>
1408 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1409 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1411 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1412 open/closed state of ollapsable insets. Usage:
1414 all-inset-toggle <state> <name>, where
1415 <state> == "open" || "closed" || "toggle" and
1416 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1418 * lyxtext.h, text2.C (toggleInset): removed.
1420 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1421 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1422 now passes LFUN_INSET_TOGGLE to the found inset.
1424 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1425 is now invoked as "all-insets-toggle toggle branch".
1427 2004-03-30 Angus Leeming <leeming@lyx.org>
1431 * pariterator.[Ch]: added/corrected header blurb.
1433 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1435 * dociterator.[Ch]: add an inset_ member
1436 (backwardPos): implemented
1437 (backwardPos, forwardPos): use inset_ when the stack is empty.
1438 (doc_iterator_begin, doc_iterator_end): implemented
1439 * pariterator.[Ch]: adjust, add begin, end
1440 * insetiterator.[Ch]: adjust, add begin, end
1444 * BufferView_pimpl.C:
1445 * CutAndPaste.C: adjust
1447 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1449 * buffer.C: increment file format to 232.
1450 * LaTeXFeatures.C: add bibtopic package.
1451 * bufferparams.[Ch]: param \use_bibtopic.
1453 * lyxrc.[Ch]: add lyxrc bibtex_command
1454 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1456 * buffer.C: increment file format to 231.
1458 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1460 * dociterator.C: implement forwardPar
1461 * iterators.[Ch]: remove, replaced by
1462 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1464 * BufferView_pimpl.C:
1467 * bufferview_funcs.C:
1473 * Makefile.am: adjust
1475 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1477 * CutAndPaste.C (pasteSelection): fix 2 crashes
1478 (eraseSelection): fix a crash
1479 * paragraph_funcs.C: remove a warning
1481 2004-03-28 Angus Leeming <leeming@lyx.org>
1484 * LyXAction.C (init): new LFUN_PRINT.
1486 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1488 2004-03-27 Angus Leeming <leeming@lyx.org>
1491 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1493 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1495 2004-03-27 Angus Leeming <leeming@lyx.org>
1497 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1498 insetlist always contains non-null pointers to insets.
1500 2004-03-26 Angus Leeming <leeming@lyx.org>
1502 * src/BufferView_pimpl.C:
1503 * src/CutAndPaste.C:
1506 * src/output_plaintext.C:
1507 * src/outputparams.h:
1508 * src/paragraph_funcs.C:
1512 * src/frontends/controllers/ControlErrorList.C:
1513 * src/frontends/gtk/FileDialogPrivate.C:
1514 * src/frontends/gtk/GPainter.C:
1515 * src/frontends/gtk/GToolbar.C:
1516 * src/frontends/qt2/QRef.C:
1517 * src/mathed/math_scriptinset.C: squash compiler warnings.
1519 2004-03-26 Angus Leeming <leeming@lyx.org>
1521 * ispell.C (LaunchIspell::start):
1522 * lyx_cb.C (AutoSaveBuffer::start):
1523 invoke run(DontWait) rather than runNonBlocking().
1525 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1527 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1529 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1531 * kbsequence.C (print): adjust
1533 * kbmap.C (printKeySym): rename and change signature
1534 (printKey): use LyXKeySym::print()
1536 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1538 * undo.C: add using std::advance to compile for stlport
1540 2004-03-24 Angus Leeming <leeming@lyx.org>
1542 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1543 it leads to a crash when no buffer is present.
1545 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1546 Martin Vermeer <martin.vermeer@hut.fi>
1548 * lyxfunc.C (dispatch):
1549 * bufferparams.C (readToken): use the new LColor::setColor
1551 * LColor.[Ch] (setColor): new version that takes two strings as
1552 argument and creates a new color entry if necessary
1554 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1556 * buffer.C (makeLaTeXFile): if the main latex file that is
1557 processed is usually a subdocument of some master, then pretend
1558 for a while that it is actually the master
1560 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1562 * buffer.C (getLabelList):
1563 (getBibkeyList): use getMasterBuffer()
1564 (getMasterBuffer): new method. Returns the main document in the
1565 case where one is using included documents.
1567 2004-03-25 André Pönitz <poenitz@gmx.net>
1571 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1573 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1575 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1576 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1578 * ParameterStruct.h: merge with ParagraphParameters
1580 * lyxtext.h: remove LyXText::parOffset() and getPar()
1582 * text3.C: Remove all 'manual' update calls. We do now one per user
1583 interaction which is completely sufficient.
1587 * BufferView_pimpl.C:
1588 * FontIterator.[Ch]:
1590 * ParagraphParameters.[Ch]:
1595 * cursor_slice.[Ch]:
1602 * output_docbook.[Ch]:
1603 * output_latex.[Ch]:
1604 * output_linuxdoc.[Ch]:
1605 * output_plaintext.[Ch]:
1607 * paragraph_funcs.[Ch]:
1608 * paragraph_pimpl.[Ch]:
1616 * frontends/controllers/ControlDocument.C:
1617 * frontends/controllers/ControlErrorList.C:
1618 * frontends/controllers/ControlSpellchecker.C:
1621 * insets/insetbase.h:
1622 * insets/insetbibitem.C:
1623 * insets/insetbox.C:
1624 * insets/insetbranch.C:
1625 * insets/insetcaption.C:
1626 * insets/insetcharstyle.C:
1627 * insets/insetcharstyle.h:
1628 * insets/insetcollapsable.C:
1629 * insets/insetcollapsable.h:
1630 * insets/insetert.C:
1631 * insets/insetfloat.C:
1632 * insets/insetfoot.C:
1633 * insets/insetmarginal.C:
1634 * insets/insetnote.C:
1635 * insets/insetoptarg.C:
1636 * insets/insettabular.C:
1637 * insets/insettext.C:
1638 * insets/insettext.h:
1639 * insets/insetwrap.C:
1640 * mathed/math_mboxinset.C:
1641 * mathed/math_nestinset.C:
1642 * mathed/math_scriptinset.C:
1643 * mathed/math_scriptinset.h:
1646 2004-03-24 Angus Leeming <leeming@lyx.org>
1648 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1649 deal with any child processes that have finished but are waiting to
1650 communicate this fact to the rest of LyX.
1652 2004-03-24 Angus Leeming <leeming@lyx.org>
1654 64-bit compile fixes.
1656 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1657 (c-tor): pass lyx::pos_types rather than ints.
1659 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1662 * text.C (Delete): compile fix.
1663 (getPar): ensure that function declaration is the same as that in
1666 2004-03-23 Angus Leeming <leeming@lyx.org>
1668 * ispell.C (LaunchIspell):
1669 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1670 a boost::shred_ptr rather than a std::auto_ptr.
1672 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1674 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1675 handle LFUN_FILE_INSERT_*
1677 * lyxrc.C (setDefaults, getDescription, output, read):
1678 * lyxrc.h: remove ps_command
1680 2004-03-22 Angus Leeming <leeming@lyx.org>
1682 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1683 Ensure that error_handler is processed once only and that all data
1684 is saved before attempting to output any warning messages.
1686 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1688 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1690 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1692 2004-03-19 André Pönitz <poenitz@gmx.net>
1694 * cursor.[Ch] (reset): take main text inset as argument
1696 * BufferView: adjust
1697 * BufferView_pimpl.C: adjust
1699 * paragraph.[Ch]: fix completely broken operator=()
1701 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1703 * LColor.C (getFromLyXName): make sure that the color name is used
1706 2004-03-17 Angus Leeming <leeming@lyx.org>
1709 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1711 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1712 dialog and to kill a forked process.
1714 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1716 * text2.C (setCursorFromCoordinates): fix font problem
1718 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1720 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1721 bogus "rebuild cursor" code
1723 2004-03-11 André Pönitz <poenitz@gmx.net>
1725 * buffer.[Ch]: use InsetText instead of LyXText as container for
1728 * dociterator.[Ch]: drop the BufferView * member which is not needed
1729 anymore after the change to buffer.C
1731 * paragraph_funcs.C:
1735 * BufferView_pimpl.[Ch]:
1737 * cursor_slice.[Ch]: adjust
1739 * text3.C: fix bug in mathDispatch
1741 2004-03-08 André Pönitz <poenitz@gmx.net>
1743 * undo.[Ch]: use 'StableDocumentIterator' as base for
1746 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1749 * bufferparams.[Ch]: add jurabib support and param.
1751 * LaTeX.C: add FIXME/comment.
1753 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1755 * buffer.C: increment file format to 230.
1757 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1759 * cursor.C (dispatch): avoid infinite loops
1761 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1763 * rowpainter.C (paintSelection): fix x coordinates
1765 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1767 * text.C (rowBreakPoint): fix breaking before displayed insets
1769 2004-03-01 André Pönitz <poenitz@gmx.net>
1771 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1773 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1777 * BufferView_pimpl.C:
1785 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1791 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1792 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1794 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1796 * Bidi.[Ch] (computeTables): const correctness
1797 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1798 fill_hfill, fill_label_hfill and x from Row
1799 * lyxtext.h: prepareToPrint returns a RowMetrics
1800 * rowPainter.C: adjust
1801 * text.C (prepareToPrint): use width, not textWidth. adjust
1802 (redoParagraphInternal, cursorX): adjust
1803 * text2.C (getColumnNearX): adjust
1804 (init): put a default value to the top LyXText::width
1806 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1808 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1810 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1812 * lyxtext.h: add FontIterator class
1814 * text.C (FontIterator, operator*, operator->, operator++): add
1815 (rowBreakPoint, setRowWidth): adjust (fixing a
1818 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1820 * BufferView_pimpl.C (workAreaDispatch): allow also
1821 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1823 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1825 * text.C (rowBreakPoint): fix a bug showing with very large insets
1827 2004-02-25 André Pönitz <poenitz@gmx.net>
1830 * cursor.[Ch]: move some mathed specific code to mathed
1832 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1834 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1835 use_tempdir in preferences
1836 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1838 * lyx_main.C: ensure that tempdir is valid
1839 * lyxlex.h: correct typo
1840 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1841 * paragraph.[Ch] (isMultiLingual): make const
1842 * cursor.[Ch] (openable): make const
1844 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1846 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1848 2004-02-20 André Pönitz <poenitz@gmx.net>
1850 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1852 * cursor.[Ch]: prepare for localized getStatus()
1858 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1860 2004-02-20 André Pönitz <poenitz@gmx.net>
1862 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1864 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1866 * text2.C (setCursorFromCoordinates): switch to absolute coords
1868 (cursorDown): adjust
1869 * text3.C (dispatch): adjust
1871 2004-02-16 André Pönitz <poenitz@gmx.net>
1873 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1876 * cursor_slice.[Ch]: remove unneeded acessor function
1878 * lyxtext.h: rename rtl() to isRTL()
1886 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1888 * rowpainter.C (paintSelection): coord fix
1890 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1892 * Spacing.C: compile fix
1894 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1896 * cursor.C (dispatch): restore current_ before returning
1898 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1900 * text2.C (cursorUp, cursorDown): fix coords
1903 2004-02-12 André Pönitz <poenitz@gmx.net>
1908 * text3.C: add LCursor & parameter to most cursor movement functions
1909 remove usage of LyXText::cursorRow() and cursorPar()
1911 * cursor.[Ch]: add textRow() needed members
1914 * BufferView_pimpl.C:
1917 * BufferView_pimpl.C: adjust
1919 2004-02-11 André Pönitz <poenitz@gmx.net>
1923 * BufferView_pimpl.C: shift undo/redo handling
1925 * cursor.[Ch]: fix mathed crash
1928 * lyxtext.h: move selectionAsText to LCursor
1936 * rowpainter.C: fix excessive drawing
1938 2004-02-06 André Pönitz <poenitz@gmx.net>
1941 * BufferView_pimpl.[Ch]:
1942 * text3.C: move some text specific LFUN handling
1944 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1946 * text3.C (checkInsetHit): adjust coords
1947 * text2.C (getColumnNearX): adjust coords
1948 (edit): adjust coords
1949 * text.C (getRowNearY): add two asserts
1951 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1954 * format.C: add using std::distance to compile on gcc 2.95/stlport
1956 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1958 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1960 2004-02-04 André Pönitz <poenitz@gmx.net>
1962 * BufferView.[Ch] (insertInset):
1963 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1968 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1970 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1971 on the default clause of the switch
1972 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1973 wasn't catched by LCursor::dispatch
1975 2004-02-03 André Pönitz <poenitz@gmx.net>
1978 * cursor.[Ch]: some additional asserts
1980 * undo.[Ch]: remove LyXText dependency in interface
1984 * lyxtext.h (firstPar, lastPar): remove dead functions
1989 * paragraph.[Ch]: adjust
1991 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1993 * lyxfind.C (find): fix argument order in call to ::find
1995 2004-02-02 André Pönitz <poenitz@gmx.net>
1997 * cursor.[Ch]: remove direct access to anchor
1999 * text.C: remove findText() hack
2001 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2003 * iterators.[Ch] (lockPath): remove in favour of...
2004 * BufferView.[Ch] (setCursor): this addition
2005 * BufferView.C (putSelectionAt): adjust
2006 * undo.C (performUndoOrRedo): adjust
2007 * lyxfunc.C (dispatch): adjust
2009 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
2011 * iterators.C (lockPath): add a missing slice
2012 * undo.C (performUndoOrRedo): remove redundant positioning code
2014 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
2016 * vc-backend.C (scanMaster): ";" -> ';'
2018 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
2020 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
2021 std::binary_function
2023 * lyxtextclass.C (compare_name): rename to...
2024 (LayoutNamesEqual): ...this
2026 * lyxlex_pimpl.C (compare_tags): inherit from
2027 std::binary_function, put back into anon namespace
2029 * lyxfind.C (MatchString): inherig from std::binary_function
2030 (findChange): use empty() istead of !size()
2032 * format.C (FormatNamesEqual): new functor
2039 * converter.C (compare_Converter): rename to...
2040 (ConverterEqual): ...this, and fixup a bit.
2041 (getConverter): use it, and make function const
2042 (getNumber): use it, and make function const
2046 * bufferlist.C: add using boost::bind
2048 * MenuBackend.C (MenuNamesEqual): new functor
2049 (hasMenu): use it, and make function const
2050 (hasSubmenu): use nested bind to get rid of compare_memfun.
2052 2004-01-30 André Pönitz <poenitz@gmx.net>
2054 * BufferView_pimpl.C:
2057 * cursor_slice.[Ch]:
2060 * paragraph_funcs.C:
2061 * paragraph_funcs.h:
2065 * text3.C: move some of the edit(x,y) handling to the insets
2066 some coordinate changes.
2068 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
2070 * text.C: add using statements for std::advance and std::distance
2072 * paragraph.C: add using statement for std::distance
2074 * lyxfind.C: add using statement for std::advance
2076 * cursor.C (region): remove std:: from swap
2077 (openable): use nucleus in stead of operator->
2079 * BufferView.C: add using statements for std::distance and std::swap
2081 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
2083 * iterators.C: Remove the pimple, move the needed structures to
2084 the header file. Create accessor for the positions stack.
2085 (asPosIterator): remove function
2087 * PosIterator.C (PosIterator): move constructors to top of file
2088 (PosIterator): reimplement the constructor taking a ParIterator in
2090 (setFrom): new function
2091 (operator!=): inline it
2093 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
2095 * lyxfind.C (replaceAll): use std::advance
2097 * iterators.h: inherit from std::iterator.
2099 * PosIterator.C (advance, distance): remove
2100 * PosIterator.h: interit from std::iterator.
2102 2004-01-26 André Pönitz <poenitz@gmx.net>
2105 * BufferView_pimpl.[Ch]:
2109 * bufferview_funcs.C:
2119 * output_linuxdoc.C:
2120 * output_plaintext.C:
2122 * paragraph_funcs.[Ch]:
2123 * paragraph_pimpl.[Ch]:
2129 * text3.C: more IU: dumps most of the rest of the mathcursor
2130 implementation into cursor.[Ch]; "globalize" a bit of it.
2132 2004-01-25 Angus Leeming <leeming@lyx.org>
2134 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
2136 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2138 * LaTeXFeatures.h: add nice_ and nice() const
2139 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
2141 2004-01-20 André Pönitz <poenitz@gmx.net>
2144 * BufferView_pimpl.C:
2146 * bufferview_funcs.C:
2148 * cursor_slice.[Ch]:
2159 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2160 LCursor and mathcursor parts to LCursor and InsetBase.
2162 2004-01-15 André Pönitz <poenitz@gmx.net>
2164 * cursor_slice.[Ch]: add a few covienience functions
2166 * funcrequest.[Ch]: remove BufferView * member
2168 * BufferView_pimpl.C:
2175 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2177 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2179 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2180 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2182 2004-01-13 André Pönitz <poenitz@gmx.net>
2185 * lyxtext.h: hide cursor and selection anchor behind accessor function
2188 * BufferView_pimpl.[Ch]:
2190 * bufferview_funcs.C:
2200 * cursor_slice.[Ch]: some integer type changes for inset unification
2202 * lyxcursor.[hC]: remove, it's CursorSlice now.
2205 * BufferView_pimpl.[Ch]:
2206 * bufferview_funcs.C:
2212 * textcursor.[Ch]: adjust
2214 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2216 * text2.C (undoSpan): add and use
2217 * text.C (breakParagraph): use undoSpan (fix bug 578)
2220 2004-01-08 Angus Leeming <leeming@lyx.org>
2222 * BufferView_pimpl.C (MenuInsertLyXFile):
2223 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2224 * lyxfunc.C (menuNew, open, doImport):
2225 FileFilterList change to the FileDialog open and save functions.
2227 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2229 * ShareContainer.h: make isEqual and isUnique adaptable
2231 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2233 2004-01-07 Angus Leeming <leeming@lyx.org>
2236 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2238 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2240 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2241 functions replacing find, replace and replaceAll.
2243 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2244 LFUN_WORDFIND(FORWARD|BACKWARD).
2246 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2248 * text.C (breakParagraph): remove an outdated #warning
2250 2004-01-07 André Pönitz <poenitz@gmx.net>
2252 * lyxfind.C: somewhat clearer logic
2254 * text.C: prevent crash in cursorX on unitialized row cache
2256 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2258 * lyxcursor.[Ch] (operator>): add
2259 * textcursor.C (selStart, selEnd): use std::min and std::max
2261 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2263 * Chktex.C: include boost/format.hpp
2265 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2267 * InsetList.C: replace functor MathcIt with adaptable functor
2269 (insetIterator): modify accordingly
2271 * BranchList.h: move the BranchNamesEqual functor here from...
2272 * BranchList.C: ... to here
2274 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2276 (add): replace a finding loop with std::find_if.
2278 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2280 * output_docbook.C: moving LatexParam functionality into
2283 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2285 * buffer.C: increment format to 229.
2287 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2290 * lyx_sty.[Ch]: remove minipageindent_def
2296 * text3.C: remove LFUN_INSET_MINIPAGE
2298 2003-12-28 Angus Leeming <leeming@lyx.org>
2300 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2302 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2304 * text2.C (setParagraph): fix off-by-one crash
2306 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2308 * output_docbook.C: header stuff for AGU
2310 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2312 * text2.C (redoCursor): remove
2315 * BufferView_pimpl.C: remove calls to redoCursor and
2316 setCursor(cursor.par(), cursor.pos()) all around
2318 2003-12-15 Angus Leeming <leeming@lyx.org>
2320 * buffer.C: up the format to 228.
2322 2003-12-15 André Pönitz <poenitz@gmx.net>
2324 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2329 * BufferView_pimpl.C:
2338 2003-12-15 Angus Leeming <leeming@lyx.org>
2340 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2341 than getFromGUIName to manipulate the color.
2343 2003-12-14 Angus Leeming <leeming@lyx.org>
2345 * BranchList.[Ch]: minimize the API.
2346 (Branch::getBranch, getColor): now return a 'const &'.
2347 (Branch::setSelected) now returns a bool set to true if the
2348 selection status changes.
2349 (BranchList::clear, size, getColor, setColor, setSelected,
2350 allBranches, allSelected, separator): removed.
2351 (BranchList::find): new functions, returning the Branch with
2353 (BranchList::add, remove): return a bool indicating that
2354 the operation was successful.
2356 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2357 new InsetBranch::isBranchSlected member function.
2359 * LColor.[Ch]: mimimize the API.
2360 (fill): renamed as addColor and made private.
2361 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2362 versions of these functions taking a string arg have been removed.
2364 * bufferparams.C (readToken):
2365 * lyxfunc.C (dispatch):
2366 * lyxrc.C (read): changes due to the altered BranchList and
2369 * factory.C (createInset, readInset): changes due to altered
2372 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2375 * lyxfunc.C: remove insetminipage. "minipage-insert"
2376 now produces a frameless minipage box inset.
2378 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2380 * textcursor.[Ch] (selStart,selEnd): add new methods
2381 remove selection::start, end, use LyXCursor::operator<
2382 * lyxcursor.[Ch] (operator<): add
2383 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2384 * BufferView.[Ch] (unsetXSel): add
2385 * text2.C (clearSelection): use unsetXSel,adjust
2388 * rowpainter.C: adjust
2389 * bufferview_funcs.C (put_selection_at): adjust
2391 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2393 * BufferView_pimpl.C: small coord. correction
2395 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2397 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2398 dragging over the splash screen.
2400 2003-12-11 Angus Leeming <leeming@lyx.org>
2402 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2403 as it is now handled in LyXText::dispatch.
2405 * text3.C (doInsertInset): remove a level of nesting.
2407 2003-12-11 Angus Leeming <leeming@lyx.org>
2409 * factory.C (createInset): changes due to the changed interface to
2410 InsetCommandMailer::string2params.
2412 2003-12-10 Angus Leeming <leeming@lyx.org>
2414 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2415 'dialog-show-new-inset <inset name>'
2417 2003-12-10 Angus Leeming <leeming@lyx.org>
2419 * buffer.C: up the format to 227.
2421 * factory.C: the box inset is now identified simply by 'Box'.
2423 2003-12-10 Angus Leeming <leeming@lyx.org>
2425 * buffer.C: up the format to 226.
2427 * factory.C: the note inset is now identified simply by 'Note'.
2429 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2431 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2432 when a pit is enough. Standarize a couple of loops.
2434 2003-12-05 Angus Leeming <leeming@lyx.org>
2436 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2437 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2438 data to the re-worked "log" dialog.
2440 2003-12-03 André Pönitz <poenitz@gmx.net>
2446 * paragraph_funcs.C:
2448 * text2.C: use Inset::getText instead of Inset::getParagraph
2450 2003-12-03 André Pönitz <poenitz@gmx.net>
2454 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2455 InsetText::read() as LyXText::read()
2457 2003-12-02 Angus Leeming <leeming@lyx.org>
2459 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2460 type. Add a comment in the implementation that the function uses
2461 the stream's bad() function rather than fail() as the std::streams
2464 2003-12-02 André Pönitz <poenitz@gmx.net>
2466 * lyxlex.[Ch]: make interface more similar to std::stream
2468 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2470 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2472 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2474 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2476 * vspace.[Ch]: remove VSpace::NONE
2478 2003-12-01 André Pönitz <poenitz@gmx.net>
2481 * lyxtext.h: move ParagraphList member to LyXText
2482 rename LyXText::ownerParagraphs to LyXText::paragraph
2485 * bufferview_funcs.C:
2495 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2497 * undo.C: fix cursor positioning
2499 2003-12-01 John Levon <levon@movementarian.org>
2501 * BufferView_pimpl.C: fix a crash on exit with
2504 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2506 * BranchList.C: fix setSelected() method.
2508 2003-11-28 André Pönitz <poenitz@gmx.net>
2510 * ParagraphParameters.[Ch]:
2511 * ParameterStruct.h: remove space above/below from Paragraph to
2514 * BufferView_pimpl.C:
2520 * paragraph_funcs.C:
2526 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2528 * factory.C: Syntax change for CharStyles
2530 2003-11-28 André Pönitz <poenitz@gmx.net>
2535 * buffer.[Ch]: move LyXText member
2537 2003-11-28 André Pönitz <poenitz@gmx.net>
2539 * BufferView.[Ch]: make LyXText * text a private member
2541 * BufferView_pimpl.C:
2552 * output_plaintext.C: cleanup
2554 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2557 * lyxtextclass.[Ch]: parametrize SGML document header
2559 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2562 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2565 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2567 * text2.C (setFont): rework using PosIterator (no more recursive)
2568 (setCharFont): no more needed
2569 (setLayout): no more selection cursors fiddling (done by redoCursor)
2570 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2571 destroy remaining ones)
2573 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2575 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2577 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2580 * text3.C: adjust + re-allow multi par depth changes
2581 * textcursor.C: simplify a bit
2583 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2589 * src/output_docbook.C:
2590 * src/output_latex.C:
2595 * src/text2.C: Introducing a number of tags parametrizing various
2596 XML formats that we may want to support
2598 2003-11-25 André Pönitz <poenitz@gmx.net>
2600 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2602 * lyxtext.h (leftMargin/rightMargin): simplify interface
2609 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2611 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2612 master file to any child files. Fixes bug 546.
2614 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2616 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2618 2003-11-24 André Pönitz <poenitz@gmx.net>
2620 * rowpainter.C: simplification
2622 * text2.C (updateCounters): remove call to redoParagraph on
2623 changed labels as this is far too expensive.
2625 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2627 * converter.C (convert): fix a crash: this function gets
2628 called with buffer == 0 from importer code.
2630 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2632 * text3.C (cursorPrevious): make sure that we do not compare
2633 iterators form different containers.
2636 * rowpainter.C (paintSelection): make sure that we do not compare
2637 iterators from different containers.
2639 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2640 iterators from different ParagraphList containers.
2643 * text2.C (LyXText): change order of initialization slightly
2644 (operator=): new function. copy all variables except cache_par_
2645 (moveUp): make sure that we do not compare iterators from
2646 different ParagraphList constainers.
2649 * text.C (firstPar): new function
2650 (lastPar): new function
2651 (endPar): new function
2653 * lyxtext.h: move things around and group public functions, public
2654 variables, private functions, private variables
2656 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2658 * factory.C: change call to InsetERT constructor to avoid
2659 additional invocation of method status
2660 * text2.C (toggleInset): remove redundant update() call
2661 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2662 instead of a Bufferview pointer
2664 2003-11-21 André Pönitz <poenitz@gmx.net>
2666 * rowpainter.C: simplification
2668 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2670 * text3.C (dispatch): make possible to extend a word/row selection
2673 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2675 * lyxtext.h: x0_,y0_ -> xo_,yo_
2676 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2677 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2678 * rowpainter.C (paintRows): paint full paragraphs
2680 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2682 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2685 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2687 * lyxtext.h: add x0_, y0_
2688 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2689 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2691 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2693 * text2.C (setCursorIntern): move the x_target update here *
2694 * text3.C: change some bv() to true/false in calls to
2695 cursorUp/Down/Right/Left
2696 * cursor.C: use helper function.
2698 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2700 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2701 * paragraph_funcs.[Ch]: correct comment
2702 * rowpainter.C: do not paint selections away from bv->cursor()
2703 Fix a long standing selection painting bug.
2704 * text3.C: generalize mouse-selection code to LyXTexts other that
2706 * textcursor.C: do not use y coords if we can use par offsets
2708 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2710 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2711 cursor position after e.g. inset insert)
2713 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2715 * lyxfind.C (replace): adjust to locking removal + some
2718 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2720 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2723 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2726 * output_docbook.C: XML sanitation: new layout
2727 parameters InnerTag and CommandDepth
2729 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2731 * BufferView_pimpl.C:
2733 * text3.C: Fix the insertion and modification of button-style
2736 2003-11-13 André Pönitz <poenitz@gmx.net>
2738 * InsetList.[Ch]: remove deleteLyXText
2740 * paragraph.[Ch]: cache beginOfBody position
2745 * text3.C: remove superfluous update() calls
2749 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2751 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2752 * BufferView.C (fitLockedInsetCursor): remove
2753 * cursor.[Ch] (getDim): add
2754 * text.C (getRowNearY): add faster version
2755 * text3.C: remove some update calls
2757 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2769 * text3.C: The Character Style /XML short element patch.
2771 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2774 * factory.C: Small step to solving 'unable to insert some insets'
2777 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2779 * cursor.[Ch] (updatePos): new function for updating the y
2780 position of the tip inset
2781 * bufferview_funcs.C (put_selection_at):
2782 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2784 2003-11-11 André Pönitz <poenitz@gmx.net>
2786 * text.C: remove big comment on invalid Paragraph pointers as it is
2789 2003-11-11 André Pönitz <poenitz@gmx.net>
2791 * text_funcs.[Ch]: merge with ...
2799 * Makefile.am: remove text_funcs.[Ch]
2801 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2803 * cursor.C (getPos): return absolute cached y coord
2805 * BufferView_pimpl.C (fitCursor): new simplistic code
2806 (workAreaDispatch): add a fitCursor call
2808 2003-11-10 André Pönitz <poenitz@gmx.net>
2811 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2813 2003-11-10 André Pönitz <poenitz@gmx.net>
2815 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2816 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2817 indicate that the cursor needs to leave an inset
2819 * lyxtext.h: remove inset locking
2821 * cursor.[Ch]: re-implement functionality provided by inset locking
2824 * BufferView_pimpl.[Ch]:
2826 * bufferview_funcs.[Ch]:
2838 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2840 * PosIterator.[Ch]: replace the stack with a vector, add inset
2842 * iterators.[C]: adjust
2844 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2846 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2848 * paragraph_funcs.C (readParToken): put the correct id in the
2849 error item, not the id of the top paragraph
2851 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2853 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2854 * bufferview_funcs.C (put_selection_at): use the above
2856 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2858 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2860 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2862 * output_linuxdoc.h:
2863 * output_plaintext.h:
2865 * output_docbook.h: add #include statements
2867 2003-11-05 José Matos <jamatos@lyx.org>
2869 * output_docbook.[Ch]:
2870 * output_latex.[Ch]:
2871 * output_linuxdoc.[Ch]:
2872 * output_plaintext.[Ch]: New files for output formats.
2873 * output.[Ch]: New file for helper functions.
2876 * paragraph_funcs.[Ch]: output functions moved to new files.
2878 * outputparams.h: rename of latexrunparams.h
2886 * paragraph_funcs.[Ch]:
2887 * paragraph_pimpl.[Ch]:
2888 * tabular.[Ch]: rename ascii to plaintext
2889 and LatexRunParams to OutputParams.
2891 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2893 * iterators.[Ch] (text): require bv argument
2894 * undo.C (recordUndo):
2895 * lyxfunc.C (dispatch):
2896 * bufferview_funcs.C (put_selection_at): adjust
2898 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2900 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2902 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2904 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2907 2003-11-04 André Pönitz <poenitz@gmx.net>
2909 * cursor.[Ch]: restructure
2912 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2914 * iterators.[Ch] (asCursor): remove
2916 * lfuns.h: remove LFUN_INSET_EDIT
2922 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2924 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2926 * lyxfind.[Ch]: complete overhaul
2927 * BufferView_pimpl.C:
2929 * paragraph.[Ch] (insert): add
2931 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2935 * text.C: remove dead spellcheck code
2937 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2939 * dispatchresult.h: add a val setter
2941 * cursor.C (dispatch): use a tempvar for data_[i]
2943 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2945 * PosIterator.[Ch]: compile fix
2947 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2949 * text.C (cursorPar): deactivate the cursor cache
2951 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2953 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2955 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2957 * text3.C (dispatch): adjust for new DisptchResult semantics.
2959 * lyxfunc.C (dispatch): handle update when return from
2960 Cursor::dispatch, adjust for new DispatchResult semantics.
2962 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2963 DispatchResult(true) mean to not update. Add class functions for
2964 setting dispatched and update, as well as reading.
2966 * cursor.C (dispatch): don't handle update here
2968 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2970 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2971 * trans_mgr.C: adjust
2973 * paragraph_funcs.C (readParToken): exception safety
2975 * lyxvc.h: store the vcs pointer in a scoped_ptr
2978 * lyxsocket.C (serverCallback): exception safety
2980 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2982 * ispell.C (clone): make it return a auto_ptr
2984 * factory.C (createInset): exception safety
2985 (readInset): exception safety
2987 * bufferlist.C (newBuffer): exception safety
2989 * Thesaurus.C (Thesaurus): use initialization for aik_
2991 * MenuBackend.C (expandToc): exception safety.
2993 2003-11-03 André Pönitz <poenitz@gmx.net>
2997 * bufferview_funcs.C: remove getInsetFromId()
3000 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
3006 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
3008 * PosIterator.C (distance, advance): new
3009 * bufferview_funcs.[Ch] (put_selection_at): new
3010 * iterators.[Ch] (lockPath): new
3012 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
3014 * iterators.[Ch] (asPosIterator): added
3015 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
3016 * PosIterator.[Ch]: added
3018 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3022 * cursor.C (dispatch):
3023 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
3025 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
3026 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
3027 contructor, add a class function dispatched. Remove operator>=
3029 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
3031 * debug.C: only use the default constructor for debugstream
3034 * main.C (main): include debug.h and setup the lyxerr streambuf
3037 2003-10-31 José Matos <jamatos@lyx.org>
3039 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
3041 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
3042 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
3043 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3044 * paragraph_pimpl.C (simpleTeXSpecialC):
3045 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
3046 add LatexRunParams argument.
3048 * exporter.C (Export): change call accordingly.
3050 * latexrunparams.h: add new member to take care of the other backends.
3051 2003-10-30 José Matos <jamatos@lyx.org>
3053 * buffer.C (makeLinuxDocFile, makeDocBookFile):
3054 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
3055 factorise code for paragraph output.
3057 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
3060 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3062 * text3.C (dispatch):
3063 * lyxfunc.C (dispatch):
3064 * cursor.C (dispatch):
3065 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
3067 * dispatchresult.h: make the dispatch_result_t ctor explicit
3069 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
3072 * buffer.C: small refactoring of docbook stuff
3074 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3076 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
3079 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3081 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
3082 operator dispatch_result_t, and operators for == != and >=
3084 * cursor.C (dispatch): adjust for operator dispatch_result_t
3085 removal. comment out call to update
3087 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
3089 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
3097 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
3100 * dispatchresult.h: new file, DispatchResult broken out of
3103 * Makefile.am (lyx_SOURCES): add dispatchresult.h
3105 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3107 * text.C (rowBreakPoint): put a hack inside #if 0
3109 2003-10-28 André Pönitz <poenitz@gmx.net>
3113 * paragraph_funcs.C:
3116 * text2.C: general cleanup (lots of small stuff)
3118 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
3120 * text2.C (cursorEnd): simple fix to the "end key goes to one
3121 before the end on last row" bug
3123 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3125 * text.C (backspace): fix the "zombie characters"
3127 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3129 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
3131 2003-10-27 André Pönitz <poenitz@gmx.net>
3133 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
3135 * factory.C: handle new InsetPagebreak, InsetLine
3137 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
3138 and move handling into new InsetPagebreak, InsetLine
3140 * BufferView_pimpl.C:
3142 * ParagraphParameters.C:
3143 * ParameterStruct.h:
3148 * paragraph_funcs.C:
3149 * paragraph_pimpl.C:
3155 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3158 * lyxrow_funcs.[Ch]:
3164 * text3.C: remove lastPos uses in favour of Row::endpos
3166 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3168 * undo.C (performUndoOrRedo): fix two crashes by setting a
3169 cursor by hand and reordering some calls. Use bv->lockInset instead
3170 of inset->edit because the latter loses cursor information
3172 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3174 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3176 (rowBreakPoint): fix width. change point to point + 1.
3177 Add a missing check.
3179 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3182 * lyxfunc.C: fix (at least partly) the problems
3183 with the Nav menu and headers inside branch insets
3186 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3188 * paragraph.C (getChar): add strong asserts
3190 * lyxrow_funcs.C (lastPos): remove hideous hack
3192 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3193 (fill): adjust to that (avoid an infinite loop)
3195 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3197 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3199 2003-10-23 André Pönitz <poenitz@gmx.net>
3201 * RowList_fwd.h: change list<> to vector<> to gain speed
3202 after suggestion from Alfredo
3204 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3206 * lyxtext.h: move the bidi stuff from here...
3209 * Bidi.[Ch]: ... to here
3211 2003-10-23 André Pönitz <poenitz@gmx.net>
3214 * text.C (isLastRow, isFirstRow): new functions
3216 * paragraph.h: new width cache member
3218 * rowpainter.C: replace RowList::iterator with Row & where possible
3220 * lyxfunc.C: replace several view()->text with a single call
3222 * toc.C: fix 'unused' warning
3224 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3226 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3227 when woring with stream::pos_type
3228 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3230 2003-10-22 André Pönitz <poenitz@gmx.net>
3233 * text.C: use Row & instead of RowList::iterator
3235 * lyxrow.h: rename end() to endpos()
3241 2003-10-22 Angus Leeming <leeming@lyx.org>
3243 * buffer.[Ch] (fully_loaded): new member function, returning true
3244 only when the file has been loaded fully.
3245 Used to prevent the premature generation of previews and by the
3246 citation inset to prevent computation of the natbib-style label.
3248 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3249 templates are all set up.
3251 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3253 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3255 * text.C: fixed an "oops" in the "is a bit silly"
3258 2003-10-21 André Pönitz <poenitz@gmx.net>
3260 * FuncStatus.[Ch]: small stuff, whitespace
3262 * lyxfont.[Ch]: operator<<() for debug reasons
3266 * lyxtext.h: whitespace, spelling
3268 * paragraph.C: naming of variables
3271 * text2.C: small stuff
3274 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3276 * text.C: (1) finish off the inset display() work;
3277 (2) fix the "is a bit silly" bug (accessing char
3280 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3282 * text.C: re-introduce display() for insets, fixing the
3283 various bugs (stretch of line above, math inset
3286 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3288 * text.C (rightMargin): remove spurious semicolon
3290 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3293 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3295 * text3.C: fix one crash due to wrong cursor def
3297 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3299 * vc-backend.C (scanMaster): make the regex static
3301 * LaTeX.C (scanAuxFile): make the regexs static
3303 * text3.C (doInsertInset, dispatch, dispatch):
3304 * text2.C (cursorUp, cursorDown):
3305 * text.C (selectNextWordToSpellcheck):
3306 * BufferView_pimpl.C (dispatch):
3307 * lyxfunc.C (dispatch): localDispatch -> dispatch
3309 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3311 * lyxsocket.C: include <cerrno>
3313 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3315 * lyxfunc.C (dispatch): remove textcache stuff
3317 * bufferlist.C (release): remove textcache stuff
3320 * TextCache.C: delete file
3321 * TextCache.h: delete file
3323 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3325 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3326 delete of the bv_->text.
3327 (resizeCurrentBuffer): remove texcache stuff
3328 (workAreaResize): ditto
3330 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3332 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3335 2003-10-16 André Pönitz <poenitz@gmx.net>
3342 * text3.C: speed up by storing y positions per paragraph plus per-row
3343 offset instead of having a 'full' y position in the row.
3345 2003-10-15 André Pönitz <poenitz@gmx.net>
3349 * undo.[Ch]: make undo aware of inner insets
3351 2003-10-14 Angus Leeming <leeming@lyx.org>
3353 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3354 static member functions LyX::ref() and LyX::cref.
3355 (lastfiles): new accessor functions for the new lastfiles_ member var.
3356 (addLyXView, views_): add a new LyXView to the list of views_.
3357 (updateInset): loop over all LyXViews to call their own updateInset
3358 member function, returning a pointer to the Buffer owning the inset.
3360 * BufferView_pimpl.C (loadLyXFile):
3361 * MenuBackend.C (expandLastfiles):
3362 * bufferlist.C (MenuWrite, QuitLyX):
3363 lastfiles is no longer a global variable.
3364 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3366 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3367 static function. Access through LyX::cref().emergencyCleanup().
3369 2003-10-14 André Pönitz <poenitz@gmx.net>
3371 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3373 * undo.[Ch]: restoring part of 'undo in insets'
3376 * undo_funcs.[Ch]: merge with undo.[Ch]
3378 * tabular.C: small cleansing stuff
3380 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3382 * paragraph_funcs.C (readParToken): report unknown insets as error
3383 boxes. Use the outer paragraph as location (also for unknown
3386 * factory.C (readInset): do not abort on reading an unknown inset.
3387 Eat it and return 0.
3389 2003-10-13 Angus Leeming <leeming@lyx.org>
3391 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3393 * lyxrc.C: displayTranslator is now a function,
3394 declared in GraphicsTypes.h.
3396 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3398 * format.C: new placeholder $$a to pass the socket address.
3400 * bufferlist.[Ch]: new function getBufferFromTmp.
3402 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3403 files in the temporary dir.
3405 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3407 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3409 * Makefile.am: add lyxsocket.[Ch].
3411 * lyx_main.C (error_handler): handle SIGPIPE.
3413 2003-10-13 André Pönitz <poenitz@gmx.net>
3415 * BufferView_pimpl.C:
3420 * undo_funcs.[Ch]: use paroffset_type instead of
3421 ParagraphList::iterators to prevent multiple conversion
3422 (and get a more robust interface)
3424 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3426 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3428 * text3.C (dispatch): ditto
3430 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3432 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3433 move the onlyfile, use onlyfile instead of foundfile in a couple
3436 * DepTable.C (update): flush the error stream a bit more
3438 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3440 * lyxserver.C (callback): adjust
3442 * lyxfunc.C (getStatus): add a missing brace in commented code
3443 (ensureBufferClean): reindent
3444 (dispatch): delete version taking a string
3446 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3448 * LaTeX.C (deplog): move found file handlig from here...
3449 (handleFoundFile): .. to new function here.
3450 (deplog): make sure to discover several files mentioned on the
3453 2003-10-10 André Pönitz <poenitz@gmx.net>
3460 * text3.C: fix some of the tabular crashes
3462 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3464 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3466 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3468 2003-10-09 André Pönitz <poenitz@gmx.net>
3470 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3473 * BufferView_pimpl.C:
3474 * bufferview_funcs.C:
3485 * undo_funcs.C: adjust
3487 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3489 * text2.C (incrementItemDepth): new function, use a backtracking
3490 algorithm to discover the correct item depth.
3491 (resetEnumCounterIfNeeded): new function, use a backtracking
3492 algorithm to discover if counter reset is needed.
3493 (setCounter): use them. Simplify a bit. Add different labels for
3494 different item depths for itemize.
3496 * paragraph.C (Paragraph): remove initialization of enumdepth
3499 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3500 enumerate and itemize. Change the type of itemdepth to signed char.
3502 2003-10-08 André Pönitz <poenitz@gmx.net>
3504 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3509 * tabular.[Ch]: fix crash after 'row-insert'
3511 2003-10-08 Angus Leeming <leeming@lyx.org>
3513 Fix doxygen warnings.
3515 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3516 Remove CutAndPaste:: prefix from header file declaration.
3518 * LColor.h (fill): remove LColor:: prefix from declaration.
3520 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3521 use lyx::depth_type rather than Paragraph::depth_type so that
3522 header file and .C file match.
3524 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3526 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3527 * aspell.C: \file aspell_local.C -> \file aspell.C
3528 * gettext.C: \file gettext.C -> \file src/gettext.C
3529 * gettext.h: \file gettext.h -> \file src/gettext.h
3530 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3531 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3532 * text.C: \file text.C -> \file src/text.C
3534 * toc.C: move comment so that doxygen is not confused.
3536 2003-10-07 Angus Leeming <leeming@lyx.org>
3538 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3540 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3543 * aspell_local.h: add forgotten std::string's.
3545 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3552 * text3.C: The Box patch. Fancybox support, minipage, parbox
3554 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3560 * ParagraphParameters.h:
3570 * lyxtextclasslist.h:
3573 * paragraph_pimpl.C:
3574 * textcursor.h: add <string> and other small fixes to make Lars'
3575 std::string patch compile with STLport.
3577 2003-10-06 Angus Leeming <leeming@lyx.org>
3579 * LColor.h: Add missing #include <string>.
3581 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3583 * All most all file in all subdirs: Make <string> be the prefered
3584 way of getting to std::string, add using declarations.
3586 2003-10-06 André Pönitz <poenitz@gmx.net>
3588 * metricsinfo.C: initialize LyXFont before changing attribute.
3589 (fixes the 'math in \emph is upright' bug)
3591 2003-10-06 André Pönitz <poenitz@gmx.net>
3593 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3595 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3598 * paragraph_pimpl.C: Small fixes to build using STLport
3600 2003-10-02 André Pönitz <poenitz@gmx.net>
3603 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3605 2003-10-01 André Pönitz <poenitz@gmx.net>
3607 * factory.C: assert early
3609 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3611 * lyx_main.C: remove the global debug object
3613 * debug.h: adjust for new debugstream
3615 * debug.C: adjust for new debugstream and keep the global debug
3618 2003-09-22 Angus Leeming <leeming@lyx.org>
3620 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3621 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3622 an incomplete class LyXFont.
3624 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3626 * factory.C: bug fix in branches
3628 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3630 * lyxfunc.C (processKeySym): adjust
3632 (dispatch): change arg name from ev to func, adjust
3633 (sendDispatchMessage): ditto
3635 * lyx_main.C (defaultKeyBindings): adjust keybindings
3636 (deadKeyBindings): ditto
3638 * kbsequence.C (addkey): return a FuncRequest
3640 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3642 * kbmap.C (bind): take a FuncRequest as arg, adjust
3645 (defkey): change to take a FuncRequest as arg, adjust
3646 (findbinding): take a FuncRequest as arg, adjust.
3648 * funcrequest.h (operator=): added
3650 * funcrequest.C (FuncRequest): default kb_action changed from
3651 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3653 * buffer.C (dispatch): simplify
3654 (dispatch): adjust to take a FuncRequest as arg, adjust
3656 * boost.C (assertion_failed): change assertion message slightly
3658 * ToolbarBackend.C (read): simplify
3660 * MenuBackend.C (binding): adjust call to findbinding, add a
3661 message if no binding is found.
3663 (expandToc): correct by adding a empty FuncRequest
3665 * LyXAction.C: include <boost/assert.hpp>
3666 (isPseudoAction): delete function
3667 (LookupFunc): change name to...
3668 (lookupFunc): this. change return type to FuncRequest.
3669 (getActionName): take kb_action as arg, simplify
3670 (funcHasFlag): add an assert, simplify.
3672 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3674 * toc.C (action): return a FuncRequest, simplify
3676 * lyxfunc.C (processKeySym): adjust
3677 (getStatus): delete version that takes an int.
3679 (dispatch): delete version that takes action as int
3681 (sendDispatchMessage): simplify and adjust
3683 * funcrequest.C (getArg): take unsigned int as arg
3685 * ToolbarBackend.C (read): adjust
3686 (add): delete version that takes func as a string.
3687 (getIton): take a FuncRequest as arg
3689 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3692 * MenuBackend.C (MenuItem): add a new construct that only takes a
3693 Kind, simplify the constructor use for submenus.
3695 (expandLastfiles): adjust
3696 (expandDocuments): adjust
3697 (expandFormats): adjust
3698 (expandFloatListInsert): adjust
3699 (expandFloatInsert): adjust
3700 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3702 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3703 Remove class variables lyx_pseudo_map and lyx_arg_map
3705 * LyXAction.C (searchActionArg): delete function
3706 (getPseudoAction): delete function
3707 (retrieveActionArg): delete function
3708 (LookupFunc): make it return kb_action, simplify.
3709 (getActionName): simplify
3711 * factory.C (createInset): fix new bug
3713 2003-09-19 Angus Leeming <leeming@lyx.org>
3715 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3716 masterFilename_ parameter in the include inset.
3718 * factory.C (createInset): changes due to the changes to InsetInclude.
3720 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3722 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3724 2003-09-18 Angus Leeming <leeming@lyx.org>
3727 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3728 Inset::fillWithBibKeys.
3729 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3731 2003-09-18 Angus Leeming <leeming@lyx.org>
3733 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3735 (ctor): pass and store a 'Buffer const &'
3736 (buffer): new member function.
3738 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3739 '*this' to the LaTeXFeatures ctor.
3741 2003-09-18 Angus Leeming <leeming@lyx.org>
3747 * text.C: rename EnumLColor as LColor_color.
3749 2003-09-18 Angus Leeming <leeming@lyx.org>
3751 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3752 remove #include "insets/insetbase.h" from cursor.h.
3754 2003-09-18 Angus Leeming <leeming@lyx.org>
3756 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3757 InsetOld_code to remove #include "inset.h".
3759 * iterators.C: add #include "insets/inset.h"
3761 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3763 * BufferView.C: remove more locking stuff that apparently doesn't
3764 do anything sensible.
3766 2003-09-16 André Pönitz <poenitz@gmx.net>
3769 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3772 2003-09-16 Angus Leeming <leeming@lyx.org>
3774 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3776 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3779 * paragraph.h: remove #include "lyxfont.h". Forward declare
3782 2003-09-16 Angus Leeming <leeming@lyx.org>
3784 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3785 of support/textutils.h.
3786 (isWord): move the contents of support/textutils.h's IsWordChar here.
3792 * text2.C: add #include "paragraph.h".
3795 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3797 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3803 * LaTeX.C: use namespace alias for lyx::support::os
3805 2003-09-16 Angus Leeming <leeming@lyx.org>
3808 * bufferview_funcs.C:
3811 * paragraph_pimpl.C:
3813 * text.C: add #include "LColor.h".
3815 2003-09-16 Angus Leeming <leeming@lyx.org>
3817 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3818 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3820 Store the FontBits::color variable as an int rather than as an
3821 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3824 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3825 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3826 string calls together.
3828 * lyxrc.C: add #include "LColor.h".
3830 2003-09-15 Angus Leeming <leeming@lyx.org>
3832 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3835 2003-09-15 Angus Leeming <leeming@lyx.org>
3837 * LColor.h: add an EnumLColor wrapper for LColor::color.
3839 * lyxfont.[Ch] (color, setColor, realColor):
3840 * lyxtext.h, text.C (backgroundColor):
3841 pass EnumLColor args to/from the functions, rather than LColor::color
3845 * lyxtext.h: forward declare EnumLColor.
3847 * lyx_main.C: add #include "LColor.h".
3849 2003-09-15 Angus Leeming <leeming@lyx.org>
3851 * .cvsignore: add lyx-gtk.
3853 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3858 * ParagraphParameters.C
3862 * bufferview_funcs.C
3872 * vc-backend.C: remove usage of STRCONV
3874 2003-09-15 Angus Leeming <leeming@lyx.org>
3876 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3877 explicitly define the color passed to the painter.
3879 2003-09-15 Angus Leeming <leeming@lyx.org>
3881 * bufferparams.C (BufferParams): reorder member initializers to avoid
3884 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3886 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3887 * text.C (updateRowPositions): remove an unusual nop
3889 2003-09-12 André Pönitz <poenitz@gmx.net>
3891 * BufferView_pimpl.C:
3900 * Counters.[Ch]: finish the 'automatic counters' job
3902 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3904 * aspell.C: include <boost/assert.cpp> (compile fix)
3906 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3908 * boost.C (assertion_failed): use lyx::support::abort instead of
3911 2003-09-10 Angus Leeming <leeming@lyx.org>
3913 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3914 with their _fwd progeny.
3916 2003-09-09 Angus Leeming <leeming@lyx.org>
3918 134 files throughtout the source tree: replace 'using namespace abc;'
3919 directives with the appropriate 'using abc::xyz;' declarations.
3921 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3923 * boost.C (emergencyCleanup): moved here from LAssert.c
3924 (assertion_failed): new function, called by BOOST_ASSERT
3926 * several files: change Assert to BOOST_ASSERT
3928 2003-09-09 Angus Leeming <leeming@lyx.org>
3930 * buffer.[Ch]: Add an Impl class and move Buffer's member
3931 variables into it. As a result move several header files out of
3934 Add header files to lots of .C files all over the tree as a result.
3936 2003-09-09 Angus Leeming <leeming@lyx.org>
3938 * buffer.[Ch]: make Buffer's member variables private. Add
3941 Lots of changes all over the tree as a result.
3943 2003-09-08 Angus Leeming <leeming@lyx.org>
3945 * graph.C: #include <config.h>.
3947 2003-09-08 Angus Leeming <leeming@lyx.org>
3951 * BufferView_pimpl.C:
3980 * toc.C: remove redundant using directives.
3982 2003-09-07 Angus Leeming <leeming@lyx.org>
3984 * LaTeXFeatures.h: remove #include "support/types.h".
3985 * ToolbarBackend.h: remove #include <algorithm>.
3986 * changes.h: remove #include <ctime>.
3987 * debug.h: remove #include <iosfwd>.
3988 * graph.h: remove #include "support/std_string.h".
3989 * lyx_main.h: remove #include <csignal>.
3990 * lyxlex_pimpl.h: remove #include <fstream>.
3991 * sgml.h: remove #include <algorithm>, <utility>.
3992 * toc.h: remove #include "support/std_ostream.h".
3993 Add #include <iosfwd>.
3995 2003-09-07 Angus Leeming <leeming@lyx.org>
3997 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3999 * converter.h: forward declare LatexRunParams.
4000 * encoding.h: remove #include "lyxrc.h".
4001 * lyxtext.h: remove #include "LColor.h".
4002 * lyxtextclass.h: remove #include "support/types.h".
4003 * trans.h: remove #include "tex-accent.h".
4004 * trans_mgr.h: remove #include "tex-accent.h".
4005 * insets/inset.h: remove #include "support/types.h", <vector>.
4006 * insets/insetcollapsable.h: remove #include "LColor.h".
4007 * insets/insetinclude.h: remove #include "dimension.h".
4008 * insets/insetlatexaccent.h: remove #include "dimension.h".
4009 * insets/insetoptarg.h:: remove #include "insettext.h".
4010 * insets/insettext.h: remove #include "dimension.h",
4011 <boost/shared_ptr.hpp>
4013 * insets/renderers.h: add #include "dimension.h".
4014 * insets/updatableinset.h: add #include "support/types.h".
4016 * many .C files: Associated changes.
4018 2003-09-06 Angus Leeming <leeming@lyx.org>
4020 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
4021 one, inside testInvariant.
4023 * PrinterParams.C: new file.
4024 * PrinterParams.[Ch]: move the function bodies out of line.
4026 2003-09-06 Angus Leeming <leeming@lyx.org>
4028 * ParagraphParameters.h: forward declare ParameterStruct rather than
4029 including its header file.
4030 (depth): moved out-of-line.
4032 2003-09-06 Angus Leeming <leeming@lyx.org>
4034 * BufferView_pimpl.h:
4037 * lyxfunc.h: forward declare LyXKeySym rather than
4038 #include "frontends/LyXKeySym.h".
4040 * BufferView_pimpl.C:
4043 * lyxfunc.C: associated changes.
4045 2003-09-06 Angus Leeming <leeming@lyx.org>
4047 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4048 As a result, can remove the #include "insets/inset.h" from BufferView.h
4050 2003-09-06 Angus Leeming <leeming@lyx.org>
4052 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
4053 As a result, can remove the #include "insets/inset.h" from BufferView.h
4055 2003-09-06 Angus Leeming <leeming@lyx.org>
4061 * bufferview_funcs.C:
4062 * BufferView_pimpl.C:
4067 * ParagraphParameters.C:
4072 * frontends/controllers/ControlDocument.C:
4073 * insets/insetcaption.C: rearrange the #includes into some sort of
4076 * buffer.h: remove #includes ErrorList.h, undo.h
4078 2003-09-06 Angus Leeming <leeming@lyx.org>
4080 * support/types.h: add a 'depth_type' typedef, used to store the
4081 nesting depth of a paragraph.
4084 * ParameterStruct.h: use this lyx::depth_type typedef rather than
4085 defining explicitly.
4088 * paragraph_funcs.h:
4089 * ParagraphParameters.h:
4090 * sgml.h: use lyx::depth_type rather than Paragraph or
4091 ParameterStruct's depth_type.
4094 * paragraph_funcs.h: no need to #include paragraph.h anymore.
4097 * BufferView_pimpl.C:
4099 * ParagraphParameters.C:
4102 * bufferview_funcs.C:
4109 * frontends/LyXView.C:
4110 * frontends/controllers/ControlDocument.C:
4111 * frontends/controllers/ControlErrorList.C:
4112 * insets/insetbibitem.C:
4113 * insets/insetbranch.C:
4114 * insets/insetcaption.C:
4115 * insets/insetcollapsable.C:
4116 * insets/insetenv.C:
4117 * insets/insetert.C:
4118 * insets/insetfloat.C:
4119 * insets/insetfoot.C:
4120 * insets/insetfootlike.C:
4121 * insets/insetnewline.C:
4122 * insets/insetquotes.C:
4123 * insets/insettabular.C:
4124 * insets/insettext.C:
4125 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
4127 * frontends/controllers/ControlChanges.C: #include "changes.h".
4129 2003-09-06 Angus Leeming <leeming@lyx.org>
4131 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
4132 than #including paragraph.h.
4135 * RowList.h: deleted. Superfluous.
4145 * insets/insettext.h: use ParagraphList_fwd.h rather than
4148 * paragraph.h: don't forward declare ParagraphList.
4151 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4152 rather than ParagraphList.h. paragraph.h is still needed for the
4153 Paragraph::depth_type parameters.
4155 * textcursor.h: enable it to compile stand-alone in light of the
4158 * bufferview_funcs.C:
4170 * frontends/controllers/ControlParagraph.C:
4171 * frontends/controllers/ControlTabular.C:
4172 * insets/insetmarginal.C:
4173 * insets/insetminipage.C:
4174 * insets/insetnote.C:
4175 * insets/insetoptarg.C: add header files needed to compile again.
4177 2003-09-06 Angus Leeming <leeming@lyx.org>
4179 * RowList_fwd.h: new file, forward-declaring Row rather than
4180 #including lyxrow.h.
4185 * insets/insettext.h: use it instead of RowList.h
4187 * bufferview_funcs.C:
4194 * text3.C: #include "RowList.h".
4196 2003-09-05 Angus Leeming <leeming@lyx.org>
4198 * factory.C (createInset):
4199 * vspace.C (c-tor): replace sscanf call with an istringstream.
4200 * ispell.C: re-add missing HP/UX headers.
4201 * lyxserver.C: re-add missing os2 headers.
4203 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4212 * text3.C: re-add missing system headers, needed for 2.95.2.
4214 2003-09-05 Angus Leeming <leeming@lyx.org>
4216 Changes most place everywhere due to the removal of using directives
4217 from support/std_sstream.h.
4219 2003-09-05 Angus Leeming <leeming@lyx.org>
4221 Replace LString.h with support/std_string.h,
4222 Lsstream.h with support/std_sstream.h,
4223 support/LIstream.h with support/std_istream.h,
4224 support/LOstream.h with support/std_ostream.h.
4226 Changes resulting throughout the tree.
4228 2003-09-05 Angus Leeming <leeming@lyx.org>
4230 * sgml.h: ensure that the header file can be compiled stand-alone.
4231 * *.C: strip out redundant #includes. (320 in total.)
4233 2003-09-04 Angus Leeming <leeming@lyx.org>
4235 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4236 here (from getPackages).
4238 * debug.[Ch]: add a new EXTERNAL tag.
4240 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4242 * text2.C (cursorEnd): simplify
4244 (getColumnNearX): adjust
4246 * text.C (computeBidiTables): adjust
4249 * rowpainter.C (paintChars): adjust
4250 (paintSelection): adjust
4251 (paintChangeBar): adjust
4254 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4256 (numberOfSeparators): adjust
4258 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4264 * text3.C: Restricts the mouse click functionality
4265 of insets like bibtex, include, toc and floatlist to the visible
4266 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4267 up the dialogs. Cursor has to be in front of the inset (i.e.
4268 start of row) for this to function.
4270 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4272 * bufferview_funcs.C (currentState): output row information
4274 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4276 * bufferview_funcs.C (currentState): output paragraph position
4278 2003-09-04 Angus Leeming <leeming@lyx.org>
4280 * FloatList.h: move out #include "Floating.h".
4281 * LaTeX.h: move out #include "DepTable.h".
4282 * LyXAction.h: move out #include "funcrequest.h".
4283 * buffer.h: move out #include "author.h", "iterators.h".
4284 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4285 * lyx_main.h: move out #include "errorlist.h".
4286 * lyxfunc.h: move out #include "FuncStatus.h".
4287 * lyxtext: move out #include "lyxcursor.h".
4288 * paragraph_pimpl.h: move out #include "counters.h".
4290 2003-09-03 Angus Leeming <leeming@lyx.org>
4292 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4293 preamble_snippets list, enabling us to add snippets to the preamble
4294 only if the snippet was not there already.
4296 2003-09-04 Angus Leeming <leeming@lyx.org>
4298 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4300 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4302 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4305 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4307 * BranchList.C: point fix, earlier forgotten
4309 2003-09-02 Angus Leeming <leeming@lyx.org>
4311 * box.C (contains): renamed from 'contained' after a fantastic
4314 2003-09-02 John Levon <levon@movementarian.org>
4320 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4322 2003-09-02 John Levon <levon@movementarian.org>
4324 * text2.C: simplification of cursorEnd(), including partial
4327 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4329 * buffer.C (readFile): add a space
4331 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4333 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4335 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4337 * buffer.C (readFile): new function, take a filename and a
4338 ParagraphList::iterator
4340 (readFile): adjust, make it private. don't use setStream, make
4341 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4342 always contain the filename.
4344 * BufferView.C (insertLyXFile): simplify and make it work for
4347 2003-08-30 John Levon <levon@movementarian.org>
4349 * Makefile.am: fix dist (from Kayvan)
4351 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4353 * most files: change to use const Buffer refs
4355 2003-08-27 André Pönitz <poenitz@gmx.net>
4357 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4358 on top of ownerPar().
4360 2003-08-27 John Levon <levon@movementarian.org>
4362 * funcrequest.C: properly initialise POD members
4364 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4366 * lyxtext.h (top_y): move top_y from here
4371 * BufferView_pimpl.[Ch]: to here
4372 * frontends/screen.C:
4373 * insets/insettabular.C:
4374 * insets/insettext.C: adjust
4375 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4377 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4380 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4382 2003-08-26 André Pönitz <poenitz@gmx.net>
4384 * paragraph_func.[Ch] (outerPar): new function
4387 * paragraph_funcs.C:
4388 * paragraph_funcs.h:
4389 * paragraph_pimpl.C:
4390 * text2.C: remove Inset::par_owner
4392 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4397 * text2.C: eliminates the needFullRow/display() stuff
4398 altogether, putting the logic in metrics/draw in the insets.
4400 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4402 * text2.C (redoParagraphInternal, redoParagraphs):
4403 * text.C (redoParagraph): add a call to updateRowPositions at the
4404 end of each 'metrics-like' call. Remove all others.
4405 (getRow): remove the 'y-computing' version.
4406 (getRowNearY): do not compute nor return the real y. Solve the
4407 'y < 0' problem and simplify.
4409 2003-08-22 Angus Leeming <leeming@lyx.org>
4411 * *.[Ch]: clean-up of licence and author blurbs.
4412 Also move config.h out of a few .h files and into a few .C files.
4414 2003-08-22 André Pönitz <poenitz@gmx.net>
4416 * lyxrow.[Ch]: add x_ and *fill_ members
4421 * text2.C: adjust/remove prepareToPrint() calls
4423 2003-08-22 André Pönitz <poenitz@gmx.net>
4425 * lyxrow.[Ch]: add end_ member
4427 * lyxrow_funcs.C: use LyXRow::end_
4429 * lyxtext.h (singleWidth): add LyXFont parameter
4432 * text2.C: adjust LyXText::singleWidth() calls
4434 * text.C (redoParagraph): simplify row breaking logic
4437 2003-08-19 André Pönitz <poenitz@gmx.net>
4439 * funcrequest.C: initialize button_ member
4442 * rowpainter.[Ch]: interface consolidation
4444 2003-08-18 André Pönitz <poenitz@gmx.net>
4447 * BufferView_pimpl.C:
4449 * paragraph_funcs.C:
4451 * text3.C: remove LyXScreen::draw() and fitCursor calls
4453 * BranchList.h: remove spurious semicolons
4455 * MenuBackend.C: fix branchlist related crash
4457 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4465 * bufferparams.[Ch]:
4469 * text3.C: implements the 'branch inset'
4470 idea. This allows the output of various versions of a document
4471 from a single source version, selectively outputing or suppressing
4472 output of parts of the text.
4473 This implementation contains a 'branch list editor' in a separate
4474 tab of the document settings dialog. Branches are user definable
4475 and have a "display colour" to distinguish them on-screen.
4477 ColorHandler was somewhat cleaned up.
4478 (1) make possible a dynamically growing LColor list by allowing
4479 the graphic context cache to grow along (vector);
4480 (2) eliminate an IMHO unnecessary step in colour allocation.
4482 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4484 * BufferView_pimpl.C: compile fix
4486 2003-08-15 André Pönitz <poenitz@gmx.net>
4488 * rowpainter.C: remove extra metrics calls
4490 * lyxtext.h: merge the two constructors into a single one,
4491 pass reference to owner's par list
4493 * BufferView_pimpl.C:
4497 2003-08-15 André Pönitz <poenitz@gmx.net>
4499 * lyxrow_funcs.[Ch]:
4502 * paragraph_funcs.C:
4507 * text_funcs.C: split LyXText::rowlist_ into individual
4508 Paragraph::rows_ chunks
4511 * BufferView_pimpl.[Ch]:
4514 * text3.C: remove toggleSelection()
4516 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4518 * bufferlist.C: beautify two alerts (shorter text of buttons)
4519 * buffer.C: Remove redundant ' ' from message
4521 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4522 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4523 rename VALIGN_CENTER to VALIGN_MIDDLE
4525 2003-08-11 André Pönitz <poenitz@gmx.net>
4527 * lyxtext.h (getPar):
4528 * text.C: new function
4530 2003-08-11 André Pönitz <poenitz@gmx.net>
4533 * tracer.[Ch]: remove unneeded files
4535 * InsetList.[Ch]: remove resizeInsetsLyXText()
4540 * text3.C: merge insertParagraphs() and appendParagraph()
4541 remove breakAgain(), update()
4543 * BufferView_pimpl.[Ch]:
4544 * bufferview_funcs.[Ch]:
4548 * tabular.C: adjust after text & InsetList changes.
4550 2003-08-08 André Pönitz <poenitz@gmx.net>
4552 * text.C (insertChar, backspace): replace rowlist fiddling
4553 with rebreak of full par
4556 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4557 checkParagraph, updateInset): removed
4559 2003-08-07 André Pönitz <poenitz@gmx.net>
4562 * text3.C: merge some LFUN handlers, remove dead code
4564 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4566 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4568 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4570 * text2.C (DEPM): fix part of bug 1255 and 1256
4572 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4574 * BufferView_pimpl.C (workAreaDispatch): change to use
4575 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4576 that are no mouse related.
4578 2003-08-05 André Pönitz <poenitz@gmx.net>
4581 * BufferView_pimpl.[Ch]:
4582 * bufferview_funcs.C:
4584 * text3.C: rip out "deep update"
4586 * textcursor.[Ch] (last_sel_cursor): remove unused member
4588 2003-08-04 André Pönitz <poenitz@gmx.net>
4591 * BufferView_pimpl.[Ch]:
4592 * ParagraphParameters.C:
4593 * bufferview_funcs.C:
4599 * text3.C: replace "complicated" BufferView::update(...) calls with
4602 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4604 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4606 * Makefile.am (lyx_SOURCES): add paper.h
4608 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4610 * Makefile.am: move things around so that both lyx-qt and
4611 lyx-xforms can be built (according to --with-frontend). Then lyx
4612 is a symbolic link to lyx-[firstfrontend]
4614 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4616 * Always use std::endl with lyxerr
4618 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4620 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4622 2003-08-01 André Pönitz <poenitz@gmx.net>
4625 * BufferView_pimpl.[Ch]:
4627 * text3.C: merge BufferView::repaint() and BufferView::update()
4629 2003-08-01 José Matos <jamatos@lyx.org>
4631 * buffer.[Ch]: file_format is no longer a buffer data element.
4633 2003-08-01 André Pönitz <poenitz@gmx.net>
4638 * text2.C: make redoParagraph more independent of current cursor
4640 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4642 * text2.C: remove unneeded members
4644 2003-07-30 André Pönitz <poenitz@gmx.net>
4646 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4648 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4649 create a single function...
4651 * paragraph_funcs.C (moveItem): ... here.
4654 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4656 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4658 * LColor.[Ch]: Add comment and greyedout logical colors.
4660 2003-07-30 André Pönitz <poenitz@gmx.net>
4662 * tabular.C: don't use Assert too heavily. This crashes where it
4665 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4667 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4668 is disabled (bug 1232)
4670 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4672 * factory.C: limited 'arg' scope
4674 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4676 * factory.C: fixed Note submenu issues
4678 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4680 * factory.C: submenu for Note/Comment/Greyedout
4682 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4685 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4687 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4690 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4691 greyedout. Patch provided by Jürgen Spitzmüller.
4693 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4695 * kbmap.C (read): fix error message when reading bind files
4697 2003-07-29 Angus Leeming <leeming@lyx.org>
4699 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4700 certainly does not do what it purports to do. I am doing it, and
4701 us, a favour by killing it.
4703 2003-07-28 José Matos <jamatos@lyx.org>
4705 * buffer.C (readBody, do_writeFile):
4706 * paragraph.C(readParagraph): \end_document replaces \the_end.
4708 2003-07-29 André Pönitz <poenitz@gmx.net>
4711 * BufferView_pimpl.[Ch]:
4715 * textcursor.[Ch]: remove toggleToggle & Co
4717 2003-07-28 José Matos <jamatos@fep.up.pt>
4719 * buffer.C (readParagraph):
4720 * params_func (readParToken, readParagraph):
4721 * paragraph.C (write): \layout -> \begin_layout.
4723 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4725 * lyxlex_pimpl.C (setFile): clean up slightly.
4727 * bufferparams.h: add compressed var
4729 * buffer_funcs.C (readFile): adjust for LyXLex change
4730 (newFile): ditto + simplify
4732 * buffer.C (writeFile): handle writing of compressed files
4734 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4735 Check if the file is compressed and set a bufferparm if so.
4737 * Makefile.am (lyx_LDADD): remove explicit -lz
4739 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4741 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4742 makeDocBookFile): put the real LyX version in the first line of
4746 * version.C.in: remove lyx_docversion
4748 * tabular.C (write_attribute): add a template-based version to
4749 write enums properly
4751 2003-07-28 André Pönitz <poenitz@gmx.net>
4756 * text3.C: use doubles again for x-coordinates. They are needed.
4758 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4760 * messages.C (getLocaleDir): use lyx_localedir()
4762 * lyxlex_pimpl.C (setFile): compress stuff
4764 * buffer.C (writeFile): add some compression stuff
4765 (do_writeFile): new func, dont call expliti close... will this
4768 * Makefile.am (lyx_LDADD): add -lz
4770 2003-07-28 José Matos <jamatos@fep.up.pt>
4772 * buffer.C: increment file format.
4773 * paragraph_funcs (readParagraph, readParToken):
4774 * paragraph.C (readParagraph): add \end_layout.
4776 2003-07-27 Angus Leeming <leeming@lyx.org>
4778 * Makefile.am: remove special casing for configure-time setting of
4779 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4781 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4782 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4784 2003-07-26 André Pönitz <poenitz@gmx.net>
4786 * paragraph_func.[Ch]:
4787 * paragraph.C (realizeFont): inline it whereever it is used
4792 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4795 2003-07-26 André Pönitz <poenitz@gmx.net>
4799 * text2.C: get rid of LyXText::need_break_row
4801 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4803 * toc.[Ch]: put namespace toc inside namespace lyx
4805 * MenuBackend.C (expandToc2): adjust for lyx::toc
4808 * lyxfunc.C (dispatch): adjust for lyx::find
4810 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4811 lyx::find instead. Reorganize a bit.
4812 (LyXReplace): rename to replace
4813 (LyXFind): rename to find
4815 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4818 2003-07-26 André Pönitz <poenitz@gmx.net>
4820 * text.C (setHeightOfRow): restrict scope of temporary variable
4822 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4823 code (never has been used?)
4825 2003-07-27 Asger Alstrup <alstrup@local>
4827 * text.C (fill): Optimise algorithm to exploit that we can reuse
4828 the LyXFont for many characters.
4829 (setHeightOfRow): Same thing.
4830 (rowBreakPoint): Same thing.
4832 2003-07-26 Asger Alstrup <alstrup@local>
4834 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4836 * text.C (singleWidth): Spurious font copying in hot-spot
4837 singleWidth avoided. Reorder tests for arabic for efficiency.
4839 * text.C (fill): handle empty paragraphs better.
4841 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4844 * encoding.h: add includes
4846 * lyxrc.C: remove reading of bind files
4848 * lyx_main.C (init): setup bindings and menus only if we have a
4851 * kbmap.C (read): new method. Do the actual reading of bind
4854 * converter.C (dvipdfm_options):
4857 (output): adapt PAPER_* enums.
4859 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4861 * bufferparams.h: remove paper-related enums from there
4863 * paper.h: New file. A trivial header file to hold paper-related
4864 enums. It should later expand to contain many paper-related
4867 * lyxrc.C: declare extern displayTranslator
4869 2003-07-27 José Matos <jamatos@fep.up.pt>
4871 * tabular.[Ch] (linuxdoc): add support for tables and figures
4874 2003-07-27 José Matos <jamatos@fep.up.pt>
4876 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4877 consistency in both functions.
4878 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4880 2003-07-26 Asger Alstrup <alstrup@local>
4882 * rowpainter.C (paintRows): Change algorithm to work directly on
4883 the insets rather than asking every character in the document
4884 whether its an inset.
4886 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4888 * buffer.C (openFileWrite): factorize some code
4890 2003-07-26 Angus Leeming <leeming@lyx.org>
4893 * lyx_main.[Ch]: replace occurances of system_tempdir with
4896 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4898 * rename Inset to InsetOld
4900 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4902 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4903 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4904 which I think is a bit clearer. EDIT is gone, since it was
4905 premature optimisation, and broken for mathed anyway.
4906 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4907 with cursor positioning in insets as well (math insets still do not
4908 work, but that's a different story anyway.) It mysteriously
4909 crashes sometimes with undo in the first paragraph, but I'm fairly
4910 confident that this is a compiler bug.
4912 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4914 * paragraph.C (Paragraph): adjust for new clone return type
4916 (copyIntoMinibuffer): ditto
4918 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4920 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4921 by not having a special case, and always doing a full rebreak of
4922 the document after undo.
4924 2003-07-23 Angus Leeming <leeming@lyx.org>
4926 * factory.C (createInset): InsetExternal::setParams now takes a
4929 2003-07-23 Angus Leeming <leeming@lyx.org>
4931 * factory.C (createInset): changed interface to the external and
4932 graphics mailers' string2params functions.
4934 2003-07-23 Angus Leeming <leeming@lyx.org>
4936 * factory.C (createInset): pass a
4937 Buffer const * parameter to InsetExternalMailer's string2params.
4939 2003-07-22 John Levon <levon@movementarian.org>
4941 * Thesaurus.h: include the right aiksaurus header
4943 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4945 * MenuBackend.C (expand): check menu shortcuts unconditionally
4947 2003-07-21 Angus Leeming <leeming@lyx.org>
4949 * factory.C (createInset): pass a
4950 buffer_path parameter to InsetGraphicsMailer's string2params.
4952 2003-07-21 Angus Leeming <leeming@lyx.org>
4954 * BufferView_pimpl.C (buffer):
4957 * lyxfunc.C (dispatch):
4958 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4959 rather than the grfx shortcut.
4961 2003-07-21 André Pönitz <poenitz@gmx.net>
4963 * rowpainter.C: remove unused variables
4966 * tabular_funcs.h: move to tabular.C
4967 * Makefile.am: adjust
4969 * tabular.[Ch]: basic optical cleaning
4971 * author.h: pass references, not values
4973 2003-07-18 André Pönitz <poenitz@gmx.net>
4981 * text3.C: two-phase drawing for InsetText and InsetTabular
4982 some float -> int changes.
4984 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4986 * lyx_main.C: fix the fix
4988 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4990 * lyx_main.C: fix a crash in batch mode if no files specified
4993 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4995 * format.[Ch] (papersize): moved to BufferParams
4996 * converter.[Ch] (dvips_options): moved to BufferParams
4997 (dvipdfm_options): moved to anon namespace
4998 * bufferparams.[Ch]: added above functions.
5000 2003-07-17 André Pönitz <poenitz@gmx.net>
5004 * text2.C: don't call inset->update() anymore
5006 * metricsinfo.[Ch]: add convenience constructor
5008 2003-07-16 André Pönitz <poenitz@gmx.net>
5013 * text2.C: replace the LyXCursor::irow_ member with
5014 on-demand computation of the value
5016 2003-07-16 John Levon <levon@movementarian.org>
5018 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
5020 2003-07-15 André Pönitz <poenitz@gmx.net>
5023 * text2.C: remove no more needed refresh_row
5025 2003-07-15 André Pönitz <poenitz@gmx.net>
5030 * text3.C: refresh_status tristate -> need_update bool
5032 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
5034 * lyxtext.h (init): remove reinit argument (act as if always true)
5035 * text2.C: adjust to that
5037 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5039 * bufferview_funcs.[Ch]: introduce function replaceSelection()
5040 * text3.C: use it to delete selections in some cases
5041 (bugs 441, 673, 702, 954).
5043 2003-07-14 André Pönitz <poenitz@gmx.net>
5045 * rowpainter.[Ch]: reduce interface
5047 2003-07-14 André Pönitz <poenitz@gmx.net>
5049 * BufferView_pimpl.C:
5050 * text2.C: adjust after removing unused BufferView * argument
5052 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
5054 * text2.C (init): fix a crash fired on resize
5056 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
5058 * buffer.[Ch]: added new closing signal
5059 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
5060 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
5061 BufferView::Pimpl via the closing the signal
5063 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
5065 * buffer.[Ch]: take out all bv-related from buffer
5067 * BufferView_pimpl.[Ch]: connect to new signals
5068 * CutAndPaste.C: removed useless asserts
5069 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
5072 * lyxfunc.C: moved view-related funciontality from vc here
5073 * paragraph.C: removed outdated comments
5076 2003-07-10 André Pönitz <poenitz@gmx.net>
5078 * BufferView_pimpl.C:
5082 * text2.C: remove InsetText::InnerCache, clean up consequences
5084 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
5086 * ispell.C: fix two typos in error messages
5088 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
5090 * Extend Note inset to other forms of annotation like Comment
5091 and Greyedout. Right button click gives dialog.
5093 Files modified or added (+):
5097 * ControlNote.[Ch] +
5099 * Makefile.am in frontends/xforms, frontends/xforms/forms,
5100 frontends/controllers
5104 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
5106 * aspell.C: add missing namespace lyx::support
5108 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
5110 * BufferView.[Ch] (newFile): Add
5111 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
5112 * LaTeX.[Ch] (message): added this signal and use it
5113 * buffer.[Ch] (busy, message): added these signals and use them
5114 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
5118 * importer.C: use buffer signals instead of direct bv calling
5119 * lyx_cb.[Ch] (ShowMessage): removed
5122 * paragraph_funcs.C:
5123 * text2.C: use buffer signals
5125 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
5127 * introduce namespace lyx::graphics
5129 2003-07-02 André Pönitz <poenitz@gmx.net>
5131 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
5133 2003-07-01 André Pönitz <poenitz@gmx.net>
5140 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
5141 text*.C to text_func.C
5143 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5145 * introduce namespace lyx::support
5147 2003-06-30 André Pönitz <poenitz@gmx.net>
5152 * text.C: re-enable --with-included-string
5154 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5156 * textcursor.C: add <config.h>
5158 * text.C (getWord): remove const from word_location arg
5160 * lyxvc.C (getLogFile): fix const type order
5162 * lyxtext.h: remove const from word_location arg, add arg name
5164 * lyxlayout.h: currect type on labeltype.
5166 * importer.C: correct \file
5168 * converter.C (intToFormat): use std:: on ret val, ws changes
5170 * bufferlist.h: correct \file
5172 * buffer.C (makeLinuxDocFile): fix const type order
5173 (makeDocBookFile): ditto
5174 (fillWithBibKeys): use std:: on stdlib args.
5176 * CutAndPaste.C: fix authors.
5177 (availableSelections): use std:: on return vector
5179 2003-06-27 André Pönitz <poenitz@gmx.net>
5181 * BufferView_pimpl.C:
5182 * bufferview_funcs.C:
5190 * text3.C: remove LyXCursor::row_ member
5193 * text.C: rename fullRebreak() to partialRebreak() and implement
5194 a fullRebreak() that really bereks fully
5196 * textcursor.h: new struct for cursor-related data
5198 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5200 * lyx_main.C (LyX): get full path of document loaded on the
5203 2003-06-26 André Pönitz <poenitz@gmx.net>
5205 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5206 remove unused/broken operator>,<,>=.
5208 * text.C: remove only use of broken operator<= in an Assert().
5210 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5212 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5213 moved errorlist_.clear to showErrorList
5215 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5217 * converter.C (scanLog, runLaTeX):
5218 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5219 move the bv->showErrorList call to the callers
5220 * lyxfunc.C: i.e. here...
5222 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5223 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5224 namespace, the second to...
5225 * buffer_funcs (BufferFormat, parseErrors): added
5226 * errorlist.C (ErrorList(TeXErrors const &)): removed
5228 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5230 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5232 2003-06-24 "Garst R. Reese" <reese@isn.net>
5236 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5238 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5240 * version.C.in: change docversion to 1.4
5242 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5244 * buffer.C: fix a bug just introduced
5246 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5248 * buffer.[Ch]: added the parseError signal and use it, removed
5250 * BufferView.[Ch] (addError): moved to ...
5251 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5252 to the Buffer::parseError signal to catch (guess what) parse errors
5253 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5255 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5257 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5258 ability to create a buffer and to return an existing one from
5259 the list. Moved these functions to...
5260 * buffer_funcs.[Ch]: added
5261 * BufferView.[Ch] (loadLyXFile): added
5262 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5263 job removed from bufferlist::loadLyXFile.
5264 * buffer.C (setReadOnly): make it work without view
5265 (i.e added an if (users))
5267 2003-06-19 Angus Leeming <leeming@lyx.org>
5270 * LyXAction.C (init):
5271 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5272 with LFUN_DIALOG_SHOW <name> <data>.
5274 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5276 * CutAndPaste.C (availableSelections): small compilation fix for
5277 ancient (gcc 2.9x) compilers
5279 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5281 * text3.C (cursorNext): add tmp var
5283 * text2.C (updateCounters): for function calling out of for clause
5284 (replaceSelectionWithString): ditto
5285 (insertStringAsParagraphs): ditto
5286 (getColumnNearX): add tmp var
5287 (setCursorFromCoordinates): add tmp var
5288 (cursorDownParagraph): add tmp var
5289 (deleteEmptyParagraphMechanism): add tmp var
5291 * text.C (insertChar): add tmp var
5293 * rowpainter.C (paintDepthBar): add tmp var
5295 * CutAndPaste.C (availableSelections): potentially check all
5296 paragraphs in a cut to fill the shown strings.
5298 2003-06-18 André Pönitz <poenitz@gmx.net>
5300 * kbmap.[Ch]: use vector<> instead of list<>
5302 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5304 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5305 pasteSelection with index
5307 * text2.C (pasteSelection): modify, call pasteSelection with index
5309 * paragraph.C (asString): reimplement version with no interval to
5310 call the one with interval.
5312 * lyxtext.h: add index arg to pasteSelection
5314 * MenuBackend.C (MenuItem): handle PasteRecent
5315 (Menu::read::Menutags): add md_pasterecent
5317 (expandPasteRecent): new function
5320 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5322 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5324 (availableSelections): new function
5326 2003-06-17 Angus Leeming <leeming@lyx.org>
5328 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5330 2003-06-17 Angus Leeming <leeming@lyx.org>
5333 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5335 * lyxfunc.C (dispatch): invoke it.
5337 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5339 * iterators.C (operator++, ParPosition): reintroduce some
5340 const_cast for the benefit of older compilers.
5342 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5344 * text3.C (dispatch): do not modify clipboard when doing
5345 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5346 LFUN_DELETE_SKIP on a selection selection
5348 2003-06-16 André Pönitz <poenitz@gmx.net>
5354 * tabular.[Ch]: IU of clone() and getLabelList();
5356 2003-06-13 André Pönitz <poenitz@gmx.net>
5358 * tabular.h: compactification
5360 2003-06-12 André Pönitz <poenitz@gmx.net>
5364 * tabular_funcs.h: some renaming plus whitespace
5366 2003-06-12 André Pönitz <poenitz@gmx.net>
5369 * BufferView_pimpl.C:
5375 * toc.C: Return a Paragraph & for ParIterator::operator*()
5377 2003-06-11 John Levon <levon@movementarian.org>
5381 * ToolbarBackend.C: add "Toolbars" section and
5384 2003-06-10 Angus Leeming <leeming@lyx.org>
5387 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5389 * lyxfunc.C (dispatch): invoke it.
5391 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5393 * main.C: protect <ios> with HAVE_IOS
5394 (main): protect sync_with_stdio with HAVE_IOS
5396 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5398 * text2.C (cutSelection): adjust
5399 (pasteSelection): adjust
5401 * messages.C: handle get of empty string
5403 * main.C (main): use sync_with_stdio(false)
5405 * lyxfunc.C (dispatch): adjust
5407 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5408 (WriteAs): remove unneeded BufferView arg.
5410 * bufferparams.h: use correct types on papersize, papersize2 and
5413 * bufferparams.C (readToken): adjust for type
5414 (writeLaTeX): add missing cases to switch.
5416 * bufferlist.C (quitWriteBuffer): adjust
5419 * buffer.C (asciiParagraph): remove some commented code.
5421 * CutAndPaste.C: remove current_view extern variable.
5422 (cutSelection): add BufferParams arg.
5423 (eraseSelection): add BufferParams arg.
5424 (pasteSelection): add Buffer const & arg
5426 2003-06-07 John Levon <levon@movementarian.org>
5429 * paragraph_funcs.C:
5430 * paragraph_pimpl.C:
5434 * paragraph.C: allow InsetERT to freely space lines,
5435 and some consolidation of code
5437 2003-06-06 José Matos <jamatos@fep.up.pt>
5439 * buffer.C (makeDocBookFile): fix bug #821
5441 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5443 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5445 2003-06-04 Angus Leeming <leeming@lyx.org>
5447 * buffer.C: bump format to 224.
5449 2003-06-05 André Pönitz <poenitz@gmx.net>
5451 * text2.C (redoParagraphs): remove two const_cast<>
5453 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5455 * ParagraphList.h: remove last remnants of NO_STD_LIST
5457 2003-06-03 Angus Leeming <leeming@lyx.org>
5459 * factory.C (createInset): small change to the way InsetExternal's params
5462 2003-06-04 André Pönitz <poenitz@gmx.net>
5464 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5466 * paragraph_pimpl.h:
5467 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5469 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5471 * undo_funcs.C: make some simple cases of undo work again
5473 2003-06-03 John Levon <levon@movementarian.org>
5475 * ispell.C: HPUX doesn't have sys/select.h
5478 2003-06-03 John Levon <levon@movementarian.org>
5480 * CutAndPaste.C: update tabular and include inset
5485 * paragraph.C: remove owningBuffer(), don't pass Buffer
5488 * factory.C: insetGraphicsParams changed
5490 2003-06-02 John Levon <levon@movementarian.org>
5496 * text3.C: remove insetparent
5498 2003-06-02 John Levon <levon@movementarian.org>
5501 * buffer.C: fix inset_iterator.end(), move out of line
5504 2003-06-01 John Levon <levon@movementarian.org>
5506 * text3.C: use a proper cut/paste when doing inset
5507 insert (from Jürgen Spitzmüller)
5509 2003-06-01 John Levon <levon@movementarian.org>
5511 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5513 2003-05-30 André Pönitz <poenitz@gmx.net>
5515 * rowpainter.C: unify second drawing phase
5517 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * trans_mgr.C: remove one case of current_view
5521 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5523 * paragraph_funcs.h: remove paragraph.h include
5525 * paragraph.h: delete NO_STD_LIST stuff
5527 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5529 * buffer.h: remove paragraph.h include
5531 * ParagraphList.C: delete file
5533 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5535 * toc.C (getTocList): adjust
5537 * paragraph_pimpl.C (validate): adjust
5539 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5541 * paragraph.C (Paragraph): adjust
5542 (getPositionOfInset): use const_iterator, adjust
5543 (bibitem): use const_iterator, adjust
5544 (setInsetOwner): adjust
5546 * iterators.C (operator++): adjust
5548 * InsetList.[Ch]: Replace selfmade iterator with standard
5549 vector::iterator also introduce const_iterator. Remove getPos,
5550 getInset and setInset from InsetTable. Adjust accordingly.
5552 * BufferView.C (lockInset): adjust
5553 (ChangeInsets): adjust
5555 * tabular.[Ch]: delete commented same_id functions
5557 2003-05-28 John Levon <levon@movementarian.org>
5559 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5561 2003-05-28 André Pönitz <poenitz@gmx.net>
5563 * metricsinfo.[Ch]: remove 'fullredraw' member
5565 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5567 * lyxtextclass.C (operator): remove caching.
5569 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5573 * text2.C (cursorBottom): adjust
5574 (setCounter): use ParagraphList::find, adjust
5576 * text.C (workWidth): use ParagraphList::find, adjust
5578 * lyxcursor.C (LyXCursor): adjust
5580 * buffer.C (inset_iterator): adjust
5582 * ParagraphList.h: make iterator(value_type) private, make
5583 ParagraphList a friend of iterator.
5585 * ParagraphList.C (find): new function
5587 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5589 2003-05-27 André Pönitz <poenitz@gmx.net>
5591 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5593 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5595 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5597 2003-05-26 John Levon <levon@movementarian.org>
5599 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5601 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5603 * remove same_id from function signatures, adjust.
5605 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5607 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5609 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5611 * paragraph.C (Paragraph): get rid of same_ids parameter
5613 * ParagraphList.C (insert): adjust
5616 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5618 * paragraph_funcs.C (breakParagraph): adjust
5619 (breakParagraphConservative): adjust
5621 * buffer.C (readParagraph): adjust
5623 * ParagraphList.C (insert): take a reference instead of a pointer
5626 * paragraph.[Ch] (id): new function
5628 * bufferlist.C (newFile): adjust
5630 * ParagraphList.C (ParagraphList): adjust
5632 (push_back): take a reference instead of a pointer.
5634 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5636 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5639 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5640 set else use old code.
5642 * ParagraphList.C: remove all NO_NEXT code and only compile this
5643 code of NO_STD_LIST is set.
5645 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5647 * BufferView_pimpl.C:
5657 * graphics/GraphicsConverter.C:
5658 * graphics/PreviewLoader.C: header adjustment
5660 2003-05-23 Angus Leeming <leeming@lyx.org>
5662 * LaTeXFeatures.[Ch] (useBabel): new method.
5663 * bufferparams.C (writeLaTeX): use it.
5665 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * ParagraphList.h (set): remove unused function.
5669 2003-05-23 André Pönitz <poenitz@gmx.net>
5672 * BufferView_pimpl.C:
5676 * undo_funcs.C: setUndo reworked
5678 * iterators.[Ch]: add access to topmost ParagraphList
5680 * lyxtext.[Ch] (workWidth): add a const
5682 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5684 * texrow.[Ch] (increasePos): remove function
5685 * exporter.C (export): removed unused var and outdated comment
5687 2003-05-23 Angus Leeming <leeming@lyx.org>
5689 * latexrunparams.h: rename fragile as moving_arg.
5690 * paragraph.C (simpleTeXOnePar): ditto.
5691 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5693 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5695 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5697 (textUndoOrRedo): comment out a currently unused var.
5699 * paragraph.h (NO_NEXT): enable NO_NEXT
5701 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5703 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5705 * exporter.C (Export): adjust for removeAutoInsets removal.
5707 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5709 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5711 * BufferView.[Ch] (removeAutoInsets): delete function
5713 2003-05-22 Angus Leeming <leeming@lyx.org>
5715 * latexrunparams.h: add a free_spacing variable.
5717 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5718 to pass moving_arg, as the data is stored in runparams.fragile.
5720 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5721 to Inset::latexOptional or to simpleTeXOnePar.
5723 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5724 free_spacing arg to Inset::latexOptional.
5726 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5729 2003-05-22 Angus Leeming <leeming@lyx.org>
5731 * latexrunparams.h: add fragile and use_babel variables.
5733 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5734 * buffer.C (makeLaTeXFile): store this returned value in
5735 runparams.use_babel, thus passing it to the inset::latex methods.
5737 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5738 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5740 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5741 longer has a fragile arg, as it is stored in runparams.fragile.
5743 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5744 moving_arg parameter as the data is stored in runparams.fragile.
5746 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5747 a fragile parameter as the data is stored in runparams.fragile.
5749 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5751 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5753 2003-05-22 Angus Leeming <leeming@lyx.org>
5755 * latexrunparams.h: add a 'bool nice' which defaults to false.
5757 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5758 now encapsulated within runparams.
5760 * bufferlist.C (updateIncludedTeXfiles):
5761 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5763 2003-05-22 Angus Leeming <leeming@lyx.org>
5765 * latexrunparams.h: new file containing struct LatexRunParams.
5766 * Makefile.am: add new file.
5768 * LaTeX.[Ch] (c-tor, run):
5769 * buffer.[Ch] (makeLaTeXFile):
5770 * bufferlist.[Ch] (updateIncludedTeXfiles):
5771 * converter.C (convert, scanLog):
5772 * converter.[Ch] (runLaTeX):
5773 * exporter.C (Export):
5774 * paragraph.[Ch] (simpleTeXOnePar):
5775 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5776 * paragraph_funcs.[Ch] (latexParagraphs):
5777 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5778 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5779 pass around a LatexRunParams parameter.
5781 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5783 * paragraph.[Ch]: remove unused constructor
5785 * ParagraphList.C (erase): new function, taking two iterators
5787 2003-05-22 André Pönitz <poenitz@gmx.net>
5789 * undo_funcs.C: remove duplicated code
5791 * iterator.[Ch]: operator=
5793 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5795 * tabular.C (SetMultiColumn): ws changes
5797 * rowpainter.C (paintFirst): get rid of a ->previous
5799 * lyx_cb.C (getPossibleLabel): parlist simplification
5801 * BufferView.C (ChangeInsets): simplify slightly.
5803 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5805 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5806 * lfuns.h: new LFUN_SPACE
5807 * lyxfunc.C: protected space has a new lfun
5808 * paragraph_funcs.C: read new space insets
5810 * factory.C: handle new space insets
5812 2003-05-22 André Pönitz <poenitz@gmx.net>
5815 * BufferView_pimpl.C:
5818 * undo_funcs.C: return a ParIterator from getParFromID.
5820 * iterators.[Ch]: add two const's
5822 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5824 * toc.C (getTocList): adjust
5826 * iterators.[Ch]: rework for parlist
5828 * buffer.C (par_iterator_begin): adjust
5829 (par_iterator_end): adjust
5831 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5833 * BufferView.C (removeAutoInsets): adjust
5834 (ChangeInsets): adjust
5836 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5838 * text.C (top_y): fix bug 1110
5840 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5842 * errorlist.[Ch]: added
5845 * BufferView_pimpl.C:
5846 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5849 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5851 * Makefile.am: ensure that lyx is relinked upon changes to the
5852 various "convenience" libs.
5854 2003-05-20 Angus Leeming <leeming@lyx.org>
5856 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5857 files are compiled in alphabetical order again.
5859 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5861 2003-05-19 Angus Leeming <leeming@lyx.org>
5863 * gettext.[Ch]: remove "char const * _(char const *)".
5865 2003-05-19 André Pönitz <poenitz@gmx.net>
5867 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5876 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5878 2003-05-19 André Pönitz <poenitz@gmx.net>
5882 * lyxtextclass.[Ch]:
5884 * paragraph_funcs.[Ch]:
5886 * text3.C: more insetenv work
5888 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5890 * ParagraphParameters.C (params2string): small bug fixed
5892 2003-05-16 André Pönitz <poenitz@gmx.net>
5895 * bufferview_funcs.C: patch from Kornel Benko to prevent
5896 crash when _(...) is called twice in a statement
5898 2003-05-16 André Pönitz <poenitz@gmx.net>
5905 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5907 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5909 * lyx_main.C (init): remove spurious static_cast
5911 2003-05-14 André Pönitz <poenitz@gmx.net>
5913 * BufferView.C: fix format string
5915 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5917 * BufferView.[Ch] (insertErrors): removed
5918 * BufferView.[Ch] (showErrorList): added
5919 * buffer.C (runChkTeX):
5920 * converter.C (scanLog): call showErrorList instead of inserterrors
5922 2003-05-13 André Pönitz <poenitz@gmx.net>
5924 * BufferView_pimpl.C:
5926 * bufferview_func.C:
5933 * tabular_funcs.h: tostr() from its own header
5935 * ParagraphParameters.C:
5940 * text3.C: STRCONV()
5942 2003-05-12 André Pönitz <poenitz@gmx.net>
5945 * BufferView_pimpl.C:
5949 * ParagraphParameters.C:
5953 * bufferview_funcs.C:
5966 * paragraph_funcs.C:
5970 * text3.C: boost::format -> bformat all over the place
5973 2003-05-09 André Pönitz <poenitz@gmx.net>
5975 * LColor.[Ch]: Pimpl the #include <map> away
5977 2003-05-09 John Levon <levon@movementarian.org>
5979 * bufferlist.C: never remove emergency saves
5981 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5983 * Makefile.am: better lib building
5985 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5987 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5989 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5990 (simpleTeXSpecialChars): adjust
5991 (simpleTeXSpecialChars): adjust
5992 * paragraph.C (simpleTeXOnePar): adjust
5993 * buffer.C (makeLaTeXFile): adjust
5995 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5997 * text2.C (changeDepth): parlist cleanup
5998 (getColumnNearX): ditto
6000 * rowpainter.C (getLabelFont): parlist cleanup
6002 * bufferlist.C (newFile): parlist cleanup
6004 * CutAndPaste.C (eraseSelection): parlist cleanup
6006 * BufferView_pimpl.C (trackChanges): parlist cleanup
6009 * BufferView.C (lockInset): parlist cleanup.
6010 (ChangeInsets): ditto
6012 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
6014 * CutAndPaste.h: Update file header.
6016 * CutAndPaste.C: Update file header.
6017 Store the parts cut out of the Document in a limited_stack.
6018 (copySelection): adjust
6019 (pasteSelection): new function, takes the index in the limited stack.
6020 (nrOfParagraphs): adjust
6021 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
6022 simplify error inset insertion.
6023 (checkPastePossible): adjust
6025 2003-05-06 John Levon <levon@movementarian.org>
6027 * text2.C: don't cast wrap inset to float
6029 2003-05-05 André Pönitz <poenitz@gmx.net>
6032 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
6034 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
6035 few naked Paragraph *.
6037 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
6039 * bufferparams.C: Output warning if a document with missing
6040 TeX document class is loaded
6041 * exporter.C: Disable TeX exports if the document class is missing
6044 * lyxtextclasslist.C: Handle new textclass.lst format; new method
6045 isTeXClassAvailable()
6047 2003-05-03 John Levon <levon@movementarian.org>
6050 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
6051 explicit cursor show/hide
6053 * BufferView_pimpl.h:
6054 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
6055 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
6057 * lyxfunc.C: hide cursor before dispatching.
6062 * text3.C: remove explicit cursor hides
6064 2003-05-02 André Pönitz <poenitz@gmx.net>
6066 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
6069 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
6072 * text2.C: tiny whitespace
6074 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6076 * undo_funcs.C: almost only ws changes.
6078 * ParagraphList.C (splice): just return if pl is empty.
6080 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6082 * ParagraphList.C (splice): new function.
6084 * CutAndPaste.C (pasteSelection): use it
6086 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6088 * CutAndPaste.C (pasteSelection): remove the last next and
6089 previous from this file.
6091 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6093 * CutAndPaste.C (pasteSelection): more clean up, user proper
6094 ParagraphList functions for pasteing.
6096 * ParagraphList.C (insert): new function, three arg insert
6098 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6100 * ParagraphList.C (insert): new function, three arg insert
6102 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
6105 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6107 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
6109 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * CutAndPaste.C (pasteSelection): remove some unneeded code.
6113 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6115 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
6116 (copySelection): clean up a bit.
6117 (pasteSelection): use make_pair
6119 * ParagraphList.C (ParagraphList): implement copy constructor
6120 (operator=): implement, base on copy constructor.
6123 * paragraph.C (erase): return a bool
6125 * paragraph_pimpl.C (erasePos): remove function, move contents...
6126 (erase): ... here. Return a bool.
6127 (erase): call erase instead of erasePos.
6129 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
6131 * ParagraphList.h: define PitPosPair
6132 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
6133 ParagraphList, fix a bug on pasting multiple pars
6134 * text2.C: change interface to C&P
6136 2003-04-30 André Pönitz <poenitz@gmx.net>
6138 * undo_func.C: revert part of yesterday's patch 2
6140 2003-04-30 John Levon <levon@movementarian.org>
6142 * LColor.C: s/tabular/table/
6144 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * text3.C (dispatch): do not convert iterator -> pointer
6147 * undo_funcs.C (setCursorParUndo): ditto
6148 * text_funcs.C (transposeChars): ditto
6150 * text2.C (setLayout): ws changes only
6152 * text.C (breakParagraph): do not convert iterator -> pointer
6154 (acceptChange): ditto
6155 (rejectChange): ditto
6160 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6163 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6165 * text3.C (gotoInset): YABG (yet another bad getChar)
6167 2003-04-29 André Pönitz <poenitz@gmx.net>
6169 * paragraph.h: make operator= private unimplemented as long as
6172 * ParagraphList.C: whitespace
6175 * paragraph_pimpl.[Ch]:
6176 * paragraph_funcs.C:
6178 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6181 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6183 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6185 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6186 * paragraph.[Ch] (erase):
6187 * paragraph_pimpl.[Ch] (erase): change return type and value
6188 * text2.C (cutSelection): some rework
6190 2003-04-28 John Levon <levon@movementarian.org>
6192 * bufferlist.C: changes for unsaved changes dialog
6194 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6196 * bufferlist.C (newFile): set language (messages_) for new
6199 * buffer.C (readFile): ws changes only.
6201 2003-04-28 André Pönitz <poenitz@gmx.net>
6206 * BufferView_pimpl.C:
6207 * BufferView.C: getParFromID related ParagraphList::iterator changes
6209 2003-04-28 André Pönitz <poenitz@gmx.net>
6211 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6214 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6216 * messages.C: remove one more localedir class variable.
6218 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6220 * messages.C (getLocaleDir): singleton generation function
6222 (Messages): add a default constructor.
6224 * main.C (main): do not setup localedir here, do not call
6227 * gettext.C (_): use it.
6228 (gettext_init): delete funciton
6230 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6232 * gettext.C (getLyXMessages): new singleton generating function.
6234 * buffer.C (updateDocLang): adjust
6236 * Makefile.am (messages.o): add target
6237 (main.o): remove target
6239 2003-04-27 John Levon <levon@movementarian.org>
6244 * lyxvc.C: specify cancel button in Alert::prompt
6246 2003-04-26 John Levon <levon@movementarian.org>
6251 * LyXAction.C: add LFUN_INSET_SETTINGS
6253 * lyxfunc.C: don't enable tabular-feature when there's
6254 just any locking inset
6256 2003-04-26 John Levon <levon@movementarian.org>
6258 * bufferlist.C: re-add Cancel to buffer close question
6260 * lyxfunc.C: fix import UI a bit
6262 2003-04-25 John Levon <levon@movementarian.org>
6264 * gettext.C: remove the broken asserts for now
6266 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6268 * messages.C: make case where setlocale cannot comply work better.
6270 * buffer.C (updateDocLang): new function
6271 (changeLanguage): use it
6274 * text2.C (setCounter): use B_ a bit.
6276 * lyxlayout.C (Read): be sure to trim the label strings.
6278 * messages.C (Messages): fix typo in comment
6280 * buffer.C (readFile): set message_ after file is loaded.
6281 (makeDocBookFile): remove double return
6282 (changeLanguage): reset message_ upon language change.
6283 (B_): new func, use this to get translated buffer strings.
6285 * main.C: add myself and Jean Marc as authors.
6287 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6289 * messages.[hC]: pimplify Messages, and three different pimpls to be
6290 used in different circumstances.
6292 * gettext.[Ch]: change for use with new message code.
6294 2003-04-24 André Pönitz <poenitz@gmx.net>
6296 * factory.C: support for eqref
6298 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * messages.[Ch]: add missing char
6302 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6304 * messages.[Ch]: New files
6306 2003-04-18 John Levon <levon@movementarian.org>
6310 * BufferView_pimpl.C:
6314 * text2.C: remove layout-copy/paste (bug 778)
6316 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6318 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6320 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6322 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6323 if they succeed. Act accordingly.
6325 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6327 * text2.C (setCharFont): adjust
6328 (setCounter): adjust
6329 (insertStringAsLines): adjust
6331 * text.C (leftMargin): adjust
6332 (setHeightOfRow): adjust
6334 * rowpainter.C (paintFirst): adjust
6337 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6339 (isFirstInSequence): ditto
6340 (getEndLabel): ditto
6343 * paragraph.C (getParLanguage): comment out some hard stuff.
6345 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6347 (simpleDocBookOnePar): ditto
6348 (makeDocBookFile): use ParagraphList::iterator
6350 * CutAndPaste.C (pasteSelection): adjust
6352 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6354 * text2.C (getFont): adjust
6355 (getLayoutFont): adjust
6356 (getLabelFont): adjust
6358 * paragraph_funcs.C (TeXOnePar): adjust
6360 * buffer.C (simpleLinuxDocOnePar): adjust
6361 (simpleDocBookOnePar): adjust
6363 * CutAndPaste.C (pasteSelection): adjust
6365 * BufferView.C (getEncoding): adjust
6367 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6369 2003-04-16 John Levon <levon@movementarian.org>
6371 * lyxfind.C: use parlist stuff for search/changes
6373 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6375 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6377 * text2.C (deleteEmptyParagraphMechanism): adjust
6379 * text2.[Ch] (ownerParagraph): delete func (both of them
6381 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6383 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6385 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6387 * ParagraphList.C: prepare for NO_NEXT
6389 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6391 * text2.C (getFont): adjust
6392 (getLayoutFont): adjust
6393 (getLabelFont): adjust
6395 * paragraph.C (getFont): adjust
6396 (getLabelFont): adjust
6397 (getLayoutFont): adjust
6399 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6401 2003-04-15 John Levon <levon@movementarian.org>
6405 * lyx_main.C: handle Include in .ui files
6407 2003-04-15 John Levon <levon@movementarian.org>
6409 * MenuBackend.C: make the doc files length shorter
6412 * ToolbarBackend.C: handle toolbar placement flags,
6415 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6417 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6420 * paragraph_funcs.C (TeXOnePar): adjust
6422 * paragraph.C (getLabelFont): add outerfont arg, adjust
6423 (getLayoutFont): ditto
6424 (simpleTeXOnePar): adjust
6426 * paragraph_pimpl.C (realizeFont): delete func
6428 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6430 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6431 row argument, constify cur argument.
6433 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6435 * text2.C (getFont): adjust
6436 (getLayoutFont): adjust
6437 (getLabelFont): adjust
6439 * paragraph_funcs.C (TeXOnePar): adjust
6440 (outerFont): new func...
6441 (realizeFont): ...moved out from here, changed this to facilitate
6444 * paragraph.C (getFont): take outerfont as arg, adjust
6445 (simpleTeXOnePar): add outerfont arg, adjust
6447 * buffer.C (simpleLinuxDocOnePar): adjust
6448 (simpleDocBookOnePar): adjust
6450 * CutAndPaste.C (pasteSelection): adjust
6452 * BufferView.C (getEncoding): adjust
6454 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6456 * text2.C (setCharFont): adjust
6457 (setCounter): adjust
6459 * text.C (leftMargin): adjust
6460 (setHeightOfRow): adjust
6462 * rowpainter.C (paintFirst): adjust
6465 * paragraph_pimpl.C (realizeFont): adjust
6467 * paragraph.C (isFirstInSequence): move from here...
6468 * paragraph_funcs.C (isFirstInSequence): ...to here
6470 * paragraph.C (outerHook): move from here...
6471 * paragraph_funcs.C (outerHook): ...to here
6473 * paragraph.C (depthHook): move from here...
6474 * paragraph_funcs.C (depthHook): ...to here
6476 * paragraph.C (getEndLabel): move from here...
6477 * paragraph_funcs.C (getEndLabel): ...to here
6479 * text2.C (realizeFont): move from here...
6480 * paragraph_funcs.C (realizeFont): ...to here
6482 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6484 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6486 2003-04-14 Angus Leeming <leeming@lyx.org>
6488 * LColor.[Ch]: scrap LColor mathcursor.
6490 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6492 * lyxlex.[Ch] (text): delete function
6493 * trans.C (Load): adjust
6494 * paragraph_funcs.C (readParToken): adjust
6496 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6498 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6499 vector<char> instead of a char[].
6501 * lyxlex_pimpl.C (getString): adjust
6503 (lex): use getString
6507 * lyxlex.C (text): use pimpl_->getString()
6511 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6513 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6514 (makeFontEntriesLayoutSpecific): temp var for par.size()
6515 (setLayout): temp var for ownerParagraphs().end()
6516 (fullRebreak): temp var for rows().end()
6517 (selectionAsString): temp var for boost::next(startpit), realize
6518 that the while really is a regular for loop.
6519 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6520 setCursor in one place.
6521 (setParagraph): temp vr for ownerParagraphs().end()
6522 (updateCounters): make the while loop a for loop
6523 (cutSelection): temp var for ownerParagraphs().end()
6524 (updateInset): make the do {} while() a regular for loop
6525 (getCursorX): use temp vars
6526 (setCurrentFont): use temp vars
6527 (getColumnNearX): use temp vars
6529 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6531 * text.C (transformChar): use temp var for getChar
6532 (computeBidiTables): use temp var for row->par()
6533 (fill): move temp vars for row->par() and pit->layout() earlier in
6535 (labelFill): use temp var for row->par()
6536 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6537 asc and desc, realize that pit never changes and that firstpit is
6538 just a duplicate and not needed. Exchange rit->par() with pit in a
6540 (breakAgain): use a temp var for boost::next(rit)
6541 (breakAgainOneRow): ditto
6542 (breakParagraph): use a temp var for rows().begin()
6543 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6544 (cursorRightOneWord): use temp var for cursor.par() and
6545 cursor.pos(), remove usage of tmpcursor.
6546 (cursorLeftOneWord): use temp var for cursor.par() and
6547 cursor.pos() only set cur at end of function.
6549 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6551 * text.C, text2.C: exchange all usage of Paragraph::next with
6552 boost::next(ParagraphList::iterator)
6554 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6556 * text2.C (cursorTop): simplify implementation
6557 (cursorBottom): ditto
6558 (setParagraph): use ParagraphList::iterator
6559 (setCurrentFont): adjust
6560 (getColumnNearX): adjust
6561 (cursorRight): adjust
6562 (cursorLeft): remove usage of Paragraph::previous
6563 (cursorUpParagraph): ditto
6564 (deleteEmptyParagraphMechanism): slight cleanup
6566 * text.C (isBoundary): take a Paragraph const & instead of a
6568 (addressBreakPoint): ditto
6569 (leftMargin): remove usage of Paragraph::previous.
6570 (setHeightOfRow): ditto
6571 (cursorLeftOneWord): ditto
6572 (selectNextWordToSpellcheck): ditto
6575 (breakParagraph): remove one usage of Paragraph::next
6576 (redoParagraph): ditto
6577 (acceptChange): ditto
6578 (insertChar): adjust
6579 (rowBreakPoint): adjust
6581 * bufferview_funcs.C (toggleAndShow): adjust
6583 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6585 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6586 methods to access it.
6588 * text.C: Added updateRowPositions to compute all row positions.
6589 Make top_y and getRowNearY() to use the cached y position
6591 2003-04-11 John Levon <levon@movementarian.org>
6593 * text.C (rowBreakPoint): reintroduce the labelEnd
6594 checks, code copied from the row fill stuff. Deep voodoo.
6596 * text.C (fill): add a comment and debugging for the
6599 2003-04-11 John Levon <levon@movementarian.org>
6601 * text.C: make sure fullrow insets get wrapped to the next line,
6602 even when they're in a manual label
6604 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6606 * text2.C (insertParagraph): make it take ParagraphList::iterator
6608 (setLayout): make it return ParagraphList::iterator
6609 (redoParagraphs): ditto
6611 (checkParagraph): ditto
6613 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6615 * text2.C: adjust several funcs.
6616 (realizeFont): take a ParagraphList::iterator as arg.
6617 (getLayoutFont): ditto
6618 (getLabelFont): ditto
6619 (setCharFont): ditto
6621 * text.C: adjust several funcs.
6623 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6625 * text.C (selectNextWordToSpellcheck): don't accidentally
6628 2003-04-10 John Levon <levon@movementarian.org>
6630 * ToolbarBackend.C (getIcon): special handling for
6633 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6635 * text2.C (cursorRight): a getChar assert fixed
6637 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6639 * text2.C (getFont): change to take a ParagraphList::iterator
6640 instead of Paragraph*
6641 Adjust several functions.
6643 * text.C (transformChar): change to take a ParagraphList::iterator
6644 instead of Paragraph*
6645 (singleWidth): ditto
6646 Adjust several functions.
6648 * rowpainter.C: adjust several functions
6649 * rowpainter.h:store a ParagraphList::iterator and not a
6653 2003-04-09 John Levon <levon@movementarian.org>
6658 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6659 and the "help" bits as well
6661 2003-04-09 John Levon <levon@movementarian.org>
6664 * ToolbarBackend.C: allow multiple toolbars
6666 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6668 * undo_funcs.C (setCursorParUndo): adjust
6670 * text_funcs.C (transposeChars): adjust
6672 * text3.C (gotoNextInset): adjust
6675 * text2.C (setLayout): adjust
6676 (changeDepth): adjust
6678 (redoParagraphs): adjust
6679 (selectionAsString): adjust
6680 (setParagraph): adjust
6681 (insertInset): adjust
6682 (cutSelection): adjust
6683 (copySelection): adjust
6684 (pasteSelection): adjust
6685 (insertStringAsLines): adjust
6686 (updateInset): adjust
6687 (setCursor): change to take a ParagraphList::iterator parameter
6688 (setCursorIntern): change to take a ParagraphList::iterator parameter
6689 (setCurrentFont): adjust
6690 (cursorLeft): adjust
6691 (cursorRight): adjust
6692 (deleteEmptyParagraphMechanism): adjust
6694 * text.C (breakParagraph): adjust
6695 (insertChar): adjust
6696 (acceptChange): adjust
6697 (rejectChange): adjust
6698 (selectNextWordToSpellcheck): adjust
6699 (changeCase): adjust
6703 * lyxfind.C (SearchForward): adjust
6704 (SearchBackward): adjust
6705 (nextChange): adjust
6707 * lyxcursor.C (par): adjust
6709 * lyxcursor.h: store a ParagraphList::iterator instead of a
6712 * lyx_cb.C (getPossibleLabel): adjust
6714 * bufferview_funcs.C (toggleAndShow): adjust
6716 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6719 * BufferView.C (removeAutoInsets): adjust
6720 (lockedInsetStoreUndo): adjust
6722 2003-04-09 John Levon <levon@movementarian.org>
6724 * ToolbarBackend.C: try icon without argument
6725 if with argument fails
6727 2003-04-08 John Levon <levon@movementarian.org>
6730 * ToolbarBackend.C: add getIcon(), handle tooltip,
6731 and change from "Icon" to "Item".
6733 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6735 * BufferView.C (lockInset): another bad getchar crunched
6737 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6739 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6742 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6744 * lyxfind.C (searchForward, searchBackwards): bug 782
6746 2003-04-07 John Levon <levon@movementarian.org>
6748 * paragraph.C: remove dead comment
6750 * text.C: remove troublesome depth-fiddling code
6751 in leftMargin() and rightMargin() (bug 1017)
6753 * text.C: fix breaking of rows in nested lists
6756 * text2.C (updateCounters): fix up depth values
6759 2003-04-07 John Levon <levon@movementarian.org>
6761 * BufferView_pimpl.C: clear message when doc finishes resizing,
6762 and after a mouse event
6764 * lyxfunc.C: clear message after exiting inset
6766 2003-04-07 John Levon <levon@movementarian.org>
6768 * bufferview_funcs.C: show math status not outside
6769 status in the statusbar
6771 2003-04-07 John Levon <levon@movementarian.org>
6773 * lyxfunc.C: note status changed after a depth change
6775 2003-04-04 Angus Leeming <leeming@lyx.org>
6777 * LaTeX.h: move AuxInfo operator==, != out of line.
6778 Remove LaTeX virtual destructor; nothing derives from it.
6779 Move operator()() out of public area and rename it startscript().
6780 Change protected for private.
6782 2003-04-04 Angus Leeming <leeming@lyx.org>
6785 * text2.C: remove unneeded #includes.
6787 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6789 * text2.C (dEPM): fix the heigth of the next row
6791 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6793 * text.C: squashed an invalid getChar requester + some ws changes
6795 2003-04-03 John Levon <levon@movementarian.org>
6797 * bufferview_funcs.h:
6798 * bufferview_funcs.C:
6801 * text2.C: make getStatus work for the env depth lfuns
6803 2003-04-03 John Levon <levon@movementarian.org>
6805 * bufferview_funcs.h:
6806 * bufferview_funcs.C:
6809 * text2.C: parlistize decDepth(), by merging it with incDepth()
6811 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6813 * lyxrow.h: store a ParagraphList::iterator instead of a
6814 Paragraph* and adjust other class functions to suit.
6816 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6819 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6821 * text2.C (setCursor): do not anchor to cursor row for the time being
6823 2003-04-02 John Levon <levon@movementarian.org>
6830 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6832 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6834 * paragraph.h: make ParagraphList and ParagraphList::iterator
6835 friends of Paragraph.
6837 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6839 * ParagraphList.C: Use the private next_ and previous_ from
6842 2003-04-01 John Levon <levon@movementarian.org>
6846 * Makefile.am: rename, remove defaults gunk
6849 * MenuBackend.C: remove defaults gunk
6852 * Languages.C: remove defaults gunk
6855 * lyx_main.C: error out if files couldn't be found.
6857 2003-04-02 John Levon <levon@movementarian.org>
6859 * text2.C: make incDepth() use parlist
6861 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6863 * undo_funcs.C (firstUndoParagraph): adjust
6865 * text3.C (gotoInset): adjust
6866 (dispatch): adjust, and rewrite loop.
6868 * text2.C (init): adjust, and rewrite loop.
6869 (redoParagraphs): adjust
6870 (updateInset): adjust, and rewrite loop.
6871 (deleteEmptyParagraphMechanism): adjust
6873 * tabular.C (LyXTabular): adjust
6874 (SetMultiColumn): adjust
6877 * lyxtext.[Ch] (ownerParagraph): delete function
6878 (ownerParagraphs): new function returns a ParagraphList.
6880 * BufferView.C (removeAutoInsets): adjust
6881 (insertErrors): adjust
6882 (setCursorFromRow): adjust
6884 2003-04-01 Angus Leeming <leeming@lyx.org>
6886 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6889 2003-04-02 John Levon <levon@movementarian.org>
6895 * text_funcs.C: make transposeChars a free function
6897 * lyxrow_funcs.C: remove wrong comment
6899 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6902 * rowpainter.C: adjust
6907 * lyxrow_funcs. [Ch]: new files
6909 * lyxrow.[Ch]: remove next and previous pointers
6910 (next,previous): remove accessor functions
6911 (isParEnd): move to lyxrow_funcs
6912 (lastPos): move to lyxrow_funcs
6913 (nextRowIsAllInset): move to lyxrow_funcs
6914 (lastPrintablePos): move to lyxrow_funcs
6915 (numberOfSeparators): move to lyxrow_funcs
6916 (numberOfHfills): move to lyxrow_funcs
6917 (numberOfLabelHfills): move to lyxrow_funcs
6918 (hfillExpansion): move to lyxrow_funcs
6922 * bufferview_funcs.C (toggleAndShow): adjust
6924 * RowList.h: Remove class RowList from file leave just a
6927 * RowList.C: delete file
6929 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6932 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6934 * text3.C (cursorPrevious): adjust
6935 (cursorNext): adjust
6938 * text2.C (redoHeightOfParagraph): adjust
6939 (redoDrawingOfParagraph): adjust
6942 * text.C (breakParagraph): adjust
6943 (insertChar): adjust
6946 * rowpainter.C (RowPainter): adjust
6947 (leftMargin): simplify and adjust
6948 (most rowpainter functions): adjust.
6950 * rowpainter.h: store the row as RowList::iterator not as Row*
6952 * lyxcursor.C (row): taka RowList::iterator as arg
6955 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6958 2003-04-01 Angus Leeming <leeming@lyx.org>
6960 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6961 stuff like bool Bool.
6963 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6965 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6968 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6970 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6973 * lyxtext.h (rows): drop one version and leve a const variant that
6974 returns a RowList::iterator.
6976 2003-03-31 Angus Leeming <leeming@lyx.org>
6978 * text.C (fill): ensure that the signature is the same as that in the
6981 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6983 * text2.C (redoParagraphs): adjust
6984 (updateCounters): adjust
6985 (checkParagraph): adjust
6986 (getColumnNearX): adjust and reformat a bit.
6988 * text.C (top_y): adjust
6990 (leftMargin): adjust
6991 (prepareToPrint): adjust
6993 (getRowNearY): adjust
6995 * lyxtext.h: make rowlist_ mutable.
6997 * RowList.h: add const_iterator
6998 * RowList.C: adjust for RowList::const_iterator.
7000 * text2.C (getCursorX): make it take a RowList::iterator as arg,
7003 2003-03-31 John Levon <levon@movementarian.org>
7006 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
7008 * lyx_main.C: set default fonts from using lyx_gui funcs
7010 * exporter.C: pdf_mode moved from lyxrc
7013 * lyxfunc.C: changes from above
7015 2003-03-31 John Levon <levon@movementarian.org>
7017 * lyx_main.C: fix to the last fix
7019 2003-03-31 John Levon <levon@movementarian.org>
7021 * bufferlist.C: "Load original" -> "Load Original"
7027 * format.C: more Alert cleanups
7029 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7031 * text2.C (removeParagraph): make it take a RowList::iterator as
7033 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
7034 (postRowPaint): make it take a RowList::iterator as arg, adjust.
7036 * text.C (anchor_row): make it take a RowList::iterator as arg,
7038 (computeBidiTables): make it take a const reference to Row instead
7039 of Row pointer, adjust.
7040 (leftMargin): make it take a RowList::iterator as arg, adjust.
7041 (rowBreakPoint): adjust
7042 (breakAgainOneRow): make it take a RowList::iterator as arg,
7044 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
7046 * bufferview_funcs.C (toggleAndShow): adjust
7048 2003-03-30 John Levon <levon@movementarian.org>
7052 * boost-inst.C: moved to support
7054 * several files: changes as a result
7056 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
7058 * text2.C (LyXText): adjust.
7060 (removeRow): make it take a RowList::iterator as arg, adjust.
7061 (fullRebreak): adjust
7062 (deleteEmptyParagraphMechanism): adjust
7063 (clearPaint): adjust
7066 * text.C (top_y): adjust
7067 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
7068 (breakAgain): make it take a RowList::iterator as arg, adjust.
7069 (breakParagraph): adjust
7070 (insertChar): adjust
7073 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
7074 need_break_row, and refresh_row.
7076 * text3.C (dispatch): adjust
7078 * text2.C (checkParagraph): adjust
7080 (setCursorFromCoordinates): adjust
7082 * text.C (top_y): adjust
7084 (getRow): make it return a RowList::iterator, adjust
7085 (getRowNearY): make it return a RowList::iterator, adjust
7087 * text2.C (init): adjust
7088 (insertRow): remove function
7089 (insertParagraph): adjust
7090 (redoParagraphs): adjust
7091 (fullRebreak): adjust
7092 (updateCounters): adjust
7094 * text.C (top_y): rewrite to use RowList iterators.
7096 (setHeightOfRow): rewrite to sue RowList iterators.
7097 (appendParagraph): adjust
7098 (breakAgain): adjust
7099 (breakAgainOneRow): adjust
7100 (breakParagraph): adjust
7102 (getRowNearY): adjust, and remove commented code.
7104 * lyxtext.h (firstRow): delete function
7105 (lastRow): delete function
7106 (rows): new function (const and non-const versions.)
7107 (insertRow): delete function
7109 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
7111 2003-03-29 John Levon <levon@movementarian.org>
7113 * BufferView_pimpl.C: always update scrollbar top
7114 because pasting text when we're anchored could mean we
7115 miss an update altogether
7117 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
7119 * text2.C (init): use rowlist_.end() and not 0.
7120 (insertRow): change to take a RowList::iterator as arg, adjust
7122 (insertParagraph): change to take a RowList::iterator as arg,
7124 (redoParagraphs): remove some debug msgs.
7126 * text.C (appendParagraph): change to take a RowList::iterator
7127 arg, adjust for this.
7128 (breakAgain): add an assert
7129 (breakAgainOneRow): ditto
7131 2003-03-29 John Levon <levon@movementarian.org>
7133 * text2.C: do not clear selection after inc/decDepth
7136 2003-03-29 John Levon <levon@movementarian.org>
7139 * buffer.C: fix broken strerrors according to Lars
7141 2003-03-29 John Levon <levon@movementarian.org>
7143 * converters.C: more Alert cleanups
7145 2003-03-29 John Levon <levon@movementarian.org>
7147 * bufferview_funcs.C: remove pointless Alert
7149 * buffer.C: fix confusing error message when
7150 a template is chmoded 000
7152 2003-03-29 John Levon <levon@movementarian.org>
7156 * BufferView_pimpl.C: Alert fixes
7160 * tabular-old.C: remove unused table compat reading
7162 2003-03-29 John Levon <levon@movementarian.org>
7167 * lyx_cb.C: more Alert cleanups
7169 * lyxfunc.C: don't allow chktex if not latex document
7171 2003-03-29 John Levon <levon@movementarian.org>
7175 * buffer.C: warnings pushed down from support/,
7178 2003-03-29 John Levon <levon@movementarian.org>
7180 * lyxfunc.C: safety check for C-r (revert)
7182 2003-03-29 John Levon <levon@movementarian.org>
7185 * bufferlist.C: several UI fixes using Alert::prompt.
7186 Fix the pointless looping quit code. Fix stupid revert
7191 * lyx_cb.C: use Alert::prompt
7193 * lyx_main.C: remove a silly question
7195 * lyxfunc.C: remove a couple of silly questions,
7198 2003-03-28 John Levon <levon@movementarian.org>
7200 * text2.C: fix bug 974 (End on empty par)
7202 2003-03-28 John Levon <levon@movementarian.org>
7204 * BufferView_pimpl.C:
7206 * lfuns.h: remove do-nothing math greek lfuns
7208 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7210 * lyxgluelength.h (isValidGlueLength): add default arg on
7211 parameter 2. Remove default arg from friend in class.
7213 * lyxlength.h (isValidLength): add default arg on parameter 2.
7214 Remove default arg from friend in class.
7216 * text2.C (LyXText): adjust, initialize refresh_row.
7220 (insertParagraph): adjst
7221 (redoParagraphs): adjust
7222 (fullRebreak): adjust
7223 (updateCounters): adjust
7224 (deleteEmptyParagraphMechanism): first attempt at fixing a
7227 * text.C (top_y): adjust
7228 (setHeightOfRow): adjust
7230 (getRowNearY): adjust
7232 * lyxtext.h: include RowList.h
7233 (~LyXText): not needed anymore, deleted.
7234 (firstRow): modify for RowList
7235 (lastRow): new function
7236 Delete firstrow and lastrow class variables, add a Rowlist
7237 rowlist_ class variable.
7239 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7242 * RowList.C (insert): fix case where it == begin().
7244 2003-03-26 Angus Leeming <leeming@lyx.org>
7246 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7247 the thesaurus dialog.
7249 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7251 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7253 * RowList.[Ch]: new files
7255 * ParagraphList.C (erase): handle the case where it == begin
7258 2003-03-25 John Levon <levon@movementarian.org>
7262 * aspell.C: add new aspell support
7265 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7268 2003-03-25 Angus Leeming <leeming@lyx.org>
7271 * LyXAction.C (init): new LFUN_INSET_INSERT.
7273 * BufferView_pimpl.C (dispatch): split out part of the
7274 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7276 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7279 2003-03-25 Angus Leeming <leeming@lyx.org>
7281 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7283 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7286 * text3.C: remove useless row->height(0)
7288 2003-03-25 John Levon <levon@movementarian.org>
7292 * text3.C: rename the refreshing stuff to better names
7294 2003-03-24 John Levon <levon@movementarian.org>
7296 * BufferView_pimpl.h:
7297 * BufferView_pimpl.C: update layout choice on a mouse
7300 2003-03-23 John Levon <levon@movementarian.org>
7302 * Makefile.am: fix commandtags.h reference
7304 2003-03-22 John Levon <levon@movementarian.org>
7306 * BufferView_pimpl.C:
7311 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7313 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7316 * text.C: take the rtl methods out of line
7318 2003-03-21 André Pönitz <poenitz@gmx.net>
7320 * metricsinfo.[Ch]: new files containing structures to be passed around
7321 during the two-phase-drawing...
7323 2003-03-21 André Pönitz <poenitz@gmx.net>
7325 * lyxtextclass.C: read 'environment' tag.
7327 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7329 * text2.C (removeRow): fix bug 964
7331 2003-03-20 John Levon <levon@movementarian.org>
7335 * text2.C: paint cleanups. Inset::update() dropped font
7338 2003-03-19 John Levon <levon@movementarian.org>
7340 * lyxfunc.C: only fitcursor/markDirty if available()
7342 2003-03-19 John Levon <levon@movementarian.org>
7344 * commandtags.h: rename to ...
7346 * lfuns.h: ... this, and renumber / cleanup
7348 2003-03-19 John Levon <levon@movementarian.org>
7350 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7351 fit the cursor after an lfun
7355 * BufferView_pimpl.h:
7356 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7358 * LyXAction.C: layout-character should have ReadOnly
7360 * ParagraphParameters.C:
7362 * bufferview_funcs.C:
7369 * undo_funcs.C: changes from above
7371 2003-03-18 John Levon <levon@movementarian.org>
7373 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7374 remove it from update()
7376 * lyxfunc.C: update layout choice after an lfun
7378 * text3.C: remove extra updateLayoutChoice()s
7380 2003-03-18 John Levon <levon@movementarian.org>
7382 * text.C: top_y change means full repaint, fix
7383 a drawing bug with cursor movement
7385 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7389 * text2.C: anchor row on setCursor
7391 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7393 * lyxtext.h: remove almost all mutable keywords
7396 * text3.C: remove const keywords accordingly
7398 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7400 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7402 (TeXEnvironment): ditto
7405 2003-03-17 John Levon <levon@movementarian.org>
7407 * text.C (rowBreakPoint): remove attempt to fix displayed
7408 math insets inside a manual label
7410 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7412 * lyxtext.h: remove BufferView* as first arg from almost all class
7414 * other files: adjust.
7416 2003-03-17 John Levon <levon@movementarian.org>
7420 * text2.C: more paint cleanups
7422 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7425 * rowpainter.C: remove "smart" background painting code
7427 2003-03-16 John Levon <levon@movementarian.org>
7432 * text3.C: add helper functions for setting refresh_row/y
7434 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7436 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7437 newline inset which *can* get inserted in the pass_thru layouts.
7438 This is primarily for literate documents.
7440 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7442 * buffer.C: increment LYX_FORMAT to 223
7444 2003-03-14 André Pönitz <poenitz@gmx.net>
7446 * textclass.h: prepare for environment handling, ws changes
7447 * lyxlayout.C: read latexheader and latexfooter tags
7449 2003-03-14 John Levon <levon@movementarian.org>
7451 * text2.C: rewrite ::status() a bit
7453 2003-03-13 John Levon <levon@movementarian.org>
7455 * lyxtext.h: add some docs
7457 2003-03-13 John Levon <levon@movementarian.org>
7462 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7464 2003-03-13 John Levon <levon@movementarian.org>
7466 * text3.C: fix appendix redrawing
7468 2003-03-13 John Levon <levon@movementarian.org>
7470 * text.C (setHeightOfRow):
7472 * rowpainter.C: make appendix mark have the text
7473 "Appendix" so the user knows what it is
7476 * LColor.C: s/appendixline/appendix/ from above
7478 2003-03-13 John Levon <levon@movementarian.org>
7480 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7482 * text.C: fix a getChar(pos) bug properly
7484 2003-03-13 Angus Leeming <leeming@lyx.org>
7487 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7488 Probably only temporary. Let's see how things pan out.
7490 * BufferView.C (unlockInset):
7491 * BufferView_pimpl.C (fitCursor):
7492 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7494 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7495 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7497 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7498 new functions that convert ParagraphParameters to and from a string.
7500 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7501 BufferView::Pimpl's dispatch.
7502 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7504 2003-03-13 André Pönitz <poenitz@gmx.net>
7508 * factory.C: make it aware of InsetEnv
7510 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7512 * text2.C (setCursor): never ask for one past last
7513 (setCursor): add some debugging messages.
7515 * text.C (singleWidth): never ask for one past last
7516 (singleWidth): ditto
7518 (rightMargin): ditto
7519 (rowBreakPoint): ditto
7520 (setHeightOfRow): ditto
7521 (prepareToPrint): ditto
7523 * rowpainter.C (paintBackground): never ask for one past last
7524 (paintText): never ask for one past last
7526 * paragraph_pimpl.C (getChar): make the assert stricter, never
7527 allow the one past last pos to be taken
7529 * paragraph.C (getChar): ws changes only
7531 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7532 (numberOfSeparators): ditto
7533 (numberOfHfills): ditto
7535 2003-03-12 John Levon <levon@movementarian.org>
7541 * paragraph_funcs.C: fix per-buffer authorlists
7543 2003-03-12 John Levon <levon@movementarian.org>
7545 * text.C: fix newline in right address
7547 2003-03-12 Angus Leeming <leeming@lyx.org>
7549 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7550 duplicate those in LyXFunc::dispatch.
7554 * ToolbarDefaults.C:
7555 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7556 Add LFUN_FONTFREE_UPDATE.
7558 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7559 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7561 * bufferview_func.[Ch]: several new functions to facilliate
7562 transfer of data to and from the character dialog.
7564 2003-03-12 John Levon <levon@movementarian.org>
7569 * paragraph_funcs.C:
7570 * paragraph_pimpl.C:
7574 * text3.C: remove META_NEWLINE in favour of an inset
7577 * rowpainter.C: remove paintNewline (done by inset)
7579 2003-03-12 John Levon <levon@movementarian.org>
7581 * paragraph_pimpl.C: complain about bad getChar()s
7582 for a while at least
7584 2003-03-12 John Levon <levon@movementarian.org>
7587 * buffer.C: move paragraph read into a separate function,
7588 a little renaming to reflect that.
7591 * bufferparams.C: remove the author_ids map, not necessary now
7594 * factory.C: moved Buffer::readInset to here
7596 * paragraph_funcs.h:
7597 * paragraph_funcs.C: readParagraph free function moved from
7600 * tabular.C: name change
7602 2003-03-12 John Levon <levon@movementarian.org>
7605 * ParagraphParameters.C: move par params input to
7608 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7609 behave like a normal read from the stream wrt reading
7610 a line vs. a \\token
7612 2003-03-12 John Levon <levon@movementarian.org>
7615 * ParagraphParameters.h:
7616 * ParagraphParameters.C: move output code to a
7619 2003-03-12 John Levon <levon@movementarian.org>
7621 * BufferView.C (insertLyXFile):
7624 * tabular.C: use a parlist iterator for creating the
7627 2003-03-12 John Levon <levon@movementarian.org>
7629 * buffer.C: make current_change static local not
7632 2003-03-12 John Levon <levon@movementarian.org>
7634 * buffer.C: fix insertStringAsLines for change tracking
7636 2003-03-12 John Levon <levon@movementarian.org>
7643 * bufferparams.C: move author list into params. Rename some
7644 functions. Move the header reading into a separate token
7645 loop. Move the header token reading into BufferParams.
7647 2003-03-12 John Levon <levon@movementarian.org>
7649 * changes.C: put debug inside lyxerr.debugging() checks
7651 2003-03-11 André Pönitz <poenitz@gmx.net>
7653 * factory.C: make it aware of InsetHFill
7655 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7657 * buffer.C (latexParagraphs): move function from here...
7658 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7661 2003-03-10 Angus Leeming <leeming@lyx.org>
7663 * LyXAction.C (init): fix bug in poplating array with multiple entries
7664 with the same LFUN (spotted by JMarc).
7666 2003-03-10 John Levon <levon@movementarian.org>
7669 * text2.C: move getColumnNearX() near its
7672 2003-03-10 John Levon <levon@movementarian.org>
7674 * text.C: fix break before a minipage
7676 2003-03-10 John Levon <levon@movementarian.org>
7678 * text.C: fix the last commit
7680 2003-03-09 John Levon <levon@movementarian.org>
7684 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7685 bug 365 (don't break before insets unless needed). Don't
7686 return a value > last under any circumstances.
7688 2003-03-09 Angus Leeming <leeming@lyx.org>
7690 * BufferView_pimpl.C (trackChanges, dispatch): call
7691 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7693 2003-03-09 Angus Leeming <leeming@lyx.org>
7695 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7696 than Dialogs::showAboutlyx().
7698 2003-03-09 Angus Leeming <leeming@lyx.org>
7700 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7701 than Dialogs::showTabularCreate().
7703 2003-03-09 John Levon <levon@movementarian.org>
7707 * text2.C: 3rd arg to nextBreakPoint was always the same.
7710 2003-03-08 John Levon <levon@movementarian.org>
7717 * text2.C: Remove the "main" bit from the "main body"
7720 2003-03-08 John Levon <levon@movementarian.org>
7722 * text.C (leftMargin): The left margin of an empty
7723 manual label paragraph should not include the label width
7726 * text.C (prepareToPrint): don't attempt to measure hfills
7727 for empty manual label paragraphs - the answer should be 0
7729 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * CutAndPaste.C: remove commented code and reindent.
7733 2003-03-08 John Levon <levon@movementarian.org>
7736 * lyxfunc.C: move reloadBuffer()
7739 * BufferView.C: to here
7741 * lyxvc.C: add comment
7744 * vc-backend.C: call bv->reload() to avoid
7745 getStatus() check on MENURELOAD
7747 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7749 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7750 to an old format .dep file.
7752 2003-03-07 Angus Leeming <leeming@lyx.org>
7754 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7755 when the LFUN_MOUSE_RELEASE should have been handled by
7756 inset->localDispatch.
7758 2003-03-07 Angus Leeming <leeming@lyx.org>
7760 * BufferView_pimpl.C (dispatch):
7761 * LyXAction.C (init):
7762 * ToolbarDefaults.C (init):
7764 * lyxfunc.C (getStatus):
7765 remove LFUN_INSET_GRAPHICS.
7767 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7769 2003-03-07 Angus Leeming <leeming@lyx.org>
7772 * LyXAction.C (init):
7773 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7775 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7778 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7780 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7781 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7783 2003-03-07 Angus Leeming <leeming@lyx.org>
7785 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7788 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7790 * ParagraphList.C (front): new function
7793 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7795 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7796 and top_row_offset_. removed var first_y.
7798 * text2.C (LyXText, removeRow):
7800 * BufferView_pimpl.C:
7801 use these methods instead of using first_y
7803 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7805 * text2.C (pasteSelection): adjust for checkPastePossible
7807 * CutAndPaste.C: remove Paragraph * buf and replace with
7808 ParagraphList paragraphs.
7809 (DeleteBuffer): delete
7810 (cutSelection): change the tc type to textclass_type
7811 (copySelection): change the tc type to textclass_type
7812 (copySelection): adjust for ParagraphList
7813 (pasteSelection): change the tc type to textclass_type
7814 (pasteSelection): adjust for Paragraphlist
7815 (nrOfParagraphs): simplify for ParagraphList
7816 (checkPastePossible): simplify for ParagraphList
7817 (checkPastePossible): remove unused arg
7819 * ParagraphList.C (insert): handle the case where there are no
7822 * CutAndPaste.h: make CutAndPaste a namespace.
7824 * text3.C (dispatch): adjust
7826 * text.C (breakParagraph): add a ParagraphList as arg
7828 * paragraph_funcs.C (breakParagraph): change to take a
7829 BufferParams and a ParagraphList as args.
7830 (breakParagraphConservative): ditto
7831 (mergeParagraph): ditto
7832 (TeXDeeper): add a ParagraphList arg
7833 (TeXEnvironment): ditto
7836 * buffer.C (readLyXformat2): adjust
7837 (insertStringAsLines): adjust
7838 (latexParagraphs): adjust
7840 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7841 (cutSelection): adjust
7842 (pasteSelection): adjust
7844 * BufferView_pimpl.C (insertInset): adjust
7846 2003-03-05 Angus Leeming <leeming@lyx.org>
7849 * LyXAction.C (init):
7850 * BufferView_pimpl.C (dispatch):
7851 * lyxfunc.C (getStatus):
7852 remove LFUN_CHILD_INSERT.
7854 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7856 2003-03-05 Angus Leeming <leeming@lyx.org>
7859 * LyXAction.C (init):
7860 * src/factory.C (createInset):
7861 * lyxfunc.C (getStatus):
7862 * text3.C (dispatch):
7863 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7865 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7867 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7869 * ParagraphList.C (insert): handle insert right before end()
7870 (erase): fix cases where it can be first or last paragraph.
7872 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7874 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7875 Paragraph::next and Paragraph::previous
7878 * text.C (breakParagraph): adjust
7880 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7881 BufferParams& as arg.
7882 (breakParagraph): use ParagraphList::insert
7883 (breakParagraphConservative): take a Buffer* instead of a
7884 BufferParams& as arg.
7885 (breakParagraphConservative): use ParagraphList::insert.
7887 * buffer.C (insertStringAsLines): un-const it
7888 (insertStringAsLines): adjust
7890 * ParagraphList.C (insert): new function
7892 * CutAndPaste.C (pasteSelection): adjust
7894 * text.C (backspace): adjust
7896 * tabular.C (SetMultiColumn): adjust
7898 * CutAndPaste.C (cutSelection): adjust
7899 (pasteSelection): adjust
7901 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7902 Buffer const * as arg
7904 * ParagraphList.C (erase): new function
7905 * paragraph_funcs.C (mergeParagraph): use it
7906 (mergeParagraph): make it take a Buffer* instead of a
7907 BufferParams* as arg
7909 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7911 (breakParagraphConservative): ditto
7913 * paragraph.h: remove the breakParagraph friend
7915 * paragraph.C (eraseIntern): new function
7916 (setChange): new function
7918 * paragraph_funcs.C (mergeParagraph): make it take a
7919 ParagraphList::iterator instead of a Paragraph *, adjust
7922 * paragraph.h: move an #endif so that the change tracking stuff
7923 also works in the NO_NEXT case.
7925 2003-03-04 Angus Leeming <leeming@lyx.org>
7928 * LyXAction.C: new LFUN_INSET_MODIFY.
7930 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7931 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7933 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7935 * several files: ws changes only
7937 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7938 (TeXEnvironment): ditto
7941 * buffer.C (makeLaTeXFile): adjust
7942 (latexParagraphs): make it take ParagraphList::iterator as args
7944 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7946 * buffer.C (latexParagraphs): adjust
7948 * paragraph.C (TeXOnePar): move function...
7949 (optArgInset): move function...
7950 (TeXEnvironment): move function...
7951 * paragraph_pimpl.C (TeXDeeper): move function...
7952 * paragraph_funcs.C: ...here
7954 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7956 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7958 * buffer.C (readInset): remove compability code for old Figure and
7961 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7963 * buffer.C: ws changes
7966 * BufferView_pimpl.C: ditto
7969 * bufferlist.h: ditto
7973 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7975 * converter.[Ch]: split into itself +
7978 * Makefile.am: += graph.[Ch] + format.[Ch]
7985 * lyxrc.C: added #include "format.h"
7987 2003-02-27 Angus Leeming <leeming@lyx.org>
7989 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7992 * factory.C (createInset): add "label" to the factory.
7994 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7995 string and do no more.
7997 2003-02-27 Angus Leeming <leeming@lyx.org>
8000 * LyXAction.C (init):
8001 * factory.C (createInset):
8002 * BufferView_pimpl.C (dispatch):
8003 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
8005 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
8007 * lyxfunc.C (dispatch):
8008 * text3.C (dispatch): pass name to params2string.
8010 2003-02-26 Angus Leeming <leeming@lyx.org>
8012 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
8014 Rearrange the ~includes. Strip out the unnecessary ones.
8016 * factory.C (createInset): reformat.
8017 create new insets for the various LFUN_XYZ_APPLY lfuns.
8019 2003-02-26 John Levon <levon@movementarian.org>
8022 * lyxrow.C: add isParStart,isParEnd helpers
8024 * paragraph.h: make isInserted/DeletedText take refs
8026 * paragraph_funcs.h:
8027 * paragraph_funcs.C: remove #if 0'd code
8032 * text.C: use lyxrow helpers above.
8033 Move draw and paint routines to RowPainter.
8034 Make several methods use refs not pointers.
8035 Make backgroundColor() const.
8036 Add markChangeInDraw(), isInInset().
8037 Merge changeRegionCase into changeCase.
8038 Make workWidth() shouldn't-happen code into an Assert.
8041 * rowpainter.C: new class for painting a row.
8044 * vspace.C: make inPixels take a ref
8046 2003-02-26 Angus Leeming <leeming@lyx.org>
8048 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
8051 2003-02-25 John Levon <levon@movementarian.org>
8053 * ispell.C: give the forked command a more accurate name
8055 2003-02-22 John Levon <levon@movementarian.org>
8058 * toc.C: make TocItem store an id not a Paragraph *
8061 2003-02-21 Angus Leeming <leeming@lyx.org>
8063 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
8064 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
8065 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
8066 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
8067 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
8068 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
8070 * BufferView_pimpl.C (dispatch):
8071 * LyXAction.C (init):
8072 * factory.C (createInset):
8073 * lyxfunc.C (getStatus, dispatch):
8074 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
8076 2003-02-21 Angus Leeming <leeming@lyx.org>
8078 * BufferView_pimpl.C (MenuInsertLyXFile):
8079 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
8080 * lyxfunc.C (menuNew, open, doImport):
8081 no longer pass a LyXView & to fileDlg.
8083 2003-02-21 Angus Leeming <leeming@lyx.org>
8085 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
8086 * LyXAction.C: change, BIBKEY to BIBITEM.
8087 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
8088 Change InsetBibKey to InsetBibitem.
8089 Change BIBKEY_CODE to BIBITEM_CODE.
8090 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8091 * factory.C: replace insetbib.h with insetbibitem.h.
8092 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8093 * paragraph.C: replace insetbib.h with insetbibitem.h.
8094 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
8095 Change bibkey() to bibitem().
8096 * text.C: remove insetbib.h.
8097 * text2.C: replace insetbib.h with insetbibitem.h.
8098 change bibkey() to bibitem().
8099 * text3.C: remove insetbib.h.
8100 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
8102 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8104 * lyxrc.C (output): enclose user email in quotes (in case there are
8107 2003-02-18 John Levon <levon@movementarian.org>
8109 * buffer.h: add std::
8111 2003-02-17 John Levon <levon@movementarian.org>
8117 * pspell.C: reworking. Especially in ispell, a large
8118 number of clean ups and bug fixes.
8120 * lyxfunc.C: fix revert to behave sensibly
8122 2003-02-17 André Pönitz <poenitz@gmx.net>
8125 * commandtags.h: new LFUN_INSERT_BIBKEY
8135 * paragraph_func.C: remove special bibkey handling
8137 2003-02-17 John Levon <levon@movementarian.org>
8139 * text.C (Delete): fix case where delete at the end of
8140 the very first paragraph would not merge the pars
8142 2003-02-17 John Levon <levon@movementarian.org>
8144 * lyxrow.C: fix lastPrintablePos()
8146 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8148 * bufferparams.C (writeLaTeX): add a std:here
8150 * buffer.C: and remove a using directive there
8152 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8154 * buffer.C (makeLaTeXFile): move the code that generates the
8157 * bufferparams.C (writeLaTeX): ... in this new method
8159 * LaTeXFeatures.C (getEncodingSet): make const
8160 (getLanguages): make const
8162 * MenuBackend.C (binding): returns the binding associated to this
8164 (add): sets the status of each item by calling getStatus. Adds
8166 (read): add support for OptSubMenu
8167 (expand): remove extra separator at the end of expanded menu
8169 2003-02-15 John Levon <levon@movementarian.org>
8172 * BufferView_pimpl.C:
8174 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8175 inset code that had no actual effect. Remove unneeded status
8178 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8180 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8183 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8185 * text.C (drawLengthMarker): also draw an arrow marker for
8186 symbolic lengths (medskip...)
8188 2003-02-14 John Levon <levon@movementarian.org>
8191 * tabular.C: better method names
8193 2003-02-14 John Levon <levon@movementarian.org>
8195 * BufferView_pimpl.C:
8200 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8201 it's a more accurate name. Remove some pointless uses.
8203 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8205 * text2.C (LyXText): change order of initilizers to shut off
8208 2003-02-14 John Levon <levon@movementarian.org>
8210 * buffer.C: use ParIterator for getParFromID()
8214 * paragraph_pimpl.h:
8215 * paragraph_pimpl.C: remove unused getParFromID()
8217 2003-02-14 John Levon <levon@movementarian.org>
8219 * buffer.C: remove some very old #if 0'd parse code
8221 2003-02-13 John Levon <levon@movementarian.org>
8225 * text2.C: move hfillExpansion(), numberOfSeparators(),
8226 rowLast(), rowLastPrintable(), numberofHfills(),
8227 numberOfLabelHfills() ...
8230 * lyxrow.C: ... to member functions here.
8235 * text.C: remove LyXText::beginningOfMainBody(), and call
8236 p->beginningOfMainBody() directly. Move the check for
8237 LABEL_MANUAL into the latter.
8244 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8250 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8251 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8253 2003-02-13 John Levon <levon@movementarian.org>
8255 * CutAndPaste.C: remove debug
8257 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8259 * paragraph.C (asString): remove two unused variables
8261 * lyxtextclass.C (readTitleType):
8263 (LyXTextClass): handle new members titletype_ and titlename_
8265 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8267 2003-02-09 John Levon <levon@movementarian.org>
8270 * buffer.C: replace hand-coded list with a map for the dep clean
8272 2003-02-08 John Levon <levon@movementarian.org>
8274 * LaTeX.C: consolidate code into showRunMessage() helper
8276 2003-02-08 John Levon <levon@movementarian.org>
8281 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8282 and pass the size in explicitly
8284 * BufferView_pimpl.h:
8285 * BufferView_pimpl.C:
8287 * BufferView.C: add getCurrentChange()
8289 * BufferView_pimpl.h:
8290 * BufferView_pimpl.C: handle change lfuns
8292 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8293 for changes. Mark pasted paragraphs as new.
8295 * support/lyxtime.h:
8296 * support/lyxtime.C:
8297 * DepTable.C: abstract time_t as lyx::time_type
8300 * LColor.C: add colours for new text, deleted text, changebars
8302 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8303 package use "usenames" option.
8307 * LyXAction.C: add change lfuns
8311 * author.C: author handling
8314 * buffer.C: add a per-buffer author list, with first entry as
8315 current author. Handle new .lyx tokens for change tracking. Output
8316 author list to .lyx file. Output dvipost stuff to .tex preamble.
8317 Bump lyx format to 222.
8320 * bufferlist.C: add setCurrentAuthor() to reset current author details
8324 * bufferparams.C: add param for tracking
8326 * bufferview_funcs.C: output change info in minibuffer
8330 * changes.C: add change-tracking structure
8333 * debug.C: add CHANGES debug flag
8336 * lyxfind.C: add code for finding the next change piece
8339 * lyxrc.C: add user_name and user_email
8342 * lyxrow.C: add a metric for the top of the text line
8345 * text.C: implement accept/rejectChange()
8348 * text.C: paint changebars. Paint new/deleted text in the chosen
8349 colours. Strike through deleted text.
8353 * paragraph_pimpl.h:
8354 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8355 in the current change to the insert functions. Rework erase to
8356 mark text as deleted, adding an eraseIntern() and a range-based
8357 erase(). Implement per-paragraph change lookup and
8360 * paragraph_funcs.C: Fixup paste for change tracking.
8362 * tabular.C: mark added row/columns as new.
8364 * text.C: fix rowLast() to never return -1. Don't allow
8365 spellchecking of deleted text. Track transpose changes. Don't
8366 allow paragraph break or merge where appropriate.
8368 * text2.C: leave cursor at end of selection after a cut.
8370 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8372 * text.C (getLengthMarkerHeight):
8373 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8374 visible on screen too.
8376 2003-02-07 John Levon <levon@movementarian.org>
8378 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8380 2003-02-05 Angus Leeming <leeming@lyx.org>
8382 * lyxserver.C (read_ready): revert my patch of 11 September last year
8383 as it sends PC cpu through the roof. Presumably this means that
8384 the lyxserver will no longer run on an Alpha...
8386 2003-01-30 Angus Leeming <leeming@lyx.org>
8388 * factory.C (createInset): create an InsetCommandParam of type "index"
8389 and use it to 'do the right thing'.
8391 * text2.C (getStringToIndex): ensure that cursor position is always
8392 reset to the reset_cursor position.
8394 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8396 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8399 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8403 * lyxfunc.C: Output messages with identical spelling, punctuation,
8406 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8408 * MenuBackend.C (expandFormats): List only viewable export formats
8411 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8414 * lyxfunc.C (getStatus): Make sure that formats other than
8415 "fax" can also be disabled
8417 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8419 * text3.C (dispatch): put the lfuns that insert insets in 3
8420 groups, and call doInsertInset with appropriate arguments.
8421 (doInsertInset): new function, that creates an inset and inserts
8422 it according to some boolean parameters.
8424 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8426 * buffer.C (readFile): remember to pass on 'par' when calling
8427 readFile recursively.
8429 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8431 * MenuBackend.C (expandFormats): add "..." to import formats.
8433 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8435 * paragraph.C (asString): Remove XForms RTL hacks.
8437 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8438 * buffer.C: fix typo
8440 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8442 * Makefile.am (LIBS): delete var
8443 (lyx_LDADD): add @LIBS@ here instead.
8445 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8447 * Clarify the meaning of "wheel mouse jump"
8449 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8451 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8454 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8456 * importer.C (Loaders): do not preallocate 3 elements in the
8457 vector, since one ends up with 6 elements otherwise
8459 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8461 * DepTable.C (write): write the file name as last element of the
8462 .dep file (because it may contain spaces)
8463 (read): read info in the right order
8465 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8467 * paragraph_pimpl.C (simpleTeXBlanks):
8468 (simpleTeXSpecialChars):
8469 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8471 * tabular.C (latex): add some missing case statements. Reindent.
8473 * MenuBackend.C (expandToc): remove unused variable.
8475 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8484 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8487 2003-01-05 John Levon <levon@movementarian.org>
8490 * BufferView.C: add getEncoding()
8493 * kbsequence.C: do not store last keypress
8496 * lyxfunc.C: store last keypress here instead. Pass encoding
8499 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8501 * lyx_main.C (init): remove annoying error message when following
8502 symbolic links (bug #780)
8504 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8506 * text.C (insertChar):
8507 * lyxrc.C (getDescription): remove extra spaces
8509 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8511 * lyxrc.C (getDescription): remove extra spaces
8513 2002-12-20 John Levon <levon@movementarian.org>
8515 * text3.C: hack fix for page up/down across tall rows
8517 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8519 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8522 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8524 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8525 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8526 thesaurus is not compiled in
8528 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8530 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8532 2002-12-16 Angus Leeming <leeming@lyx.org>
8535 * lyx_main.C (init): remove override_x_deadkeys stuff.
8537 2002-12-12 John Levon <levon@movementarian.org>
8539 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8540 insert. Only remove shift modifier under strict
8543 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8545 * MenuBackend.C (expandToc): fix crash.
8547 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8549 * MenuBackend.C (expandToc): gettext on float names.
8551 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8553 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8554 implement bool empty() [bug 490]
8556 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8558 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8560 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8562 * several files: ws changes
8564 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8566 * text2.C (setCounter): clean up a bit, use boost.format.
8567 (updateCounters): initialize par upon declaration.
8569 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8570 if the layout exists. We do not just store the layout any more.
8571 (SwitchLayoutsBetweenClasses): use boost.format
8573 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8575 * converter.C (convert): if from and to files are the same, use a
8576 temporary files as intermediary
8578 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8581 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8583 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8585 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8587 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8589 * tabular.C (asciiPrintCell): use string(size, char) instead of
8592 * sgml.C (openTag): fix order of arguments to string constructor
8595 * lyxfunc.C (dispatch): use boost.format
8597 * lots of files: change "c" -> 'c'
8599 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8601 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8603 2002-11-25 Angus Leeming <leeming@lyx.org>
8605 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8607 * lyx_main.C (init): compile fix.
8609 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8611 * lyx_cb.C (start): boost.formatify
8612 do not include <iostream>
8614 * lengthcommon.C: ws only
8616 * boost-inst.C,BoostFormat.h: add more explict instantations
8618 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8620 * lots of files: handle USE_BOOST_FORMAT
8622 2002-11-21 John Levon <levon@movementarian.org>
8624 * pspell.C: fix compile
8626 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8628 * lyxfunc.C (dispatch): use boost::format
8632 * lyxfont.C (stateText): use boost::format
8634 * lyx_main.C (LyX): use boost::format
8636 (queryUserLyXDir): ditto
8639 (typedef boost::function): use the recommened syntax.
8641 * importer.C (Import): use boost::format
8643 * debug.C (showLevel): use boost::format
8645 * converter.C (view): use boost::format
8650 * bufferview_funcs.C (currentState): use boost::format
8652 * bufferlist.C (emergencyWrite): use boost::format
8654 * buffer.C (readLyXformat2): use boost::format
8655 (parseSingleLyXformat2Token): ditto
8657 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8659 * LaTeX.C (run): use boost::format
8661 * Chktex.C (scanLogFile): use boost::format
8663 * BufferView_pimpl.C (savePosition): use boost::format
8664 (restorePosition): ditto
8665 (MenuInsertLyXFile): ditto
8667 * BoostFormat.h: help file for explicit instation.
8669 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8671 * tabular.C (latex): Support for block alignment in fixed width
8674 2002-11-17 John Levon <levon@movementarian.org>
8676 * BufferView_pimpl.C:
8678 * lyxfunc.C: split filedialog into open/save
8680 2002-11-08 Juergen Vigna <jug@sad.it>
8682 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8683 by my last patch (hopefully).
8685 2002-11-08 John Levon <levon@movementarian.org>
8694 * toc.C: ParConstIterator, and use it (from Lars)
8696 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8698 * lyxtextclass.[Ch]: revise and add doxygen comments
8700 2002-11-07 John Levon <levon@movementarian.org>
8702 * text.C: fix progress value for spellchecker
8704 * toc.C: fix navigate menu for insetwrap inside minipage
8706 * paragraph_funcs.C: added FIXME for suspect code
8708 2002-11-07 John Levon <levon@movementarian.org>
8710 * BufferView_pimpl.C: fix redrawing of insets
8713 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8715 * text2.C (updateCounters): fix bug 668
8717 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8719 * text3.C (dispatch): Do not make the buffer dirty when moving the
8722 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8724 * vc-backend.C: STRCONV
8727 * text2.C (setCounter): STRCONV
8729 * paragraph.C (asString): STRCONV
8731 * lyxlength.C (asString): STRCONV
8732 (asLatexString): ditto
8734 * lyxgluelength.C (asString): STRCONV
8735 (asLatexString): ditto
8737 * lyxfunc.C (dispatch): STRCONV
8740 * lyxfont.C (stateText): STRCONV
8742 * importer.C (Import): STRCONV
8744 * counters.C (labelItem): STRCONV
8745 (numberLabel): ditto
8746 (numberLabel): remove unused ostringstream o
8751 * bufferview_funcs.C (currentState): STRCONV
8753 * buffer.C (readFile): STRCONV
8754 (asciiParagraph): ditto
8755 (makeLaTeXFile): ditto
8757 * Spacing.C (writeEnvirBegin): STRCONV
8759 * LaTeXFeatures.C (getLanguages): STRCONV
8760 (getPackages): ditto
8762 (getBabelOptions): ditto
8763 (getTClassPreamble): ditto
8764 (getLyXSGMLEntities): ditto
8765 (getIncludedFiles): ditto
8769 (scanAuxFile): ditto
8772 * LString.h: add the STRCONV macros
8774 * BufferView_pimpl.C (savePosition): STRCONV
8775 (restorePosition): ditto
8776 (MenuInsertLyXFile): ditto
8778 * vc-backend.C (scanMaster): change from submatch[...] to
8781 * funcrequest.C: include config.h
8783 * factory.C: include config.h
8785 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8787 * box.C: include config.h
8789 * LaTeX.C (scanAuxFile): change from submatch[...] to
8793 2002-10-25 Angus Leeming <leeming@lyx.org>
8795 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8797 * ispell.[Ch] (setError): new method.
8798 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8799 Use setError() insetead of goto END.
8801 * lyx_cb.C (AutoSave): move out child process into new class
8804 2002-10-30 John Levon <levon@movementarian.org>
8806 * text3.C: make start appendix undoable
8808 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8810 * lyxlength.C (inPixels): Fix returned value.
8812 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8815 2002-10-24 Angus Leeming <leeming@lyx.org>
8817 * lyxgluelength.h: no need to forward declare BufferParams
8818 or BufferView, so don't.
8820 2002-10-21 John Levon <levon@movementarian.org>
8822 * BufferView.C: menuUndo ->undo, redo
8824 * BufferView.h: document, remove dead, make some methods private
8826 * paragraph_funcs.h:
8827 * paragraph_funcs.C:
8828 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8833 * sgml.C: move sgml open/close tag into sgml.C
8835 * bufferview_funcs.h: unused prototype
8838 * lyxfunc.C: remove unused
8841 * text.C: remove unused
8843 2002-10-21 John Levon <levon@movementarian.org>
8847 * BufferView_pimpl.h:
8848 * BufferView_pimpl.C: fix mouse wheel handling based on
8849 patch from Darren Freeman
8851 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8853 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8855 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8857 * lyxlength.C (inPixels): Fix hanfling of negative length.
8858 Fix LyXLength::MU case.
8860 2002-10-16 John Levon <levon@movementarian.org>
8862 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8864 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8866 * converter.C (view): add support for $$i (file name) and $$p
8867 (file path) for the viewer command. If $$i is not specified, then
8868 it is appended to the command (for compatibility with old syntax)
8870 2002-10-14 Juergen Vigna <jug@sad.it>
8872 * undo_funcs.C (textHandleUndo): alter the order in which the
8873 new undopar is added to the LyXText, as we have to set first
8874 the right prev/next and then add it as otherwise the rebuild of
8875 LyXText is not correct. Also reset the cursor to the right paragraph,
8876 with this IMO we could remove the hack in "redoParagraphs()".
8878 2002-10-09 Angus Leeming <leeming@lyx.org>
8880 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8881 to turn off an optimisation if a new inset is to be inserted.
8883 2002-10-11 André Pönitz <poenitz@gmx.net>
8885 * lyxtext.h: make some functions public to allow access
8886 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8888 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8890 * text3.C (dispatch): when changing layout, avoid an infinite loop
8893 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8895 * lyxrc.C (read): treat a viewer or converter command of "none" as
8898 * MenuBackend.C (expandFormats): for an update, also allow the
8899 formats that are not viewable
8901 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8902 script if it is newer than the lyxrc.defaults in user directory
8904 2002-10-07 André Pönitz <poenitz@gmx.net>
8906 * text.C: Vitaly Lipatov's small i18n fix
8908 2002-09-25 Angus Leeming <leeming@lyx.org>
8910 * ispell.h: doxygen fix.
8912 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8914 * buffer.h (readFile): Add a new argument to the method, to allow
8915 reading of old-format templates.
8917 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8919 * toc.C (getTocList): Get TOC from InsetWrap.
8921 2002-09-16 John Levon <levon@movementarian.org>
8923 * lyxfunc.C: check tabular for cut/copy too
8925 2002-09-12 John Levon <levon@movementarian.org>
8930 * factory.C: add header
8932 * paragraph_funcs.h:
8933 * paragraph_funcs.C: cleanup
8935 2002-09-11 John Levon <levon@movementarian.org>
8937 * PrinterParams.h: odd/even default to true
8939 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8941 * PrinterParams.h: update printer parameters for new xforms dialog
8943 2002-09-11 Angus Leeming <leeming@lyx.org>
8945 * lyxserver.C (read_ready): re-write to make it more transparent
8946 and to make it work in coherent fashion under Tru64 Unix.
8948 2002-09-11 André Pönitz <poenitz@gmx.net>
8952 * text3.C: implement LFUN_WORDSEL
8954 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8956 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8957 make floatlist_ a boost::shared_ptr<FloatList>
8959 * lyxtextclass.C: include FloatList.h
8960 (LyXTextClass): initialize floatlist_
8961 (TextClassTags): add TC_NOFLOAT
8962 (Read): match "nofloat" to TC_NOFLOAT and use it.
8963 (readFloat): modify call to floatlist_
8967 * FloatList.[Ch] (FloatList): remove commented out float
8969 (erase): new function
8971 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8973 * MenuBackend.C (expandToc): fix crash when there is no document
8976 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8978 * many files: Add insetwrap.
8980 2002-09-09 John Levon <levon@movementarian.org>
8982 * text2.C: remove confusing and awkward depth wraparound
8984 2002-09-09 John Levon <levon@movementarian.org>
8986 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8989 * buffer.C: remove getIncludeonlyList()
8992 * lyxfunc.C: remove headers
8994 2002-09-09 Juergen Vigna <jug@sad.it>
8996 * text.C (getColumnNearX): fix form Michael this is most
8997 probably a cut&paste bug.
8999 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
9001 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
9003 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
9004 references, ws changes.
9006 * text2.C (init): update counters after init
9007 (insertParagraph): no need to set counter on idividual paragraphs.
9008 (setCounter): access the counters object in the textclass object
9009 on in the buffer object.
9010 (updateCounters): ditto
9012 * lyxtextclass.C: include counters.h, add variable ctrs_ as
9013 shared_ptr<Counters> to avoid loading counters.h in all
9015 (LyXTextClass): initialize ctrs_
9016 (TextClassTags): add TC_COUNTER, and ...
9017 (Read): use it here.
9018 (CounterTags): new tags
9019 (readCounter): new function
9020 (counters): new funtion
9021 (defaultLayoutName): return a const reference
9023 * counters.C (Counters): remove contructor
9024 (newCounter): remove a couple of unneeded statements.
9025 (newCounter): simplify a bit.
9026 (numberLabel): some small formatting changes.
9028 * buffer.[Ch]: remove all traces of counters, move the Counters
9029 object to the LyXTextClass.
9031 2002-09-06 Alain Castera <castera@in2p3.fr>
9033 * tabular.C: uses \tabularnewline; uses >{...} construct from array
9034 package to set the horizontal alignment on fixed width columns.
9037 * lyx_sty.h: added tabularnewline macro def.
9039 * LaTeXFeatures.C: added NeedTabularnewline macro feature
9041 2002-09-06 John Levon <levon@movementarian.org>
9043 * LyXAction.C: tooltips for sub/superscript
9045 * MenuBackend.C: a bit more verbose
9047 * lyxfunc.C: tiny clean
9049 * undo_funcs.C: document undo_frozen
9051 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
9053 * counters.C (Counters): add missing algorithm counter.
9055 * text2.C (setCounter): lookup the counter with layouts latexname
9056 instead of by section number.
9057 (setCounter): use a hackish way to lookup the correct enum
9059 a float name->type change
9060 reset enum couners with counter name directly instead of depth value.
9062 * counters.C (Counters): remove the push_backs, change to use the
9063 float type not the float name.
9064 (labelItem): remove unused string, float name->type change
9066 * counters.h: don't include vector, loose the enums and sects vectors
9068 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
9070 * lyxtextclass.C (TextClassTags): add TC_FLOAT
9071 (Read): add float->TC_FLOAT to textclassTags
9072 (Read): and handle it in the switch
9073 (readFloat): new function
9075 * FloatList.C (FloatList): comment out the hardcoded float
9078 * lyxlayout.h: ws change.
9080 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
9082 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
9084 2002-09-03 Angus Leeming <leeming@lyx.org>
9086 * BufferView_pimpl.h: qualified name is not allowed in member
9087 declaration: WorkArea & Pimpl::workarea() const;
9089 * factory.C: added using std::endl directive.
9091 * text3.C: added using std::find and std::vector directives.
9093 2002-08-29 André Pönitz <poenitz@gmx.net>
9096 * text2.C: remove unused member number_of_rows
9099 * BufferView2.C: remove file, move contents to...
9100 * BufferView.C: ... here
9102 * BufferView_pimpl.C:
9103 * factory.C: move more inset creation to factory
9105 * vspace.C: avoid direct usage of LyXText, ws changes
9108 don't provide direct access to WorkArea, use two simple
9109 acessors haveSelction() and workHeight() instead
9112 2002-08-29 John Levon <levon@movementarian.org>
9114 * BufferView_pimpl.C (dispatch): do not continue when
9117 2002-08-28 André Pönitz <poenitz@gmx.net>
9119 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
9122 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
9124 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
9126 * buffer.C: increment LYX_FORMAT to 221
9128 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
9129 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
9131 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
9133 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
9135 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9137 * factory.C (createInset): use LyXTextClass::floats
9139 * MenuBackend.C (expandFloatListInsert):
9140 (expandFloatInsert):
9143 * text2.C (setCounter):
9145 * LaTeXFeatures.C (useFloat):
9146 (getFloatDefinitions):
9148 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9150 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9151 floatlist_, with accessor floats().
9153 * FloatList.h: remove global FloatList
9155 2002-08-26 André Pönitz <poenitz@gmx.net>
9157 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9161 * BufferView_pimpl.C:
9162 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9164 2002-08-25 John Levon <levon@movementarian.org>
9166 * LyXAction.C: fix margin note description
9168 2002-08-24 John Levon <levon@movementarian.org>
9172 * bufferview_funcs.C:
9174 * undo_funcs.C: cleanups
9176 * lyxfunc.C: disable CUT/COPY when no selection
9178 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9180 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9181 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9183 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9184 Add backward compatibility to "mono", "gray" and "no".
9186 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9188 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9189 (and file_format >= 200).
9191 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9193 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9195 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9197 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9199 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9201 * BufferView_pimpl.C:
9208 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9209 inset and code to make it work with the paragraph code. The inset
9210 can be anywhere in the paragraph, but will only do the expected
9211 thing in LaTeX if the layout file contains the parameter line
9213 (or more generally, a nonzero value) for that layout.
9215 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9217 * paragraph.h: remove the declaration of undefined counters class
9220 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9222 * text2.C (setCounter): fixed enumeration mis-count as reported by
9223 Dr. Richard Hawkins.
9225 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9227 * paragraph_funcs.h: remove some unneeded includes
9229 * text.C (backspace): pasteParagraph now in global scipe
9231 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9232 (pasteSelection): ditto
9234 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9235 * paragraph_funcs.C (pasteParagraph): ... here
9237 2002-08-20 André Pönitz <poenitz@gmx.net>
9239 * commandtags.h: new LFUNs for swapping/copying table row/colums
9242 * lyxfunc.C: support for new lfuns
9244 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9247 * buffer.[Ch]: remove NO_COMPABILITY stuff
9249 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9251 * boost.C (throw_exception): new file, with helper function for
9252 boost compiled without exceptions.
9257 * ParameterStruct.h:
9258 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9260 * bufferlist.C (emergencyWriteAll): use boost bind
9262 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9264 * text.C: include paragraph_funcs.h
9265 (breakParagraph): breakParagraph is now in global scope
9267 * paragraph_funcs.[Ch]: new files
9269 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9272 * buffer.C: include paragraph_funcs.h
9273 (insertStringAsLines): breakParagraph is now in global scope
9275 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9278 * CutAndPaste.C: include paragraph_funcs.h
9279 (cutSelection): breakParagraphConservative is now in global scope
9280 (pasteSelection): ditto
9282 * buffer.h: declare oprator== and operator!= for
9283 Buffer::inset_iterator
9285 * bufferlist.C (emergencyWrite): don't use fmt(...)
9287 * text3.C: add using std::endl
9289 * BufferView.C (moveCursorUpdate): remove default arg
9291 2002-08-20 André Pönitz <poenitz@gmx.net>
9293 * buffer.[Ch]: move inline functions to .C
9296 * BufferView_pimpl.C:
9298 * buffer.[Ch]: use improved inset_iterator
9301 * paragraph.[Ch]: write one paragraph at a time
9303 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9305 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9306 style if style is not specified.
9308 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9310 * text2.C (setCounter): when searching for right label for a
9311 caption, make sure to recurse to parent insets (so that a caption
9312 in a minipage in a figure float works) (bug #568)
9314 2002-08-20 André Pönitz <poenitz@gmx.net>
9316 * text3.C: new file for LyXText::dispatch() and helpers
9318 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9320 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9322 2002-08-19 André Pönitz <poenitz@gmx.net>
9325 * text.C: new LyXText::dispatch()
9327 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9329 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9331 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9333 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9336 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9338 * Makefile.am: use $(variables) instead of @substitutions@
9340 2002-08-15 André Pönitz <poenitz@gmx.net>
9343 * BufferView_pimpl.C: streamlining mathed <-> outer world
9347 * LyXAction.C: remove unused LFUN_MATH
9349 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9351 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9353 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9355 * paragraph.C (Paragraph): reformat a bit
9356 (cutIntoMinibuffer): use builtin InsetList function instad of
9360 * buffer.C: include boost/bind.hpp, add using std::for_each
9361 (writeFileAscii): use ParagraphList iterators
9362 (validate): use for_each for validate traversal of paragraphs
9363 (getBibkeyList): use ParagraphList iterators
9364 (resizeInsets): use for_each to resizeInsetsLyXText for all
9366 (getParFromID): use ParagraphList iterators
9368 * BufferView2.C (lockInset): use paragraph list and iterators
9370 2002-08-14 John Levon <levon@movementarian.org>
9372 * lyxserver.C: remove spurious xforms include
9374 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9376 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9378 2002-08-13 André Pönitz <poenitz@gmx.net>
9381 * lyxfunc.C: further cleaning
9383 2002-08-13 André Pönitz <poenitz@gmx.net>
9385 * funcrequest.h: new constructor
9387 * funcrequest.C: move stuff here from .h
9390 * BufferView_pimpl.C:
9393 * lyxfunc.C: subsequent changes
9395 * lyxfunc.h: new view() member function
9397 * lyxfunc.C: subsequent changes
9399 2002-08-13 Angus Leeming <leeming@lyx.org>
9402 * BufferView_pimpl.C:
9410 changes due to the changed LyXView interface that now returns references
9411 to member variables not pointers.
9413 2002-08-13 Angus Leeming <leeming@lyx.org>
9415 * WordLangTuple (word, lang_code): return references to strings,
9420 * lyxtext.h: forward-declare WordLangTuple.
9425 * text.C: #include "WordLangTuple.h".
9428 * text.C: (selectNextWordToSpellcheck): constify return type.
9430 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9436 * paragraph_pimpl.h:
9439 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9441 Made updateCounter always count from start of buffer, and removed
9442 second argument (par).
9443 Reverted floats number display to '#'. Perhaps I'll try again when the
9444 code base is sanitized a bit.
9446 2002-08-12 Angus Leeming <leeming@lyx.org>
9448 * buffer.[Ch] (getLabelList): constify.
9450 2002-08-07 André Pönitz <poenitz@gmx.net>
9452 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9454 * funcrequest.h: extension to keep mouse (x,y) position
9456 2002-08-12 Juergen Vigna <jug@sad.it>
9458 * BufferView2.C (insertErrors): forbid undo when inserting error
9461 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9463 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9465 * ParagraphList.[Ch]: new files
9467 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9469 * BufferView2.C (lockInset): ParagraphList changes
9472 * bufferlist.C: ditto
9476 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9478 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9479 unused class variable counter_,
9481 * paragraph.[Ch] (getFirstCounter): delete unused function
9483 * counters.C: include LAssert.h
9484 (reset): add a new function with no arg, change other version to
9485 not have def. arg and to not allow empty arg.
9487 * text2.C (setCounter): remove empty arg from call to Counters::reset
9489 2002-08-11 John Levon <levon@movementarian.org>
9491 * Makefile.am: add WordLangTuple.h
9493 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9495 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9496 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9498 * insets/insettext.C: InsetList changes
9500 * graphics/GraphicsSupport.C (operator()): InsetList changes
9502 * toc.C (getTocList): InsetList changes
9504 * paragraph_pimpl.[Ch]: InsetList changes
9506 * paragraph.[Ch]: InsetList changes
9508 * buffer.C (inset_iterator): InsetList changes
9509 (setParagraph): ditto
9510 * buffer.h (inset_iterator): ditto
9511 * iterators.C (operator++): ditto
9512 * iterators.h: ditto
9514 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9516 * InsetList.[Ch]: new files, most InsetList handling moved out of
9519 * BufferView2.C (removeAutoInsets): InsetList changes
9521 (ChangeInsets): ditto
9523 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9525 * paragraph_pimpl.h (empty): new function
9527 * paragraph.[Ch] (empty): new function
9529 * other files: use the new Paragraph::empty function
9531 2002-08-09 John Levon <levon@movementarian.org>
9533 * lyxtext.h: remove unused refresh_height
9535 2002-08-09 John Levon <levon@movementarian.org>
9542 * paragraph.C: move sgml char escaping out of paragraph
9545 * paragraph.C: remove id setter
9549 * paragraph_pimpl.C: remove dead tex_code_break_column
9551 * bufferview_funcs.C: small cleanup
9553 * lyxfunc.C: remove dead proto
9555 * lyxtext.h: make some stuff private. Remove some dead stuff.
9557 * lyxgluelength.C: make as[LyX]String() readable
9559 2002-08-08 John Levon <levon@movementarian.org>
9564 * ToolbarDefaults.C:
9567 * toc.C: lyxaction cleanup
9569 2002-08-08 John Levon <levon@movementarian.org>
9571 * BufferView2.C: small cleanup
9574 * lyxfind.C: move unnecessary header into the .C
9576 2002-08-08 John Levon <levon@movementarian.org>
9578 * funcrequest.h: just tedious nonsense
9581 * lyx_main.C: cleanups
9584 * vspace.C: remove dead header lyx_main.h
9586 2002-08-07 Angus Leeming <leeming@lyx.org>
9589 * paragraph_pimpl.h:
9590 Forward declare class Counters in paragraph.h by moving the ctrs member
9591 variable into Paragraph::Pimpl.
9592 (counters): new method, returning a reference to pimpl_->ctrs.
9594 * text2.C: ensuing changes.
9596 2002-08-07 John Levon <levon@movementarian.org>
9598 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9600 * BufferView_pimpl.C: announce X selection on double/triple
9603 * lyx_main.C: use correct bool in batch dispatch
9605 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9607 2002-08-07 André Pönitz <poenitz@gmx.net>
9609 * funcrequest.h: new class to wrap a kb_action and its argument
9612 * BufferView_pimpl[Ch]:
9616 * lyxrc.C: subsequent changes
9619 2002-08-07 John Levon <levon@movementarian.org>
9621 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9622 document options change.
9624 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9629 * makefile.am: move counters functionality over from
9630 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9632 2002-08-06 John Levon <levon@movementarian.org>
9634 * WordLangTuple.h: new file for word + language code tuple
9645 * BufferView2.C: use WordLangTuple
9648 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9650 2002-08-06 John Levon <levon@movementarian.org>
9652 * lyx_main.C: fix cmdline batch handling
9654 2002-08-06 André Pönitz <poenitz@gmx.net>
9656 * lyxrc.C: set default for show_banner to true
9658 2002-08-06 John Levon <levon@movementarian.org>
9660 * pspell.C: fix a crash, and allow new aspell to work
9662 2002-08-06 John Levon <levon@movementarian.org>
9665 * kbmap.C: small cleanup
9668 * vspace.C: add const
9670 2002-08-05 John Levon <levon@movementarian.org>
9672 * LyXAction.C: back to tabular-insert
9674 2002-08-04 John Levon <levon@movementarian.org>
9677 * BufferView.C: cosmetic change
9679 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9689 * BufferView2.C: purge all "Lyx" not "LyX" strings
9692 * lyxcursor.C: attempt to add some documentation
9697 * ToolbarDefaults.C:
9698 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9699 merge with LFUN_TABULAR_INSERT
9706 * pspell.C: split up i/pspell implementations into separate
9707 files, many cleanups
9709 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9711 * text2.C: some cleanup
9713 * lyxfunc.C: don't check for isp_command == "none" any more, it
9714 didn't make any sense
9716 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9721 * makefile.am: move counters functionality over
9722 from text2.C/paragraph.[Ch] to counters.[Ch], and
9724 2002-08-02 John Levon <levon@movementarian.org>
9726 * buffer.C: s/lyxconvert/lyx2lyx/
9728 2002-08-02 Angus Leeming <leeming@lyx.org>
9730 * lyxlex.C: revert John's change as it breaks reading of the user
9733 2002-08-02 Angus Leeming <leeming@lyx.org>
9735 * importer.C (Import):
9736 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9737 changes due to LyXView::view() now returning a boost::shared_ptr.
9739 2002-08-02 John Levon <levon@movementarian.org>
9741 * lyxlex.C: small cleanup
9743 2002-08-02 John Levon <levon@movementarian.org>
9745 * text2.C (status): small cleanup, no logic change
9747 2002-08-01 John Levon <levon@movementarian.org>
9750 * buffer.C (writeFile): don't output alerts, caller
9754 * lyx_cb.C: from above
9756 * lyxfunc.C: allow to open non-existent files
9758 2002-07-31 John Levon <levon@movementarian.org>
9760 * lyxserver.C: don't let incidental errors get
9763 2002-07-30 John Levon <levon@movementarian.org>
9765 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9767 2002-07-30 John Levon <levon@movementarian.org>
9770 * lyxserver.C: remove I/O callback too
9772 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9774 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9777 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9779 * many files: strip,frontStrip -> trim,ltrim,rtrim
9781 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9783 * PrinterParams.h: remove extern containsOnly, and include
9784 support/lstrings.h instead.
9786 * LaTeX.C (scanAuxFile): modify because of strip changes
9788 * buffer.C (makeLaTeXFile): ditto
9789 * bufferparams.C (writeFile): ditt
9790 * lyxfont.C (stateText): ditto
9791 * lyxserver.C (read_ready): ditto
9792 * vc-backend.C (scanMaster): ditto
9794 * BufferView_pimpl.h: ws changes
9796 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9798 2002-07-26 André Pönitz <poenitz@gmx.net>
9800 * kb_sequence.C: remove unnedred usings
9802 2002-07-26 Juergen Vigna <jug@sad.it>
9804 * lyxfind.C (LyXReplace): we have to check better if the returned
9805 text is not of theLockingInset()->getLockingInset().
9807 2002-07-25 Juergen Vigna <jug@sad.it>
9809 * lyxfind.C (LyXReplace): don't replace if we don't get the
9812 * undo_funcs.C (createUndo): remove debugging code.
9814 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9816 * buffer.C (parseSingleLyXformat2Token): Use default placement
9817 when reading old floats.
9819 * FloatList.C (FloatList): Change the default placement of figure
9820 and tables to "tbp".
9822 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9824 * MenuBackend.C: using std::max
9826 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9828 * MenuBackend.C (expandToc):
9829 (expandToc2): code moved from xforms menu frontend. It is now
9830 generic and TOCs are transparent to menu frontends.
9832 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9834 * toc.C (getTocList): protect against buf=0
9836 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9837 Menu as first parameter. Now, this calls itself recursively to
9838 expand a whole tree (this will be useful for TOC handling)
9839 (expandFloatInsert): remove 'wide' version of floats
9841 * MenuBackend.h (submenuname): returns the name of the submenu.
9842 (submenu): returns the submenu itself, provided it has been
9843 created by MenuBackend::expand
9845 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9847 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9848 insets which have noFontChange == true. (bug #172)
9850 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9852 * BufferView_pimpl.C: add connection objects and use them...
9855 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9857 * MenuBackend.C (expandLastfiles):
9860 (expandFloatListInsert):
9861 (expandFloatInsert):
9862 (expand): split expand in parts
9864 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9866 * lyx_gui.C: use lyx_gui::exit()
9868 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9870 * LyXAction.C: show the failing pseudo action
9872 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9874 * buffer.C (readFile): Run the lyxconvert script in order to read
9877 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9881 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9883 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9887 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9889 2002-07-22 Herbert Voss <voss@lyx.org>
9892 * lyxlength.[Ch]: add support for the vertical lengths
9894 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9896 * toc.[Ch]: std:: fixes
9898 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9900 * lyxrc.C: do not include lyx_main.h
9902 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9908 * BufferView2.C: include "lyxlex.h"
9911 * bufferparams.h: do not #include "lyxlex.h"
9913 * lyxtextclasslist.C (Add): remove method
9914 (classlist): renamed to classlist_
9916 * paragraph_pimpl.C:
9920 * bufferview_funcs.C:
9925 * toc.C (getTocList): use BufferParams::getLyXTextClass
9927 * toc.C (getTocList): use InsetFloat::addToToc
9929 * toc.[Ch]: new files, containing helper functions to handle table
9932 * lyxfunc.C (dispatch): no need to remove spaces around command
9934 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9935 first command of the sequence; it is not very clever, but I do not
9936 have a better idea, actually
9938 * LyXAction.C (LookupFunc): make sure to remove space at the
9939 beginning and end of the command
9941 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9943 * MenuBackend.C (getMenubar): new method: return the menubar of
9945 (read): treat differently reading of menu and menubar (in
9946 particular, the menubar has no name now)
9947 (Menu::menubar): remove
9949 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9952 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9954 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9955 a bibitem inset in a RTL paragraph.
9957 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9959 * paragraph_pimpl.C: constify
9961 * BufferView_pimpl.C:
9963 * lyxfunc.C: fix dispatch in a nicer way
9965 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9967 * lyxfunc.C (dispatch):
9968 * BufferView_pimpl.C:
9969 * BufferView_pimpl.h:
9971 * BufferView.h: rename Dispatch() to dispatch()
9973 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9975 * lyxlayout.C (Read): honor DependsOn tag
9977 * lyxlayout.[Ch] (depends_on): new method
9979 * version.C.in: update lyx_docversion
9981 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9983 * paragraph.C (validate): remove from here...
9984 * paragraph_pimpl.C (validate): ... and move here
9985 (isTextAt): make it const
9987 * buffer.C (getLists): ws cleanup
9989 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9991 * language.C (read): Use iso8859-1 encoding in latex_lang
9992 (this prevents LyX from crashing when using iso10646-1 encoding).
9994 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9996 * text2.C (toggleInset): if cursor is inside an inset, close the
9997 inset and leave cursor _after_ it
9999 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10001 * lyxfunc.C: move minibuffer completion handling out of here
10003 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
10005 * BufferView_pimpl.C:
10006 * LaTeX.C: fix dispatch calls
10008 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
10010 * text.C (drawChars): Fix Arabic text rendering.
10012 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
10016 * lyxfunc.C: remove message-push/pop
10020 * lyxfunc.C: rationalise some code by removing verboseDispatch
10021 in favour of a bool argument to dispatch()
10023 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10025 * lyx_main.C (init): make sure to read symlinks as absolute paths
10027 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10030 * lyxfunc.C: no need for commandshortcut to be a member
10032 2002-07-15 André Pönitz <poenitz@gmx.net>
10034 * converter.C: add support for $$s (scripts from lib/scripts dir)
10035 * lyx_main.C: white space
10037 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10041 * lyxrc.C: remove second exit confirmation
10043 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
10048 * BufferView_pimpl.h:
10049 * BufferView_pimpl.C:
10050 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
10052 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10054 * MenuBackend.C (expand): add numeric shortcuts to document menu
10056 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
10058 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10060 * lyxfont.C (setLyXFamily):
10067 * buffer.C (asciiParagraph): use ascii_lowercase
10069 2002-07-15 Mike Fabian <mfabian@suse.de>
10071 * lyxlex_pimpl.C (search_kw):
10072 * lyxlex.C (getLongString):
10073 * converter.h (operator<):
10074 * converter.C (operator<):
10075 * buffer.C (parseSingleLyXformat2Token):
10077 * ToolbarDefaults.C (read):
10078 * MenuBackend.C (checkShortcuts):
10080 * LColor.C (getFromGUIName):
10081 (getFromLyXName): use the compare_ascii_no_case instead of
10082 compare_no_case, because in turkish, 'i' is not the lowercase
10083 version of 'I', and thus turkish locale breaks parsing of tags.
10085 2002-07-16 Angus Leeming <leeming@lyx.org>
10087 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
10088 now takes a Buffer const & argument.
10090 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
10092 * BufferView.C (resize): check there's a buffer to resize
10094 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
10096 * lyxfunc.C: remove dead code
10099 * lyxserver.C: use lyx_guii::set_read_callback
10101 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
10103 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
10104 an inset in a RTL paragraph.
10106 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10108 * lyxfunc.C: repaint after a font size update
10110 2002-07-15 André Pönitz <poenitz@gmx.net>
10112 * lyxlength.C: inBP should be able to return negative values
10114 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10116 * lyxfunc.C: use lyx_gui::update_fonts()
10118 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
10120 * lyxfunc.C: use lyx_gui::update_color()
10122 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10128 * lyxrc.C: remove file->new asks for name option, and let
10129 buffer-new take an argument
10131 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
10133 * BufferView_pimpl.C: remove unneeded extra repaint()
10135 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
10137 * LyXAction.C: allow command-sequence with NoBuffer
10139 * lyxfunc.C: don't insist on trailing ';' for command-sequence
10141 2002-07-10 Angus Leeming <leeming@lyx.org>
10143 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
10145 2002-07-09 Angus Leeming <leeming@lyx.org>
10147 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
10149 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10151 * lengthcommon.h: whitespace
10153 * lyxfunc.C: update scrollbar after goto paragraph
10155 * lyxtext.h: factor out page break drawing, and fix it so
10156 page break/added space paints as selected nicely
10158 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10160 * BufferView_pimpl.C: add FIXMEs, clean up a little
10162 2002-07-09 André Pönitz <poenitz@gmx.net>
10164 * lyxfont.[Ch]: support for wasy symbols
10166 2002-07-08 André Pönitz <poenitz@gmx.net>
10168 * BufferView_pimpl.C: apply John's patch for #93.
10170 2002-07-05 Angus Leeming <leeming@lyx.org>
10172 * BufferView_pimpl.C (buffer): generate previews if desired.
10174 * LColor.h: add "preview" to the color enum.
10176 * LColor.C (LColor): add a corresponding entry to the items array.
10178 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10181 2002-07-05 Angus Leeming <leeming@lyx.org>
10183 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10184 The body of the code is now in the method that is passed an ostream &
10185 rather than a file name.
10186 Pass an additional only_preamble parameter, useful for the forthcoming
10189 2002-07-03 André Pönitz <poenitz@gmx.net>
10191 * lyxfunc.C: simplify getStatus() a bit for math stuff
10193 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10195 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10197 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10199 * text.C (changeRegionCase): do not change case of all the
10200 document when region ends at paragraph end (bug #461)
10202 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10204 * paragraph.C (startTeXParParams):
10205 (endTeXParParams): add \protect when necessary
10207 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10209 * BufferView_pimpl.C (workAreaExpose): remove warning
10211 2002-06-27 Angus Leeming <leeming@lyx.org>
10213 * Makefile.am: add lyxlayout_ptr_fwd.h.
10215 2002-06-26 André Pönitz <poenitz@gmx.net>
10217 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10219 2002-06-25 Angus Leeming <leeming@lyx.org>
10221 * lyxfunc.C (dispatch): Comment out the call to
10222 grfx::GCache::changeDisplay. The method no longer exists now that the
10223 pixmap generation part of the graphics loader has been moved into
10226 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10228 * text2.C: layout as layout
10230 * text.C: layout as layout
10232 * tabular.C (OldFormatRead): layout as layout
10234 * paragraph_pimpl.C (TeXDeeper): layout as layout
10235 (realizeFont): layout as layout
10237 * paragraph.C (writeFile): layout as layout
10238 (validate): layout as layout
10239 (getFont): layout as layout
10240 (getLabelFont): layout as layout
10241 (getLayoutFont): layout as layout
10242 (breakParagraph): layout as layout
10243 (stripLeadingSpaces): layout as layout
10244 (getEndLabel): layout as layout
10245 (getMaxDepthAfter): layout as layout
10246 (applyLayout): layout as layout
10247 (TeXOnePar): layout as layout
10248 (simpleTeXOnePar): layout as layout
10249 (TeXEnvironment): layout as layout
10250 (layout): layout as layout
10251 (layout): layout as layout
10253 * lyxtextclass.C (compare_name): new functor to work with
10254 shared_ptr, layout as layout
10255 (Read): layout as layout
10256 (hasLayout): layout as layout
10257 (operator): layout as layout
10258 (delete_layout): layout as layout
10259 (defaultLayout): layout as layout
10261 * lyxlayout_ptr_fwd.h: new file
10263 * lyxlayout.C (Read): layout as layout
10265 * lyx_cb.C (MenuInsertLabel): layout as layout
10267 * bufferlist.C (newFile): layout as layout
10269 * buffer.C (readLyXformat2): layout as layout
10270 (parseSingleLyXformat2Token): layout as layout
10271 (insertStringAsLines): layout as layout
10272 (asciiParagraph): layout as layout
10273 (latexParagraphs): layout as layout
10274 (makeLinuxDocFile): layout as layout
10275 (simpleLinuxDocOnePar): layout as layout
10276 (makeDocBookFile): layout as layout
10277 (simpleDocBookOnePar): layout as layout
10278 (getLists): layout as layout
10280 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10282 * CutAndPaste.C (cutSelection): layout as layout
10283 (pasteSelection): layout as layout
10284 (SwitchLayoutsBetweenClasses): layout as layout
10286 * BufferView_pimpl.C (Dispatch): layout as layout
10287 (smartQuote): layout as layout
10289 * BufferView2.C (unlockInset): layout as layout
10291 2002-06-24 André Pönitz <poenitz@gmx.net>
10293 * lyxfunc.C: fix #487
10295 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10299 * lyxfunc.C: remove display_shortcuts, show_banner
10301 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10303 * Buffer_pimpl.C: oops, update on resize
10305 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10312 * BufferView.C: use repaint()
10314 * BufferView_pimpl.h:
10315 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10316 as it's a clearer description. Remove superfluous
10319 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10321 * text.C: fix bug 488. Not ideal, but getting
10322 getWord() to work properly for the insets that
10323 matter is more difficult ...
10325 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10327 * BufferView_pimpl.C:
10330 * lyxfunc.C: remove the six million index lyxfuncs to just
10331 one, and DTRT (bug 458)
10333 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10337 * BufferView_pimpl.h:
10338 * BufferView_pimpl.C: clean up resize() stuff,
10339 and unnecessary updateScreen()s
10341 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10345 * BufferView_pimpl.h:
10346 * BufferView_pimpl.C:
10349 * minibuffer.C: remove focus management of workarea,
10350 not needed. Use screen's greyOut()
10352 2002-06-17 Herbert Voss <voss@lyx.org>
10354 * converter.C: (convert) do not post a message, when converting
10355 fails, let the calling function decide what to do in this case
10357 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10359 * lyxfunc.C: tidy up a little
10361 2002-06-16 <alstrup@diku.dk>
10363 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10364 Got rid of FORMS_H_LOCATION include. Now we are
10367 2002-06-15 LyX Development team <lyx@rilke>
10369 * buffer.[Ch] (sgmlOpenTag):
10370 (sgmlCloseTag): Added support for avoiding pernicious mixed
10371 content. Return number of lines written.
10373 (makeLinuxDocFile):
10374 (makeDocBookFile): Fixed calls to sgml*Tag.
10375 Simple white space clean.
10377 (simpleDocBookOnePar): Simple white space clean.
10379 * tabular.[Ch] (docBook): Renamed to docbook and got another
10380 argument to related with the pernicious mixed content.
10382 (docbookRow): Fixed calls for docbook inset method.
10384 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10386 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10387 so it's X11 independent.
10391 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10393 2002-06-15 Lyx Development team <lyx@electronia>
10395 * intl.h: Renamed getTrans to getTransManager.
10397 2002-06-14 Angus Leeming <leeming@lyx.org>
10399 * Makefile.am: nuke forgotten stl_string_fwd.h.
10401 2002-06-12 Angus Leeming <leeming@lyx.org>
10403 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10405 2002-06-13 Angus Leeming <leeming@lyx.org>
10408 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10410 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10412 * kbmap.C (getiso): add support for cyrillic and greek
10414 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10418 * BufferView_pimpl.h:
10419 * BufferView_pimpl.C: move bogus scrolling logic
10422 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10425 * BufferView_pimpl.C: view->resize() change
10427 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10429 * BufferView_pimpl.C: topCursorVisible
10432 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10436 * lyx_gui.C: move to frontends/
10440 * lyx_main.C: changes from above
10442 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10449 * lyx_main.C: minor tidy
10451 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10453 * BufferView_pimpl.h:
10454 * BufferView_pimpl.C:
10456 * BufferView.C: make painter() const,
10459 * BufferView2.C: use screen() accessor
10462 * lyx_main.C: some minor cleanup
10464 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10466 * BufferView_pimpl.h:
10467 * BufferView_pimpl.C: remove enter/leaveView,
10470 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10475 * BufferView_pimpl.h:
10476 * BufferView_pimpl.C: only construct screen once,
10479 * lyxrc.C: remove pointless comment
10481 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10484 * BufferView.C: remove active() and belowMouse()
10486 * BufferView_pimpl.h:
10487 * BufferView_pimpl.C: use workarea() not workarea_,
10488 and make it use a scoped_ptr instead
10490 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10492 * lyx_gui.C: add debug message on BadWindow
10494 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10496 * sp_spell.C: fdopen is not part of the C++ standard.
10498 * paragraph.C (InsetIterator): use >= instead of ==
10500 2002-06-07 Angus Leeming <leeming@lyx.org>
10502 Fixes needed to compile with Compaq cxx 6.5.
10503 * BufferView_pimpl.C:
10510 * lyxtextclasslist.C:
10515 all c-library variables have been moved into namespace std. Wrap
10516 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10521 Add a using std::abs declaration.
10523 * kbmap.h (modifier_pair):
10524 * paragraph.h (InsetTable, InsetList):
10525 * lyxfont.h (FontBits):
10526 type definition made public.
10528 * bufferlist.C (emergencyWriteAll): the compiler complains that
10529 there is more than one possible lyx::class_fun template to choose from.
10530 I re-named the void specialisation as lyx::void_class_fun.
10532 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10534 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10535 the compiler is is unable to find tostr in write_attribute.
10537 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10539 * buffer.C (sgmlError): hide #warning
10541 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10543 * xtl/*: get rid of xtl, which is not in use anyway
10545 * LyXAction.C (init):
10546 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10547 were unimplemented xtl experimentation
10549 2002-06-04 André Pönitz <poenitz@gmx.net>
10551 * lyxfunc.C: disable array operation on simple formulae
10553 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10555 * converter.C: constify a bit
10557 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10559 * lyx_gui.C: check xforms version correctly
10561 2002-04-30 Herbert Voss <voss@lyx.org>
10563 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10566 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10568 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10569 attempt to register it with a VCS)
10571 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10573 * lyx_main.C (init): honor variables LYX_DIR_13x and
10576 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10580 * lyx_main.C: fix a crash on bad command line,
10581 and give a useful exit status on error
10583 * lyxfunc.C (doImport): allow -i lyx to work
10585 2002-03-30 André Pönitz <poenitz@gmx.net>
10587 * lyxfunc.C: mathed font changes
10589 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10604 * trans_mgr.h: srcdocs, and some minor cleanups
10606 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10608 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10609 call getFont all the time)
10611 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10613 * switch from SigC signals to boost::signals
10615 2002-05-29 André Pönitz <poenitz@gmx.net>
10617 * paragraph_pimpl.C (getChar): don't call size() too often...
10619 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10621 * paragraph_pimpl.C (insertChar): do not try to update tables when
10622 appending (pos == size())
10624 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10625 in order to reduce drastically the number of comparisons needed to
10626 parse a large document
10628 2002-05-29 André Pönitz <poenitz@gmx.net>
10634 * textclasslist.[Ch]:
10635 * sp_ispell.h: whitespace change
10637 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10639 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10640 lyxaction directly now.
10642 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10646 * lyxvc.C: remove unused headers
10648 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10655 * undo_funcs.C: some cleanups. Use shared_ptr
10656 and a template for the undo stacks.
10658 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10660 * BufferView_pimpl.h:
10661 * BufferView_pimpl.C:
10668 * text2.C: use key_state/mouse_state
10670 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10672 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10675 * chset.C: change include order
10676 (loadFile): use boost regex and get rid of LRegex and LSubstring
10678 * Makefile.am (BOOST_LIBS): new variable
10679 (lyx_LDADD): use it
10681 * LaTeX.C: change include order.
10682 (scanAuxFile): use boost regex and get rid of LRegex and
10686 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10691 * FontInfo.C: moved to frontends/xforms/
10694 * FontLoader.C: moved into frontends for GUIIzation
10699 * lyxfunc.C: changes from above
10701 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10703 * LColor.C: remove spurious X include
10705 * BufferView_pimpl.C:
10710 * text2.C: move font metrics to frontends/
10712 2002-05-24 Juergen Vigna <jug@sad.it>
10714 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10715 setting the undo_cursor.
10717 * ParagraphParameters.h: include local includes first.
10719 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10721 * BufferView_pimpl.C:
10722 * BufferView_pimpl.h:
10726 * screen.C: move WorkArea into frontends/
10732 * BufferView2.C: move LyXScreen into frontends/
10736 * lyx_gui.C: move lyxlookup into frontends/xforms/
10738 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10741 * BufferView_pimpl.C:
10751 * bufferview_funcs.C:
10764 * vc-backend.C: move LyX/XFormsView into frontends/
10766 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10778 * text2.C: move Painter to frontends/
10780 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10782 * buffer.C: comment out some some code that depend upon lyx_format
10785 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10786 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10788 * buffer.h (NO_COMPABILITY): turn off compability
10790 * ColorHandler.C: include scoped_array.hpp
10792 * font.C: Use more specific smart_ptr header.
10795 * ShareContainer.h: ditto
10796 * lyx_main.h: ditto
10798 * FontInfo.h: ditto
10799 * BufferView_pimpl.h: ditto
10800 * ColorHandler.h: ditto
10802 * kbmap.C (defkey): change call to shared_ptr::reset
10804 2002-05-21 Juergen Vigna <jug@sad.it>
10806 * buffer.C (insertErtContents): fix to insert ert asis if it is
10807 non empty. Skip it completely if it contains only whitespaces.
10809 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10811 * BufferView_pimpl.C:
10812 * BufferView2.C: clear selection on paste (bug 393)
10814 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10816 * DepTable.C: include ctime
10818 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10820 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10822 2002-05-14 Juergen Vigna <jug@sad.it>
10824 * text.C (breakParagraph): fixed function to honor the keepempty
10825 layout in the right maner and also to permit the right breaking
10826 algorithm on empty or non empyt keepempty paragraphs.
10828 * paragraph.C (breakParagraph): we have to check also if the par
10829 is really empty (!size()) for isempty otherwise we do the wrong
10832 2002-05-10 Juergen Vigna <jug@sad.it>
10834 * buffer.[Ch] : The following are only changes to the ert
10835 compatibility read reading old LaTeX layout and font stuff and
10836 convert it to ERTInsets.
10838 * buffer.h: added isErtInset().
10840 * buffer.C (struct ErtComp): add a fromlayout bool to check
10841 if we're inside a LaTeX layout.
10842 (isErtInset): new helper function.
10843 (insertErtContents): look for other ert insets before this one
10844 and insert the contents there, so that we don't have subsequent
10845 ERT insets with nothing between them. This way we create only one
10846 inset with multiple paragraphs. Also check if we don't insert only
10847 spaces ' ' as they are ignored anyway afterwards in the .tex file
10848 so if we have only spaces we will ignore this latex part in the
10850 (parseSingleLyXformat2Token \\layout): better compatibility when
10851 reading layout-latex stuff.
10852 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10854 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10855 stuff after reading the inset only get the information back from
10858 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10860 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10862 * LaTeXFeatures.C (getBabelOptions): New method.
10864 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10866 * BufferView_pimpl.C (Dispatch): work around missing argument for
10869 2002-05-08 Juergen Vigna <jug@sad.it>
10871 * text.C (leftMargin): handle paragraph leftindent.
10873 * paragraph.C (writeFile): write the new \\leftindent tag.
10874 (validate): handle leftindent code.
10875 (TeXEnvironment): handle paragraphleftindent code again.
10877 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10879 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10880 for paragrap_extra indent code and new token \\leftindent.
10881 (latexParagraphs): handle the leftindent as environment.
10883 * ParameterStruct.h: added leftindent support.
10885 * ParagraphParameters.C (leftIndent): added support functions for
10886 the paragraph left indent.
10888 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10891 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10893 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10896 * text.C (computeBidiTables): No bidi in insetERT.
10898 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10901 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10903 * version.C.in: pre 5
10905 2002-05-02 José Matos <jamatos@fep.up.pt>
10906 * buffer.C (makeDocBookFile): white space changes, add newline to
10908 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10910 * tabular.C (docBook): fix typo.
10912 2002-05-03 Juergen Vigna <jug@sad.it>
10914 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10915 change in LyXText as we can not be sure it was not freed.
10916 (drawOneRow): remove unused code.
10918 * text.C (drawInset): redo the calculation of the need_break_row as
10919 it could have a row which was already freed.
10920 (draw): look at the return value of drawInset and return false if
10921 it also returned false.
10922 (paintRowText): look at the return value of draw and return false if
10923 it also returned false.
10925 * lyxtext.h: added bool return type to drawInset() and draw() so that
10926 if we have a change in the row so that the rowbreak has to be redone
10927 we abort drawing as it will be called again.
10929 2002-05-02 Juergen Vigna <jug@sad.it>
10931 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10932 a change in the maintext also if we're inside an inset.
10933 (Dispatch): set the cursor again after a break line and after the
10934 screen has been updated as it could be we're in a different row.
10936 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10937 to set the cursor behind the pargraph with > size().
10938 (setCursor): check also for the same paragraph when checking where
10939 to put the cursor if we have a NFR inset.
10941 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10942 parts of layout read further up as it still was in the wrong
10945 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10947 * screen.C (drawFromTo): change sine fullRebreak always return
10950 * buffer.C (parseSingleLyXformat2Token): reindent some
10952 * BufferView_pimpl.C (update): change since fullRebreak always
10954 (Dispatch): git rid of the last hardcoded "Standard"s.
10956 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10958 * text2.[Ch] (fullRebreak): make it return void now that we always
10961 2002-04-30 Juergen Vigna <jug@sad.it>
10963 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10964 ert compatibility check for "latex" layout.
10966 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10968 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10969 minipages: use col% instead of p%, and also use the current font.
10970 (makeLaTeXFile): Fix use babel condition.
10971 (parseSingleLyXformat2Token): Correct font when reading old floats.
10973 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10975 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10976 inserting list of floats.
10978 2002-04-25 Herbert Voss <voss@lyx.org>
10980 * MenuBackend.C (expand): don't add the graphics extensions to the
10983 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10985 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10986 non-existing layout, do not complain if it was the default layout
10987 of the original class (bug #342)
10989 2002-04-24 Juergen Vigna <jug@sad.it>
10991 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10992 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10994 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10996 * buffer.C (getBibkeyList): If using \bibliography, return the
10997 option field with the reference itself. Enables us to provide natbib
10998 support when using \bibliography.
11000 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
11002 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
11004 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
11005 natbib is provided by the LaTeX class.
11007 2002-04-23 Juergen Vigna <jug@sad.it>
11009 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
11012 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
11014 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11016 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
11018 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
11019 ensuremath around textordmasculine, textordfeminine and
11022 2002-04-19 Juergen Vigna <jug@sad.it>
11024 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
11025 reinitializing the buffer otherwise row-dimensions may be wrong.
11026 (update): reset also the selection cursors if they do exits otherwise
11027 their x/y positions may be wrong.
11029 * text2.C (cursorDown): don't enter the inset if we came from a row
11030 above and are one row over the inset.
11032 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
11033 really leaving an inset.
11035 2002-04-18 Juergen Vigna <jug@sad.it>
11037 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
11038 of the selected paragraph does not have the selected layout also if
11041 * text2.C (setLayout): fixed bug which did not change last selected
11044 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
11045 changed the read and substituted \\end_float with \\end_inset!
11047 * BufferView_pimpl.C (cursorPrevious):
11048 (cursorNext): fixed to make it work with rows heigher than the work
11049 area without moving the cursor only the draw of the row.
11050 (workAreaMotionNotify): fix jumping over high rows.
11052 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
11054 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
11057 2002-04-16 Juergen Vigna <jug@sad.it>
11059 * text2.C (setCursor): set also the irow().
11060 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
11062 (cursorDown): support for locking an inset if the x_fix value goes
11063 inside it. That way I can transverse insets too with cursor up/down.
11065 * lyxrow.h: added irow helper function same as other (i) functions.
11067 * BufferView_pimpl.C (cursorPrevious):
11068 (cursorNext): fixed for insets!
11070 2002-04-15 Juergen Vigna <jug@sad.it>
11072 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
11073 position otherwise it is wrong in some cases.
11075 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
11076 inside the inset before the call.
11078 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
11080 * buffer.[Ch] (getBibkeyList): make it const.
11082 2002-04-12 Juergen Vigna <jug@sad.it>
11084 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
11086 * text2.C (getCursorX): new helper function
11087 (setCursor): compute also ix_
11088 (setCursorFromCoordinates): set also ix.
11090 * lyxcursor.h: added ix_ and helper functions.
11092 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
11094 * buffer.C (insertStringAsLines): dont break paragraph if the this
11095 paragraph is inside an inset which does not permit it!
11097 * text.C (breakParagraph): honor keepempty flag and break the paragraph
11098 also with no chars on this paragraph.
11099 (paintRowText): only paint stuff if it's inside the workarea!
11101 * paragraph.C (breakParagraph): honor keepempty flag and break the
11102 paragraph always below not above.
11104 * BufferView2.C (unlockInset): update the paragraph layout on inset
11105 unlock as we changed paragraph in such a case.
11107 * lyxfind.C (LyXFind): clear the former selection if not found!
11109 * text2.C (insertInset): freeze Undo after setUndo so that it is not
11110 again called in insertChar().
11112 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
11113 an inset which uses the whole row!
11114 (rightMargin): ditto.
11115 (insertChar): force a rebreak if we inserted an inset!
11117 2002-03-28 Herbert Voss <voss@lyx.org>
11119 * lyxlength.[Ch]: add inBP() to get the right PS-point
11120 units (BigPoint). With inPixels we have rounding errors
11122 2002-04-11 Juergen Vigna <jug@sad.it>
11124 * text2.C (setCursorFromCoordinates): set iy to the right value.
11125 (setCursor): add check if row->previous exists!
11127 * buffer.C (parseSingleLyXformat2Token): reset font after read of
11128 an old float_type as this was the case in the old code!
11130 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
11132 * BufferView2.C (showLockedInsetCursor): use iy
11133 (fitLockedInsetCursor): ditto
11135 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
11136 locked insets as there we have the right value now.
11138 * lyxcursor.C: added iy_ variable and iy functions to set to the
11139 baseline of cursor-y of the locked inset.
11141 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
11142 (setCursor): fixed for insets which need a full row.
11144 * text.C (rowLastPrintable): don't ignore the last space when before
11145 an inset which needs a full row.
11146 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
11147 as last character of a row when before a inset which needs a full row.
11149 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11151 * version.C.in: update date
11153 * text2.C (fullRebreak): try to always return true and see what
11156 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11158 * MenuBackend.C (expand): use Floating::listName
11160 * FloatList.C (FloatList): add listName argument to the built-in
11163 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11164 text associated with the float.
11166 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11168 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11170 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11172 * ShareContainer.h: add a couple of missing typenames.
11174 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11176 * lyxrc.C (getDescription): use _() correctly rather than N_().
11178 2002-03-28 Herbert Voss <voss@lyx.org>
11180 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11181 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11183 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11185 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11186 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11188 2002-03-29 Juergen Vigna <jug@sad.it>
11190 * lyxfunc.C (dispatch): add a missing fitCursor call.
11192 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11193 it was scrolled by a cursor move, so return the bool status.
11195 * BufferView.C (fitCursor): return the bool flag also to the outside
11196 world as this is needed.
11198 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11200 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11201 call the edit() as it is not needed (and wrong) IMO.
11202 (workAreaButtonPress): set the screen_first variable before evt.
11203 unlock the inset as this may change screen_first and then we have
11204 a wrong y position for the click!
11206 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11208 * MenuBackend.C (expand): another translation that I missed
11210 2002-03-28 Juergen Vigna <jug@sad.it>
11212 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11214 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11216 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11218 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11220 * MenuBackend.C (expand): fix export/view/update when there is no
11223 2002-03-27 Herbert Voss <voss@lyx.org>
11225 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11228 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11230 * bufferview_funcs.C (currentState): only show paragraph number
11231 for is DEVEL_VERSION is set.
11233 * lyxfunc.C (dispatch): put warning in INFO channel
11235 * MenuBackend.C (expand): translate the name of floats
11237 * FloatList.C (FloatList): mark the float names for translation
11239 * converter.C (convert): use LibScriptSearch
11241 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11243 * MenuBackend.C (defaults): fix default menu (we might as well get
11246 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11248 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11251 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11253 * lyxvc.C: reorder includes.
11255 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11257 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11260 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11262 * CutAndPaste.C: change layouts earlier on paste
11263 to avoid crashing when calling getFont()
11265 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11267 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11270 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11272 * WorkArea.C: remove 'Pending' debug message.
11274 * most files: ws cleanup
11276 * buffer.[Ch]: ws changes
11278 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11280 2002-03-21 Juergen Vigna <jug@sad.it>
11282 * tabular.C (SetMultiColumn): collapse also the contents of the
11283 cells and set the last border right. Added a Buffer const * param.
11285 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11287 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11290 2002-03-19 Juergen Vigna <jug@sad.it>
11292 * text2.C (clearSelection): reset also xsel_cache.
11294 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11295 where it needs to be called (John tells us to do so too :)
11296 (selectionLost): reset sel_cache.
11298 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11300 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11302 * text2.C (setCursorIntern): put debuging code in INSETS channel
11304 2002-03-19 André Pönitz <poenitz@gmx.net>
11306 * lyxfunc.C: tiny whitespace change
11308 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11310 * ToolbarDefaults.C (init):
11311 * LyXAction.C (init):
11313 * BufferView_pimpl.C (Dispatch):
11314 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11316 2002-03-19 Allan Rae <rae@lyx.org>
11318 * exporter.C (Export): removeAutoInsets before doing anything else.
11319 While I've just introduced a dependency on BufferView this really is
11320 the best place to clean the buffer otherwise you need to cleanup in
11321 a dozen places before calling export or cleanup in a dozen functions
11324 * converter.C (runLaTeX):
11325 (scanLog): Better handling of removeAutoInsets and screen updates.
11327 * lyxfunc.C (dispatch): small whitespace changes
11329 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11331 * WorkArea.C (C_WorkAreaEvent): return a value.
11332 (event_cb): return 1 if we handled the event, 0 otherwise.
11334 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11336 2002-03-18 Juergen Vigna <jug@sad.it>
11338 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11339 (GetAdditionalWidth): ditto.
11340 (RightLine): ditto.
11343 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11344 inset if we're there actually (probably not used right now but this
11345 is the direction to go for unifying code).
11346 (paste): disable code to clear the selection.
11348 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11349 inside an InsetText and move the check further up as it is in the
11352 * text2.C (pasteSelection): set a selection over the pasted text.
11354 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11356 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11357 and libgraphics to build on Cygwin.
11359 2002-03-15 Juergen Vigna <jug@sad.it>
11361 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11362 inserting an Inset into the paragraph. I know this is not the best
11363 fix but we already use current_view in CutAndPaste so we will remove
11364 all of it's using at the same time.
11366 * buffer.C (sgmlError): deactivated function till it is rewritten in
11367 the right mode, now it can create problems.
11369 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11370 before accessing it.
11372 2002-03-14 Juergen Vigna <jug@sad.it>
11374 * undo_funcs.C (textHandleUndo): do the right thing when updating
11375 the inset after the undo/redo.
11377 * text2.C (setCursor): just some testcode for #44 not ready yet.
11379 * undo_funcs.C (textHandleUndo): set the next() and previous()
11380 pointers of the paragraph to 0 before deleting otherwise we have
11381 problems with the Paragraph::[destructor].
11383 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11384 on a paragraph insertion.
11386 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11388 * buffer.C (asciiParagraph): use += operator for char append to
11391 * paragraph.C (getFontSettings): compare >= not just >
11392 (highestFontInRange): ditto
11395 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11397 * paragraph.C: change several algorithm to be more appripriate for
11398 the problem domain. This is lookip in FontList and in the InsetList.
11400 2002-03-13 André Pönitz <poenitz@gmx.net>
11403 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11405 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11410 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11412 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11414 * Painter.C (display): anon helper function, adjust code for this
11416 (pixmap): remove function.
11418 * Painter.h: remove private display variable.
11420 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11422 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11424 * WorkArea.[Ch]: remove figinset_canvas cruft.
11426 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11428 * lyxtextclass.C (operator): add one item cache optimization.
11430 * bufferlist.h: doxy changes
11432 * bufferlist.C: ws changes
11434 * DepTable.[Ch] (ext_exist): place const in the right spot.
11436 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11438 (workAreaExpose): call resizeInsets when the with BufferView changes.
11439 (Dispatch): adjust for protectedBlank removal
11440 (specialChar): call updateInset if the insert went ok.
11442 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11443 specialChar instead.
11445 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11447 * BufferView.h: doxy change
11449 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11451 * lyxtextclass.C (operator[]): remove non-const version
11452 (defaultLayout): remove non-const version
11454 2002-03-12 Juergen Vigna <jug@sad.it>
11456 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11457 did resize the LyXText too.
11459 * buffer.C (readLyXformat2): set layout information on newly allocated
11462 * tabular.C (OldFormatRead): set layout information on the paragraph.
11464 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11466 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11468 2002-03-11 Juergen Vigna <jug@sad.it>
11470 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11472 (resizeCurrentBuffer): force also the insets to resize themselfes.
11473 (moveCursorUpdate): fixed up for InsetText.
11475 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11478 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11479 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11480 value of Dialogs::tooltipsEnabled().
11481 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11483 2002-03-08 Juergen Vigna <jug@sad.it>
11485 * BufferView_pimpl.C (updateInset): update inset inside inset also
11486 if it isn't inside theLockingInset().
11488 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11490 * buffer.C (asciiParagraph): redo some of the word and line length
11492 (getLists): look for Caption instead of caption.
11494 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11496 * buffer.C (Buffer): initialize niceFile to true
11498 (makeLinuxDocFile):
11499 (makeDocBookFile): make sure niceFile is true on exit
11501 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11503 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11505 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11507 * LyXSendto.C: remove.
11508 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11509 * lyx_gui.C: remove now-redundant comment.
11510 * ColorHandler.h: remove forward declaration of class WorkArea.
11511 * lyxfunc.C: remove #include "WorkArea.h".
11513 2002-03-07 Juergen Vigna <jug@sad.it>
11515 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11516 got moved away with the DEPM and also set the inset_owner always
11517 right which before could have been omitted.
11519 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11521 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11522 wanted layout is not found.
11524 2002-03-07 Juergen Vigna <jug@sad.it>
11526 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11528 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11530 * paragraph.C (breakParagraph): use default layout not layout of
11532 (Paragraph): clear ParagraphParameters.
11534 2002-03-06 Juergen Vigna <jug@sad.it>
11536 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11537 otherwise it would not be a valid lenght. Fixed a special case in
11538 the minipage compatibility read where we end the document with a
11541 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11542 was set as it could be 0 for InsetTexts first entry.
11544 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11546 * paragraph.C (writeFile): if layout is empty write out
11547 defaultLayoutName().
11549 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11550 file without named layout we set layout to defaultLayoutName().
11552 2002-03-06 Juergen Vigna <jug@sad.it>
11554 * CutAndPaste.C (copySelection): set layout for new paragraph.
11556 * text.C (prepareToPrint): leave ERT inset left aligned
11557 (leftMargin): don't indent paragraphs inside ERT insets
11559 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11561 * paragraph.C (breakParagraph): dont call clear do the work manually
11563 * paragraph.[Ch] (clear): remove function
11565 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11567 * paragraph.C (Paragraph): dont call clear, the work has already
11570 * lyxtextclass.C (operator): assert if n is empty
11572 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11573 work manually instead.
11575 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11577 * BufferView_pimpl.C: protect selectionLost against text == 0
11579 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11581 * text.C (breakParagraph): fix a setting layout to '0' problem.
11583 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11585 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11586 final location of file, for the included files, and graphics.
11588 2002-03-05 Juergen Vigna <jug@sad.it>
11590 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11592 2002-03-04 Juergen Vigna <jug@sad.it>
11594 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11596 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11597 last column of multicolumn cells.
11598 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11600 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11602 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11603 file if it doesn't go to a temporary file.
11605 * buffer.C (sgmlOpenTag):
11606 (sgmlCloseTag): remove extra newline insertion.
11608 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11610 * text.C (getRowNearY): comment out debug msg
11612 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11614 * text2.C: first -> first_y
11616 * text.C (getRowNearY): add some attemts at a possible
11617 optimization, not working.
11619 * tabular.[Ch]: add BufferParams to several function so that newly
11620 created paragraph can be initialized to he default layotu for the
11623 * tabular-old.C (ReadOld): add buf->params to call of Init
11625 * screen.C: rename text->first to text->first_y
11627 * paragraph.C (breakParagraph): always set layout in the broken
11630 * lyxtextclass.C (Read): remove lowercase
11633 (delete_layout): ditto
11635 * lyxtext.h: rename first -> first_y
11637 * lyxlayout.C (Read): remove lowercase
11640 (obsoleted_by): ditto
11642 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11644 * buffer.C (insertErtContents): add params are to InsetERT
11645 (parseSingleLyXformat2Token): add code to check if a paragraphs
11646 layout really exist.
11647 (parseSingleLyXformat2Token): add params to several inset
11649 (asciiParagraph): remove lowercase, do the layout comparisons with
11652 * BufferView_pimpl.C (cursorNext): first -> first_y
11653 (resizeCurrentBuffer): first -> first_y
11654 (updateScrollbar): first -> first_y
11655 (scrollCB): first -> first_y
11656 (workAreaMotionNotify): first -> first_y
11657 (workAreaButtonPress): first -> first_y
11658 (checkInsetHit): first -> first_y
11659 (cursorPrevious): first -> first_y
11660 (cursorNext): first -> first_y
11661 (Dispatch): add buffer_->params to severl inset contructors
11663 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11665 * lyxlayout.C (Read): remove some debug info that I forgot.
11667 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11668 clean up the code slightly.
11669 (makeLinuxDocFile): ditto
11670 (makeDocBookFile): ditto
11672 * text2.C: layout as string
11674 * text.C: layout as string
11676 * paragraph_pimpl.C: layout as string
11678 * paragraph.[Ch]: layout as string
11680 * lyxtextclasslist.[Ch]: layout as string
11682 * lyxtextclass.[Ch]: layout as string
11684 * lyxtext.h: layout as string
11686 * lyxlayout.[Ch]: layout as string
11688 * lyx_cb.C: layout as string
11690 * bufferview_funcs.C: layout as string
11692 * bufferparams.C: layout as string
11694 * buffer.C: layout as string
11696 * LyXView.[Ch]: layout as string
11698 * LaTeXFeatures.[Ch]: layout as string
11700 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11702 * BufferView_pimpl.C: change current_layout to string, remove
11707 (workAreaButtonRelease): layout as string
11709 * BufferView2.C (unlockInset): adjust
11711 * vspace.C (asLatexCommand): use an explict temp variable.
11713 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11715 * Makefile.am: use FRONTEND_*
11717 2002-03-01 Juergen Vigna <jug@sad.it>
11719 * tabular.C (SetWidthOfMulticolCell): changed to something better
11720 I hope but still work in progress.
11721 (recalculateMulticolumnsOfColumn): renamed function from
11722 recalculateMulticolCells as it is more appropriate now.
11723 (SetWidthOfCell): calculate multicols better.
11725 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11727 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11729 * lyxfunc.C (processKeySym): print sequence also if it is
11730 `deleted' (complete)
11732 * kbsequence.C (print): print sequence even if it is deleted
11733 (complete would be a better word, actually).
11735 * lyxfunc.C (dispatch): print complete options after a prefix key
11737 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11739 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11741 * text2.C (setCharFont): eliminate setCharFont code duplication.
11743 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11745 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11746 LFUN_TABULAR_FEATURE (bug #177)
11748 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11750 * Makefile.am: remove figure.h
11752 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11754 * Bufferview_pimpl.C:
11766 * text2.C: remove #include "lyx_gui_misc.h".
11768 * LaTeX.C: added #include <cstdio>
11770 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11772 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11773 that the paragraph following this one can have.
11775 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11777 * vspace.C (asLatexCommand): fix bogus gcc warning
11779 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11781 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11783 * text2.C (setLayout): get rid of redundant code
11785 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11787 * text2.C (incDepth): make sure depth cannot be increased beyond
11790 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11792 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11793 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11795 * PainterBase.h (image):
11796 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11797 a LyXImage const *.
11799 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11803 * BufferView_pimpl.C:
11804 * BufferView_pimpl.h:
11824 * sp_spell.C: remove fig inset, and the crap house of
11825 cards that follows it
11827 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11832 * os2_errortable.h:
11833 * nt_defines.h: move .h into support/
11835 * vms_defines.h: remove
11837 * WorkArea.C: add space in debug output
11841 * buffer.C: add WITH_WARNINGS
11845 * bufferlist.C: s/retrive/retrieve/, add docs
11854 * chset.C: add docs
11856 * lyxgui.C: add ID to X error handler
11858 * lyxtestclass.c: fix typo
11860 2002-02-26 Juergen Vigna <jug@sad.it>
11862 * tabular_funcs.C (write_attribute): changed so that some default
11863 attributes are not written at all.
11864 (getTokenValue): set default values before trying to read the
11865 value so we have the return value always set as default if we don't
11866 find the token we search for.
11868 * tabular.C (Write): write bools as bools not as strings!
11870 2002-02-22 Juergen Vigna <jug@sad.it>
11872 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11873 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11875 * text.C (leftMargin): don't add an indent for paragraphs inside
11876 tabular cells (fix #208).
11878 2002-02-21 José Matos <jamatos@fep.up.pt>
11880 * tabular.C (docBook): fixed support for long tables.
11882 2002-02-20 Juergen Vigna <jug@sad.it>
11884 * text2.C (getFont): get the drawing font of the Inset if this
11885 paragraph is inside an inset (only important for InsetERT for now).
11887 * buffer.C (insertErtContents): use new lanugage params in ERT
11890 * CutAndPaste.C: commenting out seemingly uneeded code.
11892 2002-02-19 Allan Rae <rae@lyx.org>
11894 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11895 Iterators might be simple to use but they also get invalidated.
11896 (removeAutoInsets): renamed saved cursor tracking variables and added
11897 some comments to clarify what everything does.
11899 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11906 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11907 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11910 * vc-backend.h: remove #include "support/syscall.h"
11914 * converter.C: rearrange #includes in Lars' approved fashion.
11916 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11917 forward declare class Timeout in the header file.
11919 * XFormsView.C: changes due to the above.
11921 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11922 similar to LyXView.
11924 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11925 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11927 2002-02-18 José Matos <jamatos@fep.up.pt>
11929 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11932 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11934 * a lot of small ws changes
11935 * add a lot of using std::XXX
11936 * use std construcs some places where approp.
11937 * use some exisint stuff from lyxfunctional where approp.
11938 * Make file changes to use partial linking (lets test this now...)
11940 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11944 remove #include "support/syscontr.h" as it's redundant. Always has been.
11952 change Systemcalls::System to Systemcalls::Wait and
11953 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11954 No change of functionality, just reflects the stripped down Systemcalls
11957 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11959 * debug.[Ch]: add a GRAPHICS type to the enum.
11961 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11963 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11965 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11968 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11970 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11971 match the changes below.
11973 * text2.C (toggleInset): if there is not editable inset at cursor
11974 position, try to see if cursor is _inside_ a collapsable inset
11977 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11979 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11980 document menu has a nice checkbox
11982 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11984 * lyxlength.C (asLatexString): change PW to output as percent of
11987 * lengthcommon.C: change '%' to 't%'
11989 * lyxfunc.C (dispatch): a few comments from Martin
11991 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11995 * BufferView_pimpl.h:
11996 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11999 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12001 * vspace.C (inPixels): fix compiler warning
12003 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12005 * lyxfunc.C (getStatus): fix status message for disabled commands.
12007 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
12009 * BufferView_pimpl.C: fix crash on close buffer
12010 during selection (#227)
12012 2002-01-27 Herbert Voss <voss@lyx.org>
12014 * buffer.C: link old Figure to new graphic inset
12016 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
12018 * FontLoader.C (getFontinfo): Change the latex font names in order
12019 to match the names of type1inst.
12021 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
12023 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
12025 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
12026 (extchanged): ditto
12028 (remove_files_with_extension): ditto
12029 (remove_file): ditto
12032 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
12033 document is smaller than the work area height. Do not initialize
12034 static variables to 0.
12036 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12038 * lyx_gui.C (init): give the toolbar tooltips a normal font.
12040 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
12041 LFUN_LAYOUT_PARAGRAPHS.
12043 * tabular.C (GetCellFromInset): new method. Finds an inset in a
12044 tabular. It is possible to provide a possible cell, which will
12045 typically be the actcell from the corresponding insettabular
12047 * lyxfunc.C (getStatus): small cleanup; disable
12048 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
12051 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12053 * tabular.C (Validate): remove broken optimization (fixes bug #201)
12055 * paragraph.C (startTeXParParams):
12056 (endTeXParParams): new methods. The LaTeX code to
12057 start/end paragraph formatting
12058 (simpleTeXOnePar): call startTeXParParams also when paragraph is
12059 empty (fixes bug #200)
12061 * vspace.C (inPixels): adapt to the change below
12062 (inPixels): [later] more cleanups (remove unused variables)
12064 * lyxlength.C (inPixels): change to use a width and a height as
12067 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12069 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
12070 Replaced with \paperwidth
12072 * DepTable.C (insert): add std:: qualifier
12074 2002-01-18 Allan Rae <rae@lyx.org>
12076 * text2.C (removeRow): add comment. Should other refresh_?? vars be
12079 * text.C (drawInset): Turned out I didn't know enough about how
12080 rebreaking worked. This fixes most of the redraw problems. I see
12081 an occasional cursor trail when a line is broken now and the cursor
12082 placement can seem out by a few pixels also after a rebreak.
12084 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12086 * buffer.C (parseSingleLyXformat2Token): update because minipage
12087 width is now a LyXLength
12089 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
12091 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
12094 2002-01-17 Juergen Vigna <jug@sad.it>
12096 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
12098 * BufferView2.C (lockInset): call edit() so that theLockingInset()
12099 is set correctly and the inset is updated correctly.
12101 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12103 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
12104 the beginning of the loop.
12106 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
12108 * lyxrc.C: improve help for use_scalable_fonts
12110 2002-01-17 Allan Rae <rae@lyx.org>
12112 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
12114 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12116 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
12117 make sure to set their inset_owner to the right value (bug #171)
12119 2001-12-12 Ben Stanley <bds02@uow.edu.au>
12122 * DepTable.C: Implement mtime checking to reduce time spent doing
12125 2002-01-16 Juergen Vigna <jug@sad.it>
12127 * tabular.C (GetAdditionalHeight): one of error fixed.
12129 * lyxrc.C (output): small fix in writing use_pspell.
12131 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
12133 * sp_base.h: #include LString.h
12135 2002-01-16 Allan Rae <rae@lyx.org>
12137 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
12138 Can someone check this please?
12140 * text.C (drawInset): It was possible that p.row would be removed by
12141 breakAgainOneRow upsetting a few other settings. There may be another
12142 small tweak possible by setting need_break_row = 0 when p.row has been
12143 removed but I don't know enough about the logic here.
12145 2002-01-15 Allan Rae <rae@lyx.org>
12147 * text.C (insertChar): removed conditional truism.
12149 * BufferView2.C (removeAutoInsets): More tweaks.
12150 cur_par_prev could be a stray pointer. Check for trailing empty line
12151 in case last line was cur_par and only had an error inset on it.
12153 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12155 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12158 * vc-backend.C (most methods):
12159 * exporter.C (Export):
12160 * converter.C (convert):
12162 * LyXSendto.C (SendtoApplyCB):
12163 * lyxfunc.C (dispatch):
12167 * lyx_cb.C (AutoSave):
12169 * BufferView_pimpl.C (MenuInsertLyXFile):
12170 * buffer.C (runChktex): use Buffer::filePath().
12172 * buffer.h: rename filename to filename_; rename filepath to
12173 filepath_ and make it private
12174 (filePath): new method
12176 * buffer.C (writeFile): use fileName()
12179 * lyx_main.C (init): fix starting of LyX when the binary is a
12180 link from so,ewhere else.
12182 * minibuffer.C: include <cctype> for isprint
12184 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12186 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12187 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12188 name clash with InsetCollapsable's width function.
12190 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12192 * lastfiles.C: include <iterator>
12194 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12196 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12199 * buffer.C (makeLaTeXFile): ditto.
12200 Also make loop operation more transparent.
12202 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12204 * ToolbarDefaults.C: remove trailing comma closing namespace.
12206 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12208 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12211 * trans.C (Load): comment out unused variable, allowed.
12213 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12215 * minibuffer.[Ch] (append_char): new method to recieve input from the
12216 drop-down completion browser. If a key was pressed, then recieve this
12217 char and append it to the existing string.
12218 (peek_event): modify the positioning data passed to the completion
12219 browser so that it can be placed above the minibuffer rather than below.
12220 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12222 * LyXAction.C (init): alloe error-next for readonly documents.
12224 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12227 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12229 * bufferlist.C (readFile): create the buffer _after_ checking that
12232 * lyxfunc.C (verboseDispatch): fix handling of arguments
12234 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12236 * lyxrc.C: use string::erase() instead of initializing to "".
12239 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12241 * BufferView_pimpl.h:
12242 * BufferView_pimpl.C:
12245 * text2.C: tell X when we have made a selection for copying
12247 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12249 * BufferView_pimpl.C (MenuInsertLyXFile):
12250 * lyxfunc.C (menuNew):
12252 (doImport): add shortcuts to directory buttons
12254 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12257 * lyxfunc.C (setStatusMessage):
12258 (getStatusMessage): new methods
12259 (getStatus):use setStatusMessage instead of setErrorMessage
12260 (dispatch): when function is disabled, set error message here
12261 [instead of in getStatus previously]
12263 * BufferView_pimpl.C (workAreaButtonRelease): update
12264 toolbar/menubar here too.
12266 2002-01-13 Allan Rae <rae@lyx.org>
12268 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12269 Now seems indestructible. Remaining task is to audit all other
12270 code affected by deleteEmptyParagraphMechanism. One small quirk
12271 left is that an empty document with an error in the preamble can
12272 be made to report an error but no error box appears. I don't know
12274 (removeAutoInsets): Improved comments.
12276 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12279 * Thesaurus.C: update for Aiksaurus 0.14
12281 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12283 * text2.C (firstParagraph): removed member function, all uses
12284 replaces with ownerParagraph
12285 (redoParagraphs): here
12286 (updateInset): here
12287 (toggleAppendix): here
12288 * BufferView2.C (insertErrors): here
12289 (setCursorFromRow): here
12291 2002-01-13 Allan Rae <rae@lyx.org>
12293 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12294 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12295 There is still a way to segfault this although you may have to do this
12296 multiple times: Have an InsetERT with an unknown command in it.
12297 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12298 <down-arrow>, <Enter> again, View->DVI, BANG!
12300 * text2.C (setCursor):
12301 (deleteEmptyParagraphMechanism):
12302 * lyxtext.h (setCursor):
12303 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12304 Making use of the return value may help fix other bugs.
12306 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12308 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12310 * LyXView.C (updateMenubar): call MenuBar::update here
12311 (updateToolbar): but not here
12312 (showState): do not update toolbar/menubar
12314 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12315 should need to care about that.
12317 * lyxfunc.C (verboseDispatch): simplify a bit
12318 (getStatus): have a version which takes a pseudoaction, and
12319 another which requires a (kb_action,string).
12321 * LyXAction.C (retrieveActionArg): make it work also when action
12322 is not a pseudo-action.
12323 (getActionName): simplify a bit
12326 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12328 * lyxfunc.C (verboseDispatch): new families of methods with
12329 several ways to specify a command and a bool to indicate whether
12330 the command name and shortcut should be displayed in minibuffer
12331 (eventually, we could extend that to a finer bitmask like
12332 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12333 (dispatch): the pristine dispatch command which just, well,
12334 dispatchs! Note it still sets its result to minibuffer; I'm not
12337 * lyxfunc.h: remove setHintMessage
12339 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12341 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12343 * BufferView_pimpl.C (specialChar): delete new inset if we have
12344 not been able to insert it.
12346 * kbmap.C: revert to using int instead of kb_action, since all we
12347 are dealing with is pseudo-actions.
12349 * LyXAction.C (searchActionArg): change to return int instead of
12350 kb_action, since the result is a pseudoaction.
12352 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12354 * buffer.C (insertErtContents): Fix (partially) the font bug.
12356 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12358 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12359 as the other one is broken on my machine!
12361 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12364 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12366 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12368 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12369 reflect their actual use. Provide compatibility code for older lyxrc
12372 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12374 change names of popup font variables in line with the changes to lyxrc.C
12376 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12378 * buffer.C (asciiParagraph): avoid outputing a word twice after
12381 * lyxrc.C (getDescription): document that document_path and
12382 template_path can be empty.
12384 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12386 * LaTeXFeatures.C (getMacros):
12387 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12389 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12391 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12393 (getPackages): rename feature "floats" to "float". Use an array to
12394 iterate over 'simple' features (i.e. just a \usepackage). Add
12395 handling of "amsmath" (renamed from "amsstyle").
12397 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12399 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12402 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12404 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12405 FuncStaus::FuncStatus & FuncStaus::some_method().
12407 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12409 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12410 of the func_satus stuff. Edited and massaged in various ways by
12413 * lyxfunc.C (getStatus): use FuncStatus
12415 2002-01-08 Juergen Vigna <jug@sad.it>
12417 * text.C (nextBreakPoint): use function Inset::isChar().
12419 * paragraph.C (TeXOnePar): use function
12420 Inset::forceDefaultParagraphs.
12422 * buffer.C (latexParagraphs): use function
12423 Inset::forceDefaultParagraphs.
12425 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12427 * lyx_gui.C (init): set the style of the menu popups to
12428 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12430 2002-01-07 Juergen Vigna <jug@sad.it>
12432 * text.C (setHeightOfRow): small fix
12433 (prepareToPrint): don't look at alignment if we don't have the place
12436 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12438 * box.C: New file. Move the Box methods and functions out of box.h,
12439 following Lars' suggestion.
12441 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12443 * box.h: #include "support/LOstream.h", needed for inlined function.
12446 * lyxtextclasslist.C: added some using std declarations.
12448 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12450 * box.h: make signed dimensions to allow insets wider than
12451 the screen (bug #162)
12453 * BufferView_pimpl.C: add some insetHit debug
12455 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12457 * vc-backend.C: add FIXME
12459 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12461 * lyxfunc.C (getStatus): enable code for showing math font status
12464 2002-01-07 Juergen Vigna <jug@sad.it>
12466 * text.C (nextBreakPoint): removed debug output not needed anymore.
12468 2002-01-06 Juergen Vigna <jug@sad.it>
12470 * text.C (nextBreakPoint): fixed up this function we had this bug
12471 since ever but now hopefully we break row better.
12472 (insertChar): we have to check if an inset is the next char as it
12473 could now happen that a large inset is causing a break.
12475 2002-01-05 Juergen Vigna <jug@sad.it>
12477 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12478 if it doesn't like to be drawed.
12480 2002-01-04 Juergen Vigna <jug@sad.it>
12482 * BufferView2.C (lockInset): forgot to set a cursor.
12484 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12486 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12488 * FormMathsPanel.C:
12491 * form_maths_panel.C:
12492 * form_maths_panel.h:
12493 * form_maths_panel.fd: implemented sub- and super- buttons in math
12496 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12497 (or ^ space) to be used as in TeX (req'd by André).
12499 * lyxfunc.C: Allow ^ and _ again to be used both as
12500 super/subscript (mathed) and as themselves (in text).
12502 2002-01-03 Allan Rae <rae@lyx.org>
12504 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12505 "LyX" or the filename of the current buffer if it has one. This is a
12506 modified form of John Levon's patch.
12508 * XFormsView.C (setWindowTitle): also set icon title.
12510 * LyXView.h (setWindowTitle): signature changed.
12511 * XFormsView.h (setWindowTitle): ditto.
12513 2002-01-02 Juergen Vigna <jug@sad.it>
12515 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12517 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12519 * screen.C (topCursorVisible): introduce a temp var for
12520 text->cursor.row(), handle the case where this row is null. (kindo
12523 * text2.C (setCursor): add a couple of asserts.
12525 * paragraph.h (inset_iterator): add -> operator
12527 * paragraph.[Ch] (autoDeleteInsets): remove member function
12529 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12530 cursor pos correctly and handle inset deletion by itself.
12531 (insertErrors): move iterator declaration out of for expression
12533 * lyxtextclass.C: add <algorithm>
12535 * Makefile.am: added the new files to sources, removed layout.C
12537 * layout.C: removed file
12539 * layout.h: remove LYX_DUMMY_LAYOUT
12541 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12545 * lyxtextclass.[Ch]:
12546 * lyxtextclasslist.[Ch]: new files
12548 * include order changes to a lot of files, also changes because of
12551 2001-12-27 Juergen Vigna <jug@sad.it>
12553 * buffer.C (asciiParagraph): more fixes.
12555 * tabular.C (ascii): make ascii export support export of only the
12556 data separated by a column-delimiter.
12557 (ascii): better support for ascii export.
12559 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12561 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12563 * tabular_funcs.C: use a "using std::getline" instead of the
12564 previous fix from Angus (necessary for cxx + lyxstring)
12566 2001-12-24 Juergen Vigna <jug@sad.it>
12568 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12570 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12571 problems. First check a minipage also if we have some ert-contents
12572 (not only on par->size(), second set the right depth of the paragraph
12573 on the relink to the root-paragraph-list!
12575 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12576 which then did not anymore update the main paragraphs on undo/redo!
12578 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12580 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12581 code. Support all font-changing funcs (even those which are not in
12582 menu currently). Support for reporting font settings in
12583 mathed (disabled until Andre provides a function on mathed's side).
12585 * func_status.h (toggle): small helper function to set toggle
12588 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12590 * tabular_funcs.C: getline -> std::getline
12592 2001-12-21 Juergen Vigna <jug@sad.it>
12594 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12595 accessed and could be 0 (I couldn't generate this but it seems
12598 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12600 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12601 * tabular_funcs.h: here and include iosfwd
12603 2001-12-20 Juergen Vigna <jug@sad.it>
12605 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12606 inside inset but undo_par was.
12608 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12610 * Thesaurus.C: always include <config.h> in sources.
12614 * box.h: do not include <config.h> in header files
12616 * text.C (paintLastRow): remove unused variable
12618 * text.C (transformChar):
12620 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12622 * Painter.C (text):
12623 * font.C (width): rewrite to use uppercase() instead of
12626 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12628 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12630 * lyxfind.C: clean up of find failure position change
12632 2001-12-20 Juergen Vigna <jug@sad.it>
12634 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12636 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12637 (TeXRow): added to LaTeX a single tabular row.
12638 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12639 (Latex): simplified and finally good LT-h/f support.
12640 (various_functions): just small adaptions for LT-h/f support.
12642 * tabular_funcs.[hC]: added and moved here all not classfunctions
12645 2001-12-19 Juergen Vigna <jug@sad.it>
12647 * tabular.[Ch]: better support for longtabular options (not finished
12650 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12652 * text.C (paintLastRow): use the label font instead of the font of
12653 the last character to compute the size of *_BOX. This makes more
12654 sense and avoids a crash with empty paragraphs.
12655 Use Painter::rectangle to draw EMPTY_BOX.
12657 2001-12-19 Juergen Vigna <jug@sad.it>
12659 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12660 the paragraphs if the replaced paragraph is not the first one!
12661 Tried to delete not used paragraphs but does not work yet so for
12662 now it's inside #ifdef's and by default off!
12664 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12666 * MenuBackend.C: include "lyx_main.h" instead of declaring
12667 lastfiles (actually was declared as LastFiles* instead of a
12670 2001-12-17 Juergen Vigna <jug@sad.it>
12672 * tabular.C (AppendColumn): applied John's fix
12674 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12678 * BufferView_pimpl.h:
12679 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12682 * box.h: new start of class for above
12684 * lyxfunc.C: ignore space-only minibuffer dispatches.
12685 Show the command name when it doesn't exist
12687 * minibuffer.C: don't add empty lines to the history
12689 * minibuffer.C: add a space on dropdown completion
12691 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12693 * text.C: fix line above/below drawing in insets
12695 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12697 * lyxlength.C (LyXLength): Initialize private variables.
12699 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12701 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12702 when inserting error insets.
12704 2001-12-13 Juergen Vigna <jug@sad.it>
12706 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12707 actually sometimes the before-paragraph.
12708 (setUndo): don't clear the redostack if we're not actually undoing!
12710 2001-12-06 Juergen Vigna <jug@sad.it>
12712 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12713 and fixed redoing of main paragraph, so we can use it now ;)
12715 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12717 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12719 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12722 2001-12-13 André Pönitz <poenitz@gmx.net>
12725 * undo_func.C: minor cleanup
12727 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12729 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12730 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12731 font in urw-fonts package which is marked as -urw-fontspecific and
12732 does not work (incidentally, changing the encoding in the
12733 fonts.dir of this package to -adobe-fontspecific fixes the
12736 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12737 is a crash when undoing first paragraph (Juergen, please take a
12738 look). THis does not mean the undo fix is wrong, just that it
12741 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12742 the (Paragraph*) version when needed instead of duplicating the
12745 * text.C (workWidth): use Inset::parOwner to find out where the
12746 inset has been inserted. This is a huge performance gain for large
12747 documents with lots of insets. If Inset::parOwner is not set, fall
12748 back on the brute force method
12750 * paragraph_pimpl.C (insertInset):
12751 * paragraph.C (Paragraph):
12752 (cutIntoMinibuffer): set parOwner of insets when
12753 inserting/removing them
12755 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12757 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12763 * mathed/formulabase.C:
12764 * mathed/math_cursor.[Ch]:
12765 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12768 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12770 * lyxlength.[Ch] (operator!=): new function
12772 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12774 * text.C (workWidth): use Inset::parOwner to find out where the
12775 inset has been inserted. This is a huge performance gain for large
12776 documents with lots of insets. If Inset::parOwner is not set, fall
12777 back on the brute force method
12779 * paragraph_pimpl.C (insertInset):
12780 * paragraph.C (Paragraph):
12781 (cutIntoMinibuffer): set parOwner of insets when
12782 inserting/removing them
12784 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12786 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12788 * tabular-old.C (getTokenValue):
12789 * tabular.C (getTokenValue):
12790 (write_attribute): new versions for LyXLength
12791 (everywhere): adjust the use of widths
12793 * tabular.h: change the type of widths from string to LyXLength
12795 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12797 * paragraph.C: fixed missing line number count when exporting
12798 Environments to LaTeX file
12800 * buffer.C: added informational message for checking line numbers.
12802 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12804 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12805 paragraph, do the 'double space' part, but not the 'empty
12808 * text.C (workWidth): small optimization
12809 (getLengthMarkerHeight): use minimal size for negative lengths.
12811 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12813 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12815 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12817 2001-12-11 André Pönitz <poenitz@gmx.net>
12820 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12822 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12824 * text2.C: keep selection on a setFont()
12826 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12828 * lyx_cb.C: another bv->text misuse, from insert label
12830 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12833 * kbsequence.C: re-instate nmodifier mask
12835 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12837 * lyx_main.h: make lyxGUI private.
12839 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12841 * lyxfind.C: place the cursor correctly on failed search
12843 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12845 * text.C (getLengthMarkerHeight): for small heights, the arrows
12846 are not always on top/bottom of the text
12847 (drawLengthMarker): smaller arrows; take the left margin in
12848 account; draw also vfills.
12850 (paintLastRow): remove special code for vfill and standard spaces,
12851 since everything is handled in drawLengthMarker now.
12853 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12855 * buffer.C (insertErtContents): try to handle font and language
12856 interaction a bit better.g
12858 * ColorHandler.C (updateColor): change the hash to cover the whole
12859 LColor enum, ws cleanup
12860 (getGCLinepars): ditto
12861 (getGCLinepars): only lookup in the linecache once.
12863 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12865 * iterators.C (operator++): Make the iterator more robust
12867 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12869 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12871 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12874 * text.C: better added space drawing
12876 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12879 * BufferView2.C: fix layout combo update on inset unlock
12881 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12883 * Makefile.am: don't compile unused files
12885 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12889 * LyXAction.C: remove old LFUN_LAYOUTNO
12891 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12893 * paragraph_pimpl.h:
12894 * paragraph_pimpl.C: isTextAt() doesn't need font param
12896 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12899 * lyxlex.C: little cleanup
12901 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12903 * BufferView_pimpl.C: fix insertAscii for insets
12905 2001-12-05 Juergen Vigna <jug@sad.it>
12907 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12908 set the right font on the "multi" paragraph paste!
12910 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12916 * lyxlength.C: remove out-commented code.
12918 * BufferView_pimpl:
12932 * vc-backend.C: change "while(" to "while ("
12934 * lyxlength.[Ch]: add zero function to check if length is zero or
12936 * lyxgluelength.C: use it
12938 2001-12-05 Allan Rae <rae@lyx.org>
12940 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12941 Works for 2.95.3, from what I understand of Garst's reports this should
12942 work for other g++ versions. We're screwed if the abs(int) definition
12943 changed between bugfix releases of gcc.
12945 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12947 * text.C: fix chapter label offset !
12949 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12952 * text.C: fix hfill at end of line, clean up
12954 2001-12-04 Juergen Vigna <jug@sad.it>
12956 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12957 that we force an update of the inset and it's owners if neccessary.
12959 2001-12-03 Juergen Vigna <jug@sad.it>
12961 * text.C (rowLast): simplified code
12963 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12965 * lyxfunc.C: fix show options on timeout
12967 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12969 * screen.C (topCursorVisible): scroll half a page when the cursor
12970 reached top of bottom of screen
12972 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12974 * minibuffer.C: deactivate on loss of focus
12976 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12978 * vspace.[Ch] (operator!=): add operator.
12980 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12982 * BufferView_pimpl.C: refuse to open an inset when
12983 there's a selection.
12985 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12987 * BufferView_pimpl.C: allow to click on RHS of full row insets
12989 2001-11-30 Juergen Vigna <jug@sad.it>
12991 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12992 insets for undo reasons.
12994 2001-11-28 André Pönitz <poenitz@gmx.net>
12996 * vspace.[Ch]: cosmetical changes
12998 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13008 * kbsequence.C: part re-write of old kb code
13011 * WorkArea.C: remove Lgb_bug_find_hack
13013 2001-11-30 José Matos <jamatos@fep.up.pt>
13015 * buffer.C (makeDocBookFile): add a comment to point a hack.
13016 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
13017 Fixed a double write of labels.
13019 2001-11-29 Ben Stanley <bds02@uow.edu.au>
13022 * LaTeX.h Fixed bug in LaTeX class where it would not
13023 re-run latex if no depfiles were changed, but the .dvi was removed.
13025 2001-11-28 André Pönitz <poenitz@gmx.net>
13027 * all the files from the change on 2001/11/26:
13028 use lyx::layout_type instead of LyXTextClass::size_type
13029 use lyx::textclass_type instead of LyXTextClassList::size_type
13031 2001-11-29 Juergen Vigna <jug@sad.it>
13033 * text.C: added support for paragraph::isFreeSpacing()
13035 * buffer.C: same as above
13037 * paragraph.h: inserted isFreeSpacing() function to enable
13038 FreeSpacing inside InsetERT.
13040 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
13041 of the paragraph's in the cut/copy buffer to 0!
13043 * text2.C (removeRow): remove the assert as it can!
13045 * lyxtext.h: added helper function firstRow returning firstrow and
13046 made firstrow private again.
13048 * BufferView2.C (lockInset): don't relock if we're already locked!
13050 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
13051 the only paragraph.
13052 (removeRow): added Assert::(firstrow)
13054 * debug.C: forgot to add INSETTEXT here.
13056 2001-11-28 Juergen Vigna <jug@sad.it>
13058 * sp_spell.C (initialize): changed error text to more general
13059 spellchecker command use (not only ispell!)
13061 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
13063 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
13065 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13067 * vspace.C: initialise lyxgluelength on failure
13069 2001-11-28 Allan Rae <rae@lyx.org>
13071 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
13072 declaration & definition that looks like a function declaration.
13074 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13076 * BufferView2.C (copy):
13077 (copyEnvironment): do not clear the selection when doing a copy.
13079 * text.C (paintFirstRow): compilation fix
13081 2001-11-27 Ben Stanley <bds02@uow.edu.au>
13083 * tabular.C (Latex): correct line count when writing latex.
13085 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
13087 * paragraph_pimpl.h:
13088 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
13091 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
13095 * LColor.C: change vfillline->added_space
13097 * text.C: add markers and text for added space
13099 * vspace.C: fix comment
13101 2001-11-28 André Pönitz <poenitz@gmx.net>
13103 * paragraph.C: whitespace changes
13104 * all the other files from the change on 2001/11/26:
13105 change *::pos_type into lyx::pos_type
13107 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
13109 * buffer.C (parseSingleLyXformat2Token): Set the language to the
13110 language of the document when inserting error insets.
13112 2001-11-26 André Pönitz <poenitz@gmx.net>
13114 * BufferView_pimpl.[Ch]:
13122 * paragraph_pimpl.[Ch]:
13125 * text2.C: reduce header dependencies, introduce type for positions
13127 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13129 * <various>: change to use Alert.h
13131 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
13133 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
13134 when encountering an unknown token.
13135 (readLyXformat2): Show an error message if there were unknown tokens.
13137 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
13140 * BufferView_pimpl.C:
13144 * text2.C: use par->isInset()
13146 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
13148 * paragraph_pimpl.h:
13149 * paragraph_pimpl.C: cleanup
13151 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13153 * text2.C (removeRow):
13154 * text.C (setHeightOfRow): remove useless (and costly) call to
13157 2001-11-20 Allan Rae <rae@lyx.org>
13159 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13160 Now need Inset*::checkInsertChar() to return true for appropriate
13161 cases so that the characters in the minibuffer will actually be
13164 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13166 * text.C: change the order of the includes.
13167 (workWidth): initialize it at once.
13168 (workWidth): make maxw unsigned
13169 (setHeightOfRow): remove unused variable (inset)
13170 (selectSelectedWord): remove unused variable (inset)
13171 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13173 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13175 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13176 server is not running.
13178 (closeConnection): add debug info when server is disabled.
13180 * ColorHandler.C (getGCForeground): send debug message to GUI
13183 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13185 * kbmap.C (bind): modify because return conventions of
13186 kb_sequence::parse have changed.
13188 * kbsequence.C (parse): only ignore spaces and not any stupid
13189 control character. This avoids tests like s[i] <= ' ', which are
13190 guaranteed to fail with 8bit characters and signed chars.
13191 Change return code to string::npos when there have been no error
13192 (0 was a bad idea when error is at first character)
13194 2001-11-14 José Matos <jamatos@fep.up.pt>
13197 * buffer.C (simpleDocBookOnePar): removed unused argument.
13199 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13201 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13202 insets which are part of a word. Paragraph::isLetter takes care of
13203 that now. Use Paragraph::isInset to identify insets.
13204 (selectSelectedWord): do not test for hyphenation break.
13206 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13207 that protected spaces are considered as spaces.
13209 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13212 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13215 * lyxserver.C: fix it. and small cleanup.
13217 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13219 * BufferView_pimpl.C: use inline helpers
13222 * LaTeXFeatures.C: fix typos
13225 * Spacing.C: move spacing_string into class
13227 * ToolbarDefaults.C: move stuff into namespace anon
13229 * layout.h: update enum
13231 * lyxfunc.C: use better debug
13233 * minibuffer.h: fix typo
13237 * WorkArea.C: add and use Debug::WORKAREA
13241 * text2.C: code re-organisation, inline helpers
13243 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13245 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13246 std::vector.empty().
13248 2001-11-09 Allan Rae <rae@lyx.org>
13250 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13251 '\n's after tables. Tabular and ERT inset work now makes this no
13254 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13257 * minibuffer.C: fix crash, improve drop-down completion
13259 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13262 * lyxserver.C: invalidate fd's when doing endPipe()
13264 2001-11-08 José Matos <jamatos@fep.up.pt>
13266 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13267 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13270 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13272 2001-11-07 José Matos <jamatos@fep.up.pt>
13275 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13278 * buffer.C (sgmlOpenTag):
13279 * buffer.C (sgmlCloseTag): removed debug info.
13281 * buffer.h (sgmlOpenTag):
13282 * buffer.h (sgmlCloseTag): made public.
13284 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13286 * buffer.C (saveParamsAsDefaults):
13287 * lyx_cb.C (MenuLayoutSave): remove
13289 * LyXAction.C (init):
13291 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13293 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13295 * buffer.C (setPaperStuff): removed from here...
13297 * bufferparams.C (setPaperStuff): ... and moved there.
13299 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13303 * XFormsView.C: add support for drop-down completion
13305 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13307 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13310 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13312 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13315 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13317 * lyx_main.C: change ref to known bugs
13319 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13321 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13322 to work around older babel problems.
13324 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13326 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13328 2001-10-24 Juergen Vigna <jug@sad.it>
13330 * tabular-old.C (ReadOld): below variable changes reflected.
13332 * tabular.[Ch]: added ltType struct for longtable header/footer
13333 defines and changed all instances where they are used. Added
13334 future support for double top/bottom rows.
13336 2001-10-24 José Matos <jamatos@fep.up.pt>
13338 * buffer.h (docbookHandleCaption):
13339 * buffer.C (docbookHandleCaption): removed unused function.
13340 (makeDocBookFile): moved docbook supported version to v4.1.
13342 2001-10-24 José Matos <jamatos@fep.up.pt>
13345 * tabular.C (docbookRow): new function to export docbook code of a row.
13346 (DocBook): now honors the longtable flags.
13348 2001-10-23 José Matos <jamatos@fep.up.pt>
13351 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13352 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13354 * buffer.C (makeLinuxDocFile):
13355 (makeDocBookFile): reworked the preamble, more clean, and with
13356 support for lyx defined entities. Changed the document declaration
13357 to be more XML friendly.
13359 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13360 if we need to output XML that should be done with a filter.
13362 2001-10-22 Juergen Vigna <jug@sad.it>
13364 * sp_pspell.h (class PSpell): add alive function needed in the
13365 controller to see if the spellchecker could be started.
13367 2001-10-22 Juergen Vigna <jug@sad.it>
13369 * buffer.C (insertStringAsLines): modify the font for inserting
13370 chars in certain conditions by calling checkInsertChar(font).
13372 2001-10-19 Juergen Vigna <jug@sad.it>
13374 * text.C (workWidth): use getRow instead of wrong algorithm.
13375 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13377 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13382 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13384 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13386 * text.C (workWidth): do not search for the exact row when
13387 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13388 optimization for big documents.
13390 2001-10-18 Juergen Vigna <jug@sad.it>
13392 * text.C (workWidth): new function with added Inset * parameter.
13394 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13396 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13398 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13399 change return type of getColumnNearX.
13402 * text.C (changeRegionCase): use uppercase/lowercase instead of
13405 (rightMargin): simplify code by factoring out the uses of
13410 (appendParagraph): use Paragraph::size_type
13412 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13414 * vspace.C (asLatexString): add a missing break
13416 2001-10-15 Herbert Voss <voss@perce.de>
13418 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13420 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13422 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13425 2001-10-10 André Pönitz <poenitz@gmx.net>
13427 * lyxfunc.C: removed greek_kb_flag.
13429 2001-10-10 Herbert Voss <voss@perce.de>
13431 * lyx_main.C: delete global string help_lyxdir.
13433 2001-10-09 Herbert Voss <voss@perce.de>
13435 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13437 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13439 * lyx_main.C: added global string help_lyxdir.
13441 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13443 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13445 * lyxrc.C (set_font_norm_type): support iso8859-4
13447 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13449 * LaTeX.C (deplog): add another regex for MikTeX
13451 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13453 * lyxrc.C (set_font_norm_type): support iso8859-3
13455 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13457 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13459 * LaTeXFeatures.C: remove special case of french and index
13461 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13462 before \begin{document}). This solves several incompatibilities.
13464 2001-10-03 Garst Reese <reese@isn.net>
13466 * lyx_cb.C: change CheckTex error msg.
13468 2001-10-03 José Matos <jamatos@fep.up.pt>
13470 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13472 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13474 * .cvsignore: update
13476 * lyx_main.C (commandLineVersionInfo): use new style version info.
13478 * buffer.C (writeFile):
13480 (makeLinuxDocFile):
13481 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13483 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13485 * version.h: update to use stuff in version.C
13487 * version.C.in: new file. Contains version information determined
13488 at compile time. This is a merging of version.h and
13491 2001-10-03 Juergen Vigna <jug@sad.it>
13493 * BufferView_pimpl.C (update): don't change "dirty" status in
13496 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13498 * WorkArea.C (c-tor): re-position version string slightly.
13500 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13502 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13503 revert to previous code.
13505 WorkArea.[Ch]: (show, destroySplash): methods removed.
13507 WorkArea.C: rework code so that it's an amalgam of the codes before and
13508 after the splash screen was moved to WorkArea.
13510 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13513 * vspace.C (inPixels):
13516 * buffer.C (insertStringAsLines):
13517 (asciiParagraph): fix types to be large enough
13519 * lyxlex_pimpl.h: change member status from short to int
13521 * layout.h: fix type of endlabeltype
13524 * kbsequence.C (parse): change return type to string::size_type
13526 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13529 * Bullet.C (bulletSize):
13530 (bulletEntry): do not use short ints as parameters
13532 * BufferView2.C (insertLyXFile): change a char to an int.
13534 * WorkArea.C (WorkArea): remove unneeded floats in computation
13536 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13538 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13540 * paragraph.C (asString): Do not ignore newline/hfill chars when
13541 copying to the clipboard.
13543 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13545 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13546 after a multi-line inset.
13548 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13550 * paragraph.C (validate): Set NeedLyXFootnoteCode
13552 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13554 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13555 and decrease-error to decrease.
13557 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13559 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13560 it more readable (should be equivalent)
13562 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13564 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13566 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13568 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13569 of a cursor (row, etc.) after a character has been deleted
13570 (deleteEmptyParagraphMechanism): call the method above on _all_
13571 cursors held by the LyXText when a double space has been
13574 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13576 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13578 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13580 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13581 background. Use greyOut() and the new show() methods to toggle between
13582 the foreground and background. Add code to remove the splash after
13583 its initial showing.
13585 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13586 (create_forms): no longer call Dialogs::showSplash.
13588 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13590 * .cvsignore: add version_info.h
13592 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13594 * version_info.h.in: new file
13596 * Makefile.am: add version_info.h.in
13598 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13599 version_info.h instead of VERSION_INFO
13601 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13603 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13604 The ERT inset now returns string().
13606 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13608 * lyxtext.h, text.C (selectNextWord): renamed as
13609 selectNextWordToSpellcheck.
13611 * text.C (selectNextWordToSpellcheck): Modified to not select
13612 words inside an ERT inset.
13614 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13616 * lyx_cb.C (MenuLayoutSave): change a bit the question
13618 * sp_base.h: include <sys/types.h>
13620 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13622 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13624 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13626 * several files: fix typos in user-visible strings
13628 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13630 * text2.C (pasteSelection): do not set the selection, since it
13631 will be cleared later. Actually, the intent was to fix the way the
13632 selection was set, but I figured rmoving the code was just as good.
13634 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13636 * FontLoader.C (available): Check if font is available without
13639 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13641 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13643 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13645 * lyxrc.[Ch]: added display_graphics variable and associated code.
13647 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13649 * bufferparams.C (hasClassDefaults): new method. Returns true if
13650 the buffer parameters correspond to known class defaults
13652 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13654 * XFormsView.C (show): set minimum size to the main window.
13656 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13658 * text2.C (copySelection):
13660 * lyxfind.C (LyXReplace):
13661 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13662 LyXText::selectionAsString.
13664 * paragraph.C (asString): add "label" argument to the second form
13666 * text2.C (selectionAsString): add "label" argument and pass it to
13667 Paragraph::asString.
13669 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13671 * lyx_main.C (commandLineHelp): remove version information
13673 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13675 * lyx_main.C: add -version commandline option
13677 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13679 * paragraph.h: make the optional constructor arg required instead.
13680 some modifications to other files because of this.
13682 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13684 * lyxserver.C (C_LyXComm_callback): make it static
13686 * lyx_main.C (error_handler): make it static
13688 * lyx_gui.C (LyX_XErrHandler): make it static
13690 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13692 * WorkArea.C: make the extern "C" methods static.
13694 * Makefile.am (lyx_LDADD): simplify
13696 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13698 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13699 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13701 * LyXAction.C (init):
13702 * lyxfunc.C (dispatch): associated code removal.
13704 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13706 * lyxfont.h (isSymbolFont): shut off warning
13708 * text.C (setHeightOfRow):
13709 (getVisibleRow): fix crash with empty paragraphs which have a
13712 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13714 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13717 2001-09-04 José Matos <jamatos@fep.up.pt>
13720 * tabular.C (docbook): rename docBook method to docbook.
13722 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13724 * Makefile.am: add dependencies to main.o.
13726 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13728 * FontLoader.C (available): Return false if !lyxrc.use_gui
13730 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13732 * FontInfo.C (query):
13733 * converter.C (view):
13734 * importer.C (Import):
13735 * exporter.C (Export): Can not -> cannot.
13737 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13739 * BufferView_pimpl.C: allow to create index inset even if
13742 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13744 * buffer.C (getLists): replace boost::tie code with an explicit pair
13745 as boost::tie can break some compilers.
13747 * iterators.h: Added a std:: declaration to the return type of
13750 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13752 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13755 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13757 * iterators.[Ch]: New files. Provide paragraph iterators.
13759 * buffer.C (changeLanguage): Use paragraph iterators.
13760 (isMultiLingual): ditto
13762 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13764 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13766 * FontLoader.C: Support for cmr font.
13768 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13770 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13771 (available): New method.
13773 * FontInfo.C (getFontname): Use scalable fonts even when
13774 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13777 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13779 * converter.C (Formats::view): reverted! Incorrect fix.
13781 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13783 * converter.C (Formats::view): only output the -paper option
13784 if the dvi viewer is xdvi, thereby fixing bug #233429.
13786 2001-08-23 Herbert Voss <voss@perce>
13788 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13790 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13792 * Spacing.h (Spacing): Set space to Default on in the default
13795 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13797 * vc-backend.h (RCS::versionString): add RCS to version
13798 (CVS::versionString): add CVS to version
13800 * vc-backend.C (scanMaster): do not add CVS to version.
13801 (scanMaster): do not add RCS to version
13803 * lyxvc.C (versionString): new method
13805 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13807 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13809 * Spacing.C (set): initialize fval
13811 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13813 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13816 2001-08-16 Juergen Vigna <jug@sad.it>
13818 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13820 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13822 * BufferView_pimpl.C:
13825 * text2.C: setParagraph takes linespacing now
13827 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13829 * LyxAction.C: add internal LFUN_CITATION_INSERT
13831 * LyXView.C: actually apply fix
13833 * bufferlist.C: fix open non-existent file
13835 * lyxfind.C: fix indentation
13837 * lyxfunc.C: remove unneeded assert, fix typo
13839 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13841 * MenuBackend.C: use "Floatname List"
13843 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13845 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13846 when converting LaTeX layout to insetERT.
13847 Generate a non-collapsed float when reading old float
13849 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13851 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13854 2001-08-13 Juergen Vigna <jug@sad.it>
13856 * text.C (fill): return 0 instead of 20 as this seems to be the more
13859 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13861 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13864 2001-08-13 Juergen Vigna <jug@sad.it>
13866 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13868 (SearchBackward): comment out the unlocking of the inset_owner this
13869 should not be needed!
13871 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13873 * Many files: Remove inherit_language, and add latex_language
13875 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13876 collapsible insets.
13878 2001-08-10 Juergen Vigna <jug@sad.it>
13880 * text.C (prepareToPrint): fixed hfill-width in draw!
13882 * BufferView2.C (selectLastWord): save the selection cursor as this
13883 now is cleared in the function LyXText::clearSelection!
13885 2001-08-08 Juergen Vigna <jug@sad.it>
13887 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13888 BACKSPACE type functions.
13890 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13891 is only cutted from the document but not put in the cut-buffer, where
13892 still the old stuff should be.
13894 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13896 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13898 * tabular.C (SetWidthOfCell): fixed special case where the width
13900 (LeftLine): handle '|' in align_special.
13902 (LeftAlreadyDrawed): ditto
13903 (SetWidthOfCell): ditto
13905 2001-08-07 Juergen Vigna <jug@sad.it>
13907 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13909 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13911 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13912 * lyxlex.[hC]: ditto
13914 2001-08-06 Juergen Vigna <jug@sad.it>
13916 * text.C (getVisibleRow): fix up row clearing a bit.
13918 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13920 * minibuffer.C: make sure the X server sees the changes in the input.
13922 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13924 * paragraph.C (getFont): split into...
13925 (getLabelFont): this
13926 (getLayoutFont): and this
13927 * paragraph_pimpl.C (realizeFont): calling this
13929 * text2.C (getFont): split into...
13930 (getLayoutFont): this
13931 (getLabelFont): and this
13932 (realizeFont): all three calling this
13934 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13937 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13939 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13941 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13943 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13944 layouts from the Quote inset insertion.
13946 2001-08-03 Juergen Vigna <jug@sad.it>
13948 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13950 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13951 only if status not is already CHANGED_IN_DRAW (second level).
13953 * text.C (draw): don't set the need_break_row when inside an
13956 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13958 * buffer.C (parseSingleLyXformat2Token): handle more latex
13961 * bufferview_funcs.[hC]: change function names to
13962 begin with small char, adjust other files.
13964 2001-08-02 André Pönitz <poenitz@gmx.net>
13967 BufferView_pimpl.C: remove broken special code for math-greek
13969 2001-08-02 Juergen Vigna <jug@sad.it>
13971 * BufferView_pimpl.C (update): redone this function so that we
13972 update the text again if there was a CHANGE_IN_DRAW.
13974 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13975 (drawFromTo): added a new internal bool which is used by draw() and
13977 (general): some cursor drawing problems fixed.
13979 2001-08-01 Juergen Vigna <jug@sad.it>
13981 * lyxfind.C (LyXFind): fixed
13982 (SearchForward): ditto
13983 (SearchBackward): ditto
13985 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13986 spurius drawing of the cursor in the main area.
13988 * text2.C (status): small fix which could lead to a segfault!
13989 (clearSelection): remove unneeded BufferView param.
13991 2001-08-01 André Pönitz <poenitz@gmx.net>
13993 * lyxfunc.C: small change due to changed mathed interface
13995 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13997 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13999 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
14001 * lyxfunc.c: fail gracefully if file doesn't exist
14006 * BufferView_pimpl.C: IsDirWriteable() proto changed
14008 * LyXView.C: fix updateWindowTitle() to store the last title
14010 2001-07-31 Juergen Vigna <jug@sad.it>
14012 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
14013 the font (wrong since using of Paragraph::highestFontInRange).
14015 * paragraph.C (highestFontInRange): added a default_size parameter.
14017 * text.C (getVisibleRow): minor clear row changes (still not perfect).
14018 (setHeightOfRow): reformat
14020 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14022 * converter.[hC] + affected files: move to (inital-char)lowercase
14025 * ParagraphParameters.C (ParagraphParameters): remove commented code
14027 * PainterBase.[Ch]: remove commented code
14029 * LaTeXFeatures.h: add "bool floats" for float.sty
14031 * LaTeXFeatures.C (LaTeXFeatures): init floats
14032 (require): handle float
14033 (getPackages): do it with floats
14035 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14037 * BufferView_pimpl.C (Dispatch): improve handling of
14038 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
14040 * commandtags.h: #include lyxfont.h here temporarily to avoid
14043 * bufferlist.h: include LString.h here.
14045 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14047 * text2.C (getStringToIndex): new method.
14049 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
14051 * *: Reduced header file dependencies all over.
14053 2001-07-30 Baruch Even <baruch@lyx.org>
14055 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
14057 2001-07-29 Baruch Even <baruch@lyx.org>
14059 * buffer.C (readInset): Changed GRAPHICS to Graphics.
14061 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14063 * ParameterStruct.h (endif): add a default constructor to make
14064 sure that all variables is initialized.
14066 * ParagraphParameters.C (ParagraphParameters): adjust
14068 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14070 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
14071 index; also, check that there is something to index, and that it
14072 does not span over several paragraphs.
14073 (doubleClick): use WHOLE_WORD_STRICT for double click.
14075 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
14077 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
14080 2001-07-26 Baruch Even <baruch@lyx.org>
14082 * buffer.C (readInset): Changed to call up InsetGraphics when reading
14083 an InsetFig figure, backwards compatible reading of old figure code.
14085 2001-07-27 Juergen Vigna <jug@sad.it>
14087 * text2.C: font.realize function adaption.
14089 * text.C (draw): add a warnings lyxerr text if needed.
14091 * layout.C: font.realize function adaption.
14093 * language.C: add inherit_language and implement it's handlings
14095 * bufferview_funcs.C (StyleReset): remove language parameter from
14096 font creation (should be language_inherit now).
14098 * bufferparams.C (writeFile): handle ignore_language.
14100 * paragraph.C (getFontSettings): the language has to be resolved
14101 otherwise we have problems in LyXFont!
14103 * lyxfont.C (lyxWriteChanges): added document_language parameter
14104 (update): removed unneeded language parameter
14106 * paragraph.C (validate): fixed wrong output of color-package when
14107 using interface colors for certain fonts in certain environments,
14108 which should not seen as that on the final output.
14110 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
14112 * BufferView_pimpl.C:
14117 * LyXAction.C: add thesaurus support
14120 * lyxfind.C: add "once" parameter, for thesaurus, to not
14121 move to the next match
14123 2001-07-26 Juergen Vigna <jug@sad.it>
14125 * lyxfont.C (realize): honor ignore_language too!
14128 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
14130 * text.C (draw): one place more for ignore_language to not draw
14133 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
14135 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
14137 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14139 * buffer.C (parseSingleLyXformat2Token): a more general fix for
14140 the minipage conversion problem.
14142 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14144 * buffer.C (parseSingleLyXformat2Token): check minipage if we
14147 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14149 * BufferView.h: don't forward declare WorkArea
14151 * BufferView.C: don't include WorkArea.h
14153 2001-07-25 André Pönitz <poenitz@gmx.net>
14157 * lyxfunc.C: new LFUN 'math-space'
14159 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14161 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14163 * text2.C (toggleInset): call open/close
14165 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14167 * lyxfunc.C (dispatch): add debug for the disabled case
14169 * font.C (buttonText): make similar to rectText
14171 * buffer.C (readInset): comment out parsing of insetlist and
14174 * PainterBase.C (rectText): small correction
14176 * BufferView_pimpl.C: comment out insettheorem and insetlist
14177 * LyXAction.C: ditto
14178 * commandtags.h: ditto
14180 2001-07-24 Juergen Vigna <jug@sad.it>
14182 * text.C (draw): honor the ignore_language.
14184 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14186 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14188 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14191 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14193 * lyxtext.h: remove unused (and unimplemented) methods
14195 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14197 * text.C (getVisibleRow): honor background color
14200 * Painter.h: remove default color argument for fillRectangle
14202 * text.C (backgroundColor): new method
14204 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14206 * text.C (getVisibleRow): adjust
14208 * font.[Ch] (rectText): new method, metrics
14209 (buttonText): new method, metrics
14211 * PainterBase.[hC]: make rectText and buttonText always draw and take
14214 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14216 * ToolbarDefaults.C (read):
14217 * MenuBackend.C (read): allow escaping in all strings
14219 * BufferView_pimpl.C (insertAndEditInset): new method.
14220 (Dispatch): use insertAndEditInset whenever appropriate.
14222 * BufferView_pimpl.C (insertNote): removed
14224 * BufferView_pimpl.C (smartQuote): new method, moved from
14225 BufferView; if an insetquote cannot be inserted, insert a '"'
14228 * BufferView2.C: remove insertCorrectQuote();
14230 * lyxfunc.C (getStatus): Add support for all remaingin
14231 inset-insert lfuns.
14233 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14235 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14236 command (necessary to pass " as parameter of self-insert.
14238 * text.C (selectWordWhenUnderCursor):
14239 (selectWord): add word_location parameter
14240 (selectWordWhenUnderCursor): same + remove special code for word
14242 (selectNextWord): use kind() to guess type of insetspecialchar,
14245 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14246 (insertErtContents): create ert insets as collapsed.
14247 (readInset): better compatibility code for Info inset.
14249 2001-07-20 Juergen Vigna <jug@sad.it>
14251 * lyxfunc.C (dispatch): use always LyXFind now!
14253 * text2.C (init): add a reinit flag so that the LyXText can be
14254 reinited instead of deleted and reallocated (used in InsetText).
14256 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14262 2001-07-18 Juergen Vigna <jug@sad.it>
14264 * text.C (selectNextWord): handle insets inside inset by calling
14265 always the bv->text functions so that we can go up the_locking_inset!
14267 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14268 in strange locations when inside an inset!
14270 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14271 handling to include insets.
14273 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14275 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14277 * LyXAction.C (init):
14279 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14280 LIGATURE_BREAK, since the name is so stupid.
14282 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14284 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14287 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14289 * sp_form.[Ch]: remove.
14291 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14293 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14296 * src/buffer.C (readInset): ditto.
14298 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14300 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14301 menuSeparator(), endOfSentenceDot(), ldots() and
14302 hyphenationPoint(), which are therefore removed.
14303 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14305 * LyXAction.C (init):
14306 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14308 * paragraph.C (getWord): removed.
14310 * BufferView_pimpl.C (Dispatch): use last word or selection for
14311 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14313 * lyx_main.C (queryUserLyXDir): do not ask before creating
14314 user_dir, except if it has been named explicitely.
14316 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14318 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14319 a document of zero size.
14321 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14323 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14324 approriately in the c-tor and in require().
14325 (getPackages): output the appropriate LaTeX for natbib support.
14327 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14328 variables "use_natbib" and "use_numerical_citations" when reading the
14330 (readInset): read the various natbib cite commands.
14331 (validate): white-space change.
14333 * bufferparams.[Ch]: new variables "bool use_natbib" and
14334 "bool use_numerical_citations".
14335 (writeFile): output them in the LyX file.
14337 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14339 * lyxfunc.C (getStatus): add support for all the inset insertion
14342 * text2.C (insertInset):
14343 * paragraph.C (insetAllowed):
14344 * BufferView_pimpl.C (insertInset): update to take in account the
14345 renaming of insertInsetAllowed
14347 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14349 * text2.C (getInset): new method. returns inset at cursor position.
14351 * BufferView_pimpl.C (Dispatch): changes because of this.
14353 * LyXAction.C (init): rename open-stuff to inset-toggle.
14355 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14357 * text2.C (toggleInset): renamed from openStuff; use
14360 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14362 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14364 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14366 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14368 * buffer.C (readLyXformat2): Add filename to the error dialog
14370 2001-07-18 Juergen Vigna <jug@sad.it>
14372 * tabular.C (GetCellNumber): put an assert here instead of the check!
14374 2001-07-17 Juergen Vigna <jug@sad.it>
14376 * BufferView_pimpl.C (toggleSelection): adapted too.
14378 * text.C (selectNextWord): adapted for use with insets.
14379 (selectSelectedWord): ditto
14381 2001-07-17 Juergen Vigna <jug@sad.it>
14383 * sp_spell.C (PSpell): fix initialitation order.
14385 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14387 * paragraph.C: spacing
14389 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14391 * sp_spell.C: repair language selection for pspell
14393 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14395 * lyxfunc.h: change more methods to begin with lower char.
14397 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14399 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14400 for unknown layouts.
14402 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14404 * buffer.C (readLyXformat2): Generate an error dialog if there are
14407 2001-07-16 Juergen Vigna <jug@sad.it>
14409 * sp_spell.C: always compile ISpell part.
14411 * lyxrc.C: added use_pspell entry and it's handling.
14413 2001-07-13 Juergen Vigna <jug@sad.it>
14415 * sp_spell.C: removed double includes.
14417 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14419 Consistent use of Lsstream.h:
14420 * Lsstream.h: added using std::stringstream for consistencies sake.
14422 * buffer.C: removed using std::stringstream
14424 * lyxfont.C (stateText):
14425 * paragraph.C (asString):
14426 * text.C (selectNextWord, selectSelectedWord):
14427 * text2.C (setCounter):
14428 * vspace.C (asString, asLatexString):
14429 std::ostringstream -> ostringstream.
14431 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14433 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14434 * commandtags.h: add LFUN_HELP_ABOUTLYX
14435 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14437 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14439 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14441 * lyx_gui_misc.C: remove spellchecker
14442 * lyxfunc.C: showSpellchecker
14444 * sp_ispell.h: added
14445 * sp_pspell.h: added
14446 * sp_spell.C: added
14447 * sp_form.[Ch]: removed
14448 * spellchecker.[Ch]: removed
14450 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14452 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14454 (simpleTeXSpecialChars): Simply print the input character without
14455 any special translation if pass_thru is set.
14457 * layout.h: Added bool pass_thru to layout class for being able to
14458 implement pass through of a paragraph for Literate Programming.
14460 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14461 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14462 * layout.C (Read): add "passthru" to list of layout tags and add
14463 code to set the pass_thru boolean when it is read.
14465 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14467 * trans_decl.h: remove allowed from KmodInfo
14469 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14470 remove allowed code
14473 * paragraph_pimpl.C (erase): use boost::prior
14475 * Painter.C (text): use data() instead of c_str() when length is
14477 * WorkArea.C (putClipboard): ditto
14478 * font.h (width): ditto
14480 * BufferView2.C: use it-> instead of (*it). for iterators
14482 * paragraph_pimpl.C: ditto
14483 * paragraph.C: ditto
14484 * minibuffer.C: ditto
14485 * language.C: ditto
14487 * encoding.C: ditto
14488 * counters.C: ditto
14489 * converter.C: ditto
14491 * Variables.C: ditto
14492 * TextCache.C: ditto
14493 * MenuBackend.C: ditto
14494 * LyXAction.C: ditto
14496 * FloatList.C: ditto
14497 * DepTable.C: ditto
14498 * ColorHandler.C (LyXColorHandler): ditto
14500 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14502 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14504 * text2.C (openStuff): reintroduce this method (which had been
14505 nuked in NEW_INSETS frenzy).
14507 * lyxfunc.C (Dispatch): when an action has not been handled, use
14508 its name in the error message, not its number.
14510 * paragraph.C (inInset): change method name to begin with lowercase.
14513 * text2.C: updates because of this.
14515 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14517 * ToolbarDefaults.C (add): add spaces in error message
14519 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14521 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14522 (readLyXformat2): rename return_par to first_par, use lyxlex's
14523 pushToken and remove the manual push handling.
14524 (parseSingleLyXformat2Token): add another ert comp. variable:
14525 in_tabular, rename return_par to first_par. handle newlines better
14527 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14529 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14531 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14533 * text2.C (getParFromID): removed
14535 * buffer.C (getParFromID): new method moved form lyxtext.
14536 * BufferView2.C (insertErrors): adjust
14537 (setCursorFromRow): adjust
14538 * BufferView_pimpl.C (restorePosition): adjust
14539 * lyxfunc.C (Dispatch): adjust
14540 * undo_funcs.C (textUndo): adjust
14542 (textHandleUndo): adjust
14543 (textHandleUndo): adjust
14545 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14547 * buffer.C: up' the LYX_FORMAT
14549 * lyxfont.h: turn NO_LATEX on as default
14551 * buffer.C (insertErtContents): new methods of tex style compability.
14552 (parseSingleLyXformat2Token): use it several places.
14553 * tabular.C (OldFormatRead): and here
14555 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14557 * text2.C: remove some commented code.
14560 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14561 * trans.C: changes because of the above.
14563 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14565 * text2.C (setCounter): Fix counters bug with bibliography layout.
14567 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14569 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14570 own member functions
14571 (simpleTeXSpecialChars): ditto
14573 2001-07-06 Juergen Vigna <jug@sad.it>
14575 * a lot of files: changed the access to LyXText::status and the
14576 call of undo-functions.
14578 * undo.[Ch]: added a inset_id to the undo informations.
14580 * undo_funcs.[Ch]: added and moved here all undo functions.
14582 * lyxtext.h: give the status enum a weight, made status_ a private
14583 variable and made accessor functions for it, removed the whole bunch
14584 of undo-functions as they are now in their own file, make some
14585 functions publically available. Added function ownerParagraph with
14588 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14589 made InInset() a const function, added getParFromID() function.
14591 * buffer.[Ch]: added const version for inset_iterator functions,
14592 added getInsetFromID() function.
14594 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14595 changed undo functions for new version.
14597 2001-07-05 Juergen Vigna <jug@sad.it>
14599 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14600 unknow mechanism does not call the proper constructor but only this
14601 one also if I request the other!?
14603 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14605 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14607 * text2.C (LyXText): use initialization lists.
14609 * lyxtext.h (Selection): initialize set_ and mark_
14610 (init): remove method
14612 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14614 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14616 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14618 * screen.[Ch]: change method names to begin with lowercase
14620 * BufferView_pimpl.C (updateScrollbar): simplify further and
14621 hopefully make it a bit faster.
14623 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14625 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14626 calling directly xforms functions.
14628 * Painter.C (Painter):
14629 * lyx_cb.C (MenuWrite):
14630 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14633 * lyx_gui.C: remove bogus guiruntime extern declaration.
14635 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14637 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14639 (redoDrawingOfParagraph): ditto
14640 (redoParagraphs): ditto
14641 (cutSelection): don't create a object for CutAndPaste use the
14642 static method directly
14643 (pasteSelection): ditto
14645 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14648 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14650 * modifications to some other files because of this.
14652 * Makefile.am (lyx_SOURCES): add XFormsView
14654 * XFormsView.[Ch]: new files
14656 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14657 the main window. Move the gui dependent stuff to XFormsView
14659 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14661 * tabular.C (GetCellInset): update cur_cell also in the row/col
14662 version of this function.
14664 * lyxfunc.C: no need to include figure_form.h here.
14670 * lyxvc.C: no need to include forms.h here.
14672 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14674 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14676 * lyxfunc.C (Dispatch):
14678 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14679 constructor argument.
14681 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14683 * paragraph.C (Paragraph): dont't clear, and just set layout.
14684 (makeSameLayout): use params's copy contructor.
14686 * ParagraphParameters.[Ch] (makeSame): delete method
14688 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14690 * Variables.[Ch]: fix indentation, rename set to isSet
14692 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14694 * lyxfunc.C (Dispatch): fix typo
14696 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14698 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14701 * bufferlist.C: include assert.h for emergencyWrite().
14703 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14705 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14706 give up at last (bug #425202) !
14708 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14714 * spellchecker.C: strip spellchecker options and bring up
14715 preferences tab instead
14717 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14719 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14720 the istringstream constructor
14722 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14724 * paragraph.C (getLayout): fix return value
14726 * paragraph.h: do not declare getLayout as inline.
14728 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14730 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14732 * lyxcursor.h (operator<): new func
14733 (operator>): new func
14734 (operator>=): new func
14735 (operator<=): new func
14737 * text.C (changeCase): use selection.start and selection.end
14738 (changeRegionCase): require from to be <= to. Require par to be a
14741 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14743 2001-06-27 Juergen Vigna <jug@sad.it>
14745 * text.C (cursorLeftOneWord): changed to return the cursor and added
14746 overlay with BufferView * parameter which calls this one.
14748 (selectWord): use new getWord function.
14749 (changeCase): renamed from changeWordCase as and extended to work
14750 also on selections.
14752 * lyxtext.h: added enum word_location
14754 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14755 changeCase as this operates now also on selections.
14757 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14759 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14761 * many files: send debug output to Debug::INFO instead of
14764 * converter.C (View):
14766 (Move): send debug output to Debug::FILES instead of console.
14768 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14770 * lyxfunc.C (getStatus): use func_status
14772 * func_status.h: new header, describing the results of
14773 LyXFunc::getStatus;
14775 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14778 2001-06-25 The LyX Project <jug@sad.it>
14780 * buffer.C (sgmlOpenTag):
14782 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14784 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14786 * text2.C: remove some dead code
14788 * tabular.C (GetCellInset): store the last cell checked (gotten)
14790 * tabular.h: add the helper for the speedup
14792 * lyxtext.h: remove some dead code
14794 2001-06-26 The LyX Project <Asger>
14796 * paragraph.C: Change export to LaTeX of alignment to
14797 \begin{center} and family for better roundtrip work with reLyX.
14799 * Tune the math drawing a bit.
14801 2001-06-25 The LyX Project <Asger>
14803 * LColor.C (LColor): New color for math background. New color
14806 2001-06-25 The LyX Project <jug@sad.it>
14808 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14810 * lyxfunc.C (Open):
14811 * bufferlist.C (newFile): do not restrict to files ending with
14814 * BufferView_pimpl.C (MenuInsertLyXFile):
14816 2001-06-24 The LyX Project <jug@sad.it>
14818 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14821 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14823 * lyxtext.h: rename most methods to begin with a small char.
14824 Lots of changes because of this.
14826 * paragraph.C (Paragraph): do not call fitToSize
14827 (erase): call Pimpl::erase
14828 (insertChar): call Pimpl::insertChar
14829 (insertInset): call Pipl::insertInset
14830 (breakParagraph): do not call fitToSize
14831 (breakParagraphConservative): do not call fitToSize
14832 (fitToSize): remove method
14834 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14836 2001-06-24 The LyX Project <Asger>
14838 * Fix Qt compilation^2
14840 2001-06-24 The LyX Project <jug@sad.it>
14842 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14843 depthHook(getDepth()-1).
14846 * ParagraphParameters.h:
14847 * ParameterStruct.h: change type of depth to unsigned int ==
14848 depth_type. Many adaptations to other files before of that.
14850 2001-06-24 The LyX Project <Asger>
14852 * Fix Qt compilation.
14854 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14856 * paragraph.h: renamed several methods to begin with small letter.
14857 several changes to many parts of the code because of this.
14859 2001-06-23 The LyX Project <jug@sad.it>
14861 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14862 rewritten to discard all double spaces when KeepEmpty is off
14863 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14864 to only handle newlines but not fiddle with spaces and friends.
14866 * lyxfunc.C (MenuNew): when doing 'new from template', use
14867 template_path as default directory
14869 2001-06-23 The LyX Project <Asger>
14871 * Clean-up of header file includes all over
14872 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14874 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14876 * paragraph.h: renamed from lyxparagraph.h
14878 2001-06-23 Asger <lyx@violet.home.sad.it>
14880 * Buffer.h: Removed Buffer::resize
14881 * BufferList.h: Removed BufferList::resize
14882 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14883 the document lazily when we change the width, or the font settings.
14885 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14887 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14889 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14891 * buffer.h: remove out of date comment
14893 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14896 * screen.C: fix "theoretical" GC leak
14898 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14900 * LaTeX.C (scanAuxFile):
14901 (deplog): remove trailing \r when reading stream (useful under
14904 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14906 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14907 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14908 and BufferView::theLockingInset(Inset*), so should use them and not
14909 access bv_->text->the_locking_inset directly.
14911 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14913 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14916 * tex-defs.h: remove old unused file
14918 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14920 * BufferView_pimpl.C: fix typo, remove minibuffer message
14921 when buffer has loaded
14923 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14925 * lyxfunc.C (Dispatch): use stringstream
14926 (MenuNew): use stringstream
14927 (Open): use stringstream
14929 * importer.C (Import): use stringstream
14931 * bufferview_funcs.C (CurrentState): use stringstream
14933 * LaTeX.C (run): use stringstream
14935 * BufferView_pimpl.C (savePosition): use stringstream
14936 (restorePosition): use stringstream
14937 (MenuInsertLyXFile): use stringstream
14939 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14952 * vspace.C: removed // -*- C++ -*- as first line.
14955 * version.h: added // -*- C++ -*- as first line.
14957 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14959 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14961 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14964 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14966 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14969 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14971 * gettext.C: include LString.h even when --disable-nls is on.
14973 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14975 * converter.h (Get): changed argument type from int to
14976 FormatList::size_type to avoid unnecessary conversion.
14978 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14981 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14983 * gettext.h: include LString.h even when --disable-nls is on.
14985 2001-06-07 Juergen Vigna <jug@sad.it>
14987 * text.C (BreakAgain): subst spaces with tabs.
14989 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14990 (resizeInsetsLyXText): set force on resizeLyXText.
14992 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14994 * gettext.h (gettext_init):
14995 (locale_init): use a real definition instead of a macro
14997 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14999 * Bufferview_pimpl.C:
15001 * LColor.C: further lcolor tidies
15003 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
15005 * BufferView_pimpl.C (updateScrollbar): simplify.
15007 * BufferView2.C: don't include insets/insetinfo.h, change
15008 prototype for insertInset and call the Pimpl version. let
15009 updateInset call Pimpl version.
15011 * BufferView.h: move inset_slept to BufferView::Pimpl, move
15012 gotoInset to BufferView::Pimpl
15014 2001-06-01 Juergen Vigna <jug@sad.it>
15016 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
15017 inside a LockingInset (is the update needed at all?).
15019 2001-05-31 Juergen Vigna <jug@sad.it>
15021 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
15022 here not the old one otherwise how should we compare it afterwards
15025 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15030 * FontInfo.C: bring C functions into global namespace when
15033 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15035 * LString.h: make sure config.h has been loaded before LString.h.
15037 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
15038 (one for each char read by EatLine!).
15040 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
15043 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
15045 * paragraph.C (BreakParagraph): set the inset_owner in the new par
15046 to the same as the par we break from
15048 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
15050 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
15052 * MenuBackend.C (expand): also create menu entries for wide
15053 versions of the floats.
15055 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
15057 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
15059 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
15060 frontends/Makefile.am
15066 * tabular.C (getTokenValue): add std::
15068 * tabular-old.C (getTokenValue): add std::
15069 (getTokenValue): ditto
15070 (getTokenValue): ditto
15072 * screen.C (ToggleSelection): adjust
15074 * lyxtext.h: put selection cursors inside a Selection struct.
15076 * lyxfunc.C (moveCursorUpdate): adjust
15078 * lyxfont.C (latexWriteStartChanges): add std::
15080 * lyxfind.C: adjust
15082 * font.h: delete with(char const *, LyXFont const &)
15084 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
15086 * FontInfo.C (getFontname): add std::
15088 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
15089 (workAreaButtonPress): adjust
15090 (tripleClick): adjust
15092 (moveCursorUpdate): adjust
15095 * BufferView2.C (gotoInset): adjust
15097 2001-05-30 Juergen Vigna <jug@sad.it>
15099 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
15100 to check pspell I add this as default as I now have new pspell
15101 libraries and they seem to use this.
15103 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
15105 * text2.C (CutSelection): make the cursor valid before the call to
15108 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15110 * kbsequence.C (parse): de-uglify a bit the parsing code, which
15111 relied on 0 terminated strings and other horrors. Bug found due to
15112 the new assert in lyxstring!
15114 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
15117 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
15119 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
15122 * lyxfunc.C (processKeySym): change method of getting to the
15125 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
15126 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
15127 * BufferView_pimpl.[Ch]: here as private methods.
15129 2001-05-28 Juergen Vigna <jug@sad.it>
15131 * text.C (SetHeightOfRow): added the update() call again as it is
15132 needed to initialize inset dimensions!
15134 2001-05-16 Juergen Vigna <jug@sad.it>
15136 * text2.C (SetCharFont): Add new function with BufferView * and
15137 bool toggleall parameters for setting insets internal fonts.
15138 (SetFont): Freeze the undo as we may change fonts in Insets and
15139 all this change should be inside only one Undo!
15141 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
15142 setting font's in insets as for them we have the SetFont function!
15144 2001-05-15 Juergen Vigna <jug@sad.it>
15146 * text2.C (ClearSelection): to be sure we REALLY don't have any
15149 * tabular.C (TeXCellPreamble): fixed the left border problem for
15152 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15154 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15157 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15159 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15160 LFUN_BREAKPARAGRAPH.
15162 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15163 help test to "internal only", similar for LFUN_INSERT_URL
15165 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15166 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15167 auto_region_delete and deadkeys.
15169 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15172 * LColor.C: remove some dead entries, tidy a little
15174 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15176 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15178 (Dispatch): implement LFUN_ESCAPE
15180 * commandtags.h: add LFUN_ESCAPE
15182 * LyXAction.C (init): add entry for LFUN_ESCAPE
15184 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15185 Remove commented code.
15186 (insertNote): moved here
15187 (open_new_inset): moved here
15189 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15192 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15194 * kbmap.C (findbinding): clean it up and make it work correctly.
15196 * lyx_main.C (init): do not pass argc and argv as parameters
15198 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15200 * buffer.C: fix path for OS/2 & Win32
15204 * lyx_main.C: Added os:: class.
15206 * os2_defines.h: update
15208 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15210 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15211 better by trying again with reduced state.
15213 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15215 * lyxrc.C (read): print error about invalid key sequence only when
15216 debugging (because not all latinX keysyms are known to some X
15219 * kbsequence.C (getiso): add a few std:: qualifiers
15220 (getiso): comment out extra return statement.
15222 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15224 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15226 (Dispatch): enhance the accent inset a bit. (not perfect)
15228 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15230 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15232 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15234 * bufferlist.C (emergencyWrite): fix assert() call
15236 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15238 * text.C (InsertChar): Added trivial patch to only send the "you
15239 can not do multiple spaces this way" message once during a
15242 2001-05-08 Baruch Even <baruch@lyx.org>
15244 * Makefile.am: Changed order of libraries to get LyX to link properly
15245 with the gnome frontend.
15247 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15249 * LaTeXFeatures.h: add a std:: qualifier
15251 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15253 * paragraph.C (String): use stringstream
15255 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15257 * paragraph.C (writeFile): remove footflag arg
15259 * buffer.C (makeLaTeXFile): use stringstream
15260 (latexParagraphs): remove footnot gurba
15262 * LaTeXFeatures.C (getPackages): use stringstream
15263 (getMacros): likewise
15264 (getTClassPreamble): likewise
15265 (getFloatDefinitions): new method
15267 * paragraph.C (writeFile): reindent
15270 * WorkArea.h: revert the xpos + etc changes.
15272 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15274 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15276 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15277 (pasteSelection): likewise
15278 * text2.C (CreateUndo): likewise
15280 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15282 * minibuffer.C (peek_event): temporarily reduce the functionality
15283 of the minibuffer (to allow args on lfuns)
15285 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15286 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15288 * buffer.C (readInset): add compability reading of old float
15289 lists, add reading of new style float list.
15290 (readInset): avoid reevaluation of inscmd.getCmdName()
15291 (getLists): reindent
15293 * MenuBackend.C (MenuItem): implement parsing of
15294 md_floatlistinsert and md_floatinsert.
15295 (expand::LastFiles): move initalizaton of iterators out of loop,
15296 avoid reevaluation.
15297 (expand::Documents): introduce typdedef vector<string> Strings,
15299 (expand::ExportFormats): introduce typedef vector<Format const *>
15300 Formats, and use it.
15301 (expand): implement FloatListInsert and FloatInsert.
15303 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15304 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15305 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15307 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15309 (Dispatch::LFUN_FLOAT_LIST): implement
15311 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15313 * LaTeX.C (run): Fix problem with --export code.
15315 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15317 * BufferView.[Ch] (workarea): removed.
15318 (getClipboard) new method; wrapper for workarea()->getClipboard()
15320 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15323 * WorkArea.h (width, height, xpos, ypos): These methods all
15324 returned the dimensions of the work_area sub-area of WorkArea,
15325 resulting in a position error if the WorkArea were resized. Now
15326 return the dimensions of the entire WorkArea.
15328 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15330 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15332 * LaTeX.C (deplog): correct the syntax of regex reg1
15334 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15336 * undo.C: remove !NEW_INSETS cruft
15338 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15340 * text2.C: remove !NEW_INSETS cruft
15342 * text.C: remove !NEW_INSETS cruft
15344 * tabular.C: remove !NEW_INSETS cruft
15346 * spellchecker.C: remove !NEW_INSETS cruft
15348 * lyxtext.h: remove !NEW_INSETS cruft
15350 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15352 * lyxfunc.C: remove !NEW_INSETS cruft
15354 * lyxfind.C: remove !NEW_INSETS cruft
15356 * lyx_cb.C: remove !NEW_INSETS cruft
15358 * figureForm.C: remove !NEW_INSETS cruft
15360 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15362 * buffer.[Ch]: remove !NEW_INSETS cruft
15364 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15366 * CutAndPaste.C: remove !NEW_INSETS cruft
15368 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15370 * BufferView2.C: remove !NEW_INSETS cruft
15372 * BufferView.h: remove !NEW_INSETS cruft
15374 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15376 * Lsstream.h: include LString.h before the sstream headers to
15377 fix problem with gcc 2.95.3 and lyxstring
15379 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15381 * lyx_main.C: add using directives when needed for C functions
15382 declared in std:: namespace.
15384 2001-04-27 Juergen Vigna <jug@sad.it>
15386 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15387 (SetHeightOfRow): comment out the update call should not be needed!
15389 2001-04-13 Juergen Vigna <jug@sad.it>
15391 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15392 (LyXTabular): tried to minimize operator= operations (and realized
15393 hopfully Lars wish).
15395 2001-04-27 Juergen Vigna <jug@sad.it>
15397 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15399 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15401 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15403 * buffer.C (readInset): hack to make listof algorithm work
15405 * BufferView_pimpl.C: hack to make listof algorithm work
15407 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15409 * LyXAction.C: removed all !NEW_INSETS cruft
15410 (init): moved lfun_item in method
15412 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15414 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15416 * BufferView2.C (theLockingInset): white space.
15418 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15420 * minibuffer.C: include <iostream>
15422 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15424 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15426 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15428 * text.[Ch] (TransposeChars): new method
15430 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15432 * call message directly through LyXView instead of through LyXFunc
15433 * BufferView2.C: adjust
15434 * BufferView_pimpl.C: adjust
15435 * FontLoader.C: adjust
15437 * bufferview_funcs.C: adjust
15438 * converter.C: adjust
15439 * figureForm.C: adjust
15440 * importer.C: adjust
15442 * lyx_gui_misc.C: adjust
15443 * lyxfunc.C: adjust
15446 + more files in subdirs
15448 * lyxparagraph.h (size): move up int file
15451 * adjust all uses of Assert to lyx::Assert.
15453 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15454 lyxfunctional in namespace lyx
15455 * layout.C (hasLayout): ditto
15458 (delete_layout): ditto
15459 (NumberOfClass): ditto
15460 * converter.C (GetFormat): ditto
15465 * bufferlist.C (getFileNames): ditto
15466 (emergencyWriteAll): ditto
15469 * MenuBackend.C (hasSubmenu): ditto
15472 * BufferView_pimpl.C (getInsetByCode): ditto
15474 2001-04-18 Juergen Vigna <jug@sad.it>
15476 * vspace.C (asLatexString): fixed the 100% problem.
15478 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15480 * lyxfunc.C (Dispatch):
15482 * minibuffer.h: add a few std:: qualifiers
15484 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15486 * minibuffer.[Ch]: reimplement so that commands is initiated and
15487 run from lyxfunc, simplified som handling, and made the completion
15488 and history code for complete. wip.
15490 * lyxfunc.C (processKeySym): call message
15491 (miniDispatch): new temporary method
15492 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15493 (LFUN_MESSAGE): implement
15494 (LFUN_MESSAGE_PUSH): implement
15495 (LFUN_MESSAGE_POP): implement
15496 (initMiniBuffer): the initial/defualt minibuffer message.
15498 * lyxfont.[Ch]: inline some more getters
15500 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15502 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15504 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15505 (AutoSave): use LFUN_MESSAGE
15506 (Reconfigure): ditto
15508 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15510 * figureForm.C: use LFUN_MESSAGE
15512 * converter.C (runLaTeX): use LFUN_MESSAGE
15514 * bufferview_funcs.C: use LFUN_MESSAGE
15516 (changeDepth): ditto
15518 * bufferparams.h: use boost::
15520 * bufferlist.h: inherit privately from noncopyable
15522 * bufferlist.C (loadLyXFile): remove some commented code.
15524 * buffer.C (runChktex): use LFUN_MESSAGE
15526 * ShareContainer.h: inherit privately from noncopyable
15528 * ParagraphParameters.[hC] (depth): inline it.
15530 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15532 (message): new method
15533 (messagePush): ditto
15534 (messagePop): ditto
15535 (show): init minibuffer
15536 (showState): direct call
15538 * LaTeX.[Ch]: inherit privately from noncopyable
15539 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15540 instead of WriteStatus.
15542 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15544 * BufferView_pimpl.C (buffer): don't init minibuffer
15545 (workAreaButtonPress): use LFUN_MESSAGE
15546 (workAreaButtonRelease): ditto
15547 (savePosition): ditto
15548 (restorePosition): ditto
15549 (MenuInsertLyXFile): ditto
15550 (workAreaExpose): don't init minibuffer
15551 (update): remove commented code, simplify
15553 * BufferView2.C (openStuff): use LFUN_MESSAGE
15554 (toggleFloat): ditto
15557 (copyEnvironment): ditto
15558 (pasteEnvironment): ditto
15563 (updateInset): remove some commented code
15565 * lastfiles.h: inherit privately from noncopyable
15568 * lyx_main.h: ditto
15570 * lyxlex_pimpl.h: ditto
15572 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15573 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15574 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15576 * LyXAction.h: inherit privately from noncopyable, add methods
15577 func_begin, func_end, returning iterators to the func map.
15579 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15580 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15581 (func_begin): new method
15582 (func_end): new method
15584 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15586 (copySelection): ditto
15587 (pasteSelection): ditto
15589 * BufferView.C: whitespace change
15590 * BufferView.h: inherit privately from noncopyable
15592 2001-04-16 Allan Rae <rae@lyx.org>
15594 * tabular-old.C (l_getline):
15595 * spellchecker.C (sc_check_word):
15596 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15597 an unrecognised preprocessor directive. So ensure they're wrapped.
15599 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15601 * src/exporter.C (Export): Give an error message when path to file
15604 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15606 * LaTeX.C (deplog): Always check that foundfile exists.
15608 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15611 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15613 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15615 * tabular.[Ch] (getLabelList): implement new method
15617 * minibuffer.h: comment ouf setTiimer
15619 * minibuffer.C (ExecutingCB): constify res
15620 (peek_event): constify s
15621 (Set): constify ntext
15622 (Init): constify nicename
15624 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15626 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15627 (savePosition): use two params to Minibuffer::Set
15628 (restorePosition): ditto
15630 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15632 * lyx_main.C: include language.h
15634 * Makefile.am (lyx_main.o): add language.h
15636 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15642 * CutAndPaste.C: include gettext.h
15644 * lyxfont.h: remove old hack with ON and OFF.
15647 * lyxfont.h: do not include language.h...
15652 * bufferview_funcs.C:
15658 * paragraph.C: ... but do it here instead
15660 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15662 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15664 * tabular.C: small reformat
15666 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15669 (BreakParagraph): ditto
15670 (SetOnlyLayout): ditto
15673 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15676 * lastfiles.C: removed most using decl, add std:: where needed
15678 * buffer.C: ws changes
15680 * MenuBackend.C (class compare_format): put into anon namespace
15681 (expand): constify label, names, action, action2
15684 * text.C (SingleWidth): constify font
15685 (IsBoundary): constify rtl2
15686 (GetVisibleRow): constify ww
15688 * LaTeX.C (deplog): constify logfile
15690 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15692 (workAreaExpose): constify widthChange, heightChange
15694 * lyxrow.C (par): moved
15697 * lyxrow.h: as inlines here
15699 * lyxfont.h (shape): moved from lyxfont.C
15700 (emph): moved from lyxfont.C
15702 * lyxfont.C (LyXFont): use initialization list for all
15704 (shape): move to lyxfont.h as inline
15705 (emph): move to lyxfont.h as inline
15708 2001-04-04 Juergen Vigna <jug@sad.it>
15710 * vspace.C: had to include stdio.h for use of sscanf
15712 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15715 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15716 independent of xforms.
15718 2001-04-02 Juergen Vigna <jug@sad.it>
15720 * spellchecker.C: fixed namespace placing!
15722 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15724 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15725 the LyXParagraph * is 0.
15727 2001-03-29 Juergen Vigna <jug@sad.it>
15729 * vspace.C: added support for %, c%, p%, l%.
15730 (stringFromUnit): added helper function.
15731 (asLatexString): changed to give right results for the %-values.
15733 * buffer.C: convert the widthp in a width%.
15735 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15737 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15740 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15741 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15743 * lyx_cb.[Ch]: see above.
15745 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15749 * lyx.[Ch]: replaced by figure_form.[Ch].
15753 * lyxfunc.C: changed headers associated with above changes.
15755 2001-03-27 Juergen Vigna <jug@sad.it>
15757 * BufferView_pimpl.C: set the temporary cursor right!
15759 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15761 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15763 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15765 * LString.h: removed "using std::getline"!
15767 * BufferView_pimpl.C (Dispatch): changes due to changes in
15768 InsetInclude::Params.
15770 * buffer.C (tag_name): removed redundant break statements as they were
15771 producing lots of warnings with my compiler.
15773 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15775 * LString.h: add "using std::getline" when using the real <string>.
15777 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15779 * buffer.C: removed bitset usage.
15780 PAR_TAG moved to an anonymous name space.
15781 (tag_name): new funtion, also in the anonymous namespace.
15782 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15783 (makeDocBookFile): clean code. Completed transition from string arrays
15785 (SimpleDocBookOnePar): code clean.
15787 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15789 * tabular.C: add some comments.
15791 2001-03-22 Juergen Vigna <jug@sad.it>
15793 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15794 compatibility read a bit and fixed bug with minipage in different
15797 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15799 * buffer.C (pop_tag): removed.
15800 (push_tag): removed.
15801 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15802 array replaced with vector. Added support for CDATA sections.
15803 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15805 (makeDocBookFile): XML conformant declaration of CDATA section,
15806 fixed bug related to <emphasis> in the first paragraph char.
15807 (sgmlOpenTag): exclude empty tags.
15808 (sgmlCloseTag): ditto.
15810 * buffer.h (pop_tag): removed.
15811 (push_tag): removed.
15813 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15815 * language.h (Languages): added size_type and size().
15817 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15819 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15820 response on compability reading of minipages. One probliem is that
15821 the old usage of minipages was «flertydig»
15823 * several files here and in subdirs: don't use static at file
15824 scope use anon namespaces instead.
15826 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15828 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15829 LaTeX output. This is necessary for Literate document
15832 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15834 * buffer.C: insert hfill when needed.
15836 * tabular.C (l_getline): use string::erase, small whitespace change.
15838 * BufferView_pimpl.C: try the anon namespace.
15839 * WorkArea.C: ditto
15841 2001-03-16 Juergen Vigna <jug@sad.it>
15843 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15844 otherwise it won't open options-dialogs.
15846 * buffer.C: honor pextraWidth(p) on converting minipages.
15848 * tabular.C (l_getline): changed the functions to strip trailing \r.
15850 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15852 * BufferView_pimpl.C:
15853 * minibuffer..C: added "using SigC::slot" declaration.
15855 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15857 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15863 * paragraph.C: ditto
15865 * lyxtext.h: NO_PEXTRA
15867 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15869 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15870 * ParameterStruct.h: ditto
15871 * ParagraphParameters.h: ditto
15872 * lyxparagraph.h: ditto
15874 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15876 * buffer.C: add compability for minipage alignment.
15877 (latexParagraphs): remove unwanted pextra check.
15879 * several files: remove CXX_WORKING_NAMESPACES
15881 * buffer.C (pop_tag): tie is in namespace boost
15883 * BufferView.h: noncopyable is in namespace boost
15885 * lyx_main.h: ditto
15888 * lastfiles.h: ditto
15889 * bufferlist.h: ditto
15890 * ShareContainer.h: ditto
15892 * LyXAction.h: ditto
15895 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15897 * Merging changes from BRANCH_MVC back into HEAD.
15899 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15901 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15903 * BufferView_pimpl.C: change from intl.C
15907 * Makefile.am: move combox.*
15913 * intl.C: remove dialog (covered by prefs)
15915 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15917 * lyxfunc.C (Dispatch): removed redundant break statement.
15919 2001-03-14 Juergen Vigna <jug@sad.it>
15921 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15923 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15925 * buffer.C: add hack to fix compability reading of minipages.
15927 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15929 * buffer.C (getLists): Cleanup.
15931 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15933 * lyxfont.C (update): don't honor toggleall on font size.
15935 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15939 * Makefile.am: moved to frontends/xforms/
15943 * BufferView_pimpl.C: changes for moved mathpanel
15945 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15947 * gettext.h: fix gettext_init() in --disable-nls
15949 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15951 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15953 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15956 * lyx.h: strip external form
15958 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15960 * BufferView_pimpl.C: add comment, destroySplash()
15962 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15964 * BufferView_pimpl.C:
15968 * lyxfunc.C: use re-worked insetinclude
15970 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15972 * buffer.C: add using std::stringstream.
15974 * lyx_cb.C: readd using std::ios.
15976 * buffer.C: add using std::map.
15978 * BufferView_pimpl.C: add using std::vector.
15980 * ShareContainer.h: add std:: to swap.
15982 * buffer.h: add some typedefs
15983 * buffer.C (getLists): use them
15984 (getLists): renamed from getTocList.
15985 add a counter for the different float types and use it in the
15987 (getLists): use the same counter for the NEW_INSETS and the "non"
15990 * lyx_cb.h: remove unused items, includes, using etc.
15992 * ShareContainer.h: remove some commented code, add more comments
15993 and "documentation".
15995 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15997 * buffer.C (getTocList): make the list also when NEW_INSETS is
16000 * buffer.h: remove TocType
16002 * buffer.C (getTocList): change to return a map<string,
16003 vector<TocItem> >, implement for dynamic number of list.
16005 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
16006 * text2.C (PasteSelection): adjust
16007 * CutAndPaste.C (pasteSelection): adjust
16009 * FloatList.C (FloatList): update from the new_insets branch.
16010 * Floating.[Ch]: ditto
16011 * LaTeXFeatures.C: ditto
16013 * lyxlex_pimpl.C: ditto
16015 * paragraph.C (Last): remove when NEW_INSETS is defined.
16017 * other file: changes because of the above.
16019 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16021 * lyxparagraph.h: rename next to next_, previous to previous_,
16022 make them private for NEW_INSETS. Rename Next() to next(),
16023 Previous() to previous().
16025 * other files: changes because of the above.
16027 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
16030 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
16033 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16035 * main.C (main): pass lyx_localedir to gettext_init().
16037 * gettext.h: remove locale_init and gettext_init macros
16039 * gettext.C (locale_init): new function
16040 (gettext_init): new function
16042 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
16045 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
16047 * Moved credits to frontends:
16048 * credits.[Ch]: removed
16049 * credits_form.[Ch]: removed
16050 * lyx_gui_misc.C: remove credits stuff
16053 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16055 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
16057 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
16058 unneeded destructor.
16060 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
16061 a standalone pointer again.
16063 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
16065 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
16071 * ToolbarDefaults.C:
16080 * BufferView_pimpl.C: use new file dialog in GUII
16083 * lyx_cb.C: remove LayoutsCB to Toolbar
16085 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16087 * ShareContainer.h (get): add std:: qualifier
16089 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16091 * ShareContainer.h: define a proper ShareContainer::value_type
16092 type (and use typename to please compaq cxx)
16094 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16096 * lyxparagraph.h: move serveral local vars to
16097 ParameterStruct/ParagraphParameters., use ShareContainer in
16098 FontTable., make vars in FontTable private and add getter and
16101 * paragraph.C: changes because of the above.
16103 * lyxfont.h: remove copy constructor and copy assignment. (the
16104 default ones is ok), move number inside FontBits. move inlines to
16107 * lyxfont.C: add number to initializaton of statics, move several
16108 inlines here. constify several local vars. some whitespace
16109 cleanup. Dont hide outerscope variables.
16111 * Spacing.h: add two new constructors to match the set methods.
16113 * ShareContainer.h: new file, will perhaps be moved to support
16115 * ParameterStruct.h: new file
16117 * ParagraphParameters.h: new file
16119 * ParagraphParameters.C: new file
16121 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
16122 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
16124 * BufferView_pimpl.C: ParagraphParameter changes.
16125 * buffer.C: Likewise.
16126 * bufferview_funcs.C: Likewise.
16127 * text.C: Likewise.
16128 * text2.C: Likewise.
16130 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16132 * lyxfind.C (LyXReplace): do not redefine default argument in
16134 (IsStringInText): ditto
16135 (SearchForward): ditto
16136 (SearchBackward): ditto
16138 2001-03-06 Juergen Vigna <jug@sad.it>
16140 * lyxfind.C (IsStringInText): put parentes around expressions.
16142 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
16144 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
16146 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
16148 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16150 * stl_string_fwd.h: add comment
16152 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16155 * tabular.C: remove unused DocBook methods
16161 killed DO_USE_DEFAULT_LANGUAGE
16163 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16165 * lyx_gui.C: do not include language.h.
16167 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16168 arguments in function implementation.
16170 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16172 * BufferView_pimpl.C: add <ctime>
16174 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16176 * BufferView_pimpl.C: add using std::find_if
16178 2001-02-27 José Matos <jamatos@fep.up.pt>
16180 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16183 2001-02-11 José Matos <jamatos@fep.up.pt>
16185 * buffer.C (makeDocBookFile): command styles now have a parameter as
16186 "title" by default.
16188 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16190 * layout_forms.[Ch]: removed
16191 * lyx_cb.[Ch]: out character
16192 * lyx_gui.C: out character
16193 * lyx_gui_misc.C: out character
16194 * bufferview_funcs.C: : out character,
16195 added toggleall as parameter in ToggleAndShow
16197 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16199 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16201 * text2.C (SetCurrentFont): Disable number property at boundary.
16203 2001-02-26 Juergen Vigna <jug@sad.it>
16205 * lyxfunc.C (getStatus): added a string argument override function so
16206 that this is correctly called from LyXFunc::Dispatch if it contains a
16207 do_not_use_argument which is used!
16208 (Dispatch): added check for "custom" export and call appropriate func.
16210 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16212 * lyxrc.C: Add language_command_local, language_use_babel and
16213 language_global_options.
16215 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16217 * buffer.C (makeLaTeXFile): Use language_use_babel and
16218 language_global_options.
16220 2001-02-23 Juergen Vigna <jug@sad.it>
16222 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16223 which works with LyXText and putted it inside BufferView. Here now we
16224 only call for that part the BufferView::Dispatch() function.
16226 * BufferView.C (Dispatch): added.
16228 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16229 functions which needs to use a LyXText over from LyXFunc.
16230 (MenuInsertLyXFile): added
16231 (getInsetByCode): added
16232 (moveCursorUpdate): added
16233 (static TEXT): added
16235 2001-02-22 Juergen Vigna <jug@sad.it>
16237 * BufferView_pimpl.C (update): call a status update to see if LyXText
16240 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16242 * vc-backend.C (revert): implement for CVS
16243 (getLog): implement for CVS
16245 2001-02-20 Juergen Vigna <jug@sad.it>
16247 * text2.C (ClearSelection): added BufferView param for inset_owner call
16249 * lyxfunc.C (TEXT): added this function and use it instead of
16250 directly owner->view()-text of getLyXText().
16252 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16254 * src/layout_forms.C: out preamble
16255 * src/layout_forms.h: out preamble
16256 * src/lyx_cb.C: out preamble
16257 * src/lyx_cb.h: out preamble
16258 * src/lyx_gui.C: out preamble
16259 * src/lyx_gui_misc.C: out preamble
16260 * src/lyxfunc.C: connect with guii preamble
16262 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16264 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16266 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16268 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16269 whether to run bibtex.
16271 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16273 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16275 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16277 * Makefile.am (lyx_SOURCES): removed bibforms.h
16279 * vspace.h: doxygen
16281 * text.C (GetVisibleRow): make several local vars const
16283 * tabular.C: small cleanup.
16285 * lyxserver.C (callback): use compare instead of strncmp
16287 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16288 inlines to after class or to paragraph.C
16290 * lyxfont.h: remove friend operator!=
16292 * converter.h: move friend bool operator< to non friend and after
16295 * combox.h: small cleanup
16297 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16298 to inlines after class def.
16300 * buffer.C (pop_tag): use string operations instead of strcmp
16302 * bmtable.c: doxygen, small cleanup
16304 * LaTeX.h: remove friend operator==
16306 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16318 * BufferView_pimpl.C:
16319 * BufferView.[Ch]: remove cruft
16321 2001-02-14 Juergen Vigna <jug@sad.it>
16323 * lyxfunc.C: removed #if 0 unused code
16325 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16327 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16329 * text2.C (SetSelection): added a BufferView * parameter
16331 2001-02-13 Juergen Vigna <jug@sad.it>
16333 * lyxfunc.C (Dispatch): fixed protected blank problem.
16334 * BufferView2.C (protectedBlank): added LyxText * parameter.
16336 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16337 (AppendColumn): same as above for column_info.
16339 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16340 (moveCursorUpdate): use a LyXText param for support of InsetText.
16342 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16343 (tripleClick): ditto
16345 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16347 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16349 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16351 * text2.C (SetSelection): set correct update status if inset_owner
16352 (ToggleFree): ditto
16354 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16356 * tabular.C: remove some commented code.
16358 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16360 * BufferView_pimpl.C: call hideSplash()
16362 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16365 * bibforms.h: remove
16368 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16369 add LFUN_CHILD_CREATE
16371 * counters.h: fix tiny typo
16376 * lyx.C: move splash to frontends/xforms/
16378 * lyx_gui_misc.C: move Include and Bibform to frontends
16380 * lyxvc.h: clarify comment
16382 * vspace.C: tiny housekeeping
16384 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16386 * text.C (PrepareToPrint): RTL Fix.
16388 * paragraph.C (GetUChar): New method.
16389 (String): Use GetUChar.
16391 * buffer.C (asciiParagraph): Use GetUChar.
16393 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16395 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16397 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16400 * buffer.C: rename to getLogName(), handle
16401 build log / latex log nicely
16403 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16406 * MenuBackend.h: remove support for reference menuitem type.
16408 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16410 * BufferView_pimpl.C: housekeeping
16411 * BufferView_pimpl.h:
16416 * minibuffer.h: move Timeout GUI-I
16418 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16420 * lyxrc.C (read): Update converters data-structures.
16422 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16424 * LaTeX.h (operator!=): add operator != for Aux_Info
16426 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16428 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16430 * LaTeXLog.C: deleted, useful code moved to Buffer
16433 * buffer.C: new function getLatexLogName()
16439 * lyxfunc.C: use frontends for LaTeX and VC logs
16441 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16443 * LaTeX.h: yet another std:: that Allan forgot.
16445 * Variables.C (set): renamed from isset(), because this clashes
16446 with some HP-UX macros (grr).
16448 2001-02-06 Allan Rae <rae@lyx.org>
16450 * LaTeX.h: Another bug fix. Missing std:: this time.
16452 2001-02-04 Allan Rae <rae@lyx.org>
16454 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16455 floats problem. I've left it commented out because it's not quite
16456 correct. It should also test that the current object is a table or
16457 figure inset. But I haven't gotten around to figuring out how to do
16458 that. I *think* it'll be something like: "table" == inset.type()
16460 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16463 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16465 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16466 all the citation/databases/styles in the auxilary file.
16467 (run): Rerun latex if there was a babel language error.
16469 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16471 * text.C (Backspace): Preserve the font when changing newline char
16473 (BreakParagraph): If the cursor is before a space, delete the space.
16475 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16477 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16479 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16480 new argument (code).
16481 (ChangeCitationsIfUnique): New method.
16483 * paragraph.C (GetPositionOfInset): Handle bibkey.
16485 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16487 * BufferView_pimpl.h: change type of Position::par_pos to
16488 LyXParagraph::size_type.
16490 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16492 * BufferView_pimpl.C (savePosition, restorePosition): Write
16493 messages to minibuffer.
16495 2001-01-28 José Matos <jamatos@fep.up.pt>
16497 * buffer.C (makeDocBookFile): adds support for document language.
16498 A silly restriction on the name of LatexCommand types where removed.
16499 Added support for CDATA sections, allows to chars unescaped, used
16500 among others in code, to avoid escape < and >.
16502 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16504 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16505 saved positions instrad of a stack. Furthermore, a position is
16506 stored using paragraph id/paragraph position.
16508 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16509 Remove LFUN_REF_BACK.
16511 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16513 * converter.C (dvipdfm_options): New method.
16515 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16517 * vspace.C (isValidLength): Fix for empty input string.
16519 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16521 * LyXAction.C (init): change description of LFUN_FIGURE to
16524 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16526 * LaTeX.C: add using directive
16528 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16530 * MenuBackend.C (expand): Fix the sorting of the formats.
16532 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16534 * lyx_main.C: tiny error message fix
16536 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16538 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16539 calling fl_initialize(). This fixes the problem with ',' as
16540 decimal separator in text files.
16542 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16544 * trans.C (process): Fix the keymap bug.
16546 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16548 * LaTeX.C (scanAuxFiles): New method. Provides support for
16549 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16550 (scanLogFile) Scan for "run BibTeX" messages.
16552 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16553 OT1 font encoding. Also, load the aecompl package if the ae
16556 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16558 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16560 * texrow.C (increasePos): turn two error messages into debug
16563 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16565 * LaTeX.C (scanAux): Handle the \@input macro.
16566 (runBibTeX): Use scanAux().
16568 * language.C (latex_options_): New field.
16570 * LaTeXFeatures.C (getMacros): Add language macros.
16572 * buffer.C (makeLaTeXFile): Small fix.
16574 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16576 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16578 * text2.C: add a using directive.
16580 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16585 * lyxfunc.C: kill LyXBell.
16587 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16589 * text.C (IsBoundary): Remove the error message
16591 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16593 * lyxrc.C (setDefaults): Correct initialization value for
16596 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16598 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16601 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16602 and GotoNextNote().
16604 * src/LyXAction.C: Added reference-next.
16606 * text.C (InsertChar): Use contains instead of strchr.
16608 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16610 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16612 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16613 alignment commands (when needed).
16615 * text.C (InsertChar): Add ':' to number separator chars.