1 2004-11-17 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * lyxfont.h: include LColor.h to satisfy concept checks.
5 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
7 * pariterator.h: add typdefs for value_type, difference_type,
8 pointer and reference to satisfy concept checks. Also add default
9 constructor for same reason.
11 * pariterator.C (operator++): add post-increment operator to
12 satisfy concept checks.
14 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
17 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
19 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
20 checks. Also rename base_type to BaseType to follow naming
23 * FloatList.h: include Floating.h to satisfy concept checks.
25 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
27 * lyxfunc.C (getStatus): when the origin of the request is menu or
28 toolbar, and the LyXView does not have focus, do as if there was
31 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
32 FuncRequest to individual entries of LFUN_SEQUENCE
34 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
36 * output_latex.C (TeXOnePar): override runparams.moving_arg
37 according to the needprotect value of the current paragraph (bug
40 * paragraph.C (simpleTeXOnePar): no need to override
41 runparams.moving_args here
43 2004-11-14 John Spray <spray_john@users.sourceforge.net>
45 * vspace.C: fix off-by-one-error, related to fix #1682
47 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
49 * lengthcommon.C: a more general fix for bug 1682
51 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
53 * text.C (backspace): fix crash
55 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
57 * format.[Ch] (getFormatFromFile): new method
58 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
60 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
62 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
64 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
66 * lyxfunc.C (dispatch): remove the verbose argument
67 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
70 * kbmap.C (defkey): set the origin of func to KEYBOARD
72 * MenuBackend.C (MenuItem):
73 * ToolbarBackend.C (add): set the origin of func to UI
75 * funcrequest.[Ch]: add origin member, which indicates which part
76 of LyX requests an action
78 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
80 * converter.C (move): don't lie in the error message
81 * converter.h (isReachable, move): document
83 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
85 * buffer.C: remove unused using lyx::support::atoi
86 * paragraph_funcs.C: ditto
88 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
90 * bufferlist.C (exists): use bind and equal_to instead of
93 * lyxtextclasslist.C (NumberOfClass): ditto
95 * cursor.C (insert): use for_each instead of explicit for loop
97 * bufferlist.C (getFileNames): use std::transform and
98 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
100 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
103 * buffer.C (changeLanguage): use for_each instead of explicit for
105 (hasParWithID): implement using getParFromID
107 * LaTeXFeatures.C: ws change only
109 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
112 * BufferView_pimpl.C (trackChanges): use for_each instead of
115 2004-11-04 André Pönitz <poenitz@gmx.net>
118 * undo.C (textUndoOrRedo): fix crash when creating undo information.
120 * dociterator.C (asDocIterator): use hard assert again.
122 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
124 * lyxlength.C (asLatexString): rewrite so that it does not use
127 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
129 * text3.C (specialChar, dispatch): make sure cursor moves to the
130 right after inserting an inset
132 2004-11-02 José Matos <jamatos@lyx.org>
134 * output_docbook.C (docbook):
135 * paragraph.C (getID):
136 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
137 garantee that the output is always legal.
139 * tabular.C (docbook):
140 * outputprams.[Ch]: remove mixed contents.
142 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
144 * text2.C (setCounter): prevent endless loop
146 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
148 * exporter.C (copyFile): use the mover instead of support::copy()
149 * exporter.C (Export): pass format and latex name to copyFile()
150 * exporter.h (addExternalFile): document
151 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
153 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
155 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
157 2004-10-30 José Matos <jamatos@lyx.org>
159 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
160 text and no inset or font change. This allows to use CDATA
161 sections just for the whole paragraph.
163 2004-10-30 José Matos <jamatos@lyx.org>
165 * paragraph.C (getFirstWord): remove unused variable.
167 2004-10-30 José Matos <jamatos@lyx.org>
169 * paragraph.C (getFirstWord): the content should always be escaped
171 (simpleDocBookOnePar):
172 * output_docbook.C (makeEnvironment): replace reference to CDATA
175 2004-10-30 José Matos <jamatos@lyx.org>
177 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
179 2004-10-30 José Matos <jamatos@lyx.org>
181 * output_docbook.C (makeParagraphs):
182 * paragraph.[Ch] (emptyTag): for docbook and company, if the
183 standard paragraph has only a given type of content drop the wrapper.
185 2004-10-29 José Matos <jamatos@lyx.org>
187 * output_docbook.C (makeEnvironment):
189 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
191 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
193 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
194 (cleanID): sanitize any id.
196 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
198 * buffer.C, lyxlex_pimpl.C:
199 * lyxlex_pimpl.C (setFile):
200 s/getExtFromContents/getFormatFromContents/
202 2004-10-28 José Matos <jamatos@lyx.org>
204 * output_docbook.C (makeEnvironment): move id to broadest possible
207 * sgml.C (openTag): apply substitution of <> for all attributes.
209 2004-10-28 José Matos <jamatos@lyx.org>
211 * buffer.C (makeLinuxDocFile, makeDocBookFile):
212 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
213 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
215 * sgml.[Ch]: new version for open and closeTag for paragraph and
216 for strings. Now they handle the ids of paragraphs.
218 2004-10-26 Angus Leeming <leeming@lyx.org>
220 * Makefile.am: add mover.[Ch].
222 * converter.C (convert, move): use the new Movers to move external
223 files to the temp directory.
225 * lyx_main.C (init): ensure that the global system_movers data
228 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
231 * mover.[Ch]: new files, defining a Mover as a utility to move an
232 external file between directories and, if necessary, manipulate this
233 file using a helper script.
235 2004-10-25 José Matos <jamatos@lyx.org>
237 * output_docbook.C (makeCommand): merge two if's that tested the
240 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
242 * sgml.C (escapeString): fix warning in a better way
244 2004-10-25 José Matos <jamatos@lyx.org>
246 * sgml.C (escapeString): import the require boosts header file for
247 tie, and avoid a signed unsigned comparison.
249 2004-10-25 José Matos <jamatos@lyx.org>
251 * sgml.h: add #include <string>
253 2004-10-25 José Matos <jamatos@lyx.org>
255 * sgml.[Ch] (escapeString): new function to escape all the string.
257 2004-10-24 José Matos <jamatos@lyx.org>
259 * paragraph.[Ch] (getFirstWord): new function to get the first
260 word. Useful for description.
261 (simpleDocBookOnePar): remove depth argument, add another that
262 says where to start the paragraph.
264 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
265 use the new functions to fix cleanly the support for descriptions.
267 2004-10-24 José Matos <jamatos@lyx.org>
269 * buffer.C (makeLinuxDocFile, makeDocBookFile):
270 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
271 * output_linuxdoc.C (linuxdocParagraphs):
272 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
273 add buffer as argument.
275 2004-10-24 José Matos <jamatos@lyx.org>
277 * output_docbook.C (makeEnvironment, searchEnvironment): place
278 CDATA inside paragraphs and fix scope for listitems.
280 2004-10-24 José Matos <jamatos@lyx.org>
282 * output_docbook.C: remove using statement for stack.
284 2004-10-23 José Matos <jamatos@lyx.org>
286 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
287 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
288 docbook. The new scheme is recursive and makes use of iterators, the
289 same as latex export works.
290 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
291 directly with the paragraph contents. This code was moved up to
292 output_docbook.C (docbookParagraphs).
293 * sgml.C (openTag, closeTag): removed unneeded newlines.
294 (closeEnvTags) removed.
296 2004-10-23 André Pönitz <poenitz@gmx.net>
298 * undo.C (textUndoOrRedo):
299 * dociterator.C (asDocIterator): work around crash
301 * cursor.C (getStatus): replace ASSERT by more verbose error message
302 and manual correction of the problem. Should increase stability
303 while providing more sensible information.
305 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
307 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
309 * bufferlist.C (previous, next): new methods
312 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
314 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
316 * buffer.C (makeDocBookFile): add dsssl stylesheet control
317 entities to preamble.
319 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
321 * messages.C (Pimpl): strip off translation context information
323 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
325 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
326 the cursor is correct (bug 1694)
328 2004-10-13 José Matos <jamatos@lyx.org>
330 * output_docbook.C (docbookParagraphs): fix closing tags in the
333 2004-10-09 José Matos <jamatos@lyx.org>
335 * buffer.C: format up to 237.
336 * bufferparams.C (write): use tostr to convert booleans to strings.
338 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
340 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
342 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
344 * LaTeX.C: implement use of babel language in xindy.
346 2004-10-05 José Matos <jamatos@lyx.org>
348 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
349 Add new translators to help reading and writing the lyx file.
351 2004-10-05 José Matos <jamatos@lyx.org>
353 * ParagraphParameters.C (read):
354 * text.C (readParToken): replace nexToken by more appropriate lex
357 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
359 * LaTeX.C (runMakeIndex):
360 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
361 (usually 'makeindex') configurable.
363 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
364 with a variable rather than with a number.
366 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
368 * output_latex.C (TeXOnePar): make sure font setting is the first
369 thing that gets output (and the last at the end). Should fix bug
372 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
374 * pch.h: use proper signal include
376 * LaTeX.h: Use preferred calling of Boost.Signal
379 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
381 * pch.h: dont include <boost/function/function0.hpp>
383 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
385 * paragraph_pimpl.h: remove usage of ShareContainer
387 * paragraph_pimpl.C: remove initialization of ShareContainer.
389 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
393 * BufferView.C (putSelectionAt): change the semantics when
394 backwards == true: now, this just swaps cursor and anchor wrt the
397 * BufferView.h (putSelectionAt): add some documentation
399 * lyxfind.C (findBackwards): rewrite using while(). In particular,
400 make sure backwardChar is done at least once (to avoid getting
402 (findNextChange): use putSelectionAt in the forward direction
403 (operator()): use Paragraph::isWord
405 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
407 * Spacing.C (set): c_str fix
409 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
411 * lyx_cb.C (Reconfigure): quote the name of configure script in
412 case it contains spaces
414 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
418 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
419 (BOOST_LIBS): use top_buildir when looking for the file
421 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
423 * pch.h: do not use include boost/format.hpp, multiple symbols
424 will result (gcc bug)
427 2004-08-23 José Matos <jamatos@lyx.org>
429 * bufferparams.C (readToken): fix reading of the author field.
431 2004-08-20 José Matos <jamatos@lyx.org>
433 * lyxrc.C: remove support/translator.h inclusion since it is not used.
435 2004-08-20 José Matos <jamatos@lyx.org>
437 * lyxlex.[Ch] (findToken): remove function.
439 * ParagraphParameters.C (findToken):
440 * bufferparams.C (findToken): replace call for previous function
441 with local copy. This local function has one more argument, the
442 read string argument.
444 2004-08-16 José Matos <jamatos@lyx.org>
446 * ParagraphParameters.C (write):
447 * Spacing.C (writeFile):
448 * bufferparams.C (writeLaTeX):
449 * lyx_cb.C (Reconfigure):
450 * paragraph.C (write):
451 * tabular.C (write): remove unnecessary space at end of line.
454 2004-08-16 José Matos <jamatos@lyx.org>
456 * text.C (readParagraph): remove debug message.
458 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
460 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
463 * output_plaintext.C (asciiParagraph): set depth correctly
465 * outputparams.h: add member depth
467 * paragraph_funcs.C (ownerPar): remove.
469 * text2.C (setCounter): remove first_pit; comment out some
470 non-working code that uses ownerPar
472 * BufferView.C (getParentLanguage): remove. Not used anymore, and
475 2004-08-16 José Matos <jamatos@lyx.org>
477 * text.C (readParToken, readParagraph, read): report all unknown tokens.
478 For the same level of importance use the same chanel to report problems.
479 (read): add code to deal with \begin_body and \end_body.
482 2004-08-15 José Matos <jamatos@lyx.org>
484 * lyxlex.C (getString): fix comment, buffer::readBody is now
487 * tex-strings.C (string_papersize): Default -> default,
488 Custom -> custom, for consistency with other options.
490 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
494 * Makefile.am: support pch
496 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
498 * text.C (readParToken): remove the static LyXFont variable and
499 pass it as a parameter instead. This fixes a nasty bug where an
500 inset will be inserted with a bad font in some situations
501 (readParagraph): adapt
503 * text2.C (setCounter): reduce number of calls to pars_[pit]
505 * text.C (singleWidth): add an assert, fix a test
507 * rowpainter.C (paintText): reduce number of calls to singleWidth
509 * paragraph.C (isHfill):
512 2004-08-14 André Pönitz <poenitz@gmx.net>
517 * lyxtext.h (several functions): use a Paragraph & argument
520 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
522 * metricsinfo.h: add a new field ltr_pos to PainterInfo
524 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
526 * text.C (singleWidth): remove useless test
528 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
530 * tabular.h: remove bogus comments
532 * tabular.C (getDescentOfRow):
533 (isPartOfMultiColumn): add assertions
535 * lyxlength.C (inPixels): remove #warning
537 2004-08-14 André Pönitz <poenitz@gmx.net>
539 * paragraph.h: inline getChar()
541 * BufferView.h: remove unused declarations
543 2004-08-14 José Matos <jamatos@lyx.org>
545 * Buffer.[Ch] (readDocument): new name for old readBody.
546 * Buffer.C: new file format, new keywords: \begin_document,
547 \begin_header, \begin_body, \end_body.
549 * bufferparams.C (readToken): replace all calls to lex.nextToken
550 by lex.next(). Do the same to eatLine except where really needed.
552 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
553 line when writing to the lyx file.
555 * output_plaintext.C (asciiParagraph): fix Bibliography style
558 * text.C (read): fix end of file handling.
560 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
562 * MenuBackend.C (Menu::operator[]): new method to access
563 individual menu items
564 (Menu::hasFunc): new method. search for an item that corresponds
566 (MenuBackend::specialMenu): new method
567 (MenuBackend::expand): if a special menu has been set, skip
568 entries whose func() appears in this menu
570 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
572 * text3.C: use Debug::DEBUG a bit more
574 * text.C (leftMargin): try to simplify a tiny bit change var x to
575 l_margin. Dont output the wide margins always.
576 (rightMargin): no margin in inner texts
578 * rowpainter.h (nestMargin): new func
579 (changebarMargin): new func
580 (rightMargin): new func
582 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
586 * factory.C (createInset): modify setDrawFrame
588 * cursor.C: use Debug::DEBUG a bit more
590 2004-08-14 André Pönitz <poenitz@gmx.net>
593 * Makefile.am: new files to accomodate an 'external' (x,y)-position
594 cache for all insets in (at least partially) visible (top-level)
597 * BufferView_pimpl.C: reset external coord cache before every update.
598 This means the coord cache only contains valid entries.
600 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
603 * BufferView_pimpl.C (getInsetByCode): move function out of class
604 and change in to a template in anon namespace. Also fix to do what
607 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
610 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
612 (breakParagraph): rename par to par_offset and use a local
613 reference. Add code to keep the language over a rebreak.
614 (breakParagraphConservative): rename par to par_offset, use a
616 (mergeParagraph): ditto
618 (isFirstInSequence): ditto
619 (outerFont): rename pit to par_offset
621 * paragraph.C: ws change
626 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
628 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
631 * paragraph.C (simpleTeXOnePar): when we have a \item with
632 optional argument, enclose the argument with curly brackets (in
633 case it contains a closing square bracket)
637 * text3.C (checkInsetHit): constify
639 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
641 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
644 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 Fix toggling of collapsable insets with the mouse (bug 1558)
648 * lyxfunc.C (dispatch): adapt to LCursor changes
650 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
651 make sure that dispatch is not invoked twice
653 * cursor.C (needsUpdate): new method
654 (dispatch): return void
655 (result): new method, to access the DispatchResult of the cursor.
657 2004-08-13 José Matos <jamatos@lyx.org>
659 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
661 2004-08-13 André Pönitz <poenitz@gmx.net>
663 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
665 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
668 2004-08-12 André Pönitz <poenitz@gmx.net>
670 * text3.C: take out the 'cursor right' form insertInset and only
671 do it in those places when it is really needed. Fixes crash on
674 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
676 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
678 * BufferView_pimpl.C (setBuffer): initialize the current font of
679 the underlying LyXText
681 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
683 * kbsequence.C (print): use UI native formatting for menu
686 * text.C (insertChar): call Paragraph::insertChar with a font
689 * paragraph.C (insertInset, insertChar): the version that takes a
690 LyXFont argument is now a wrapper around the other one (the
691 opposite used to be true).
693 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
694 argument. Font setting is done in Paragraph now.
696 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
698 * outputparams.h: add new members intitle and lang.
700 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
701 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
703 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
705 * text3.C (dispatch): remove special handling of button 4 and 5,
706 it is now taken care of in the frontend code.
708 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
710 * Spacing.h: add <string> (STLPort compile fix)
712 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
714 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
716 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
718 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
721 * converter.C (showMessage): inherit from unary_function, make
724 * buffer.C (writeFile): initialize retval
726 * InsetList.h: rename private variable list to list_
727 * InsetList.[Ch]: adjust accordingly.
729 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
731 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
732 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
733 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
734 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
735 * ParagraphParameters.C, LaTeXFeatures.C: replace
736 "support/std_sstream.h" with <sstream>
738 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
740 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
741 * lyxsocket.C (LyXServerSocket): ditto
742 (serverCallback): ditto
744 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
746 * LaTeXFeatures.C: check release date when loading jurabib.
748 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
750 * lyxserver.C (startPipe): call register_socket_callback
751 (endPipe): call unregister_socket_callback
753 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
755 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
756 (LyXServerSocket): register the callback
757 (LyXServerSocket): unregister the callback
758 (fd): delete function
759 (serverCallback): improve error checking and setup the callbacks.
760 (dataCallback): change arg to fd.
761 (writeln): new func (copied fro the client socket) used for server
763 (LyXDataSocket): simplify
764 (~LyXDataSocket): close ann unregiser callback
765 (server): delete function
766 (fd): delete function
767 (readln): small changes, improve some std::string usage
768 (writeln): constify a bit
770 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
772 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
775 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
777 * BufferView_pimpl.C (setBuffer): set the layout combox value only
778 after it has been populated
780 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
782 * text2.C (insertInset): move cursor when inserting inset.
784 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
786 * kbmap.C (findbindings): a couple of new methods. returns a
787 container of kb_sequence objects. The real work is done by the
788 private recursive version
789 (printbindings): uses findbindings to print out a bracketed list
790 of bindings (renamed from findbinding).
792 * MenuBackend.C (binding): use kb_keymap::findbindings
794 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
796 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
798 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
800 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
802 * paragraph.C (isWord): return true on insets that report
805 * text.C (getWord): use Paragraph::isWord to decide what is in a
806 word and what is not; fix bug 1609.
808 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
810 * tex-strings.C: add "none" to string_paperpackages[], fixes
811 off-by-one-error in the paperpackage selection.
814 * tex-strings.[Ch]: char const * string[n]
815 -> char const * const string[]
817 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
819 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
820 command, return early.
822 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
824 * debug.h: add DEBUG to enum and fix size of ANY.
826 * debug.C: add support for Debug::DEBUG
827 (showTags): cast errorTags.level to unsigned int
829 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
830 (redoCurrentBuffer): ditto
831 (updateScrollbar): ditto
832 * cursor.C (dispatch): ditto
833 * text2.C (setLayout): ditto
835 (updateCounters): ditto
837 (deleteEmptyParagraphMechanism): ditto
839 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
841 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
842 annotations to cleanup the Makefile slightly.
844 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
846 * lyxrc.C: do not set user_email to a default value but use empty
847 instead. The entry used to be translated, which does not work
848 since at the point where lyxrc is constructed there is no
849 translation service available
851 * messages.C (getLocaleDir): remove and use directly
852 lyx_localedir() instead
854 2004-06-02 Angus Leeming <leeming@lyx.org>
856 Fix crash caused by dereferencing null pointer 'exportdata' in
857 OutputParams by creating a new ExportData variable on the heap,
858 storing it in a boost::shared_ptr.
859 The crash was triggered when generating an Instant Preview
860 of an external inset.
862 * Makefile.am: add outputparams.C
864 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
865 (c-tor): allocate memory to it.
867 * exporter.C (c-tor): associated changes.
869 2004-06-01 Angus Leeming <leeming@lyx.org>
871 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
872 contains data before calling isInset(0). (Bug 1513.)
874 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
876 * exporter.C (checkOverwrite): new method
877 * exporter.C (copyFile): new method
878 * exporter.C (Export): copy referenced files to the document dir
879 * exporter.[Ch]: new class ExportedFile
880 * exporter.[Ch]: new class ExportData. Contains currently the
881 names of referenced external files
882 * outputparams.h: add exportdata member.
884 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
886 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
889 2004-05-19 Angus Leeming <leeming@lyx.org>
894 * lyxfunc.C: small changes due to the introduction of namespace
895 lyx::frontend and the moving of namespace biblio to lyx::biblio.
897 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
899 * text3.C (dispatch): supress update when only moving the cursor
900 * cursor.C (selHandle): remove commented code
902 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
904 * paragraph.C (startTeXParParams): correct column count
905 * CutAndPaste.C (pasteSelection): remove const_cast
906 * output_docbook.C (docbookParagraphs): remove const_cast
907 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
908 const_cast and return ParagraphList::const_iterator
909 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
910 * output_plaintext.C (writeFileAscii): remove const_cast
911 * paragraph.[Ch] (simpleTeXOnePar): make const
912 * paragraph_funcs.C (outerPar): use const iterators
913 * paragraph_pimpl.C (validate): use const iterators
914 * text.C (setHeightOfRow): use const iterators
916 2004-05-17 Angus Leeming <leeming@lyx.org>
919 * LyXAction.C (init): new LFUN_INSET_REFRESH.
921 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
922 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
923 if the citation engine has changed.
925 2004-05-14 José Matos <jamatos@lyx.org>
927 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
928 if the textclass does not provide it. Have it different for sgml and
930 support the language of document.
931 * output_docbook.C (docbookParagraphs):
932 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
933 first anchor as the id of the paragraph, remove special case code.
934 * sgml.C (escapeChar): escape only < & >.
936 2004-05-14 Angus Leeming <leeming@lyx.org>
938 * bufferparams.h: move biblio::CiteEngine enum here to minimize
939 dependencies on src/frontends/controllers/biblio.h. Define a
940 CiteEngine_enum wrapper class to enable the enum to be forward
943 2004-05-12 Angus Leeming <leeming@lyx.org>
945 * buffer.C: up LYX_FORMAT to 234.
946 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
947 use_numerical_citations with a single biblio::CiteEngine cite_engine
949 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
951 2004-05-13 José Matos <jamatos@lyx.org>
954 * converter.C (Converter, readFlags): add xml member.
955 * outputparams.h: add XML flavor.
956 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
958 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
960 * lyxfunc.C (dispatch):
961 (getStatus): fix handling of LFUN_SEQUENCE
963 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
965 * debug.C (showLevel): do not forget the end-of-line marker
967 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
969 * kbmap.C (read): do not stop parsing a bind file when an error
972 2004-04-29 Angus Leeming <leeming@lyx.org>
977 * text2.C: wrap a bunch of #warning statements
978 inside #ifdef WITH_WARNINGS blocks.
980 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
982 * buffer.C: increment format to 233.
984 2004-04-28 Angus Leeming <leeming@lyx.org>
986 * BufferView_pimpl.C:
989 s/updateToolbar()/updateToolbars()/
990 s/Toolbar.h/Toolbars.h/
992 2004-04-28 Angus Leeming <leeming@lyx.org>
994 * BufferView.[Ch] (c-tor):
995 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
996 No longer passes these data to the WorkArea generator.
998 2004-04-28 Angus Leeming <leeming@lyx.org>
1000 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
1002 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1004 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1006 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1008 * output_latex.C (TeXEnvironment): make sure that there is a line
1009 break before \end{foo} for the last paragraph of a document
1010 (TeXOnePar): if the paragraph is at the end of the document (or
1011 inset) and the language has to be reset, then make sure that the
1012 line break is _before_ the language command, not after (fixes bug
1013 1225); also make sure that the language reset command is the first
1014 thing after the paragraph (to ensure proper nesting of
1015 environments and thus fix bug 1404)
1017 2004-04-21 John Levon <levon@movementarian.org>
1020 * ToolbarBackend.C: make "name" be a programmatic name
1021 and a gui_name field.
1023 * lyxfunc.C: display the minibuffer on M-x
1025 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1027 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1030 2004-04-19 Angus Leeming <leeming@lyx.org>
1032 * BufferView_pimpl.C (setBuffer): changed preview interface.
1034 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1037 2004-04-19 John Levon <levon@movementarian.org>
1039 * BufferView_pimpl.C:
1040 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1042 2004-04-05 Angus Leeming <leeming@lyx.org>
1044 * text.C (redoParagraphs): add call to updateCounters(), thereby
1045 fixing the missing "Figure #:" label from the caption of a
1048 2004-04-13 Angus Leeming <leeming@lyx.org>
1050 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1051 cursor is clicked out of an inset.
1053 2004-04-13 Angus Leeming <leeming@lyx.org>
1055 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1056 than an InsetOld one.
1058 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1060 * format.[Ch]: add editor to Format
1061 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1062 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1064 2004-04-08 André Pönitz <poenitz@gmx.net>
1066 * metricsinfo.h: remove PainterInfo::width member
1068 2004-04-08 Angus Leeming <leeming@lyx.org>
1070 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1071 "\providecommand" rather than "\newcommand", thereby preventing
1072 clashes with packages that define "\boldsymbol" themselves.
1075 2004-04-08 Angus Leeming <leeming@lyx.org>
1077 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1078 thereby squashing an unnecessary warning.
1080 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1082 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1085 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1087 * BufferView.C (setCursor): call redoParagraph (some insets could
1089 (putSelectionAt): remove the 'double update' trick
1091 * BufferView_pimpl.C (fitCursor): call refreshPar
1092 (workAreaDispatch): remove an uneeded update call
1093 (dispatch): remove some manual update calls
1095 * cursor.[Ch]: remove cached_y_, updatePos
1096 (selHandle): set noUpdate when appropriate
1098 * lyxfunc.C (dispatch): track if we need an update
1100 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1102 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1103 (paintSelection): cheap optimization, do not call cursorX when not
1105 (paintPars): change signature
1108 (paintTextInset): adjust
1112 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1114 * lengthcommon.C: compilation fix: remove explicit array size from
1115 unit_name[] and friends
1117 2004-04-05 Angus Leeming <leeming@lyx.org>
1119 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1121 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1122 present only for the preferences dialog.
1123 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1125 2004-04-05 Angus Leeming <leeming@lyx.org>
1127 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1128 to enable the frontends to export changes to lyxrc correctly.
1130 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1132 2004-04-07 André Pönitz <poenitz@gmx.net>
1134 * cursor.[Ch] (selClear, adjust): remove math
1136 * cursor_slice.C: more agressive assert
1139 * BufferView_pimpl.C: rework mouse event dispatch
1146 2004-04-05 André Pönitz <poenitz@gmx.net>
1148 * cursor.[Ch] (valign, halign...): remove unneeded functions
1150 2004-04-05 Angus Leeming <leeming@lyx.org>
1152 * lyxlength.[Ch] (unit_name et al.): const-correct.
1154 2004-04-05 Angus Leeming <leeming@lyx.org>
1156 * BufferView_pimpl.C:
1165 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1167 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1169 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1171 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1173 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1174 * BufferView_pimpl.[Ch] (getStatus)
1175 * BufferView.[Ch] (getStatus): add
1176 * lyxfunc.C (getStatus): move lfuns handled in
1177 BufferView::dispatch to te function above
1178 * Cursor.C (setSelection): set selection() = true
1180 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1182 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1184 2004-03-31 Angus Leeming <leeming@lyx.org>
1186 * lyxfunc.C (dispatch): Fall through to the generic
1187 Dialogs::show("preamble").
1189 2004-03-31 Angus Leeming <leeming@lyx.org>
1191 * lyxfunc.C (dispatch): Fall through to the generic
1192 Dialogs::show("spellchecker").
1194 2004-03-31 Angus Leeming <leeming@lyx.org>
1196 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1199 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1204 * insetiterator.[Ch]:
1209 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1211 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1213 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1214 insets where we are putting the cursor.
1216 2004-03-31 Angus Leeming <leeming@lyx.org>
1219 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1221 * lyxrc.[Ch] (read, write): overloaded member functions taking
1222 a std::[io]stream arguments.
1224 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1226 2004-03-31 Angus Leeming <leeming@lyx.org>
1228 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1229 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1231 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1232 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1234 2004-03-31 Angus Leeming <leeming@lyx.org>
1236 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1237 the LFUN_ALL_INSETS_TOGGLE code.
1239 2004-03-30 Angus Leeming <leeming@lyx.org>
1241 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1242 has died. Fall through to the generic Dialogs::show("document").
1244 2004-03-30 Angus Leeming <leeming@lyx.org>
1247 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1248 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1250 * lyxfunc.C (getStatus, dispatch): define the actions for these
1251 lfuns. Little more than a cut and pste job from ControlDocument.C
1253 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1255 2004-03-30 Angus Leeming <leeming@lyx.org>
1258 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1259 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1261 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1262 open/closed state of ollapsable insets. Usage:
1264 all-inset-toggle <state> <name>, where
1265 <state> == "open" || "closed" || "toggle" and
1266 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1268 * lyxtext.h, text2.C (toggleInset): removed.
1270 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1271 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1272 now passes LFUN_INSET_TOGGLE to the found inset.
1274 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1275 is now invoked as "all-insets-toggle toggle branch".
1277 2004-03-30 Angus Leeming <leeming@lyx.org>
1281 * pariterator.[Ch]: added/corrected header blurb.
1283 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1285 * dociterator.[Ch]: add an inset_ member
1286 (backwardPos): implemented
1287 (backwardPos, forwardPos): use inset_ when the stack is empty.
1288 (doc_iterator_begin, doc_iterator_end): implemented
1289 * pariterator.[Ch]: adjust, add begin, end
1290 * insetiterator.[Ch]: adjust, add begin, end
1294 * BufferView_pimpl.C:
1295 * CutAndPaste.C: adjust
1297 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1299 * buffer.C: increment file format to 232.
1300 * LaTeXFeatures.C: add bibtopic package.
1301 * bufferparams.[Ch]: param \use_bibtopic.
1303 * lyxrc.[Ch]: add lyxrc bibtex_command
1304 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1306 * buffer.C: increment file format to 231.
1308 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1310 * dociterator.C: implement forwardPar
1311 * iterators.[Ch]: remove, replaced by
1312 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1314 * BufferView_pimpl.C:
1317 * bufferview_funcs.C:
1323 * Makefile.am: adjust
1325 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1327 * CutAndPaste.C (pasteSelection): fix 2 crashes
1328 (eraseSelection): fix a crash
1329 * paragraph_funcs.C: remove a warning
1331 2004-03-28 Angus Leeming <leeming@lyx.org>
1334 * LyXAction.C (init): new LFUN_PRINT.
1336 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1338 2004-03-27 Angus Leeming <leeming@lyx.org>
1341 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1343 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1345 2004-03-27 Angus Leeming <leeming@lyx.org>
1347 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1348 insetlist always contains non-null pointers to insets.
1350 2004-03-26 Angus Leeming <leeming@lyx.org>
1352 * src/BufferView_pimpl.C:
1353 * src/CutAndPaste.C:
1356 * src/output_plaintext.C:
1357 * src/outputparams.h:
1358 * src/paragraph_funcs.C:
1362 * src/frontends/controllers/ControlErrorList.C:
1363 * src/frontends/gtk/FileDialogPrivate.C:
1364 * src/frontends/gtk/GPainter.C:
1365 * src/frontends/gtk/GToolbar.C:
1366 * src/frontends/qt2/QRef.C:
1367 * src/mathed/math_scriptinset.C: squash compiler warnings.
1369 2004-03-26 Angus Leeming <leeming@lyx.org>
1371 * ispell.C (LaunchIspell::start):
1372 * lyx_cb.C (AutoSaveBuffer::start):
1373 invoke run(DontWait) rather than runNonBlocking().
1375 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1377 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1379 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1381 * kbsequence.C (print): adjust
1383 * kbmap.C (printKeySym): rename and change signature
1384 (printKey): use LyXKeySym::print()
1386 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1388 * undo.C: add using std::advance to compile for stlport
1390 2004-03-24 Angus Leeming <leeming@lyx.org>
1392 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1393 it leads to a crash when no buffer is present.
1395 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1396 Martin Vermeer <martin.vermeer@hut.fi>
1398 * lyxfunc.C (dispatch):
1399 * bufferparams.C (readToken): use the new LColor::setColor
1401 * LColor.[Ch] (setColor): new version that takes two strings as
1402 argument and creates a new color entry if necessary
1404 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1406 * buffer.C (makeLaTeXFile): if the main latex file that is
1407 processed is usually a subdocument of some master, then pretend
1408 for a while that it is actually the master
1410 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1412 * buffer.C (getLabelList):
1413 (getBibkeyList): use getMasterBuffer()
1414 (getMasterBuffer): new method. Returns the main document in the
1415 case where one is using included documents.
1417 2004-03-25 André Pönitz <poenitz@gmx.net>
1421 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1423 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1425 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1426 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1428 * ParameterStruct.h: merge with ParagraphParameters
1430 * lyxtext.h: remove LyXText::parOffset() and getPar()
1432 * text3.C: Remove all 'manual' update calls. We do now one per user
1433 interaction which is completely sufficient.
1437 * BufferView_pimpl.C:
1438 * FontIterator.[Ch]:
1440 * ParagraphParameters.[Ch]:
1445 * cursor_slice.[Ch]:
1452 * output_docbook.[Ch]:
1453 * output_latex.[Ch]:
1454 * output_linuxdoc.[Ch]:
1455 * output_plaintext.[Ch]:
1457 * paragraph_funcs.[Ch]:
1458 * paragraph_pimpl.[Ch]:
1466 * frontends/controllers/ControlDocument.C:
1467 * frontends/controllers/ControlErrorList.C:
1468 * frontends/controllers/ControlSpellchecker.C:
1471 * insets/insetbase.h:
1472 * insets/insetbibitem.C:
1473 * insets/insetbox.C:
1474 * insets/insetbranch.C:
1475 * insets/insetcaption.C:
1476 * insets/insetcharstyle.C:
1477 * insets/insetcharstyle.h:
1478 * insets/insetcollapsable.C:
1479 * insets/insetcollapsable.h:
1480 * insets/insetert.C:
1481 * insets/insetfloat.C:
1482 * insets/insetfoot.C:
1483 * insets/insetmarginal.C:
1484 * insets/insetnote.C:
1485 * insets/insetoptarg.C:
1486 * insets/insettabular.C:
1487 * insets/insettext.C:
1488 * insets/insettext.h:
1489 * insets/insetwrap.C:
1490 * mathed/math_mboxinset.C:
1491 * mathed/math_nestinset.C:
1492 * mathed/math_scriptinset.C:
1493 * mathed/math_scriptinset.h:
1496 2004-03-24 Angus Leeming <leeming@lyx.org>
1498 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1499 deal with any child processes that have finished but are waiting to
1500 communicate this fact to the rest of LyX.
1502 2004-03-24 Angus Leeming <leeming@lyx.org>
1504 64-bit compile fixes.
1506 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1507 (c-tor): pass lyx::pos_types rather than ints.
1509 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1512 * text.C (Delete): compile fix.
1513 (getPar): ensure that function declaration is the same as that in
1516 2004-03-23 Angus Leeming <leeming@lyx.org>
1518 * ispell.C (LaunchIspell):
1519 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1520 a boost::shred_ptr rather than a std::auto_ptr.
1522 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1524 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1525 handle LFUN_FILE_INSERT_*
1527 * lyxrc.C (setDefaults, getDescription, output, read):
1528 * lyxrc.h: remove ps_command
1530 2004-03-22 Angus Leeming <leeming@lyx.org>
1532 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1533 Ensure that error_handler is processed once only and that all data
1534 is saved before attempting to output any warning messages.
1536 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1538 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1540 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1542 2004-03-19 André Pönitz <poenitz@gmx.net>
1544 * cursor.[Ch] (reset): take main text inset as argument
1546 * BufferView: adjust
1547 * BufferView_pimpl.C: adjust
1549 * paragraph.[Ch]: fix completely broken operator=()
1551 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1553 * LColor.C (getFromLyXName): make sure that the color name is used
1556 2004-03-17 Angus Leeming <leeming@lyx.org>
1559 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1561 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1562 dialog and to kill a forked process.
1564 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1566 * text2.C (setCursorFromCoordinates): fix font problem
1568 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1570 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1571 bogus "rebuild cursor" code
1573 2004-03-11 André Pönitz <poenitz@gmx.net>
1575 * buffer.[Ch]: use InsetText instead of LyXText as container for
1578 * dociterator.[Ch]: drop the BufferView * member which is not needed
1579 anymore after the change to buffer.C
1581 * paragraph_funcs.C:
1585 * BufferView_pimpl.[Ch]:
1587 * cursor_slice.[Ch]: adjust
1589 * text3.C: fix bug in mathDispatch
1591 2004-03-08 André Pönitz <poenitz@gmx.net>
1593 * undo.[Ch]: use 'StableDocumentIterator' as base for
1596 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1599 * bufferparams.[Ch]: add jurabib support and param.
1601 * LaTeX.C: add FIXME/comment.
1603 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1605 * buffer.C: increment file format to 230.
1607 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1609 * cursor.C (dispatch): avoid infinite loops
1611 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1613 * rowpainter.C (paintSelection): fix x coordinates
1615 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1617 * text.C (rowBreakPoint): fix breaking before displayed insets
1619 2004-03-01 André Pönitz <poenitz@gmx.net>
1621 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1623 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1627 * BufferView_pimpl.C:
1635 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1641 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1642 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1644 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1646 * Bidi.[Ch] (computeTables): const correctness
1647 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1648 fill_hfill, fill_label_hfill and x from Row
1649 * lyxtext.h: prepareToPrint returns a RowMetrics
1650 * rowPainter.C: adjust
1651 * text.C (prepareToPrint): use width, not textWidth. adjust
1652 (redoParagraphInternal, cursorX): adjust
1653 * text2.C (getColumnNearX): adjust
1654 (init): put a default value to the top LyXText::width
1656 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1658 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1660 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1662 * lyxtext.h: add FontIterator class
1664 * text.C (FontIterator, operator*, operator->, operator++): add
1665 (rowBreakPoint, setRowWidth): adjust (fixing a
1668 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1670 * BufferView_pimpl.C (workAreaDispatch): allow also
1671 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1673 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1675 * text.C (rowBreakPoint): fix a bug showing with very large insets
1677 2004-02-25 André Pönitz <poenitz@gmx.net>
1680 * cursor.[Ch]: move some mathed specific code to mathed
1682 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1684 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1685 use_tempdir in preferences
1686 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1688 * lyx_main.C: ensure that tempdir is valid
1689 * lyxlex.h: correct typo
1690 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1691 * paragraph.[Ch] (isMultiLingual): make const
1692 * cursor.[Ch] (openable): make const
1694 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1696 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1698 2004-02-20 André Pönitz <poenitz@gmx.net>
1700 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1702 * cursor.[Ch]: prepare for localized getStatus()
1708 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1710 2004-02-20 André Pönitz <poenitz@gmx.net>
1712 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1714 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1716 * text2.C (setCursorFromCoordinates): switch to absolute coords
1718 (cursorDown): adjust
1719 * text3.C (dispatch): adjust
1721 2004-02-16 André Pönitz <poenitz@gmx.net>
1723 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1726 * cursor_slice.[Ch]: remove unneeded acessor function
1728 * lyxtext.h: rename rtl() to isRTL()
1736 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1738 * rowpainter.C (paintSelection): coord fix
1740 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1742 * Spacing.C: compile fix
1744 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1746 * cursor.C (dispatch): restore current_ before returning
1748 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1750 * text2.C (cursorUp, cursorDown): fix coords
1753 2004-02-12 André Pönitz <poenitz@gmx.net>
1758 * text3.C: add LCursor & parameter to most cursor movement functions
1759 remove usage of LyXText::cursorRow() and cursorPar()
1761 * cursor.[Ch]: add textRow() needed members
1764 * BufferView_pimpl.C:
1767 * BufferView_pimpl.C: adjust
1769 2004-02-11 André Pönitz <poenitz@gmx.net>
1773 * BufferView_pimpl.C: shift undo/redo handling
1775 * cursor.[Ch]: fix mathed crash
1778 * lyxtext.h: move selectionAsText to LCursor
1786 * rowpainter.C: fix excessive drawing
1788 2004-02-06 André Pönitz <poenitz@gmx.net>
1791 * BufferView_pimpl.[Ch]:
1792 * text3.C: move some text specific LFUN handling
1794 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1796 * text3.C (checkInsetHit): adjust coords
1797 * text2.C (getColumnNearX): adjust coords
1798 (edit): adjust coords
1799 * text.C (getRowNearY): add two asserts
1801 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1804 * format.C: add using std::distance to compile on gcc 2.95/stlport
1806 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1808 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1810 2004-02-04 André Pönitz <poenitz@gmx.net>
1812 * BufferView.[Ch] (insertInset):
1813 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1818 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1820 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1821 on the default clause of the switch
1822 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1823 wasn't catched by LCursor::dispatch
1825 2004-02-03 André Pönitz <poenitz@gmx.net>
1828 * cursor.[Ch]: some additional asserts
1830 * undo.[Ch]: remove LyXText dependency in interface
1834 * lyxtext.h (firstPar, lastPar): remove dead functions
1839 * paragraph.[Ch]: adjust
1841 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1843 * lyxfind.C (find): fix argument order in call to ::find
1845 2004-02-02 André Pönitz <poenitz@gmx.net>
1847 * cursor.[Ch]: remove direct access to anchor
1849 * text.C: remove findText() hack
1851 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1853 * iterators.[Ch] (lockPath): remove in favour of...
1854 * BufferView.[Ch] (setCursor): this addition
1855 * BufferView.C (putSelectionAt): adjust
1856 * undo.C (performUndoOrRedo): adjust
1857 * lyxfunc.C (dispatch): adjust
1859 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1861 * iterators.C (lockPath): add a missing slice
1862 * undo.C (performUndoOrRedo): remove redundant positioning code
1864 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1866 * vc-backend.C (scanMaster): ";" -> ';'
1868 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1870 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1871 std::binary_function
1873 * lyxtextclass.C (compare_name): rename to...
1874 (LayoutNamesEqual): ...this
1876 * lyxlex_pimpl.C (compare_tags): inherit from
1877 std::binary_function, put back into anon namespace
1879 * lyxfind.C (MatchString): inherig from std::binary_function
1880 (findChange): use empty() istead of !size()
1882 * format.C (FormatNamesEqual): new functor
1889 * converter.C (compare_Converter): rename to...
1890 (ConverterEqual): ...this, and fixup a bit.
1891 (getConverter): use it, and make function const
1892 (getNumber): use it, and make function const
1896 * bufferlist.C: add using boost::bind
1898 * MenuBackend.C (MenuNamesEqual): new functor
1899 (hasMenu): use it, and make function const
1900 (hasSubmenu): use nested bind to get rid of compare_memfun.
1902 2004-01-30 André Pönitz <poenitz@gmx.net>
1904 * BufferView_pimpl.C:
1907 * cursor_slice.[Ch]:
1910 * paragraph_funcs.C:
1911 * paragraph_funcs.h:
1915 * text3.C: move some of the edit(x,y) handling to the insets
1916 some coordinate changes.
1918 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1920 * text.C: add using statements for std::advance and std::distance
1922 * paragraph.C: add using statement for std::distance
1924 * lyxfind.C: add using statement for std::advance
1926 * cursor.C (region): remove std:: from swap
1927 (openable): use nucleus in stead of operator->
1929 * BufferView.C: add using statements for std::distance and std::swap
1931 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1933 * iterators.C: Remove the pimple, move the needed structures to
1934 the header file. Create accessor for the positions stack.
1935 (asPosIterator): remove function
1937 * PosIterator.C (PosIterator): move constructors to top of file
1938 (PosIterator): reimplement the constructor taking a ParIterator in
1940 (setFrom): new function
1941 (operator!=): inline it
1943 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1945 * lyxfind.C (replaceAll): use std::advance
1947 * iterators.h: inherit from std::iterator.
1949 * PosIterator.C (advance, distance): remove
1950 * PosIterator.h: interit from std::iterator.
1952 2004-01-26 André Pönitz <poenitz@gmx.net>
1955 * BufferView_pimpl.[Ch]:
1959 * bufferview_funcs.C:
1969 * output_linuxdoc.C:
1970 * output_plaintext.C:
1972 * paragraph_funcs.[Ch]:
1973 * paragraph_pimpl.[Ch]:
1979 * text3.C: more IU: dumps most of the rest of the mathcursor
1980 implementation into cursor.[Ch]; "globalize" a bit of it.
1982 2004-01-25 Angus Leeming <leeming@lyx.org>
1984 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1986 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1988 * LaTeXFeatures.h: add nice_ and nice() const
1989 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1991 2004-01-20 André Pönitz <poenitz@gmx.net>
1994 * BufferView_pimpl.C:
1996 * bufferview_funcs.C:
1998 * cursor_slice.[Ch]:
2009 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2010 LCursor and mathcursor parts to LCursor and InsetBase.
2012 2004-01-15 André Pönitz <poenitz@gmx.net>
2014 * cursor_slice.[Ch]: add a few covienience functions
2016 * funcrequest.[Ch]: remove BufferView * member
2018 * BufferView_pimpl.C:
2025 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2027 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2029 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2030 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2032 2004-01-13 André Pönitz <poenitz@gmx.net>
2035 * lyxtext.h: hide cursor and selection anchor behind accessor function
2038 * BufferView_pimpl.[Ch]:
2040 * bufferview_funcs.C:
2050 * cursor_slice.[Ch]: some integer type changes for inset unification
2052 * lyxcursor.[hC]: remove, it's CursorSlice now.
2055 * BufferView_pimpl.[Ch]:
2056 * bufferview_funcs.C:
2062 * textcursor.[Ch]: adjust
2064 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2066 * text2.C (undoSpan): add and use
2067 * text.C (breakParagraph): use undoSpan (fix bug 578)
2070 2004-01-08 Angus Leeming <leeming@lyx.org>
2072 * BufferView_pimpl.C (MenuInsertLyXFile):
2073 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2074 * lyxfunc.C (menuNew, open, doImport):
2075 FileFilterList change to the FileDialog open and save functions.
2077 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2079 * ShareContainer.h: make isEqual and isUnique adaptable
2081 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2083 2004-01-07 Angus Leeming <leeming@lyx.org>
2086 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2088 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2090 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2091 functions replacing find, replace and replaceAll.
2093 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2094 LFUN_WORDFIND(FORWARD|BACKWARD).
2096 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2098 * text.C (breakParagraph): remove an outdated #warning
2100 2004-01-07 André Pönitz <poenitz@gmx.net>
2102 * lyxfind.C: somewhat clearer logic
2104 * text.C: prevent crash in cursorX on unitialized row cache
2106 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2108 * lyxcursor.[Ch] (operator>): add
2109 * textcursor.C (selStart, selEnd): use std::min and std::max
2111 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2113 * Chktex.C: include boost/format.hpp
2115 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2117 * InsetList.C: replace functor MathcIt with adaptable functor
2119 (insetIterator): modify accordingly
2121 * BranchList.h: move the BranchNamesEqual functor here from...
2122 * BranchList.C: ... to here
2124 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2126 (add): replace a finding loop with std::find_if.
2128 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2130 * output_docbook.C: moving LatexParam functionality into
2133 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2135 * buffer.C: increment format to 229.
2137 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2140 * lyx_sty.[Ch]: remove minipageindent_def
2146 * text3.C: remove LFUN_INSET_MINIPAGE
2148 2003-12-28 Angus Leeming <leeming@lyx.org>
2150 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2152 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2154 * text2.C (setParagraph): fix off-by-one crash
2156 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2158 * output_docbook.C: header stuff for AGU
2160 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2162 * text2.C (redoCursor): remove
2165 * BufferView_pimpl.C: remove calls to redoCursor and
2166 setCursor(cursor.par(), cursor.pos()) all around
2168 2003-12-15 Angus Leeming <leeming@lyx.org>
2170 * buffer.C: up the format to 228.
2172 2003-12-15 André Pönitz <poenitz@gmx.net>
2174 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2179 * BufferView_pimpl.C:
2188 2003-12-15 Angus Leeming <leeming@lyx.org>
2190 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2191 than getFromGUIName to manipulate the color.
2193 2003-12-14 Angus Leeming <leeming@lyx.org>
2195 * BranchList.[Ch]: minimize the API.
2196 (Branch::getBranch, getColor): now return a 'const &'.
2197 (Branch::setSelected) now returns a bool set to true if the
2198 selection status changes.
2199 (BranchList::clear, size, getColor, setColor, setSelected,
2200 allBranches, allSelected, separator): removed.
2201 (BranchList::find): new functions, returning the Branch with
2203 (BranchList::add, remove): return a bool indicating that
2204 the operation was successful.
2206 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2207 new InsetBranch::isBranchSlected member function.
2209 * LColor.[Ch]: mimimize the API.
2210 (fill): renamed as addColor and made private.
2211 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2212 versions of these functions taking a string arg have been removed.
2214 * bufferparams.C (readToken):
2215 * lyxfunc.C (dispatch):
2216 * lyxrc.C (read): changes due to the altered BranchList and
2219 * factory.C (createInset, readInset): changes due to altered
2222 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2225 * lyxfunc.C: remove insetminipage. "minipage-insert"
2226 now produces a frameless minipage box inset.
2228 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2230 * textcursor.[Ch] (selStart,selEnd): add new methods
2231 remove selection::start, end, use LyXCursor::operator<
2232 * lyxcursor.[Ch] (operator<): add
2233 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2234 * BufferView.[Ch] (unsetXSel): add
2235 * text2.C (clearSelection): use unsetXSel,adjust
2238 * rowpainter.C: adjust
2239 * bufferview_funcs.C (put_selection_at): adjust
2241 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2243 * BufferView_pimpl.C: small coord. correction
2245 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2247 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2248 dragging over the splash screen.
2250 2003-12-11 Angus Leeming <leeming@lyx.org>
2252 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2253 as it is now handled in LyXText::dispatch.
2255 * text3.C (doInsertInset): remove a level of nesting.
2257 2003-12-11 Angus Leeming <leeming@lyx.org>
2259 * factory.C (createInset): changes due to the changed interface to
2260 InsetCommandMailer::string2params.
2262 2003-12-10 Angus Leeming <leeming@lyx.org>
2264 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2265 'dialog-show-new-inset <inset name>'
2267 2003-12-10 Angus Leeming <leeming@lyx.org>
2269 * buffer.C: up the format to 227.
2271 * factory.C: the box inset is now identified simply by 'Box'.
2273 2003-12-10 Angus Leeming <leeming@lyx.org>
2275 * buffer.C: up the format to 226.
2277 * factory.C: the note inset is now identified simply by 'Note'.
2279 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2281 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2282 when a pit is enough. Standarize a couple of loops.
2284 2003-12-05 Angus Leeming <leeming@lyx.org>
2286 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2287 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2288 data to the re-worked "log" dialog.
2290 2003-12-03 André Pönitz <poenitz@gmx.net>
2296 * paragraph_funcs.C:
2298 * text2.C: use Inset::getText instead of Inset::getParagraph
2300 2003-12-03 André Pönitz <poenitz@gmx.net>
2304 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2305 InsetText::read() as LyXText::read()
2307 2003-12-02 Angus Leeming <leeming@lyx.org>
2309 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2310 type. Add a comment in the implementation that the function uses
2311 the stream's bad() function rather than fail() as the std::streams
2314 2003-12-02 André Pönitz <poenitz@gmx.net>
2316 * lyxlex.[Ch]: make interface more similar to std::stream
2318 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2320 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2322 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2324 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2326 * vspace.[Ch]: remove VSpace::NONE
2328 2003-12-01 André Pönitz <poenitz@gmx.net>
2331 * lyxtext.h: move ParagraphList member to LyXText
2332 rename LyXText::ownerParagraphs to LyXText::paragraph
2335 * bufferview_funcs.C:
2345 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2347 * undo.C: fix cursor positioning
2349 2003-12-01 John Levon <levon@movementarian.org>
2351 * BufferView_pimpl.C: fix a crash on exit with
2354 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2356 * BranchList.C: fix setSelected() method.
2358 2003-11-28 André Pönitz <poenitz@gmx.net>
2360 * ParagraphParameters.[Ch]:
2361 * ParameterStruct.h: remove space above/below from Paragraph to
2364 * BufferView_pimpl.C:
2370 * paragraph_funcs.C:
2376 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2378 * factory.C: Syntax change for CharStyles
2380 2003-11-28 André Pönitz <poenitz@gmx.net>
2385 * buffer.[Ch]: move LyXText member
2387 2003-11-28 André Pönitz <poenitz@gmx.net>
2389 * BufferView.[Ch]: make LyXText * text a private member
2391 * BufferView_pimpl.C:
2402 * output_plaintext.C: cleanup
2404 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2407 * lyxtextclass.[Ch]: parametrize SGML document header
2409 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2412 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2415 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2417 * text2.C (setFont): rework using PosIterator (no more recursive)
2418 (setCharFont): no more needed
2419 (setLayout): no more selection cursors fiddling (done by redoCursor)
2420 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2421 destroy remaining ones)
2423 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2425 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2427 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2430 * text3.C: adjust + re-allow multi par depth changes
2431 * textcursor.C: simplify a bit
2433 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2439 * src/output_docbook.C:
2440 * src/output_latex.C:
2445 * src/text2.C: Introducing a number of tags parametrizing various
2446 XML formats that we may want to support
2448 2003-11-25 André Pönitz <poenitz@gmx.net>
2450 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2452 * lyxtext.h (leftMargin/rightMargin): simplify interface
2459 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2461 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2462 master file to any child files. Fixes bug 546.
2464 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2466 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2468 2003-11-24 André Pönitz <poenitz@gmx.net>
2470 * rowpainter.C: simplification
2472 * text2.C (updateCounters): remove call to redoParagraph on
2473 changed labels as this is far too expensive.
2475 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2477 * converter.C (convert): fix a crash: this function gets
2478 called with buffer == 0 from importer code.
2480 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2482 * text3.C (cursorPrevious): make sure that we do not compare
2483 iterators form different containers.
2486 * rowpainter.C (paintSelection): make sure that we do not compare
2487 iterators from different containers.
2489 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2490 iterators from different ParagraphList containers.
2493 * text2.C (LyXText): change order of initialization slightly
2494 (operator=): new function. copy all variables except cache_par_
2495 (moveUp): make sure that we do not compare iterators from
2496 different ParagraphList constainers.
2499 * text.C (firstPar): new function
2500 (lastPar): new function
2501 (endPar): new function
2503 * lyxtext.h: move things around and group public functions, public
2504 variables, private functions, private variables
2506 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2508 * factory.C: change call to InsetERT constructor to avoid
2509 additional invocation of method status
2510 * text2.C (toggleInset): remove redundant update() call
2511 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2512 instead of a Bufferview pointer
2514 2003-11-21 André Pönitz <poenitz@gmx.net>
2516 * rowpainter.C: simplification
2518 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2520 * text3.C (dispatch): make possible to extend a word/row selection
2523 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2525 * lyxtext.h: x0_,y0_ -> xo_,yo_
2526 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2527 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2528 * rowpainter.C (paintRows): paint full paragraphs
2530 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2532 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2535 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2537 * lyxtext.h: add x0_, y0_
2538 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2539 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2541 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2543 * text2.C (setCursorIntern): move the x_target update here *
2544 * text3.C: change some bv() to true/false in calls to
2545 cursorUp/Down/Right/Left
2546 * cursor.C: use helper function.
2548 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2550 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2551 * paragraph_funcs.[Ch]: correct comment
2552 * rowpainter.C: do not paint selections away from bv->cursor()
2553 Fix a long standing selection painting bug.
2554 * text3.C: generalize mouse-selection code to LyXTexts other that
2556 * textcursor.C: do not use y coords if we can use par offsets
2558 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2560 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2561 cursor position after e.g. inset insert)
2563 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2565 * lyxfind.C (replace): adjust to locking removal + some
2568 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2570 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2573 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2576 * output_docbook.C: XML sanitation: new layout
2577 parameters InnerTag and CommandDepth
2579 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2581 * BufferView_pimpl.C:
2583 * text3.C: Fix the insertion and modification of button-style
2586 2003-11-13 André Pönitz <poenitz@gmx.net>
2588 * InsetList.[Ch]: remove deleteLyXText
2590 * paragraph.[Ch]: cache beginOfBody position
2595 * text3.C: remove superfluous update() calls
2599 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2601 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2602 * BufferView.C (fitLockedInsetCursor): remove
2603 * cursor.[Ch] (getDim): add
2604 * text.C (getRowNearY): add faster version
2605 * text3.C: remove some update calls
2607 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2619 * text3.C: The Character Style /XML short element patch.
2621 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2624 * factory.C: Small step to solving 'unable to insert some insets'
2627 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2629 * cursor.[Ch] (updatePos): new function for updating the y
2630 position of the tip inset
2631 * bufferview_funcs.C (put_selection_at):
2632 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2634 2003-11-11 André Pönitz <poenitz@gmx.net>
2636 * text.C: remove big comment on invalid Paragraph pointers as it is
2639 2003-11-11 André Pönitz <poenitz@gmx.net>
2641 * text_funcs.[Ch]: merge with ...
2649 * Makefile.am: remove text_funcs.[Ch]
2651 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2653 * cursor.C (getPos): return absolute cached y coord
2655 * BufferView_pimpl.C (fitCursor): new simplistic code
2656 (workAreaDispatch): add a fitCursor call
2658 2003-11-10 André Pönitz <poenitz@gmx.net>
2661 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2663 2003-11-10 André Pönitz <poenitz@gmx.net>
2665 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2666 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2667 indicate that the cursor needs to leave an inset
2669 * lyxtext.h: remove inset locking
2671 * cursor.[Ch]: re-implement functionality provided by inset locking
2674 * BufferView_pimpl.[Ch]:
2676 * bufferview_funcs.[Ch]:
2688 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2690 * PosIterator.[Ch]: replace the stack with a vector, add inset
2692 * iterators.[C]: adjust
2694 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2696 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2698 * paragraph_funcs.C (readParToken): put the correct id in the
2699 error item, not the id of the top paragraph
2701 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2703 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2704 * bufferview_funcs.C (put_selection_at): use the above
2706 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2708 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2710 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2712 * output_linuxdoc.h:
2713 * output_plaintext.h:
2715 * output_docbook.h: add #include statements
2717 2003-11-05 José Matos <jamatos@lyx.org>
2719 * output_docbook.[Ch]:
2720 * output_latex.[Ch]:
2721 * output_linuxdoc.[Ch]:
2722 * output_plaintext.[Ch]: New files for output formats.
2723 * output.[Ch]: New file for helper functions.
2726 * paragraph_funcs.[Ch]: output functions moved to new files.
2728 * outputparams.h: rename of latexrunparams.h
2736 * paragraph_funcs.[Ch]:
2737 * paragraph_pimpl.[Ch]:
2738 * tabular.[Ch]: rename ascii to plaintext
2739 and LatexRunParams to OutputParams.
2741 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2743 * iterators.[Ch] (text): require bv argument
2744 * undo.C (recordUndo):
2745 * lyxfunc.C (dispatch):
2746 * bufferview_funcs.C (put_selection_at): adjust
2748 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2750 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2752 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2754 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2757 2003-11-04 André Pönitz <poenitz@gmx.net>
2759 * cursor.[Ch]: restructure
2762 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2764 * iterators.[Ch] (asCursor): remove
2766 * lfuns.h: remove LFUN_INSET_EDIT
2772 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2774 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2776 * lyxfind.[Ch]: complete overhaul
2777 * BufferView_pimpl.C:
2779 * paragraph.[Ch] (insert): add
2781 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2785 * text.C: remove dead spellcheck code
2787 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2789 * dispatchresult.h: add a val setter
2791 * cursor.C (dispatch): use a tempvar for data_[i]
2793 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2795 * PosIterator.[Ch]: compile fix
2797 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2799 * text.C (cursorPar): deactivate the cursor cache
2801 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2803 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2805 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2807 * text3.C (dispatch): adjust for new DisptchResult semantics.
2809 * lyxfunc.C (dispatch): handle update when return from
2810 Cursor::dispatch, adjust for new DispatchResult semantics.
2812 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2813 DispatchResult(true) mean to not update. Add class functions for
2814 setting dispatched and update, as well as reading.
2816 * cursor.C (dispatch): don't handle update here
2818 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2820 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2821 * trans_mgr.C: adjust
2823 * paragraph_funcs.C (readParToken): exception safety
2825 * lyxvc.h: store the vcs pointer in a scoped_ptr
2828 * lyxsocket.C (serverCallback): exception safety
2830 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2832 * ispell.C (clone): make it return a auto_ptr
2834 * factory.C (createInset): exception safety
2835 (readInset): exception safety
2837 * bufferlist.C (newBuffer): exception safety
2839 * Thesaurus.C (Thesaurus): use initialization for aik_
2841 * MenuBackend.C (expandToc): exception safety.
2843 2003-11-03 André Pönitz <poenitz@gmx.net>
2847 * bufferview_funcs.C: remove getInsetFromId()
2850 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2856 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2858 * PosIterator.C (distance, advance): new
2859 * bufferview_funcs.[Ch] (put_selection_at): new
2860 * iterators.[Ch] (lockPath): new
2862 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2864 * iterators.[Ch] (asPosIterator): added
2865 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2866 * PosIterator.[Ch]: added
2868 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2872 * cursor.C (dispatch):
2873 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2875 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2876 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2877 contructor, add a class function dispatched. Remove operator>=
2879 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2881 * debug.C: only use the default constructor for debugstream
2884 * main.C (main): include debug.h and setup the lyxerr streambuf
2887 2003-10-31 José Matos <jamatos@lyx.org>
2889 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2891 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2892 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2893 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2894 * paragraph_pimpl.C (simpleTeXSpecialC):
2895 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2896 add LatexRunParams argument.
2898 * exporter.C (Export): change call accordingly.
2900 * latexrunparams.h: add new member to take care of the other backends.
2901 2003-10-30 José Matos <jamatos@lyx.org>
2903 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2904 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2905 factorise code for paragraph output.
2907 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2910 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2912 * text3.C (dispatch):
2913 * lyxfunc.C (dispatch):
2914 * cursor.C (dispatch):
2915 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2917 * dispatchresult.h: make the dispatch_result_t ctor explicit
2919 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2922 * buffer.C: small refactoring of docbook stuff
2924 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2926 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2929 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2931 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2932 operator dispatch_result_t, and operators for == != and >=
2934 * cursor.C (dispatch): adjust for operator dispatch_result_t
2935 removal. comment out call to update
2937 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2939 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2947 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2950 * dispatchresult.h: new file, DispatchResult broken out of
2953 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2955 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2957 * text.C (rowBreakPoint): put a hack inside #if 0
2959 2003-10-28 André Pönitz <poenitz@gmx.net>
2963 * paragraph_funcs.C:
2966 * text2.C: general cleanup (lots of small stuff)
2968 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2970 * text2.C (cursorEnd): simple fix to the "end key goes to one
2971 before the end on last row" bug
2973 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2975 * text.C (backspace): fix the "zombie characters"
2977 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2979 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2981 2003-10-27 André Pönitz <poenitz@gmx.net>
2983 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2985 * factory.C: handle new InsetPagebreak, InsetLine
2987 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2988 and move handling into new InsetPagebreak, InsetLine
2990 * BufferView_pimpl.C:
2992 * ParagraphParameters.C:
2993 * ParameterStruct.h:
2998 * paragraph_funcs.C:
2999 * paragraph_pimpl.C:
3005 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3008 * lyxrow_funcs.[Ch]:
3014 * text3.C: remove lastPos uses in favour of Row::endpos
3016 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3018 * undo.C (performUndoOrRedo): fix two crashes by setting a
3019 cursor by hand and reordering some calls. Use bv->lockInset instead
3020 of inset->edit because the latter loses cursor information
3022 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3024 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3026 (rowBreakPoint): fix width. change point to point + 1.
3027 Add a missing check.
3029 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3032 * lyxfunc.C: fix (at least partly) the problems
3033 with the Nav menu and headers inside branch insets
3036 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3038 * paragraph.C (getChar): add strong asserts
3040 * lyxrow_funcs.C (lastPos): remove hideous hack
3042 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3043 (fill): adjust to that (avoid an infinite loop)
3045 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3047 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3049 2003-10-23 André Pönitz <poenitz@gmx.net>
3051 * RowList_fwd.h: change list<> to vector<> to gain speed
3052 after suggestion from Alfredo
3054 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3056 * lyxtext.h: move the bidi stuff from here...
3059 * Bidi.[Ch]: ... to here
3061 2003-10-23 André Pönitz <poenitz@gmx.net>
3064 * text.C (isLastRow, isFirstRow): new functions
3066 * paragraph.h: new width cache member
3068 * rowpainter.C: replace RowList::iterator with Row & where possible
3070 * lyxfunc.C: replace several view()->text with a single call
3072 * toc.C: fix 'unused' warning
3074 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3076 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3077 when woring with stream::pos_type
3078 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3080 2003-10-22 André Pönitz <poenitz@gmx.net>
3083 * text.C: use Row & instead of RowList::iterator
3085 * lyxrow.h: rename end() to endpos()
3091 2003-10-22 Angus Leeming <leeming@lyx.org>
3093 * buffer.[Ch] (fully_loaded): new member function, returning true
3094 only when the file has been loaded fully.
3095 Used to prevent the premature generation of previews and by the
3096 citation inset to prevent computation of the natbib-style label.
3098 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3099 templates are all set up.
3101 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3103 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3105 * text.C: fixed an "oops" in the "is a bit silly"
3108 2003-10-21 André Pönitz <poenitz@gmx.net>
3110 * FuncStatus.[Ch]: small stuff, whitespace
3112 * lyxfont.[Ch]: operator<<() for debug reasons
3116 * lyxtext.h: whitespace, spelling
3118 * paragraph.C: naming of variables
3121 * text2.C: small stuff
3124 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3126 * text.C: (1) finish off the inset display() work;
3127 (2) fix the "is a bit silly" bug (accessing char
3130 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3132 * text.C: re-introduce display() for insets, fixing the
3133 various bugs (stretch of line above, math inset
3136 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3138 * text.C (rightMargin): remove spurious semicolon
3140 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3143 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3145 * text3.C: fix one crash due to wrong cursor def
3147 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3149 * vc-backend.C (scanMaster): make the regex static
3151 * LaTeX.C (scanAuxFile): make the regexs static
3153 * text3.C (doInsertInset, dispatch, dispatch):
3154 * text2.C (cursorUp, cursorDown):
3155 * text.C (selectNextWordToSpellcheck):
3156 * BufferView_pimpl.C (dispatch):
3157 * lyxfunc.C (dispatch): localDispatch -> dispatch
3159 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3161 * lyxsocket.C: include <cerrno>
3163 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3165 * lyxfunc.C (dispatch): remove textcache stuff
3167 * bufferlist.C (release): remove textcache stuff
3170 * TextCache.C: delete file
3171 * TextCache.h: delete file
3173 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3175 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3176 delete of the bv_->text.
3177 (resizeCurrentBuffer): remove texcache stuff
3178 (workAreaResize): ditto
3180 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3182 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3185 2003-10-16 André Pönitz <poenitz@gmx.net>
3192 * text3.C: speed up by storing y positions per paragraph plus per-row
3193 offset instead of having a 'full' y position in the row.
3195 2003-10-15 André Pönitz <poenitz@gmx.net>
3199 * undo.[Ch]: make undo aware of inner insets
3201 2003-10-14 Angus Leeming <leeming@lyx.org>
3203 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3204 static member functions LyX::ref() and LyX::cref.
3205 (lastfiles): new accessor functions for the new lastfiles_ member var.
3206 (addLyXView, views_): add a new LyXView to the list of views_.
3207 (updateInset): loop over all LyXViews to call their own updateInset
3208 member function, returning a pointer to the Buffer owning the inset.
3210 * BufferView_pimpl.C (loadLyXFile):
3211 * MenuBackend.C (expandLastfiles):
3212 * bufferlist.C (MenuWrite, QuitLyX):
3213 lastfiles is no longer a global variable.
3214 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3216 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3217 static function. Access through LyX::cref().emergencyCleanup().
3219 2003-10-14 André Pönitz <poenitz@gmx.net>
3221 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3223 * undo.[Ch]: restoring part of 'undo in insets'
3226 * undo_funcs.[Ch]: merge with undo.[Ch]
3228 * tabular.C: small cleansing stuff
3230 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3232 * paragraph_funcs.C (readParToken): report unknown insets as error
3233 boxes. Use the outer paragraph as location (also for unknown
3236 * factory.C (readInset): do not abort on reading an unknown inset.
3237 Eat it and return 0.
3239 2003-10-13 Angus Leeming <leeming@lyx.org>
3241 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3243 * lyxrc.C: displayTranslator is now a function,
3244 declared in GraphicsTypes.h.
3246 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3248 * format.C: new placeholder $$a to pass the socket address.
3250 * bufferlist.[Ch]: new function getBufferFromTmp.
3252 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3253 files in the temporary dir.
3255 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3257 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3259 * Makefile.am: add lyxsocket.[Ch].
3261 * lyx_main.C (error_handler): handle SIGPIPE.
3263 2003-10-13 André Pönitz <poenitz@gmx.net>
3265 * BufferView_pimpl.C:
3270 * undo_funcs.[Ch]: use paroffset_type instead of
3271 ParagraphList::iterators to prevent multiple conversion
3272 (and get a more robust interface)
3274 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3276 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3278 * text3.C (dispatch): ditto
3280 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3282 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3283 move the onlyfile, use onlyfile instead of foundfile in a couple
3286 * DepTable.C (update): flush the error stream a bit more
3288 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3290 * lyxserver.C (callback): adjust
3292 * lyxfunc.C (getStatus): add a missing brace in commented code
3293 (ensureBufferClean): reindent
3294 (dispatch): delete version taking a string
3296 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3298 * LaTeX.C (deplog): move found file handlig from here...
3299 (handleFoundFile): .. to new function here.
3300 (deplog): make sure to discover several files mentioned on the
3303 2003-10-10 André Pönitz <poenitz@gmx.net>
3310 * text3.C: fix some of the tabular crashes
3312 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3314 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3316 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3318 2003-10-09 André Pönitz <poenitz@gmx.net>
3320 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3323 * BufferView_pimpl.C:
3324 * bufferview_funcs.C:
3335 * undo_funcs.C: adjust
3337 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3339 * text2.C (incrementItemDepth): new function, use a backtracking
3340 algorithm to discover the correct item depth.
3341 (resetEnumCounterIfNeeded): new function, use a backtracking
3342 algorithm to discover if counter reset is needed.
3343 (setCounter): use them. Simplify a bit. Add different labels for
3344 different item depths for itemize.
3346 * paragraph.C (Paragraph): remove initialization of enumdepth
3349 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3350 enumerate and itemize. Change the type of itemdepth to signed char.
3352 2003-10-08 André Pönitz <poenitz@gmx.net>
3354 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3359 * tabular.[Ch]: fix crash after 'row-insert'
3361 2003-10-08 Angus Leeming <leeming@lyx.org>
3363 Fix doxygen warnings.
3365 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3366 Remove CutAndPaste:: prefix from header file declaration.
3368 * LColor.h (fill): remove LColor:: prefix from declaration.
3370 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3371 use lyx::depth_type rather than Paragraph::depth_type so that
3372 header file and .C file match.
3374 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3376 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3377 * aspell.C: \file aspell_local.C -> \file aspell.C
3378 * gettext.C: \file gettext.C -> \file src/gettext.C
3379 * gettext.h: \file gettext.h -> \file src/gettext.h
3380 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3381 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3382 * text.C: \file text.C -> \file src/text.C
3384 * toc.C: move comment so that doxygen is not confused.
3386 2003-10-07 Angus Leeming <leeming@lyx.org>
3388 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3390 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3393 * aspell_local.h: add forgotten std::string's.
3395 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3402 * text3.C: The Box patch. Fancybox support, minipage, parbox
3404 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3410 * ParagraphParameters.h:
3420 * lyxtextclasslist.h:
3423 * paragraph_pimpl.C:
3424 * textcursor.h: add <string> and other small fixes to make Lars'
3425 std::string patch compile with STLport.
3427 2003-10-06 Angus Leeming <leeming@lyx.org>
3429 * LColor.h: Add missing #include <string>.
3431 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3433 * All most all file in all subdirs: Make <string> be the prefered
3434 way of getting to std::string, add using declarations.
3436 2003-10-06 André Pönitz <poenitz@gmx.net>
3438 * metricsinfo.C: initialize LyXFont before changing attribute.
3439 (fixes the 'math in \emph is upright' bug)
3441 2003-10-06 André Pönitz <poenitz@gmx.net>
3443 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3445 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3448 * paragraph_pimpl.C: Small fixes to build using STLport
3450 2003-10-02 André Pönitz <poenitz@gmx.net>
3453 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3455 2003-10-01 André Pönitz <poenitz@gmx.net>
3457 * factory.C: assert early
3459 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3461 * lyx_main.C: remove the global debug object
3463 * debug.h: adjust for new debugstream
3465 * debug.C: adjust for new debugstream and keep the global debug
3468 2003-09-22 Angus Leeming <leeming@lyx.org>
3470 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3471 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3472 an incomplete class LyXFont.
3474 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3476 * factory.C: bug fix in branches
3478 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3480 * lyxfunc.C (processKeySym): adjust
3482 (dispatch): change arg name from ev to func, adjust
3483 (sendDispatchMessage): ditto
3485 * lyx_main.C (defaultKeyBindings): adjust keybindings
3486 (deadKeyBindings): ditto
3488 * kbsequence.C (addkey): return a FuncRequest
3490 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3492 * kbmap.C (bind): take a FuncRequest as arg, adjust
3495 (defkey): change to take a FuncRequest as arg, adjust
3496 (findbinding): take a FuncRequest as arg, adjust.
3498 * funcrequest.h (operator=): added
3500 * funcrequest.C (FuncRequest): default kb_action changed from
3501 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3503 * buffer.C (dispatch): simplify
3504 (dispatch): adjust to take a FuncRequest as arg, adjust
3506 * boost.C (assertion_failed): change assertion message slightly
3508 * ToolbarBackend.C (read): simplify
3510 * MenuBackend.C (binding): adjust call to findbinding, add a
3511 message if no binding is found.
3513 (expandToc): correct by adding a empty FuncRequest
3515 * LyXAction.C: include <boost/assert.hpp>
3516 (isPseudoAction): delete function
3517 (LookupFunc): change name to...
3518 (lookupFunc): this. change return type to FuncRequest.
3519 (getActionName): take kb_action as arg, simplify
3520 (funcHasFlag): add an assert, simplify.
3522 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3524 * toc.C (action): return a FuncRequest, simplify
3526 * lyxfunc.C (processKeySym): adjust
3527 (getStatus): delete version that takes an int.
3529 (dispatch): delete version that takes action as int
3531 (sendDispatchMessage): simplify and adjust
3533 * funcrequest.C (getArg): take unsigned int as arg
3535 * ToolbarBackend.C (read): adjust
3536 (add): delete version that takes func as a string.
3537 (getIton): take a FuncRequest as arg
3539 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3542 * MenuBackend.C (MenuItem): add a new construct that only takes a
3543 Kind, simplify the constructor use for submenus.
3545 (expandLastfiles): adjust
3546 (expandDocuments): adjust
3547 (expandFormats): adjust
3548 (expandFloatListInsert): adjust
3549 (expandFloatInsert): adjust
3550 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3552 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3553 Remove class variables lyx_pseudo_map and lyx_arg_map
3555 * LyXAction.C (searchActionArg): delete function
3556 (getPseudoAction): delete function
3557 (retrieveActionArg): delete function
3558 (LookupFunc): make it return kb_action, simplify.
3559 (getActionName): simplify
3561 * factory.C (createInset): fix new bug
3563 2003-09-19 Angus Leeming <leeming@lyx.org>
3565 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3566 masterFilename_ parameter in the include inset.
3568 * factory.C (createInset): changes due to the changes to InsetInclude.
3570 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3572 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3574 2003-09-18 Angus Leeming <leeming@lyx.org>
3577 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3578 Inset::fillWithBibKeys.
3579 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3581 2003-09-18 Angus Leeming <leeming@lyx.org>
3583 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3585 (ctor): pass and store a 'Buffer const &'
3586 (buffer): new member function.
3588 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3589 '*this' to the LaTeXFeatures ctor.
3591 2003-09-18 Angus Leeming <leeming@lyx.org>
3597 * text.C: rename EnumLColor as LColor_color.
3599 2003-09-18 Angus Leeming <leeming@lyx.org>
3601 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3602 remove #include "insets/insetbase.h" from cursor.h.
3604 2003-09-18 Angus Leeming <leeming@lyx.org>
3606 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3607 InsetOld_code to remove #include "inset.h".
3609 * iterators.C: add #include "insets/inset.h"
3611 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3613 * BufferView.C: remove more locking stuff that apparently doesn't
3614 do anything sensible.
3616 2003-09-16 André Pönitz <poenitz@gmx.net>
3619 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3622 2003-09-16 Angus Leeming <leeming@lyx.org>
3624 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3626 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3629 * paragraph.h: remove #include "lyxfont.h". Forward declare
3632 2003-09-16 Angus Leeming <leeming@lyx.org>
3634 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3635 of support/textutils.h.
3636 (isWord): move the contents of support/textutils.h's IsWordChar here.
3642 * text2.C: add #include "paragraph.h".
3645 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3647 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3653 * LaTeX.C: use namespace alias for lyx::support::os
3655 2003-09-16 Angus Leeming <leeming@lyx.org>
3658 * bufferview_funcs.C:
3661 * paragraph_pimpl.C:
3663 * text.C: add #include "LColor.h".
3665 2003-09-16 Angus Leeming <leeming@lyx.org>
3667 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3668 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3670 Store the FontBits::color variable as an int rather than as an
3671 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3674 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3675 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3676 string calls together.
3678 * lyxrc.C: add #include "LColor.h".
3680 2003-09-15 Angus Leeming <leeming@lyx.org>
3682 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3685 2003-09-15 Angus Leeming <leeming@lyx.org>
3687 * LColor.h: add an EnumLColor wrapper for LColor::color.
3689 * lyxfont.[Ch] (color, setColor, realColor):
3690 * lyxtext.h, text.C (backgroundColor):
3691 pass EnumLColor args to/from the functions, rather than LColor::color
3695 * lyxtext.h: forward declare EnumLColor.
3697 * lyx_main.C: add #include "LColor.h".
3699 2003-09-15 Angus Leeming <leeming@lyx.org>
3701 * .cvsignore: add lyx-gtk.
3703 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3708 * ParagraphParameters.C
3712 * bufferview_funcs.C
3722 * vc-backend.C: remove usage of STRCONV
3724 2003-09-15 Angus Leeming <leeming@lyx.org>
3726 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3727 explicitly define the color passed to the painter.
3729 2003-09-15 Angus Leeming <leeming@lyx.org>
3731 * bufferparams.C (BufferParams): reorder member initializers to avoid
3734 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3736 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3737 * text.C (updateRowPositions): remove an unusual nop
3739 2003-09-12 André Pönitz <poenitz@gmx.net>
3741 * BufferView_pimpl.C:
3750 * Counters.[Ch]: finish the 'automatic counters' job
3752 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3754 * aspell.C: include <boost/assert.cpp> (compile fix)
3756 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3758 * boost.C (assertion_failed): use lyx::support::abort instead of
3761 2003-09-10 Angus Leeming <leeming@lyx.org>
3763 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3764 with their _fwd progeny.
3766 2003-09-09 Angus Leeming <leeming@lyx.org>
3768 134 files throughtout the source tree: replace 'using namespace abc;'
3769 directives with the appropriate 'using abc::xyz;' declarations.
3771 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3773 * boost.C (emergencyCleanup): moved here from LAssert.c
3774 (assertion_failed): new function, called by BOOST_ASSERT
3776 * several files: change Assert to BOOST_ASSERT
3778 2003-09-09 Angus Leeming <leeming@lyx.org>
3780 * buffer.[Ch]: Add an Impl class and move Buffer's member
3781 variables into it. As a result move several header files out of
3784 Add header files to lots of .C files all over the tree as a result.
3786 2003-09-09 Angus Leeming <leeming@lyx.org>
3788 * buffer.[Ch]: make Buffer's member variables private. Add
3791 Lots of changes all over the tree as a result.
3793 2003-09-08 Angus Leeming <leeming@lyx.org>
3795 * graph.C: #include <config.h>.
3797 2003-09-08 Angus Leeming <leeming@lyx.org>
3801 * BufferView_pimpl.C:
3830 * toc.C: remove redundant using directives.
3832 2003-09-07 Angus Leeming <leeming@lyx.org>
3834 * LaTeXFeatures.h: remove #include "support/types.h".
3835 * ToolbarBackend.h: remove #include <algorithm>.
3836 * changes.h: remove #include <ctime>.
3837 * debug.h: remove #include <iosfwd>.
3838 * graph.h: remove #include "support/std_string.h".
3839 * lyx_main.h: remove #include <csignal>.
3840 * lyxlex_pimpl.h: remove #include <fstream>.
3841 * sgml.h: remove #include <algorithm>, <utility>.
3842 * toc.h: remove #include "support/std_ostream.h".
3843 Add #include <iosfwd>.
3845 2003-09-07 Angus Leeming <leeming@lyx.org>
3847 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3849 * converter.h: forward declare LatexRunParams.
3850 * encoding.h: remove #include "lyxrc.h".
3851 * lyxtext.h: remove #include "LColor.h".
3852 * lyxtextclass.h: remove #include "support/types.h".
3853 * trans.h: remove #include "tex-accent.h".
3854 * trans_mgr.h: remove #include "tex-accent.h".
3855 * insets/inset.h: remove #include "support/types.h", <vector>.
3856 * insets/insetcollapsable.h: remove #include "LColor.h".
3857 * insets/insetinclude.h: remove #include "dimension.h".
3858 * insets/insetlatexaccent.h: remove #include "dimension.h".
3859 * insets/insetoptarg.h:: remove #include "insettext.h".
3860 * insets/insettext.h: remove #include "dimension.h",
3861 <boost/shared_ptr.hpp>
3863 * insets/renderers.h: add #include "dimension.h".
3864 * insets/updatableinset.h: add #include "support/types.h".
3866 * many .C files: Associated changes.
3868 2003-09-06 Angus Leeming <leeming@lyx.org>
3870 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3871 one, inside testInvariant.
3873 * PrinterParams.C: new file.
3874 * PrinterParams.[Ch]: move the function bodies out of line.
3876 2003-09-06 Angus Leeming <leeming@lyx.org>
3878 * ParagraphParameters.h: forward declare ParameterStruct rather than
3879 including its header file.
3880 (depth): moved out-of-line.
3882 2003-09-06 Angus Leeming <leeming@lyx.org>
3884 * BufferView_pimpl.h:
3887 * lyxfunc.h: forward declare LyXKeySym rather than
3888 #include "frontends/LyXKeySym.h".
3890 * BufferView_pimpl.C:
3893 * lyxfunc.C: associated changes.
3895 2003-09-06 Angus Leeming <leeming@lyx.org>
3897 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3898 As a result, can remove the #include "insets/inset.h" from BufferView.h
3900 2003-09-06 Angus Leeming <leeming@lyx.org>
3902 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3903 As a result, can remove the #include "insets/inset.h" from BufferView.h
3905 2003-09-06 Angus Leeming <leeming@lyx.org>
3911 * bufferview_funcs.C:
3912 * BufferView_pimpl.C:
3917 * ParagraphParameters.C:
3922 * frontends/controllers/ControlDocument.C:
3923 * insets/insetcaption.C: rearrange the #includes into some sort of
3926 * buffer.h: remove #includes ErrorList.h, undo.h
3928 2003-09-06 Angus Leeming <leeming@lyx.org>
3930 * support/types.h: add a 'depth_type' typedef, used to store the
3931 nesting depth of a paragraph.
3934 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3935 defining explicitly.
3938 * paragraph_funcs.h:
3939 * ParagraphParameters.h:
3940 * sgml.h: use lyx::depth_type rather than Paragraph or
3941 ParameterStruct's depth_type.
3944 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3947 * BufferView_pimpl.C:
3949 * ParagraphParameters.C:
3952 * bufferview_funcs.C:
3959 * frontends/LyXView.C:
3960 * frontends/controllers/ControlDocument.C:
3961 * frontends/controllers/ControlErrorList.C:
3962 * insets/insetbibitem.C:
3963 * insets/insetbranch.C:
3964 * insets/insetcaption.C:
3965 * insets/insetcollapsable.C:
3966 * insets/insetenv.C:
3967 * insets/insetert.C:
3968 * insets/insetfloat.C:
3969 * insets/insetfoot.C:
3970 * insets/insetfootlike.C:
3971 * insets/insetnewline.C:
3972 * insets/insetquotes.C:
3973 * insets/insettabular.C:
3974 * insets/insettext.C:
3975 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3977 * frontends/controllers/ControlChanges.C: #include "changes.h".
3979 2003-09-06 Angus Leeming <leeming@lyx.org>
3981 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3982 than #including paragraph.h.
3985 * RowList.h: deleted. Superfluous.
3995 * insets/insettext.h: use ParagraphList_fwd.h rather than
3998 * paragraph.h: don't forward declare ParagraphList.
4001 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
4002 rather than ParagraphList.h. paragraph.h is still needed for the
4003 Paragraph::depth_type parameters.
4005 * textcursor.h: enable it to compile stand-alone in light of the
4008 * bufferview_funcs.C:
4020 * frontends/controllers/ControlParagraph.C:
4021 * frontends/controllers/ControlTabular.C:
4022 * insets/insetmarginal.C:
4023 * insets/insetminipage.C:
4024 * insets/insetnote.C:
4025 * insets/insetoptarg.C: add header files needed to compile again.
4027 2003-09-06 Angus Leeming <leeming@lyx.org>
4029 * RowList_fwd.h: new file, forward-declaring Row rather than
4030 #including lyxrow.h.
4035 * insets/insettext.h: use it instead of RowList.h
4037 * bufferview_funcs.C:
4044 * text3.C: #include "RowList.h".
4046 2003-09-05 Angus Leeming <leeming@lyx.org>
4048 * factory.C (createInset):
4049 * vspace.C (c-tor): replace sscanf call with an istringstream.
4050 * ispell.C: re-add missing HP/UX headers.
4051 * lyxserver.C: re-add missing os2 headers.
4053 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4062 * text3.C: re-add missing system headers, needed for 2.95.2.
4064 2003-09-05 Angus Leeming <leeming@lyx.org>
4066 Changes most place everywhere due to the removal of using directives
4067 from support/std_sstream.h.
4069 2003-09-05 Angus Leeming <leeming@lyx.org>
4071 Replace LString.h with support/std_string.h,
4072 Lsstream.h with support/std_sstream.h,
4073 support/LIstream.h with support/std_istream.h,
4074 support/LOstream.h with support/std_ostream.h.
4076 Changes resulting throughout the tree.
4078 2003-09-05 Angus Leeming <leeming@lyx.org>
4080 * sgml.h: ensure that the header file can be compiled stand-alone.
4081 * *.C: strip out redundant #includes. (320 in total.)
4083 2003-09-04 Angus Leeming <leeming@lyx.org>
4085 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4086 here (from getPackages).
4088 * debug.[Ch]: add a new EXTERNAL tag.
4090 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4092 * text2.C (cursorEnd): simplify
4094 (getColumnNearX): adjust
4096 * text.C (computeBidiTables): adjust
4099 * rowpainter.C (paintChars): adjust
4100 (paintSelection): adjust
4101 (paintChangeBar): adjust
4104 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4106 (numberOfSeparators): adjust
4108 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4114 * text3.C: Restricts the mouse click functionality
4115 of insets like bibtex, include, toc and floatlist to the visible
4116 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4117 up the dialogs. Cursor has to be in front of the inset (i.e.
4118 start of row) for this to function.
4120 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4122 * bufferview_funcs.C (currentState): output row information
4124 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4126 * bufferview_funcs.C (currentState): output paragraph position
4128 2003-09-04 Angus Leeming <leeming@lyx.org>
4130 * FloatList.h: move out #include "Floating.h".
4131 * LaTeX.h: move out #include "DepTable.h".
4132 * LyXAction.h: move out #include "funcrequest.h".
4133 * buffer.h: move out #include "author.h", "iterators.h".
4134 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4135 * lyx_main.h: move out #include "errorlist.h".
4136 * lyxfunc.h: move out #include "FuncStatus.h".
4137 * lyxtext: move out #include "lyxcursor.h".
4138 * paragraph_pimpl.h: move out #include "counters.h".
4140 2003-09-03 Angus Leeming <leeming@lyx.org>
4142 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4143 preamble_snippets list, enabling us to add snippets to the preamble
4144 only if the snippet was not there already.
4146 2003-09-04 Angus Leeming <leeming@lyx.org>
4148 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4150 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4152 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4155 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4157 * BranchList.C: point fix, earlier forgotten
4159 2003-09-02 Angus Leeming <leeming@lyx.org>
4161 * box.C (contains): renamed from 'contained' after a fantastic
4164 2003-09-02 John Levon <levon@movementarian.org>
4170 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4172 2003-09-02 John Levon <levon@movementarian.org>
4174 * text2.C: simplification of cursorEnd(), including partial
4177 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4179 * buffer.C (readFile): add a space
4181 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4183 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4185 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4187 * buffer.C (readFile): new function, take a filename and a
4188 ParagraphList::iterator
4190 (readFile): adjust, make it private. don't use setStream, make
4191 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4192 always contain the filename.
4194 * BufferView.C (insertLyXFile): simplify and make it work for
4197 2003-08-30 John Levon <levon@movementarian.org>
4199 * Makefile.am: fix dist (from Kayvan)
4201 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4203 * most files: change to use const Buffer refs
4205 2003-08-27 André Pönitz <poenitz@gmx.net>
4207 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4208 on top of ownerPar().
4210 2003-08-27 John Levon <levon@movementarian.org>
4212 * funcrequest.C: properly initialise POD members
4214 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4216 * lyxtext.h (top_y): move top_y from here
4221 * BufferView_pimpl.[Ch]: to here
4222 * frontends/screen.C:
4223 * insets/insettabular.C:
4224 * insets/insettext.C: adjust
4225 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4227 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4230 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4232 2003-08-26 André Pönitz <poenitz@gmx.net>
4234 * paragraph_func.[Ch] (outerPar): new function
4237 * paragraph_funcs.C:
4238 * paragraph_funcs.h:
4239 * paragraph_pimpl.C:
4240 * text2.C: remove Inset::par_owner
4242 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4247 * text2.C: eliminates the needFullRow/display() stuff
4248 altogether, putting the logic in metrics/draw in the insets.
4250 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4252 * text2.C (redoParagraphInternal, redoParagraphs):
4253 * text.C (redoParagraph): add a call to updateRowPositions at the
4254 end of each 'metrics-like' call. Remove all others.
4255 (getRow): remove the 'y-computing' version.
4256 (getRowNearY): do not compute nor return the real y. Solve the
4257 'y < 0' problem and simplify.
4259 2003-08-22 Angus Leeming <leeming@lyx.org>
4261 * *.[Ch]: clean-up of licence and author blurbs.
4262 Also move config.h out of a few .h files and into a few .C files.
4264 2003-08-22 André Pönitz <poenitz@gmx.net>
4266 * lyxrow.[Ch]: add x_ and *fill_ members
4271 * text2.C: adjust/remove prepareToPrint() calls
4273 2003-08-22 André Pönitz <poenitz@gmx.net>
4275 * lyxrow.[Ch]: add end_ member
4277 * lyxrow_funcs.C: use LyXRow::end_
4279 * lyxtext.h (singleWidth): add LyXFont parameter
4282 * text2.C: adjust LyXText::singleWidth() calls
4284 * text.C (redoParagraph): simplify row breaking logic
4287 2003-08-19 André Pönitz <poenitz@gmx.net>
4289 * funcrequest.C: initialize button_ member
4292 * rowpainter.[Ch]: interface consolidation
4294 2003-08-18 André Pönitz <poenitz@gmx.net>
4297 * BufferView_pimpl.C:
4299 * paragraph_funcs.C:
4301 * text3.C: remove LyXScreen::draw() and fitCursor calls
4303 * BranchList.h: remove spurious semicolons
4305 * MenuBackend.C: fix branchlist related crash
4307 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4315 * bufferparams.[Ch]:
4319 * text3.C: implements the 'branch inset'
4320 idea. This allows the output of various versions of a document
4321 from a single source version, selectively outputing or suppressing
4322 output of parts of the text.
4323 This implementation contains a 'branch list editor' in a separate
4324 tab of the document settings dialog. Branches are user definable
4325 and have a "display colour" to distinguish them on-screen.
4327 ColorHandler was somewhat cleaned up.
4328 (1) make possible a dynamically growing LColor list by allowing
4329 the graphic context cache to grow along (vector);
4330 (2) eliminate an IMHO unnecessary step in colour allocation.
4332 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4334 * BufferView_pimpl.C: compile fix
4336 2003-08-15 André Pönitz <poenitz@gmx.net>
4338 * rowpainter.C: remove extra metrics calls
4340 * lyxtext.h: merge the two constructors into a single one,
4341 pass reference to owner's par list
4343 * BufferView_pimpl.C:
4347 2003-08-15 André Pönitz <poenitz@gmx.net>
4349 * lyxrow_funcs.[Ch]:
4352 * paragraph_funcs.C:
4357 * text_funcs.C: split LyXText::rowlist_ into individual
4358 Paragraph::rows_ chunks
4361 * BufferView_pimpl.[Ch]:
4364 * text3.C: remove toggleSelection()
4366 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4368 * bufferlist.C: beautify two alerts (shorter text of buttons)
4369 * buffer.C: Remove redundant ' ' from message
4371 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4372 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4373 rename VALIGN_CENTER to VALIGN_MIDDLE
4375 2003-08-11 André Pönitz <poenitz@gmx.net>
4377 * lyxtext.h (getPar):
4378 * text.C: new function
4380 2003-08-11 André Pönitz <poenitz@gmx.net>
4383 * tracer.[Ch]: remove unneeded files
4385 * InsetList.[Ch]: remove resizeInsetsLyXText()
4390 * text3.C: merge insertParagraphs() and appendParagraph()
4391 remove breakAgain(), update()
4393 * BufferView_pimpl.[Ch]:
4394 * bufferview_funcs.[Ch]:
4398 * tabular.C: adjust after text & InsetList changes.
4400 2003-08-08 André Pönitz <poenitz@gmx.net>
4402 * text.C (insertChar, backspace): replace rowlist fiddling
4403 with rebreak of full par
4406 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4407 checkParagraph, updateInset): removed
4409 2003-08-07 André Pönitz <poenitz@gmx.net>
4412 * text3.C: merge some LFUN handlers, remove dead code
4414 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4416 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4418 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4420 * text2.C (DEPM): fix part of bug 1255 and 1256
4422 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4424 * BufferView_pimpl.C (workAreaDispatch): change to use
4425 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4426 that are no mouse related.
4428 2003-08-05 André Pönitz <poenitz@gmx.net>
4431 * BufferView_pimpl.[Ch]:
4432 * bufferview_funcs.C:
4434 * text3.C: rip out "deep update"
4436 * textcursor.[Ch] (last_sel_cursor): remove unused member
4438 2003-08-04 André Pönitz <poenitz@gmx.net>
4441 * BufferView_pimpl.[Ch]:
4442 * ParagraphParameters.C:
4443 * bufferview_funcs.C:
4449 * text3.C: replace "complicated" BufferView::update(...) calls with
4452 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4454 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4456 * Makefile.am (lyx_SOURCES): add paper.h
4458 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4460 * Makefile.am: move things around so that both lyx-qt and
4461 lyx-xforms can be built (according to --with-frontend). Then lyx
4462 is a symbolic link to lyx-[firstfrontend]
4464 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4466 * Always use std::endl with lyxerr
4468 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4470 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4472 2003-08-01 André Pönitz <poenitz@gmx.net>
4475 * BufferView_pimpl.[Ch]:
4477 * text3.C: merge BufferView::repaint() and BufferView::update()
4479 2003-08-01 José Matos <jamatos@lyx.org>
4481 * buffer.[Ch]: file_format is no longer a buffer data element.
4483 2003-08-01 André Pönitz <poenitz@gmx.net>
4488 * text2.C: make redoParagraph more independent of current cursor
4490 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4492 * text2.C: remove unneeded members
4494 2003-07-30 André Pönitz <poenitz@gmx.net>
4496 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4498 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4499 create a single function...
4501 * paragraph_funcs.C (moveItem): ... here.
4504 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4506 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4508 * LColor.[Ch]: Add comment and greyedout logical colors.
4510 2003-07-30 André Pönitz <poenitz@gmx.net>
4512 * tabular.C: don't use Assert too heavily. This crashes where it
4515 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4517 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4518 is disabled (bug 1232)
4520 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4522 * factory.C: limited 'arg' scope
4524 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4526 * factory.C: fixed Note submenu issues
4528 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4530 * factory.C: submenu for Note/Comment/Greyedout
4532 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4535 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4537 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4540 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4541 greyedout. Patch provided by Jürgen Spitzmüller.
4543 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4545 * kbmap.C (read): fix error message when reading bind files
4547 2003-07-29 Angus Leeming <leeming@lyx.org>
4549 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4550 certainly does not do what it purports to do. I am doing it, and
4551 us, a favour by killing it.
4553 2003-07-28 José Matos <jamatos@lyx.org>
4555 * buffer.C (readBody, do_writeFile):
4556 * paragraph.C(readParagraph): \end_document replaces \the_end.
4558 2003-07-29 André Pönitz <poenitz@gmx.net>
4561 * BufferView_pimpl.[Ch]:
4565 * textcursor.[Ch]: remove toggleToggle & Co
4567 2003-07-28 José Matos <jamatos@fep.up.pt>
4569 * buffer.C (readParagraph):
4570 * params_func (readParToken, readParagraph):
4571 * paragraph.C (write): \layout -> \begin_layout.
4573 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4575 * lyxlex_pimpl.C (setFile): clean up slightly.
4577 * bufferparams.h: add compressed var
4579 * buffer_funcs.C (readFile): adjust for LyXLex change
4580 (newFile): ditto + simplify
4582 * buffer.C (writeFile): handle writing of compressed files
4584 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4585 Check if the file is compressed and set a bufferparm if so.
4587 * Makefile.am (lyx_LDADD): remove explicit -lz
4589 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4591 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4592 makeDocBookFile): put the real LyX version in the first line of
4596 * version.C.in: remove lyx_docversion
4598 * tabular.C (write_attribute): add a template-based version to
4599 write enums properly
4601 2003-07-28 André Pönitz <poenitz@gmx.net>
4606 * text3.C: use doubles again for x-coordinates. They are needed.
4608 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4610 * messages.C (getLocaleDir): use lyx_localedir()
4612 * lyxlex_pimpl.C (setFile): compress stuff
4614 * buffer.C (writeFile): add some compression stuff
4615 (do_writeFile): new func, dont call expliti close... will this
4618 * Makefile.am (lyx_LDADD): add -lz
4620 2003-07-28 José Matos <jamatos@fep.up.pt>
4622 * buffer.C: increment file format.
4623 * paragraph_funcs (readParagraph, readParToken):
4624 * paragraph.C (readParagraph): add \end_layout.
4626 2003-07-27 Angus Leeming <leeming@lyx.org>
4628 * Makefile.am: remove special casing for configure-time setting of
4629 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4631 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4632 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4634 2003-07-26 André Pönitz <poenitz@gmx.net>
4636 * paragraph_func.[Ch]:
4637 * paragraph.C (realizeFont): inline it whereever it is used
4642 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4645 2003-07-26 André Pönitz <poenitz@gmx.net>
4649 * text2.C: get rid of LyXText::need_break_row
4651 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4653 * toc.[Ch]: put namespace toc inside namespace lyx
4655 * MenuBackend.C (expandToc2): adjust for lyx::toc
4658 * lyxfunc.C (dispatch): adjust for lyx::find
4660 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4661 lyx::find instead. Reorganize a bit.
4662 (LyXReplace): rename to replace
4663 (LyXFind): rename to find
4665 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4668 2003-07-26 André Pönitz <poenitz@gmx.net>
4670 * text.C (setHeightOfRow): restrict scope of temporary variable
4672 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4673 code (never has been used?)
4675 2003-07-27 Asger Alstrup <alstrup@local>
4677 * text.C (fill): Optimise algorithm to exploit that we can reuse
4678 the LyXFont for many characters.
4679 (setHeightOfRow): Same thing.
4680 (rowBreakPoint): Same thing.
4682 2003-07-26 Asger Alstrup <alstrup@local>
4684 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4686 * text.C (singleWidth): Spurious font copying in hot-spot
4687 singleWidth avoided. Reorder tests for arabic for efficiency.
4689 * text.C (fill): handle empty paragraphs better.
4691 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4694 * encoding.h: add includes
4696 * lyxrc.C: remove reading of bind files
4698 * lyx_main.C (init): setup bindings and menus only if we have a
4701 * kbmap.C (read): new method. Do the actual reading of bind
4704 * converter.C (dvipdfm_options):
4707 (output): adapt PAPER_* enums.
4709 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4711 * bufferparams.h: remove paper-related enums from there
4713 * paper.h: New file. A trivial header file to hold paper-related
4714 enums. It should later expand to contain many paper-related
4717 * lyxrc.C: declare extern displayTranslator
4719 2003-07-27 José Matos <jamatos@fep.up.pt>
4721 * tabular.[Ch] (linuxdoc): add support for tables and figures
4724 2003-07-27 José Matos <jamatos@fep.up.pt>
4726 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4727 consistency in both functions.
4728 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4730 2003-07-26 Asger Alstrup <alstrup@local>
4732 * rowpainter.C (paintRows): Change algorithm to work directly on
4733 the insets rather than asking every character in the document
4734 whether its an inset.
4736 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4738 * buffer.C (openFileWrite): factorize some code
4740 2003-07-26 Angus Leeming <leeming@lyx.org>
4743 * lyx_main.[Ch]: replace occurances of system_tempdir with
4746 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4748 * rename Inset to InsetOld
4750 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4752 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4753 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4754 which I think is a bit clearer. EDIT is gone, since it was
4755 premature optimisation, and broken for mathed anyway.
4756 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4757 with cursor positioning in insets as well (math insets still do not
4758 work, but that's a different story anyway.) It mysteriously
4759 crashes sometimes with undo in the first paragraph, but I'm fairly
4760 confident that this is a compiler bug.
4762 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4764 * paragraph.C (Paragraph): adjust for new clone return type
4766 (copyIntoMinibuffer): ditto
4768 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4770 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4771 by not having a special case, and always doing a full rebreak of
4772 the document after undo.
4774 2003-07-23 Angus Leeming <leeming@lyx.org>
4776 * factory.C (createInset): InsetExternal::setParams now takes a
4779 2003-07-23 Angus Leeming <leeming@lyx.org>
4781 * factory.C (createInset): changed interface to the external and
4782 graphics mailers' string2params functions.
4784 2003-07-23 Angus Leeming <leeming@lyx.org>
4786 * factory.C (createInset): pass a
4787 Buffer const * parameter to InsetExternalMailer's string2params.
4789 2003-07-22 John Levon <levon@movementarian.org>
4791 * Thesaurus.h: include the right aiksaurus header
4793 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4795 * MenuBackend.C (expand): check menu shortcuts unconditionally
4797 2003-07-21 Angus Leeming <leeming@lyx.org>
4799 * factory.C (createInset): pass a
4800 buffer_path parameter to InsetGraphicsMailer's string2params.
4802 2003-07-21 Angus Leeming <leeming@lyx.org>
4804 * BufferView_pimpl.C (buffer):
4807 * lyxfunc.C (dispatch):
4808 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4809 rather than the grfx shortcut.
4811 2003-07-21 André Pönitz <poenitz@gmx.net>
4813 * rowpainter.C: remove unused variables
4816 * tabular_funcs.h: move to tabular.C
4817 * Makefile.am: adjust
4819 * tabular.[Ch]: basic optical cleaning
4821 * author.h: pass references, not values
4823 2003-07-18 André Pönitz <poenitz@gmx.net>
4831 * text3.C: two-phase drawing for InsetText and InsetTabular
4832 some float -> int changes.
4834 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4836 * lyx_main.C: fix the fix
4838 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4840 * lyx_main.C: fix a crash in batch mode if no files specified
4843 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4845 * format.[Ch] (papersize): moved to BufferParams
4846 * converter.[Ch] (dvips_options): moved to BufferParams
4847 (dvipdfm_options): moved to anon namespace
4848 * bufferparams.[Ch]: added above functions.
4850 2003-07-17 André Pönitz <poenitz@gmx.net>
4854 * text2.C: don't call inset->update() anymore
4856 * metricsinfo.[Ch]: add convenience constructor
4858 2003-07-16 André Pönitz <poenitz@gmx.net>
4863 * text2.C: replace the LyXCursor::irow_ member with
4864 on-demand computation of the value
4866 2003-07-16 John Levon <levon@movementarian.org>
4868 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4870 2003-07-15 André Pönitz <poenitz@gmx.net>
4873 * text2.C: remove no more needed refresh_row
4875 2003-07-15 André Pönitz <poenitz@gmx.net>
4880 * text3.C: refresh_status tristate -> need_update bool
4882 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4884 * lyxtext.h (init): remove reinit argument (act as if always true)
4885 * text2.C: adjust to that
4887 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4889 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4890 * text3.C: use it to delete selections in some cases
4891 (bugs 441, 673, 702, 954).
4893 2003-07-14 André Pönitz <poenitz@gmx.net>
4895 * rowpainter.[Ch]: reduce interface
4897 2003-07-14 André Pönitz <poenitz@gmx.net>
4899 * BufferView_pimpl.C:
4900 * text2.C: adjust after removing unused BufferView * argument
4902 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4904 * text2.C (init): fix a crash fired on resize
4906 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4908 * buffer.[Ch]: added new closing signal
4909 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4910 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4911 BufferView::Pimpl via the closing the signal
4913 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4915 * buffer.[Ch]: take out all bv-related from buffer
4917 * BufferView_pimpl.[Ch]: connect to new signals
4918 * CutAndPaste.C: removed useless asserts
4919 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4922 * lyxfunc.C: moved view-related funciontality from vc here
4923 * paragraph.C: removed outdated comments
4926 2003-07-10 André Pönitz <poenitz@gmx.net>
4928 * BufferView_pimpl.C:
4932 * text2.C: remove InsetText::InnerCache, clean up consequences
4934 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4936 * ispell.C: fix two typos in error messages
4938 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4940 * Extend Note inset to other forms of annotation like Comment
4941 and Greyedout. Right button click gives dialog.
4943 Files modified or added (+):
4947 * ControlNote.[Ch] +
4949 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4950 frontends/controllers
4954 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4956 * aspell.C: add missing namespace lyx::support
4958 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4960 * BufferView.[Ch] (newFile): Add
4961 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4962 * LaTeX.[Ch] (message): added this signal and use it
4963 * buffer.[Ch] (busy, message): added these signals and use them
4964 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4968 * importer.C: use buffer signals instead of direct bv calling
4969 * lyx_cb.[Ch] (ShowMessage): removed
4972 * paragraph_funcs.C:
4973 * text2.C: use buffer signals
4975 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4977 * introduce namespace lyx::graphics
4979 2003-07-02 André Pönitz <poenitz@gmx.net>
4981 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4983 2003-07-01 André Pönitz <poenitz@gmx.net>
4990 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4991 text*.C to text_func.C
4993 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4995 * introduce namespace lyx::support
4997 2003-06-30 André Pönitz <poenitz@gmx.net>
5002 * text.C: re-enable --with-included-string
5004 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5006 * textcursor.C: add <config.h>
5008 * text.C (getWord): remove const from word_location arg
5010 * lyxvc.C (getLogFile): fix const type order
5012 * lyxtext.h: remove const from word_location arg, add arg name
5014 * lyxlayout.h: currect type on labeltype.
5016 * importer.C: correct \file
5018 * converter.C (intToFormat): use std:: on ret val, ws changes
5020 * bufferlist.h: correct \file
5022 * buffer.C (makeLinuxDocFile): fix const type order
5023 (makeDocBookFile): ditto
5024 (fillWithBibKeys): use std:: on stdlib args.
5026 * CutAndPaste.C: fix authors.
5027 (availableSelections): use std:: on return vector
5029 2003-06-27 André Pönitz <poenitz@gmx.net>
5031 * BufferView_pimpl.C:
5032 * bufferview_funcs.C:
5040 * text3.C: remove LyXCursor::row_ member
5043 * text.C: rename fullRebreak() to partialRebreak() and implement
5044 a fullRebreak() that really bereks fully
5046 * textcursor.h: new struct for cursor-related data
5048 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5050 * lyx_main.C (LyX): get full path of document loaded on the
5053 2003-06-26 André Pönitz <poenitz@gmx.net>
5055 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5056 remove unused/broken operator>,<,>=.
5058 * text.C: remove only use of broken operator<= in an Assert().
5060 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5062 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5063 moved errorlist_.clear to showErrorList
5065 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5067 * converter.C (scanLog, runLaTeX):
5068 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5069 move the bv->showErrorList call to the callers
5070 * lyxfunc.C: i.e. here...
5072 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5073 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5074 namespace, the second to...
5075 * buffer_funcs (BufferFormat, parseErrors): added
5076 * errorlist.C (ErrorList(TeXErrors const &)): removed
5078 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5080 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5082 2003-06-24 "Garst R. Reese" <reese@isn.net>
5086 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5088 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5090 * version.C.in: change docversion to 1.4
5092 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5094 * buffer.C: fix a bug just introduced
5096 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5098 * buffer.[Ch]: added the parseError signal and use it, removed
5100 * BufferView.[Ch] (addError): moved to ...
5101 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5102 to the Buffer::parseError signal to catch (guess what) parse errors
5103 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5105 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5107 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5108 ability to create a buffer and to return an existing one from
5109 the list. Moved these functions to...
5110 * buffer_funcs.[Ch]: added
5111 * BufferView.[Ch] (loadLyXFile): added
5112 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5113 job removed from bufferlist::loadLyXFile.
5114 * buffer.C (setReadOnly): make it work without view
5115 (i.e added an if (users))
5117 2003-06-19 Angus Leeming <leeming@lyx.org>
5120 * LyXAction.C (init):
5121 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5122 with LFUN_DIALOG_SHOW <name> <data>.
5124 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5126 * CutAndPaste.C (availableSelections): small compilation fix for
5127 ancient (gcc 2.9x) compilers
5129 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5131 * text3.C (cursorNext): add tmp var
5133 * text2.C (updateCounters): for function calling out of for clause
5134 (replaceSelectionWithString): ditto
5135 (insertStringAsParagraphs): ditto
5136 (getColumnNearX): add tmp var
5137 (setCursorFromCoordinates): add tmp var
5138 (cursorDownParagraph): add tmp var
5139 (deleteEmptyParagraphMechanism): add tmp var
5141 * text.C (insertChar): add tmp var
5143 * rowpainter.C (paintDepthBar): add tmp var
5145 * CutAndPaste.C (availableSelections): potentially check all
5146 paragraphs in a cut to fill the shown strings.
5148 2003-06-18 André Pönitz <poenitz@gmx.net>
5150 * kbmap.[Ch]: use vector<> instead of list<>
5152 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5154 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5155 pasteSelection with index
5157 * text2.C (pasteSelection): modify, call pasteSelection with index
5159 * paragraph.C (asString): reimplement version with no interval to
5160 call the one with interval.
5162 * lyxtext.h: add index arg to pasteSelection
5164 * MenuBackend.C (MenuItem): handle PasteRecent
5165 (Menu::read::Menutags): add md_pasterecent
5167 (expandPasteRecent): new function
5170 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5172 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5174 (availableSelections): new function
5176 2003-06-17 Angus Leeming <leeming@lyx.org>
5178 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5180 2003-06-17 Angus Leeming <leeming@lyx.org>
5183 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5185 * lyxfunc.C (dispatch): invoke it.
5187 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5189 * iterators.C (operator++, ParPosition): reintroduce some
5190 const_cast for the benefit of older compilers.
5192 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5194 * text3.C (dispatch): do not modify clipboard when doing
5195 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5196 LFUN_DELETE_SKIP on a selection selection
5198 2003-06-16 André Pönitz <poenitz@gmx.net>
5204 * tabular.[Ch]: IU of clone() and getLabelList();
5206 2003-06-13 André Pönitz <poenitz@gmx.net>
5208 * tabular.h: compactification
5210 2003-06-12 André Pönitz <poenitz@gmx.net>
5214 * tabular_funcs.h: some renaming plus whitespace
5216 2003-06-12 André Pönitz <poenitz@gmx.net>
5219 * BufferView_pimpl.C:
5225 * toc.C: Return a Paragraph & for ParIterator::operator*()
5227 2003-06-11 John Levon <levon@movementarian.org>
5231 * ToolbarBackend.C: add "Toolbars" section and
5234 2003-06-10 Angus Leeming <leeming@lyx.org>
5237 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5239 * lyxfunc.C (dispatch): invoke it.
5241 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5243 * main.C: protect <ios> with HAVE_IOS
5244 (main): protect sync_with_stdio with HAVE_IOS
5246 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5248 * text2.C (cutSelection): adjust
5249 (pasteSelection): adjust
5251 * messages.C: handle get of empty string
5253 * main.C (main): use sync_with_stdio(false)
5255 * lyxfunc.C (dispatch): adjust
5257 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5258 (WriteAs): remove unneeded BufferView arg.
5260 * bufferparams.h: use correct types on papersize, papersize2 and
5263 * bufferparams.C (readToken): adjust for type
5264 (writeLaTeX): add missing cases to switch.
5266 * bufferlist.C (quitWriteBuffer): adjust
5269 * buffer.C (asciiParagraph): remove some commented code.
5271 * CutAndPaste.C: remove current_view extern variable.
5272 (cutSelection): add BufferParams arg.
5273 (eraseSelection): add BufferParams arg.
5274 (pasteSelection): add Buffer const & arg
5276 2003-06-07 John Levon <levon@movementarian.org>
5279 * paragraph_funcs.C:
5280 * paragraph_pimpl.C:
5284 * paragraph.C: allow InsetERT to freely space lines,
5285 and some consolidation of code
5287 2003-06-06 José Matos <jamatos@fep.up.pt>
5289 * buffer.C (makeDocBookFile): fix bug #821
5291 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5293 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5295 2003-06-04 Angus Leeming <leeming@lyx.org>
5297 * buffer.C: bump format to 224.
5299 2003-06-05 André Pönitz <poenitz@gmx.net>
5301 * text2.C (redoParagraphs): remove two const_cast<>
5303 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5305 * ParagraphList.h: remove last remnants of NO_STD_LIST
5307 2003-06-03 Angus Leeming <leeming@lyx.org>
5309 * factory.C (createInset): small change to the way InsetExternal's params
5312 2003-06-04 André Pönitz <poenitz@gmx.net>
5314 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5316 * paragraph_pimpl.h:
5317 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5319 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5321 * undo_funcs.C: make some simple cases of undo work again
5323 2003-06-03 John Levon <levon@movementarian.org>
5325 * ispell.C: HPUX doesn't have sys/select.h
5328 2003-06-03 John Levon <levon@movementarian.org>
5330 * CutAndPaste.C: update tabular and include inset
5335 * paragraph.C: remove owningBuffer(), don't pass Buffer
5338 * factory.C: insetGraphicsParams changed
5340 2003-06-02 John Levon <levon@movementarian.org>
5346 * text3.C: remove insetparent
5348 2003-06-02 John Levon <levon@movementarian.org>
5351 * buffer.C: fix inset_iterator.end(), move out of line
5354 2003-06-01 John Levon <levon@movementarian.org>
5356 * text3.C: use a proper cut/paste when doing inset
5357 insert (from Jürgen Spitzmüller)
5359 2003-06-01 John Levon <levon@movementarian.org>
5361 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5363 2003-05-30 André Pönitz <poenitz@gmx.net>
5365 * rowpainter.C: unify second drawing phase
5367 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5369 * trans_mgr.C: remove one case of current_view
5371 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5373 * paragraph_funcs.h: remove paragraph.h include
5375 * paragraph.h: delete NO_STD_LIST stuff
5377 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5379 * buffer.h: remove paragraph.h include
5381 * ParagraphList.C: delete file
5383 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5385 * toc.C (getTocList): adjust
5387 * paragraph_pimpl.C (validate): adjust
5389 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5391 * paragraph.C (Paragraph): adjust
5392 (getPositionOfInset): use const_iterator, adjust
5393 (bibitem): use const_iterator, adjust
5394 (setInsetOwner): adjust
5396 * iterators.C (operator++): adjust
5398 * InsetList.[Ch]: Replace selfmade iterator with standard
5399 vector::iterator also introduce const_iterator. Remove getPos,
5400 getInset and setInset from InsetTable. Adjust accordingly.
5402 * BufferView.C (lockInset): adjust
5403 (ChangeInsets): adjust
5405 * tabular.[Ch]: delete commented same_id functions
5407 2003-05-28 John Levon <levon@movementarian.org>
5409 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5411 2003-05-28 André Pönitz <poenitz@gmx.net>
5413 * metricsinfo.[Ch]: remove 'fullredraw' member
5415 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5417 * lyxtextclass.C (operator): remove caching.
5419 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5423 * text2.C (cursorBottom): adjust
5424 (setCounter): use ParagraphList::find, adjust
5426 * text.C (workWidth): use ParagraphList::find, adjust
5428 * lyxcursor.C (LyXCursor): adjust
5430 * buffer.C (inset_iterator): adjust
5432 * ParagraphList.h: make iterator(value_type) private, make
5433 ParagraphList a friend of iterator.
5435 * ParagraphList.C (find): new function
5437 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5439 2003-05-27 André Pönitz <poenitz@gmx.net>
5441 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5443 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5445 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5447 2003-05-26 John Levon <levon@movementarian.org>
5449 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5451 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5453 * remove same_id from function signatures, adjust.
5455 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5457 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5459 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5461 * paragraph.C (Paragraph): get rid of same_ids parameter
5463 * ParagraphList.C (insert): adjust
5466 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5468 * paragraph_funcs.C (breakParagraph): adjust
5469 (breakParagraphConservative): adjust
5471 * buffer.C (readParagraph): adjust
5473 * ParagraphList.C (insert): take a reference instead of a pointer
5476 * paragraph.[Ch] (id): new function
5478 * bufferlist.C (newFile): adjust
5480 * ParagraphList.C (ParagraphList): adjust
5482 (push_back): take a reference instead of a pointer.
5484 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5486 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5489 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5490 set else use old code.
5492 * ParagraphList.C: remove all NO_NEXT code and only compile this
5493 code of NO_STD_LIST is set.
5495 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5497 * BufferView_pimpl.C:
5507 * graphics/GraphicsConverter.C:
5508 * graphics/PreviewLoader.C: header adjustment
5510 2003-05-23 Angus Leeming <leeming@lyx.org>
5512 * LaTeXFeatures.[Ch] (useBabel): new method.
5513 * bufferparams.C (writeLaTeX): use it.
5515 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5517 * ParagraphList.h (set): remove unused function.
5519 2003-05-23 André Pönitz <poenitz@gmx.net>
5522 * BufferView_pimpl.C:
5526 * undo_funcs.C: setUndo reworked
5528 * iterators.[Ch]: add access to topmost ParagraphList
5530 * lyxtext.[Ch] (workWidth): add a const
5532 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5534 * texrow.[Ch] (increasePos): remove function
5535 * exporter.C (export): removed unused var and outdated comment
5537 2003-05-23 Angus Leeming <leeming@lyx.org>
5539 * latexrunparams.h: rename fragile as moving_arg.
5540 * paragraph.C (simpleTeXOnePar): ditto.
5541 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5543 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5545 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5547 (textUndoOrRedo): comment out a currently unused var.
5549 * paragraph.h (NO_NEXT): enable NO_NEXT
5551 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5553 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5555 * exporter.C (Export): adjust for removeAutoInsets removal.
5557 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5559 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5561 * BufferView.[Ch] (removeAutoInsets): delete function
5563 2003-05-22 Angus Leeming <leeming@lyx.org>
5565 * latexrunparams.h: add a free_spacing variable.
5567 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5568 to pass moving_arg, as the data is stored in runparams.fragile.
5570 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5571 to Inset::latexOptional or to simpleTeXOnePar.
5573 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5574 free_spacing arg to Inset::latexOptional.
5576 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5579 2003-05-22 Angus Leeming <leeming@lyx.org>
5581 * latexrunparams.h: add fragile and use_babel variables.
5583 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5584 * buffer.C (makeLaTeXFile): store this returned value in
5585 runparams.use_babel, thus passing it to the inset::latex methods.
5587 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5588 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5590 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5591 longer has a fragile arg, as it is stored in runparams.fragile.
5593 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5594 moving_arg parameter as the data is stored in runparams.fragile.
5596 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5597 a fragile parameter as the data is stored in runparams.fragile.
5599 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5601 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5603 2003-05-22 Angus Leeming <leeming@lyx.org>
5605 * latexrunparams.h: add a 'bool nice' which defaults to false.
5607 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5608 now encapsulated within runparams.
5610 * bufferlist.C (updateIncludedTeXfiles):
5611 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5613 2003-05-22 Angus Leeming <leeming@lyx.org>
5615 * latexrunparams.h: new file containing struct LatexRunParams.
5616 * Makefile.am: add new file.
5618 * LaTeX.[Ch] (c-tor, run):
5619 * buffer.[Ch] (makeLaTeXFile):
5620 * bufferlist.[Ch] (updateIncludedTeXfiles):
5621 * converter.C (convert, scanLog):
5622 * converter.[Ch] (runLaTeX):
5623 * exporter.C (Export):
5624 * paragraph.[Ch] (simpleTeXOnePar):
5625 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5626 * paragraph_funcs.[Ch] (latexParagraphs):
5627 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5628 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5629 pass around a LatexRunParams parameter.
5631 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5633 * paragraph.[Ch]: remove unused constructor
5635 * ParagraphList.C (erase): new function, taking two iterators
5637 2003-05-22 André Pönitz <poenitz@gmx.net>
5639 * undo_funcs.C: remove duplicated code
5641 * iterator.[Ch]: operator=
5643 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5645 * tabular.C (SetMultiColumn): ws changes
5647 * rowpainter.C (paintFirst): get rid of a ->previous
5649 * lyx_cb.C (getPossibleLabel): parlist simplification
5651 * BufferView.C (ChangeInsets): simplify slightly.
5653 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5655 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5656 * lfuns.h: new LFUN_SPACE
5657 * lyxfunc.C: protected space has a new lfun
5658 * paragraph_funcs.C: read new space insets
5660 * factory.C: handle new space insets
5662 2003-05-22 André Pönitz <poenitz@gmx.net>
5665 * BufferView_pimpl.C:
5668 * undo_funcs.C: return a ParIterator from getParFromID.
5670 * iterators.[Ch]: add two const's
5672 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5674 * toc.C (getTocList): adjust
5676 * iterators.[Ch]: rework for parlist
5678 * buffer.C (par_iterator_begin): adjust
5679 (par_iterator_end): adjust
5681 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5683 * BufferView.C (removeAutoInsets): adjust
5684 (ChangeInsets): adjust
5686 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5688 * text.C (top_y): fix bug 1110
5690 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5692 * errorlist.[Ch]: added
5695 * BufferView_pimpl.C:
5696 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5699 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5701 * Makefile.am: ensure that lyx is relinked upon changes to the
5702 various "convenience" libs.
5704 2003-05-20 Angus Leeming <leeming@lyx.org>
5706 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5707 files are compiled in alphabetical order again.
5709 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5711 2003-05-19 Angus Leeming <leeming@lyx.org>
5713 * gettext.[Ch]: remove "char const * _(char const *)".
5715 2003-05-19 André Pönitz <poenitz@gmx.net>
5717 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5726 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5728 2003-05-19 André Pönitz <poenitz@gmx.net>
5732 * lyxtextclass.[Ch]:
5734 * paragraph_funcs.[Ch]:
5736 * text3.C: more insetenv work
5738 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5740 * ParagraphParameters.C (params2string): small bug fixed
5742 2003-05-16 André Pönitz <poenitz@gmx.net>
5745 * bufferview_funcs.C: patch from Kornel Benko to prevent
5746 crash when _(...) is called twice in a statement
5748 2003-05-16 André Pönitz <poenitz@gmx.net>
5755 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5757 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5759 * lyx_main.C (init): remove spurious static_cast
5761 2003-05-14 André Pönitz <poenitz@gmx.net>
5763 * BufferView.C: fix format string
5765 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5767 * BufferView.[Ch] (insertErrors): removed
5768 * BufferView.[Ch] (showErrorList): added
5769 * buffer.C (runChkTeX):
5770 * converter.C (scanLog): call showErrorList instead of inserterrors
5772 2003-05-13 André Pönitz <poenitz@gmx.net>
5774 * BufferView_pimpl.C:
5776 * bufferview_func.C:
5783 * tabular_funcs.h: tostr() from its own header
5785 * ParagraphParameters.C:
5790 * text3.C: STRCONV()
5792 2003-05-12 André Pönitz <poenitz@gmx.net>
5795 * BufferView_pimpl.C:
5799 * ParagraphParameters.C:
5803 * bufferview_funcs.C:
5816 * paragraph_funcs.C:
5820 * text3.C: boost::format -> bformat all over the place
5823 2003-05-09 André Pönitz <poenitz@gmx.net>
5825 * LColor.[Ch]: Pimpl the #include <map> away
5827 2003-05-09 John Levon <levon@movementarian.org>
5829 * bufferlist.C: never remove emergency saves
5831 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5833 * Makefile.am: better lib building
5835 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5837 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5839 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5840 (simpleTeXSpecialChars): adjust
5841 (simpleTeXSpecialChars): adjust
5842 * paragraph.C (simpleTeXOnePar): adjust
5843 * buffer.C (makeLaTeXFile): adjust
5845 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5847 * text2.C (changeDepth): parlist cleanup
5848 (getColumnNearX): ditto
5850 * rowpainter.C (getLabelFont): parlist cleanup
5852 * bufferlist.C (newFile): parlist cleanup
5854 * CutAndPaste.C (eraseSelection): parlist cleanup
5856 * BufferView_pimpl.C (trackChanges): parlist cleanup
5859 * BufferView.C (lockInset): parlist cleanup.
5860 (ChangeInsets): ditto
5862 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5864 * CutAndPaste.h: Update file header.
5866 * CutAndPaste.C: Update file header.
5867 Store the parts cut out of the Document in a limited_stack.
5868 (copySelection): adjust
5869 (pasteSelection): new function, takes the index in the limited stack.
5870 (nrOfParagraphs): adjust
5871 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5872 simplify error inset insertion.
5873 (checkPastePossible): adjust
5875 2003-05-06 John Levon <levon@movementarian.org>
5877 * text2.C: don't cast wrap inset to float
5879 2003-05-05 André Pönitz <poenitz@gmx.net>
5882 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5884 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5885 few naked Paragraph *.
5887 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5889 * bufferparams.C: Output warning if a document with missing
5890 TeX document class is loaded
5891 * exporter.C: Disable TeX exports if the document class is missing
5894 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5895 isTeXClassAvailable()
5897 2003-05-03 John Levon <levon@movementarian.org>
5900 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5901 explicit cursor show/hide
5903 * BufferView_pimpl.h:
5904 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5905 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5907 * lyxfunc.C: hide cursor before dispatching.
5912 * text3.C: remove explicit cursor hides
5914 2003-05-02 André Pönitz <poenitz@gmx.net>
5916 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5919 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5922 * text2.C: tiny whitespace
5924 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5926 * undo_funcs.C: almost only ws changes.
5928 * ParagraphList.C (splice): just return if pl is empty.
5930 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5932 * ParagraphList.C (splice): new function.
5934 * CutAndPaste.C (pasteSelection): use it
5936 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5938 * CutAndPaste.C (pasteSelection): remove the last next and
5939 previous from this file.
5941 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5943 * CutAndPaste.C (pasteSelection): more clean up, user proper
5944 ParagraphList functions for pasteing.
5946 * ParagraphList.C (insert): new function, three arg insert
5948 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5950 * ParagraphList.C (insert): new function, three arg insert
5952 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5955 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5957 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5959 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5961 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5963 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5965 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5966 (copySelection): clean up a bit.
5967 (pasteSelection): use make_pair
5969 * ParagraphList.C (ParagraphList): implement copy constructor
5970 (operator=): implement, base on copy constructor.
5973 * paragraph.C (erase): return a bool
5975 * paragraph_pimpl.C (erasePos): remove function, move contents...
5976 (erase): ... here. Return a bool.
5977 (erase): call erase instead of erasePos.
5979 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5981 * ParagraphList.h: define PitPosPair
5982 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5983 ParagraphList, fix a bug on pasting multiple pars
5984 * text2.C: change interface to C&P
5986 2003-04-30 André Pönitz <poenitz@gmx.net>
5988 * undo_func.C: revert part of yesterday's patch 2
5990 2003-04-30 John Levon <levon@movementarian.org>
5992 * LColor.C: s/tabular/table/
5994 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5996 * text3.C (dispatch): do not convert iterator -> pointer
5997 * undo_funcs.C (setCursorParUndo): ditto
5998 * text_funcs.C (transposeChars): ditto
6000 * text2.C (setLayout): ws changes only
6002 * text.C (breakParagraph): do not convert iterator -> pointer
6004 (acceptChange): ditto
6005 (rejectChange): ditto
6010 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6013 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6015 * text3.C (gotoInset): YABG (yet another bad getChar)
6017 2003-04-29 André Pönitz <poenitz@gmx.net>
6019 * paragraph.h: make operator= private unimplemented as long as
6022 * ParagraphList.C: whitespace
6025 * paragraph_pimpl.[Ch]:
6026 * paragraph_funcs.C:
6028 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6031 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6033 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6035 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6036 * paragraph.[Ch] (erase):
6037 * paragraph_pimpl.[Ch] (erase): change return type and value
6038 * text2.C (cutSelection): some rework
6040 2003-04-28 John Levon <levon@movementarian.org>
6042 * bufferlist.C: changes for unsaved changes dialog
6044 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6046 * bufferlist.C (newFile): set language (messages_) for new
6049 * buffer.C (readFile): ws changes only.
6051 2003-04-28 André Pönitz <poenitz@gmx.net>
6056 * BufferView_pimpl.C:
6057 * BufferView.C: getParFromID related ParagraphList::iterator changes
6059 2003-04-28 André Pönitz <poenitz@gmx.net>
6061 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6064 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6066 * messages.C: remove one more localedir class variable.
6068 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6070 * messages.C (getLocaleDir): singleton generation function
6072 (Messages): add a default constructor.
6074 * main.C (main): do not setup localedir here, do not call
6077 * gettext.C (_): use it.
6078 (gettext_init): delete funciton
6080 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6082 * gettext.C (getLyXMessages): new singleton generating function.
6084 * buffer.C (updateDocLang): adjust
6086 * Makefile.am (messages.o): add target
6087 (main.o): remove target
6089 2003-04-27 John Levon <levon@movementarian.org>
6094 * lyxvc.C: specify cancel button in Alert::prompt
6096 2003-04-26 John Levon <levon@movementarian.org>
6101 * LyXAction.C: add LFUN_INSET_SETTINGS
6103 * lyxfunc.C: don't enable tabular-feature when there's
6104 just any locking inset
6106 2003-04-26 John Levon <levon@movementarian.org>
6108 * bufferlist.C: re-add Cancel to buffer close question
6110 * lyxfunc.C: fix import UI a bit
6112 2003-04-25 John Levon <levon@movementarian.org>
6114 * gettext.C: remove the broken asserts for now
6116 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6118 * messages.C: make case where setlocale cannot comply work better.
6120 * buffer.C (updateDocLang): new function
6121 (changeLanguage): use it
6124 * text2.C (setCounter): use B_ a bit.
6126 * lyxlayout.C (Read): be sure to trim the label strings.
6128 * messages.C (Messages): fix typo in comment
6130 * buffer.C (readFile): set message_ after file is loaded.
6131 (makeDocBookFile): remove double return
6132 (changeLanguage): reset message_ upon language change.
6133 (B_): new func, use this to get translated buffer strings.
6135 * main.C: add myself and Jean Marc as authors.
6137 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6139 * messages.[hC]: pimplify Messages, and three different pimpls to be
6140 used in different circumstances.
6142 * gettext.[Ch]: change for use with new message code.
6144 2003-04-24 André Pönitz <poenitz@gmx.net>
6146 * factory.C: support for eqref
6148 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6150 * messages.[Ch]: add missing char
6152 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6154 * messages.[Ch]: New files
6156 2003-04-18 John Levon <levon@movementarian.org>
6160 * BufferView_pimpl.C:
6164 * text2.C: remove layout-copy/paste (bug 778)
6166 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6168 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6170 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6172 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6173 if they succeed. Act accordingly.
6175 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6177 * text2.C (setCharFont): adjust
6178 (setCounter): adjust
6179 (insertStringAsLines): adjust
6181 * text.C (leftMargin): adjust
6182 (setHeightOfRow): adjust
6184 * rowpainter.C (paintFirst): adjust
6187 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6189 (isFirstInSequence): ditto
6190 (getEndLabel): ditto
6193 * paragraph.C (getParLanguage): comment out some hard stuff.
6195 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6197 (simpleDocBookOnePar): ditto
6198 (makeDocBookFile): use ParagraphList::iterator
6200 * CutAndPaste.C (pasteSelection): adjust
6202 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6204 * text2.C (getFont): adjust
6205 (getLayoutFont): adjust
6206 (getLabelFont): adjust
6208 * paragraph_funcs.C (TeXOnePar): adjust
6210 * buffer.C (simpleLinuxDocOnePar): adjust
6211 (simpleDocBookOnePar): adjust
6213 * CutAndPaste.C (pasteSelection): adjust
6215 * BufferView.C (getEncoding): adjust
6217 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6219 2003-04-16 John Levon <levon@movementarian.org>
6221 * lyxfind.C: use parlist stuff for search/changes
6223 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6225 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6227 * text2.C (deleteEmptyParagraphMechanism): adjust
6229 * text2.[Ch] (ownerParagraph): delete func (both of them
6231 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6233 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6235 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6237 * ParagraphList.C: prepare for NO_NEXT
6239 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6241 * text2.C (getFont): adjust
6242 (getLayoutFont): adjust
6243 (getLabelFont): adjust
6245 * paragraph.C (getFont): adjust
6246 (getLabelFont): adjust
6247 (getLayoutFont): adjust
6249 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6251 2003-04-15 John Levon <levon@movementarian.org>
6255 * lyx_main.C: handle Include in .ui files
6257 2003-04-15 John Levon <levon@movementarian.org>
6259 * MenuBackend.C: make the doc files length shorter
6262 * ToolbarBackend.C: handle toolbar placement flags,
6265 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6267 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6270 * paragraph_funcs.C (TeXOnePar): adjust
6272 * paragraph.C (getLabelFont): add outerfont arg, adjust
6273 (getLayoutFont): ditto
6274 (simpleTeXOnePar): adjust
6276 * paragraph_pimpl.C (realizeFont): delete func
6278 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6280 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6281 row argument, constify cur argument.
6283 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * text2.C (getFont): adjust
6286 (getLayoutFont): adjust
6287 (getLabelFont): adjust
6289 * paragraph_funcs.C (TeXOnePar): adjust
6290 (outerFont): new func...
6291 (realizeFont): ...moved out from here, changed this to facilitate
6294 * paragraph.C (getFont): take outerfont as arg, adjust
6295 (simpleTeXOnePar): add outerfont arg, adjust
6297 * buffer.C (simpleLinuxDocOnePar): adjust
6298 (simpleDocBookOnePar): adjust
6300 * CutAndPaste.C (pasteSelection): adjust
6302 * BufferView.C (getEncoding): adjust
6304 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6306 * text2.C (setCharFont): adjust
6307 (setCounter): adjust
6309 * text.C (leftMargin): adjust
6310 (setHeightOfRow): adjust
6312 * rowpainter.C (paintFirst): adjust
6315 * paragraph_pimpl.C (realizeFont): adjust
6317 * paragraph.C (isFirstInSequence): move from here...
6318 * paragraph_funcs.C (isFirstInSequence): ...to here
6320 * paragraph.C (outerHook): move from here...
6321 * paragraph_funcs.C (outerHook): ...to here
6323 * paragraph.C (depthHook): move from here...
6324 * paragraph_funcs.C (depthHook): ...to here
6326 * paragraph.C (getEndLabel): move from here...
6327 * paragraph_funcs.C (getEndLabel): ...to here
6329 * text2.C (realizeFont): move from here...
6330 * paragraph_funcs.C (realizeFont): ...to here
6332 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6334 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6336 2003-04-14 Angus Leeming <leeming@lyx.org>
6338 * LColor.[Ch]: scrap LColor mathcursor.
6340 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6342 * lyxlex.[Ch] (text): delete function
6343 * trans.C (Load): adjust
6344 * paragraph_funcs.C (readParToken): adjust
6346 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6348 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6349 vector<char> instead of a char[].
6351 * lyxlex_pimpl.C (getString): adjust
6353 (lex): use getString
6357 * lyxlex.C (text): use pimpl_->getString()
6361 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6363 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6364 (makeFontEntriesLayoutSpecific): temp var for par.size()
6365 (setLayout): temp var for ownerParagraphs().end()
6366 (fullRebreak): temp var for rows().end()
6367 (selectionAsString): temp var for boost::next(startpit), realize
6368 that the while really is a regular for loop.
6369 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6370 setCursor in one place.
6371 (setParagraph): temp vr for ownerParagraphs().end()
6372 (updateCounters): make the while loop a for loop
6373 (cutSelection): temp var for ownerParagraphs().end()
6374 (updateInset): make the do {} while() a regular for loop
6375 (getCursorX): use temp vars
6376 (setCurrentFont): use temp vars
6377 (getColumnNearX): use temp vars
6379 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6381 * text.C (transformChar): use temp var for getChar
6382 (computeBidiTables): use temp var for row->par()
6383 (fill): move temp vars for row->par() and pit->layout() earlier in
6385 (labelFill): use temp var for row->par()
6386 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6387 asc and desc, realize that pit never changes and that firstpit is
6388 just a duplicate and not needed. Exchange rit->par() with pit in a
6390 (breakAgain): use a temp var for boost::next(rit)
6391 (breakAgainOneRow): ditto
6392 (breakParagraph): use a temp var for rows().begin()
6393 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6394 (cursorRightOneWord): use temp var for cursor.par() and
6395 cursor.pos(), remove usage of tmpcursor.
6396 (cursorLeftOneWord): use temp var for cursor.par() and
6397 cursor.pos() only set cur at end of function.
6399 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6401 * text.C, text2.C: exchange all usage of Paragraph::next with
6402 boost::next(ParagraphList::iterator)
6404 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6406 * text2.C (cursorTop): simplify implementation
6407 (cursorBottom): ditto
6408 (setParagraph): use ParagraphList::iterator
6409 (setCurrentFont): adjust
6410 (getColumnNearX): adjust
6411 (cursorRight): adjust
6412 (cursorLeft): remove usage of Paragraph::previous
6413 (cursorUpParagraph): ditto
6414 (deleteEmptyParagraphMechanism): slight cleanup
6416 * text.C (isBoundary): take a Paragraph const & instead of a
6418 (addressBreakPoint): ditto
6419 (leftMargin): remove usage of Paragraph::previous.
6420 (setHeightOfRow): ditto
6421 (cursorLeftOneWord): ditto
6422 (selectNextWordToSpellcheck): ditto
6425 (breakParagraph): remove one usage of Paragraph::next
6426 (redoParagraph): ditto
6427 (acceptChange): ditto
6428 (insertChar): adjust
6429 (rowBreakPoint): adjust
6431 * bufferview_funcs.C (toggleAndShow): adjust
6433 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6435 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6436 methods to access it.
6438 * text.C: Added updateRowPositions to compute all row positions.
6439 Make top_y and getRowNearY() to use the cached y position
6441 2003-04-11 John Levon <levon@movementarian.org>
6443 * text.C (rowBreakPoint): reintroduce the labelEnd
6444 checks, code copied from the row fill stuff. Deep voodoo.
6446 * text.C (fill): add a comment and debugging for the
6449 2003-04-11 John Levon <levon@movementarian.org>
6451 * text.C: make sure fullrow insets get wrapped to the next line,
6452 even when they're in a manual label
6454 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6456 * text2.C (insertParagraph): make it take ParagraphList::iterator
6458 (setLayout): make it return ParagraphList::iterator
6459 (redoParagraphs): ditto
6461 (checkParagraph): ditto
6463 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6465 * text2.C: adjust several funcs.
6466 (realizeFont): take a ParagraphList::iterator as arg.
6467 (getLayoutFont): ditto
6468 (getLabelFont): ditto
6469 (setCharFont): ditto
6471 * text.C: adjust several funcs.
6473 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6475 * text.C (selectNextWordToSpellcheck): don't accidentally
6478 2003-04-10 John Levon <levon@movementarian.org>
6480 * ToolbarBackend.C (getIcon): special handling for
6483 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6485 * text2.C (cursorRight): a getChar assert fixed
6487 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6489 * text2.C (getFont): change to take a ParagraphList::iterator
6490 instead of Paragraph*
6491 Adjust several functions.
6493 * text.C (transformChar): change to take a ParagraphList::iterator
6494 instead of Paragraph*
6495 (singleWidth): ditto
6496 Adjust several functions.
6498 * rowpainter.C: adjust several functions
6499 * rowpainter.h:store a ParagraphList::iterator and not a
6503 2003-04-09 John Levon <levon@movementarian.org>
6508 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6509 and the "help" bits as well
6511 2003-04-09 John Levon <levon@movementarian.org>
6514 * ToolbarBackend.C: allow multiple toolbars
6516 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6518 * undo_funcs.C (setCursorParUndo): adjust
6520 * text_funcs.C (transposeChars): adjust
6522 * text3.C (gotoNextInset): adjust
6525 * text2.C (setLayout): adjust
6526 (changeDepth): adjust
6528 (redoParagraphs): adjust
6529 (selectionAsString): adjust
6530 (setParagraph): adjust
6531 (insertInset): adjust
6532 (cutSelection): adjust
6533 (copySelection): adjust
6534 (pasteSelection): adjust
6535 (insertStringAsLines): adjust
6536 (updateInset): adjust
6537 (setCursor): change to take a ParagraphList::iterator parameter
6538 (setCursorIntern): change to take a ParagraphList::iterator parameter
6539 (setCurrentFont): adjust
6540 (cursorLeft): adjust
6541 (cursorRight): adjust
6542 (deleteEmptyParagraphMechanism): adjust
6544 * text.C (breakParagraph): adjust
6545 (insertChar): adjust
6546 (acceptChange): adjust
6547 (rejectChange): adjust
6548 (selectNextWordToSpellcheck): adjust
6549 (changeCase): adjust
6553 * lyxfind.C (SearchForward): adjust
6554 (SearchBackward): adjust
6555 (nextChange): adjust
6557 * lyxcursor.C (par): adjust
6559 * lyxcursor.h: store a ParagraphList::iterator instead of a
6562 * lyx_cb.C (getPossibleLabel): adjust
6564 * bufferview_funcs.C (toggleAndShow): adjust
6566 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6569 * BufferView.C (removeAutoInsets): adjust
6570 (lockedInsetStoreUndo): adjust
6572 2003-04-09 John Levon <levon@movementarian.org>
6574 * ToolbarBackend.C: try icon without argument
6575 if with argument fails
6577 2003-04-08 John Levon <levon@movementarian.org>
6580 * ToolbarBackend.C: add getIcon(), handle tooltip,
6581 and change from "Icon" to "Item".
6583 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6585 * BufferView.C (lockInset): another bad getchar crunched
6587 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6589 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6592 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6594 * lyxfind.C (searchForward, searchBackwards): bug 782
6596 2003-04-07 John Levon <levon@movementarian.org>
6598 * paragraph.C: remove dead comment
6600 * text.C: remove troublesome depth-fiddling code
6601 in leftMargin() and rightMargin() (bug 1017)
6603 * text.C: fix breaking of rows in nested lists
6606 * text2.C (updateCounters): fix up depth values
6609 2003-04-07 John Levon <levon@movementarian.org>
6611 * BufferView_pimpl.C: clear message when doc finishes resizing,
6612 and after a mouse event
6614 * lyxfunc.C: clear message after exiting inset
6616 2003-04-07 John Levon <levon@movementarian.org>
6618 * bufferview_funcs.C: show math status not outside
6619 status in the statusbar
6621 2003-04-07 John Levon <levon@movementarian.org>
6623 * lyxfunc.C: note status changed after a depth change
6625 2003-04-04 Angus Leeming <leeming@lyx.org>
6627 * LaTeX.h: move AuxInfo operator==, != out of line.
6628 Remove LaTeX virtual destructor; nothing derives from it.
6629 Move operator()() out of public area and rename it startscript().
6630 Change protected for private.
6632 2003-04-04 Angus Leeming <leeming@lyx.org>
6635 * text2.C: remove unneeded #includes.
6637 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6639 * text2.C (dEPM): fix the heigth of the next row
6641 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6643 * text.C: squashed an invalid getChar requester + some ws changes
6645 2003-04-03 John Levon <levon@movementarian.org>
6647 * bufferview_funcs.h:
6648 * bufferview_funcs.C:
6651 * text2.C: make getStatus work for the env depth lfuns
6653 2003-04-03 John Levon <levon@movementarian.org>
6655 * bufferview_funcs.h:
6656 * bufferview_funcs.C:
6659 * text2.C: parlistize decDepth(), by merging it with incDepth()
6661 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6663 * lyxrow.h: store a ParagraphList::iterator instead of a
6664 Paragraph* and adjust other class functions to suit.
6666 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6669 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6671 * text2.C (setCursor): do not anchor to cursor row for the time being
6673 2003-04-02 John Levon <levon@movementarian.org>
6680 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6682 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6684 * paragraph.h: make ParagraphList and ParagraphList::iterator
6685 friends of Paragraph.
6687 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6689 * ParagraphList.C: Use the private next_ and previous_ from
6692 2003-04-01 John Levon <levon@movementarian.org>
6696 * Makefile.am: rename, remove defaults gunk
6699 * MenuBackend.C: remove defaults gunk
6702 * Languages.C: remove defaults gunk
6705 * lyx_main.C: error out if files couldn't be found.
6707 2003-04-02 John Levon <levon@movementarian.org>
6709 * text2.C: make incDepth() use parlist
6711 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6713 * undo_funcs.C (firstUndoParagraph): adjust
6715 * text3.C (gotoInset): adjust
6716 (dispatch): adjust, and rewrite loop.
6718 * text2.C (init): adjust, and rewrite loop.
6719 (redoParagraphs): adjust
6720 (updateInset): adjust, and rewrite loop.
6721 (deleteEmptyParagraphMechanism): adjust
6723 * tabular.C (LyXTabular): adjust
6724 (SetMultiColumn): adjust
6727 * lyxtext.[Ch] (ownerParagraph): delete function
6728 (ownerParagraphs): new function returns a ParagraphList.
6730 * BufferView.C (removeAutoInsets): adjust
6731 (insertErrors): adjust
6732 (setCursorFromRow): adjust
6734 2003-04-01 Angus Leeming <leeming@lyx.org>
6736 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6739 2003-04-02 John Levon <levon@movementarian.org>
6745 * text_funcs.C: make transposeChars a free function
6747 * lyxrow_funcs.C: remove wrong comment
6749 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6752 * rowpainter.C: adjust
6757 * lyxrow_funcs. [Ch]: new files
6759 * lyxrow.[Ch]: remove next and previous pointers
6760 (next,previous): remove accessor functions
6761 (isParEnd): move to lyxrow_funcs
6762 (lastPos): move to lyxrow_funcs
6763 (nextRowIsAllInset): move to lyxrow_funcs
6764 (lastPrintablePos): move to lyxrow_funcs
6765 (numberOfSeparators): move to lyxrow_funcs
6766 (numberOfHfills): move to lyxrow_funcs
6767 (numberOfLabelHfills): move to lyxrow_funcs
6768 (hfillExpansion): move to lyxrow_funcs
6772 * bufferview_funcs.C (toggleAndShow): adjust
6774 * RowList.h: Remove class RowList from file leave just a
6777 * RowList.C: delete file
6779 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6782 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6784 * text3.C (cursorPrevious): adjust
6785 (cursorNext): adjust
6788 * text2.C (redoHeightOfParagraph): adjust
6789 (redoDrawingOfParagraph): adjust
6792 * text.C (breakParagraph): adjust
6793 (insertChar): adjust
6796 * rowpainter.C (RowPainter): adjust
6797 (leftMargin): simplify and adjust
6798 (most rowpainter functions): adjust.
6800 * rowpainter.h: store the row as RowList::iterator not as Row*
6802 * lyxcursor.C (row): taka RowList::iterator as arg
6805 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6808 2003-04-01 Angus Leeming <leeming@lyx.org>
6810 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6811 stuff like bool Bool.
6813 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6815 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6818 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6820 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6823 * lyxtext.h (rows): drop one version and leve a const variant that
6824 returns a RowList::iterator.
6826 2003-03-31 Angus Leeming <leeming@lyx.org>
6828 * text.C (fill): ensure that the signature is the same as that in the
6831 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6833 * text2.C (redoParagraphs): adjust
6834 (updateCounters): adjust
6835 (checkParagraph): adjust
6836 (getColumnNearX): adjust and reformat a bit.
6838 * text.C (top_y): adjust
6840 (leftMargin): adjust
6841 (prepareToPrint): adjust
6843 (getRowNearY): adjust
6845 * lyxtext.h: make rowlist_ mutable.
6847 * RowList.h: add const_iterator
6848 * RowList.C: adjust for RowList::const_iterator.
6850 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6853 2003-03-31 John Levon <levon@movementarian.org>
6856 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6858 * lyx_main.C: set default fonts from using lyx_gui funcs
6860 * exporter.C: pdf_mode moved from lyxrc
6863 * lyxfunc.C: changes from above
6865 2003-03-31 John Levon <levon@movementarian.org>
6867 * lyx_main.C: fix to the last fix
6869 2003-03-31 John Levon <levon@movementarian.org>
6871 * bufferlist.C: "Load original" -> "Load Original"
6877 * format.C: more Alert cleanups
6879 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6881 * text2.C (removeParagraph): make it take a RowList::iterator as
6883 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6884 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6886 * text.C (anchor_row): make it take a RowList::iterator as arg,
6888 (computeBidiTables): make it take a const reference to Row instead
6889 of Row pointer, adjust.
6890 (leftMargin): make it take a RowList::iterator as arg, adjust.
6891 (rowBreakPoint): adjust
6892 (breakAgainOneRow): make it take a RowList::iterator as arg,
6894 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6896 * bufferview_funcs.C (toggleAndShow): adjust
6898 2003-03-30 John Levon <levon@movementarian.org>
6902 * boost-inst.C: moved to support
6904 * several files: changes as a result
6906 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6908 * text2.C (LyXText): adjust.
6910 (removeRow): make it take a RowList::iterator as arg, adjust.
6911 (fullRebreak): adjust
6912 (deleteEmptyParagraphMechanism): adjust
6913 (clearPaint): adjust
6916 * text.C (top_y): adjust
6917 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6918 (breakAgain): make it take a RowList::iterator as arg, adjust.
6919 (breakParagraph): adjust
6920 (insertChar): adjust
6923 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6924 need_break_row, and refresh_row.
6926 * text3.C (dispatch): adjust
6928 * text2.C (checkParagraph): adjust
6930 (setCursorFromCoordinates): adjust
6932 * text.C (top_y): adjust
6934 (getRow): make it return a RowList::iterator, adjust
6935 (getRowNearY): make it return a RowList::iterator, adjust
6937 * text2.C (init): adjust
6938 (insertRow): remove function
6939 (insertParagraph): adjust
6940 (redoParagraphs): adjust
6941 (fullRebreak): adjust
6942 (updateCounters): adjust
6944 * text.C (top_y): rewrite to use RowList iterators.
6946 (setHeightOfRow): rewrite to sue RowList iterators.
6947 (appendParagraph): adjust
6948 (breakAgain): adjust
6949 (breakAgainOneRow): adjust
6950 (breakParagraph): adjust
6952 (getRowNearY): adjust, and remove commented code.
6954 * lyxtext.h (firstRow): delete function
6955 (lastRow): delete function
6956 (rows): new function (const and non-const versions.)
6957 (insertRow): delete function
6959 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6961 2003-03-29 John Levon <levon@movementarian.org>
6963 * BufferView_pimpl.C: always update scrollbar top
6964 because pasting text when we're anchored could mean we
6965 miss an update altogether
6967 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6969 * text2.C (init): use rowlist_.end() and not 0.
6970 (insertRow): change to take a RowList::iterator as arg, adjust
6972 (insertParagraph): change to take a RowList::iterator as arg,
6974 (redoParagraphs): remove some debug msgs.
6976 * text.C (appendParagraph): change to take a RowList::iterator
6977 arg, adjust for this.
6978 (breakAgain): add an assert
6979 (breakAgainOneRow): ditto
6981 2003-03-29 John Levon <levon@movementarian.org>
6983 * text2.C: do not clear selection after inc/decDepth
6986 2003-03-29 John Levon <levon@movementarian.org>
6989 * buffer.C: fix broken strerrors according to Lars
6991 2003-03-29 John Levon <levon@movementarian.org>
6993 * converters.C: more Alert cleanups
6995 2003-03-29 John Levon <levon@movementarian.org>
6997 * bufferview_funcs.C: remove pointless Alert
6999 * buffer.C: fix confusing error message when
7000 a template is chmoded 000
7002 2003-03-29 John Levon <levon@movementarian.org>
7006 * BufferView_pimpl.C: Alert fixes
7010 * tabular-old.C: remove unused table compat reading
7012 2003-03-29 John Levon <levon@movementarian.org>
7017 * lyx_cb.C: more Alert cleanups
7019 * lyxfunc.C: don't allow chktex if not latex document
7021 2003-03-29 John Levon <levon@movementarian.org>
7025 * buffer.C: warnings pushed down from support/,
7028 2003-03-29 John Levon <levon@movementarian.org>
7030 * lyxfunc.C: safety check for C-r (revert)
7032 2003-03-29 John Levon <levon@movementarian.org>
7035 * bufferlist.C: several UI fixes using Alert::prompt.
7036 Fix the pointless looping quit code. Fix stupid revert
7041 * lyx_cb.C: use Alert::prompt
7043 * lyx_main.C: remove a silly question
7045 * lyxfunc.C: remove a couple of silly questions,
7048 2003-03-28 John Levon <levon@movementarian.org>
7050 * text2.C: fix bug 974 (End on empty par)
7052 2003-03-28 John Levon <levon@movementarian.org>
7054 * BufferView_pimpl.C:
7056 * lfuns.h: remove do-nothing math greek lfuns
7058 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7060 * lyxgluelength.h (isValidGlueLength): add default arg on
7061 parameter 2. Remove default arg from friend in class.
7063 * lyxlength.h (isValidLength): add default arg on parameter 2.
7064 Remove default arg from friend in class.
7066 * text2.C (LyXText): adjust, initialize refresh_row.
7070 (insertParagraph): adjst
7071 (redoParagraphs): adjust
7072 (fullRebreak): adjust
7073 (updateCounters): adjust
7074 (deleteEmptyParagraphMechanism): first attempt at fixing a
7077 * text.C (top_y): adjust
7078 (setHeightOfRow): adjust
7080 (getRowNearY): adjust
7082 * lyxtext.h: include RowList.h
7083 (~LyXText): not needed anymore, deleted.
7084 (firstRow): modify for RowList
7085 (lastRow): new function
7086 Delete firstrow and lastrow class variables, add a Rowlist
7087 rowlist_ class variable.
7089 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7092 * RowList.C (insert): fix case where it == begin().
7094 2003-03-26 Angus Leeming <leeming@lyx.org>
7096 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7097 the thesaurus dialog.
7099 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7101 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7103 * RowList.[Ch]: new files
7105 * ParagraphList.C (erase): handle the case where it == begin
7108 2003-03-25 John Levon <levon@movementarian.org>
7112 * aspell.C: add new aspell support
7115 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7118 2003-03-25 Angus Leeming <leeming@lyx.org>
7121 * LyXAction.C (init): new LFUN_INSET_INSERT.
7123 * BufferView_pimpl.C (dispatch): split out part of the
7124 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7126 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7129 2003-03-25 Angus Leeming <leeming@lyx.org>
7131 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7133 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7136 * text3.C: remove useless row->height(0)
7138 2003-03-25 John Levon <levon@movementarian.org>
7142 * text3.C: rename the refreshing stuff to better names
7144 2003-03-24 John Levon <levon@movementarian.org>
7146 * BufferView_pimpl.h:
7147 * BufferView_pimpl.C: update layout choice on a mouse
7150 2003-03-23 John Levon <levon@movementarian.org>
7152 * Makefile.am: fix commandtags.h reference
7154 2003-03-22 John Levon <levon@movementarian.org>
7156 * BufferView_pimpl.C:
7161 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7163 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7166 * text.C: take the rtl methods out of line
7168 2003-03-21 André Pönitz <poenitz@gmx.net>
7170 * metricsinfo.[Ch]: new files containing structures to be passed around
7171 during the two-phase-drawing...
7173 2003-03-21 André Pönitz <poenitz@gmx.net>
7175 * lyxtextclass.C: read 'environment' tag.
7177 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7179 * text2.C (removeRow): fix bug 964
7181 2003-03-20 John Levon <levon@movementarian.org>
7185 * text2.C: paint cleanups. Inset::update() dropped font
7188 2003-03-19 John Levon <levon@movementarian.org>
7190 * lyxfunc.C: only fitcursor/markDirty if available()
7192 2003-03-19 John Levon <levon@movementarian.org>
7194 * commandtags.h: rename to ...
7196 * lfuns.h: ... this, and renumber / cleanup
7198 2003-03-19 John Levon <levon@movementarian.org>
7200 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7201 fit the cursor after an lfun
7205 * BufferView_pimpl.h:
7206 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7208 * LyXAction.C: layout-character should have ReadOnly
7210 * ParagraphParameters.C:
7212 * bufferview_funcs.C:
7219 * undo_funcs.C: changes from above
7221 2003-03-18 John Levon <levon@movementarian.org>
7223 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7224 remove it from update()
7226 * lyxfunc.C: update layout choice after an lfun
7228 * text3.C: remove extra updateLayoutChoice()s
7230 2003-03-18 John Levon <levon@movementarian.org>
7232 * text.C: top_y change means full repaint, fix
7233 a drawing bug with cursor movement
7235 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7239 * text2.C: anchor row on setCursor
7241 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7243 * lyxtext.h: remove almost all mutable keywords
7246 * text3.C: remove const keywords accordingly
7248 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7250 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7252 (TeXEnvironment): ditto
7255 2003-03-17 John Levon <levon@movementarian.org>
7257 * text.C (rowBreakPoint): remove attempt to fix displayed
7258 math insets inside a manual label
7260 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7262 * lyxtext.h: remove BufferView* as first arg from almost all class
7264 * other files: adjust.
7266 2003-03-17 John Levon <levon@movementarian.org>
7270 * text2.C: more paint cleanups
7272 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7275 * rowpainter.C: remove "smart" background painting code
7277 2003-03-16 John Levon <levon@movementarian.org>
7282 * text3.C: add helper functions for setting refresh_row/y
7284 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7286 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7287 newline inset which *can* get inserted in the pass_thru layouts.
7288 This is primarily for literate documents.
7290 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7292 * buffer.C: increment LYX_FORMAT to 223
7294 2003-03-14 André Pönitz <poenitz@gmx.net>
7296 * textclass.h: prepare for environment handling, ws changes
7297 * lyxlayout.C: read latexheader and latexfooter tags
7299 2003-03-14 John Levon <levon@movementarian.org>
7301 * text2.C: rewrite ::status() a bit
7303 2003-03-13 John Levon <levon@movementarian.org>
7305 * lyxtext.h: add some docs
7307 2003-03-13 John Levon <levon@movementarian.org>
7312 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7314 2003-03-13 John Levon <levon@movementarian.org>
7316 * text3.C: fix appendix redrawing
7318 2003-03-13 John Levon <levon@movementarian.org>
7320 * text.C (setHeightOfRow):
7322 * rowpainter.C: make appendix mark have the text
7323 "Appendix" so the user knows what it is
7326 * LColor.C: s/appendixline/appendix/ from above
7328 2003-03-13 John Levon <levon@movementarian.org>
7330 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7332 * text.C: fix a getChar(pos) bug properly
7334 2003-03-13 Angus Leeming <leeming@lyx.org>
7337 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7338 Probably only temporary. Let's see how things pan out.
7340 * BufferView.C (unlockInset):
7341 * BufferView_pimpl.C (fitCursor):
7342 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7344 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7345 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7347 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7348 new functions that convert ParagraphParameters to and from a string.
7350 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7351 BufferView::Pimpl's dispatch.
7352 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7354 2003-03-13 André Pönitz <poenitz@gmx.net>
7358 * factory.C: make it aware of InsetEnv
7360 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7362 * text2.C (setCursor): never ask for one past last
7363 (setCursor): add some debugging messages.
7365 * text.C (singleWidth): never ask for one past last
7366 (singleWidth): ditto
7368 (rightMargin): ditto
7369 (rowBreakPoint): ditto
7370 (setHeightOfRow): ditto
7371 (prepareToPrint): ditto
7373 * rowpainter.C (paintBackground): never ask for one past last
7374 (paintText): never ask for one past last
7376 * paragraph_pimpl.C (getChar): make the assert stricter, never
7377 allow the one past last pos to be taken
7379 * paragraph.C (getChar): ws changes only
7381 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7382 (numberOfSeparators): ditto
7383 (numberOfHfills): ditto
7385 2003-03-12 John Levon <levon@movementarian.org>
7391 * paragraph_funcs.C: fix per-buffer authorlists
7393 2003-03-12 John Levon <levon@movementarian.org>
7395 * text.C: fix newline in right address
7397 2003-03-12 Angus Leeming <leeming@lyx.org>
7399 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7400 duplicate those in LyXFunc::dispatch.
7404 * ToolbarDefaults.C:
7405 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7406 Add LFUN_FONTFREE_UPDATE.
7408 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7409 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7411 * bufferview_func.[Ch]: several new functions to facilliate
7412 transfer of data to and from the character dialog.
7414 2003-03-12 John Levon <levon@movementarian.org>
7419 * paragraph_funcs.C:
7420 * paragraph_pimpl.C:
7424 * text3.C: remove META_NEWLINE in favour of an inset
7427 * rowpainter.C: remove paintNewline (done by inset)
7429 2003-03-12 John Levon <levon@movementarian.org>
7431 * paragraph_pimpl.C: complain about bad getChar()s
7432 for a while at least
7434 2003-03-12 John Levon <levon@movementarian.org>
7437 * buffer.C: move paragraph read into a separate function,
7438 a little renaming to reflect that.
7441 * bufferparams.C: remove the author_ids map, not necessary now
7444 * factory.C: moved Buffer::readInset to here
7446 * paragraph_funcs.h:
7447 * paragraph_funcs.C: readParagraph free function moved from
7450 * tabular.C: name change
7452 2003-03-12 John Levon <levon@movementarian.org>
7455 * ParagraphParameters.C: move par params input to
7458 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7459 behave like a normal read from the stream wrt reading
7460 a line vs. a \\token
7462 2003-03-12 John Levon <levon@movementarian.org>
7465 * ParagraphParameters.h:
7466 * ParagraphParameters.C: move output code to a
7469 2003-03-12 John Levon <levon@movementarian.org>
7471 * BufferView.C (insertLyXFile):
7474 * tabular.C: use a parlist iterator for creating the
7477 2003-03-12 John Levon <levon@movementarian.org>
7479 * buffer.C: make current_change static local not
7482 2003-03-12 John Levon <levon@movementarian.org>
7484 * buffer.C: fix insertStringAsLines for change tracking
7486 2003-03-12 John Levon <levon@movementarian.org>
7493 * bufferparams.C: move author list into params. Rename some
7494 functions. Move the header reading into a separate token
7495 loop. Move the header token reading into BufferParams.
7497 2003-03-12 John Levon <levon@movementarian.org>
7499 * changes.C: put debug inside lyxerr.debugging() checks
7501 2003-03-11 André Pönitz <poenitz@gmx.net>
7503 * factory.C: make it aware of InsetHFill
7505 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7507 * buffer.C (latexParagraphs): move function from here...
7508 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7511 2003-03-10 Angus Leeming <leeming@lyx.org>
7513 * LyXAction.C (init): fix bug in poplating array with multiple entries
7514 with the same LFUN (spotted by JMarc).
7516 2003-03-10 John Levon <levon@movementarian.org>
7519 * text2.C: move getColumnNearX() near its
7522 2003-03-10 John Levon <levon@movementarian.org>
7524 * text.C: fix break before a minipage
7526 2003-03-10 John Levon <levon@movementarian.org>
7528 * text.C: fix the last commit
7530 2003-03-09 John Levon <levon@movementarian.org>
7534 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7535 bug 365 (don't break before insets unless needed). Don't
7536 return a value > last under any circumstances.
7538 2003-03-09 Angus Leeming <leeming@lyx.org>
7540 * BufferView_pimpl.C (trackChanges, dispatch): call
7541 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7543 2003-03-09 Angus Leeming <leeming@lyx.org>
7545 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7546 than Dialogs::showAboutlyx().
7548 2003-03-09 Angus Leeming <leeming@lyx.org>
7550 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7551 than Dialogs::showTabularCreate().
7553 2003-03-09 John Levon <levon@movementarian.org>
7557 * text2.C: 3rd arg to nextBreakPoint was always the same.
7560 2003-03-08 John Levon <levon@movementarian.org>
7567 * text2.C: Remove the "main" bit from the "main body"
7570 2003-03-08 John Levon <levon@movementarian.org>
7572 * text.C (leftMargin): The left margin of an empty
7573 manual label paragraph should not include the label width
7576 * text.C (prepareToPrint): don't attempt to measure hfills
7577 for empty manual label paragraphs - the answer should be 0
7579 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7581 * CutAndPaste.C: remove commented code and reindent.
7583 2003-03-08 John Levon <levon@movementarian.org>
7586 * lyxfunc.C: move reloadBuffer()
7589 * BufferView.C: to here
7591 * lyxvc.C: add comment
7594 * vc-backend.C: call bv->reload() to avoid
7595 getStatus() check on MENURELOAD
7597 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7599 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7600 to an old format .dep file.
7602 2003-03-07 Angus Leeming <leeming@lyx.org>
7604 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7605 when the LFUN_MOUSE_RELEASE should have been handled by
7606 inset->localDispatch.
7608 2003-03-07 Angus Leeming <leeming@lyx.org>
7610 * BufferView_pimpl.C (dispatch):
7611 * LyXAction.C (init):
7612 * ToolbarDefaults.C (init):
7614 * lyxfunc.C (getStatus):
7615 remove LFUN_INSET_GRAPHICS.
7617 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7619 2003-03-07 Angus Leeming <leeming@lyx.org>
7622 * LyXAction.C (init):
7623 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7625 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7628 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7630 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7631 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7633 2003-03-07 Angus Leeming <leeming@lyx.org>
7635 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7638 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7640 * ParagraphList.C (front): new function
7643 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7645 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7646 and top_row_offset_. removed var first_y.
7648 * text2.C (LyXText, removeRow):
7650 * BufferView_pimpl.C:
7651 use these methods instead of using first_y
7653 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7655 * text2.C (pasteSelection): adjust for checkPastePossible
7657 * CutAndPaste.C: remove Paragraph * buf and replace with
7658 ParagraphList paragraphs.
7659 (DeleteBuffer): delete
7660 (cutSelection): change the tc type to textclass_type
7661 (copySelection): change the tc type to textclass_type
7662 (copySelection): adjust for ParagraphList
7663 (pasteSelection): change the tc type to textclass_type
7664 (pasteSelection): adjust for Paragraphlist
7665 (nrOfParagraphs): simplify for ParagraphList
7666 (checkPastePossible): simplify for ParagraphList
7667 (checkPastePossible): remove unused arg
7669 * ParagraphList.C (insert): handle the case where there are no
7672 * CutAndPaste.h: make CutAndPaste a namespace.
7674 * text3.C (dispatch): adjust
7676 * text.C (breakParagraph): add a ParagraphList as arg
7678 * paragraph_funcs.C (breakParagraph): change to take a
7679 BufferParams and a ParagraphList as args.
7680 (breakParagraphConservative): ditto
7681 (mergeParagraph): ditto
7682 (TeXDeeper): add a ParagraphList arg
7683 (TeXEnvironment): ditto
7686 * buffer.C (readLyXformat2): adjust
7687 (insertStringAsLines): adjust
7688 (latexParagraphs): adjust
7690 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7691 (cutSelection): adjust
7692 (pasteSelection): adjust
7694 * BufferView_pimpl.C (insertInset): adjust
7696 2003-03-05 Angus Leeming <leeming@lyx.org>
7699 * LyXAction.C (init):
7700 * BufferView_pimpl.C (dispatch):
7701 * lyxfunc.C (getStatus):
7702 remove LFUN_CHILD_INSERT.
7704 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7706 2003-03-05 Angus Leeming <leeming@lyx.org>
7709 * LyXAction.C (init):
7710 * src/factory.C (createInset):
7711 * lyxfunc.C (getStatus):
7712 * text3.C (dispatch):
7713 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7715 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7717 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7719 * ParagraphList.C (insert): handle insert right before end()
7720 (erase): fix cases where it can be first or last paragraph.
7722 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7724 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7725 Paragraph::next and Paragraph::previous
7728 * text.C (breakParagraph): adjust
7730 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7731 BufferParams& as arg.
7732 (breakParagraph): use ParagraphList::insert
7733 (breakParagraphConservative): take a Buffer* instead of a
7734 BufferParams& as arg.
7735 (breakParagraphConservative): use ParagraphList::insert.
7737 * buffer.C (insertStringAsLines): un-const it
7738 (insertStringAsLines): adjust
7740 * ParagraphList.C (insert): new function
7742 * CutAndPaste.C (pasteSelection): adjust
7744 * text.C (backspace): adjust
7746 * tabular.C (SetMultiColumn): adjust
7748 * CutAndPaste.C (cutSelection): adjust
7749 (pasteSelection): adjust
7751 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7752 Buffer const * as arg
7754 * ParagraphList.C (erase): new function
7755 * paragraph_funcs.C (mergeParagraph): use it
7756 (mergeParagraph): make it take a Buffer* instead of a
7757 BufferParams* as arg
7759 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7761 (breakParagraphConservative): ditto
7763 * paragraph.h: remove the breakParagraph friend
7765 * paragraph.C (eraseIntern): new function
7766 (setChange): new function
7768 * paragraph_funcs.C (mergeParagraph): make it take a
7769 ParagraphList::iterator instead of a Paragraph *, adjust
7772 * paragraph.h: move an #endif so that the change tracking stuff
7773 also works in the NO_NEXT case.
7775 2003-03-04 Angus Leeming <leeming@lyx.org>
7778 * LyXAction.C: new LFUN_INSET_MODIFY.
7780 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7781 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7783 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7785 * several files: ws changes only
7787 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7788 (TeXEnvironment): ditto
7791 * buffer.C (makeLaTeXFile): adjust
7792 (latexParagraphs): make it take ParagraphList::iterator as args
7794 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7796 * buffer.C (latexParagraphs): adjust
7798 * paragraph.C (TeXOnePar): move function...
7799 (optArgInset): move function...
7800 (TeXEnvironment): move function...
7801 * paragraph_pimpl.C (TeXDeeper): move function...
7802 * paragraph_funcs.C: ...here
7804 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7806 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7808 * buffer.C (readInset): remove compability code for old Figure and
7811 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7813 * buffer.C: ws changes
7816 * BufferView_pimpl.C: ditto
7819 * bufferlist.h: ditto
7823 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7825 * converter.[Ch]: split into itself +
7828 * Makefile.am: += graph.[Ch] + format.[Ch]
7835 * lyxrc.C: added #include "format.h"
7837 2003-02-27 Angus Leeming <leeming@lyx.org>
7839 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7842 * factory.C (createInset): add "label" to the factory.
7844 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7845 string and do no more.
7847 2003-02-27 Angus Leeming <leeming@lyx.org>
7850 * LyXAction.C (init):
7851 * factory.C (createInset):
7852 * BufferView_pimpl.C (dispatch):
7853 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7855 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7857 * lyxfunc.C (dispatch):
7858 * text3.C (dispatch): pass name to params2string.
7860 2003-02-26 Angus Leeming <leeming@lyx.org>
7862 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7864 Rearrange the ~includes. Strip out the unnecessary ones.
7866 * factory.C (createInset): reformat.
7867 create new insets for the various LFUN_XYZ_APPLY lfuns.
7869 2003-02-26 John Levon <levon@movementarian.org>
7872 * lyxrow.C: add isParStart,isParEnd helpers
7874 * paragraph.h: make isInserted/DeletedText take refs
7876 * paragraph_funcs.h:
7877 * paragraph_funcs.C: remove #if 0'd code
7882 * text.C: use lyxrow helpers above.
7883 Move draw and paint routines to RowPainter.
7884 Make several methods use refs not pointers.
7885 Make backgroundColor() const.
7886 Add markChangeInDraw(), isInInset().
7887 Merge changeRegionCase into changeCase.
7888 Make workWidth() shouldn't-happen code into an Assert.
7891 * rowpainter.C: new class for painting a row.
7894 * vspace.C: make inPixels take a ref
7896 2003-02-26 Angus Leeming <leeming@lyx.org>
7898 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7901 2003-02-25 John Levon <levon@movementarian.org>
7903 * ispell.C: give the forked command a more accurate name
7905 2003-02-22 John Levon <levon@movementarian.org>
7908 * toc.C: make TocItem store an id not a Paragraph *
7911 2003-02-21 Angus Leeming <leeming@lyx.org>
7913 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7914 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7915 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7916 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7917 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7918 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7920 * BufferView_pimpl.C (dispatch):
7921 * LyXAction.C (init):
7922 * factory.C (createInset):
7923 * lyxfunc.C (getStatus, dispatch):
7924 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7926 2003-02-21 Angus Leeming <leeming@lyx.org>
7928 * BufferView_pimpl.C (MenuInsertLyXFile):
7929 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7930 * lyxfunc.C (menuNew, open, doImport):
7931 no longer pass a LyXView & to fileDlg.
7933 2003-02-21 Angus Leeming <leeming@lyx.org>
7935 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7936 * LyXAction.C: change, BIBKEY to BIBITEM.
7937 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7938 Change InsetBibKey to InsetBibitem.
7939 Change BIBKEY_CODE to BIBITEM_CODE.
7940 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7941 * factory.C: replace insetbib.h with insetbibitem.h.
7942 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7943 * paragraph.C: replace insetbib.h with insetbibitem.h.
7944 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7945 Change bibkey() to bibitem().
7946 * text.C: remove insetbib.h.
7947 * text2.C: replace insetbib.h with insetbibitem.h.
7948 change bibkey() to bibitem().
7949 * text3.C: remove insetbib.h.
7950 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7952 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7954 * lyxrc.C (output): enclose user email in quotes (in case there are
7957 2003-02-18 John Levon <levon@movementarian.org>
7959 * buffer.h: add std::
7961 2003-02-17 John Levon <levon@movementarian.org>
7967 * pspell.C: reworking. Especially in ispell, a large
7968 number of clean ups and bug fixes.
7970 * lyxfunc.C: fix revert to behave sensibly
7972 2003-02-17 André Pönitz <poenitz@gmx.net>
7975 * commandtags.h: new LFUN_INSERT_BIBKEY
7985 * paragraph_func.C: remove special bibkey handling
7987 2003-02-17 John Levon <levon@movementarian.org>
7989 * text.C (Delete): fix case where delete at the end of
7990 the very first paragraph would not merge the pars
7992 2003-02-17 John Levon <levon@movementarian.org>
7994 * lyxrow.C: fix lastPrintablePos()
7996 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7998 * bufferparams.C (writeLaTeX): add a std:here
8000 * buffer.C: and remove a using directive there
8002 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8004 * buffer.C (makeLaTeXFile): move the code that generates the
8007 * bufferparams.C (writeLaTeX): ... in this new method
8009 * LaTeXFeatures.C (getEncodingSet): make const
8010 (getLanguages): make const
8012 * MenuBackend.C (binding): returns the binding associated to this
8014 (add): sets the status of each item by calling getStatus. Adds
8016 (read): add support for OptSubMenu
8017 (expand): remove extra separator at the end of expanded menu
8019 2003-02-15 John Levon <levon@movementarian.org>
8022 * BufferView_pimpl.C:
8024 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8025 inset code that had no actual effect. Remove unneeded status
8028 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8030 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8033 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8035 * text.C (drawLengthMarker): also draw an arrow marker for
8036 symbolic lengths (medskip...)
8038 2003-02-14 John Levon <levon@movementarian.org>
8041 * tabular.C: better method names
8043 2003-02-14 John Levon <levon@movementarian.org>
8045 * BufferView_pimpl.C:
8050 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8051 it's a more accurate name. Remove some pointless uses.
8053 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8055 * text2.C (LyXText): change order of initilizers to shut off
8058 2003-02-14 John Levon <levon@movementarian.org>
8060 * buffer.C: use ParIterator for getParFromID()
8064 * paragraph_pimpl.h:
8065 * paragraph_pimpl.C: remove unused getParFromID()
8067 2003-02-14 John Levon <levon@movementarian.org>
8069 * buffer.C: remove some very old #if 0'd parse code
8071 2003-02-13 John Levon <levon@movementarian.org>
8075 * text2.C: move hfillExpansion(), numberOfSeparators(),
8076 rowLast(), rowLastPrintable(), numberofHfills(),
8077 numberOfLabelHfills() ...
8080 * lyxrow.C: ... to member functions here.
8085 * text.C: remove LyXText::beginningOfMainBody(), and call
8086 p->beginningOfMainBody() directly. Move the check for
8087 LABEL_MANUAL into the latter.
8094 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8100 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8101 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8103 2003-02-13 John Levon <levon@movementarian.org>
8105 * CutAndPaste.C: remove debug
8107 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8109 * paragraph.C (asString): remove two unused variables
8111 * lyxtextclass.C (readTitleType):
8113 (LyXTextClass): handle new members titletype_ and titlename_
8115 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8117 2003-02-09 John Levon <levon@movementarian.org>
8120 * buffer.C: replace hand-coded list with a map for the dep clean
8122 2003-02-08 John Levon <levon@movementarian.org>
8124 * LaTeX.C: consolidate code into showRunMessage() helper
8126 2003-02-08 John Levon <levon@movementarian.org>
8131 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8132 and pass the size in explicitly
8134 * BufferView_pimpl.h:
8135 * BufferView_pimpl.C:
8137 * BufferView.C: add getCurrentChange()
8139 * BufferView_pimpl.h:
8140 * BufferView_pimpl.C: handle change lfuns
8142 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8143 for changes. Mark pasted paragraphs as new.
8145 * support/lyxtime.h:
8146 * support/lyxtime.C:
8147 * DepTable.C: abstract time_t as lyx::time_type
8150 * LColor.C: add colours for new text, deleted text, changebars
8152 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8153 package use "usenames" option.
8157 * LyXAction.C: add change lfuns
8161 * author.C: author handling
8164 * buffer.C: add a per-buffer author list, with first entry as
8165 current author. Handle new .lyx tokens for change tracking. Output
8166 author list to .lyx file. Output dvipost stuff to .tex preamble.
8167 Bump lyx format to 222.
8170 * bufferlist.C: add setCurrentAuthor() to reset current author details
8174 * bufferparams.C: add param for tracking
8176 * bufferview_funcs.C: output change info in minibuffer
8180 * changes.C: add change-tracking structure
8183 * debug.C: add CHANGES debug flag
8186 * lyxfind.C: add code for finding the next change piece
8189 * lyxrc.C: add user_name and user_email
8192 * lyxrow.C: add a metric for the top of the text line
8195 * text.C: implement accept/rejectChange()
8198 * text.C: paint changebars. Paint new/deleted text in the chosen
8199 colours. Strike through deleted text.
8203 * paragraph_pimpl.h:
8204 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8205 in the current change to the insert functions. Rework erase to
8206 mark text as deleted, adding an eraseIntern() and a range-based
8207 erase(). Implement per-paragraph change lookup and
8210 * paragraph_funcs.C: Fixup paste for change tracking.
8212 * tabular.C: mark added row/columns as new.
8214 * text.C: fix rowLast() to never return -1. Don't allow
8215 spellchecking of deleted text. Track transpose changes. Don't
8216 allow paragraph break or merge where appropriate.
8218 * text2.C: leave cursor at end of selection after a cut.
8220 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8222 * text.C (getLengthMarkerHeight):
8223 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8224 visible on screen too.
8226 2003-02-07 John Levon <levon@movementarian.org>
8228 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8230 2003-02-05 Angus Leeming <leeming@lyx.org>
8232 * lyxserver.C (read_ready): revert my patch of 11 September last year
8233 as it sends PC cpu through the roof. Presumably this means that
8234 the lyxserver will no longer run on an Alpha...
8236 2003-01-30 Angus Leeming <leeming@lyx.org>
8238 * factory.C (createInset): create an InsetCommandParam of type "index"
8239 and use it to 'do the right thing'.
8241 * text2.C (getStringToIndex): ensure that cursor position is always
8242 reset to the reset_cursor position.
8244 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8246 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8249 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8253 * lyxfunc.C: Output messages with identical spelling, punctuation,
8256 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8258 * MenuBackend.C (expandFormats): List only viewable export formats
8261 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8264 * lyxfunc.C (getStatus): Make sure that formats other than
8265 "fax" can also be disabled
8267 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8269 * text3.C (dispatch): put the lfuns that insert insets in 3
8270 groups, and call doInsertInset with appropriate arguments.
8271 (doInsertInset): new function, that creates an inset and inserts
8272 it according to some boolean parameters.
8274 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8276 * buffer.C (readFile): remember to pass on 'par' when calling
8277 readFile recursively.
8279 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8281 * MenuBackend.C (expandFormats): add "..." to import formats.
8283 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8285 * paragraph.C (asString): Remove XForms RTL hacks.
8287 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8288 * buffer.C: fix typo
8290 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8292 * Makefile.am (LIBS): delete var
8293 (lyx_LDADD): add @LIBS@ here instead.
8295 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8297 * Clarify the meaning of "wheel mouse jump"
8299 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8301 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8304 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8306 * importer.C (Loaders): do not preallocate 3 elements in the
8307 vector, since one ends up with 6 elements otherwise
8309 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8311 * DepTable.C (write): write the file name as last element of the
8312 .dep file (because it may contain spaces)
8313 (read): read info in the right order
8315 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8317 * paragraph_pimpl.C (simpleTeXBlanks):
8318 (simpleTeXSpecialChars):
8319 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8321 * tabular.C (latex): add some missing case statements. Reindent.
8323 * MenuBackend.C (expandToc): remove unused variable.
8325 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8334 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8337 2003-01-05 John Levon <levon@movementarian.org>
8340 * BufferView.C: add getEncoding()
8343 * kbsequence.C: do not store last keypress
8346 * lyxfunc.C: store last keypress here instead. Pass encoding
8349 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8351 * lyx_main.C (init): remove annoying error message when following
8352 symbolic links (bug #780)
8354 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8356 * text.C (insertChar):
8357 * lyxrc.C (getDescription): remove extra spaces
8359 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8361 * lyxrc.C (getDescription): remove extra spaces
8363 2002-12-20 John Levon <levon@movementarian.org>
8365 * text3.C: hack fix for page up/down across tall rows
8367 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8369 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8372 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8374 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8375 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8376 thesaurus is not compiled in
8378 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8380 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8382 2002-12-16 Angus Leeming <leeming@lyx.org>
8385 * lyx_main.C (init): remove override_x_deadkeys stuff.
8387 2002-12-12 John Levon <levon@movementarian.org>
8389 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8390 insert. Only remove shift modifier under strict
8393 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8395 * MenuBackend.C (expandToc): fix crash.
8397 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8399 * MenuBackend.C (expandToc): gettext on float names.
8401 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8403 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8404 implement bool empty() [bug 490]
8406 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8408 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8410 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8412 * several files: ws changes
8414 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8416 * text2.C (setCounter): clean up a bit, use boost.format.
8417 (updateCounters): initialize par upon declaration.
8419 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8420 if the layout exists. We do not just store the layout any more.
8421 (SwitchLayoutsBetweenClasses): use boost.format
8423 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8425 * converter.C (convert): if from and to files are the same, use a
8426 temporary files as intermediary
8428 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8431 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8433 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8435 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8437 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8439 * tabular.C (asciiPrintCell): use string(size, char) instead of
8442 * sgml.C (openTag): fix order of arguments to string constructor
8445 * lyxfunc.C (dispatch): use boost.format
8447 * lots of files: change "c" -> 'c'
8449 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8451 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8453 2002-11-25 Angus Leeming <leeming@lyx.org>
8455 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8457 * lyx_main.C (init): compile fix.
8459 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8461 * lyx_cb.C (start): boost.formatify
8462 do not include <iostream>
8464 * lengthcommon.C: ws only
8466 * boost-inst.C,BoostFormat.h: add more explict instantations
8468 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8470 * lots of files: handle USE_BOOST_FORMAT
8472 2002-11-21 John Levon <levon@movementarian.org>
8474 * pspell.C: fix compile
8476 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8478 * lyxfunc.C (dispatch): use boost::format
8482 * lyxfont.C (stateText): use boost::format
8484 * lyx_main.C (LyX): use boost::format
8486 (queryUserLyXDir): ditto
8489 (typedef boost::function): use the recommened syntax.
8491 * importer.C (Import): use boost::format
8493 * debug.C (showLevel): use boost::format
8495 * converter.C (view): use boost::format
8500 * bufferview_funcs.C (currentState): use boost::format
8502 * bufferlist.C (emergencyWrite): use boost::format
8504 * buffer.C (readLyXformat2): use boost::format
8505 (parseSingleLyXformat2Token): ditto
8507 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8509 * LaTeX.C (run): use boost::format
8511 * Chktex.C (scanLogFile): use boost::format
8513 * BufferView_pimpl.C (savePosition): use boost::format
8514 (restorePosition): ditto
8515 (MenuInsertLyXFile): ditto
8517 * BoostFormat.h: help file for explicit instation.
8519 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8521 * tabular.C (latex): Support for block alignment in fixed width
8524 2002-11-17 John Levon <levon@movementarian.org>
8526 * BufferView_pimpl.C:
8528 * lyxfunc.C: split filedialog into open/save
8530 2002-11-08 Juergen Vigna <jug@sad.it>
8532 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8533 by my last patch (hopefully).
8535 2002-11-08 John Levon <levon@movementarian.org>
8544 * toc.C: ParConstIterator, and use it (from Lars)
8546 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8548 * lyxtextclass.[Ch]: revise and add doxygen comments
8550 2002-11-07 John Levon <levon@movementarian.org>
8552 * text.C: fix progress value for spellchecker
8554 * toc.C: fix navigate menu for insetwrap inside minipage
8556 * paragraph_funcs.C: added FIXME for suspect code
8558 2002-11-07 John Levon <levon@movementarian.org>
8560 * BufferView_pimpl.C: fix redrawing of insets
8563 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8565 * text2.C (updateCounters): fix bug 668
8567 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8569 * text3.C (dispatch): Do not make the buffer dirty when moving the
8572 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8574 * vc-backend.C: STRCONV
8577 * text2.C (setCounter): STRCONV
8579 * paragraph.C (asString): STRCONV
8581 * lyxlength.C (asString): STRCONV
8582 (asLatexString): ditto
8584 * lyxgluelength.C (asString): STRCONV
8585 (asLatexString): ditto
8587 * lyxfunc.C (dispatch): STRCONV
8590 * lyxfont.C (stateText): STRCONV
8592 * importer.C (Import): STRCONV
8594 * counters.C (labelItem): STRCONV
8595 (numberLabel): ditto
8596 (numberLabel): remove unused ostringstream o
8601 * bufferview_funcs.C (currentState): STRCONV
8603 * buffer.C (readFile): STRCONV
8604 (asciiParagraph): ditto
8605 (makeLaTeXFile): ditto
8607 * Spacing.C (writeEnvirBegin): STRCONV
8609 * LaTeXFeatures.C (getLanguages): STRCONV
8610 (getPackages): ditto
8612 (getBabelOptions): ditto
8613 (getTClassPreamble): ditto
8614 (getLyXSGMLEntities): ditto
8615 (getIncludedFiles): ditto
8619 (scanAuxFile): ditto
8622 * LString.h: add the STRCONV macros
8624 * BufferView_pimpl.C (savePosition): STRCONV
8625 (restorePosition): ditto
8626 (MenuInsertLyXFile): ditto
8628 * vc-backend.C (scanMaster): change from submatch[...] to
8631 * funcrequest.C: include config.h
8633 * factory.C: include config.h
8635 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8637 * box.C: include config.h
8639 * LaTeX.C (scanAuxFile): change from submatch[...] to
8643 2002-10-25 Angus Leeming <leeming@lyx.org>
8645 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8647 * ispell.[Ch] (setError): new method.
8648 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8649 Use setError() insetead of goto END.
8651 * lyx_cb.C (AutoSave): move out child process into new class
8654 2002-10-30 John Levon <levon@movementarian.org>
8656 * text3.C: make start appendix undoable
8658 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8660 * lyxlength.C (inPixels): Fix returned value.
8662 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8665 2002-10-24 Angus Leeming <leeming@lyx.org>
8667 * lyxgluelength.h: no need to forward declare BufferParams
8668 or BufferView, so don't.
8670 2002-10-21 John Levon <levon@movementarian.org>
8672 * BufferView.C: menuUndo ->undo, redo
8674 * BufferView.h: document, remove dead, make some methods private
8676 * paragraph_funcs.h:
8677 * paragraph_funcs.C:
8678 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8683 * sgml.C: move sgml open/close tag into sgml.C
8685 * bufferview_funcs.h: unused prototype
8688 * lyxfunc.C: remove unused
8691 * text.C: remove unused
8693 2002-10-21 John Levon <levon@movementarian.org>
8697 * BufferView_pimpl.h:
8698 * BufferView_pimpl.C: fix mouse wheel handling based on
8699 patch from Darren Freeman
8701 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8703 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8705 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8707 * lyxlength.C (inPixels): Fix hanfling of negative length.
8708 Fix LyXLength::MU case.
8710 2002-10-16 John Levon <levon@movementarian.org>
8712 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8714 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8716 * converter.C (view): add support for $$i (file name) and $$p
8717 (file path) for the viewer command. If $$i is not specified, then
8718 it is appended to the command (for compatibility with old syntax)
8720 2002-10-14 Juergen Vigna <jug@sad.it>
8722 * undo_funcs.C (textHandleUndo): alter the order in which the
8723 new undopar is added to the LyXText, as we have to set first
8724 the right prev/next and then add it as otherwise the rebuild of
8725 LyXText is not correct. Also reset the cursor to the right paragraph,
8726 with this IMO we could remove the hack in "redoParagraphs()".
8728 2002-10-09 Angus Leeming <leeming@lyx.org>
8730 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8731 to turn off an optimisation if a new inset is to be inserted.
8733 2002-10-11 André Pönitz <poenitz@gmx.net>
8735 * lyxtext.h: make some functions public to allow access
8736 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8738 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8740 * text3.C (dispatch): when changing layout, avoid an infinite loop
8743 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8745 * lyxrc.C (read): treat a viewer or converter command of "none" as
8748 * MenuBackend.C (expandFormats): for an update, also allow the
8749 formats that are not viewable
8751 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8752 script if it is newer than the lyxrc.defaults in user directory
8754 2002-10-07 André Pönitz <poenitz@gmx.net>
8756 * text.C: Vitaly Lipatov's small i18n fix
8758 2002-09-25 Angus Leeming <leeming@lyx.org>
8760 * ispell.h: doxygen fix.
8762 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8764 * buffer.h (readFile): Add a new argument to the method, to allow
8765 reading of old-format templates.
8767 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8769 * toc.C (getTocList): Get TOC from InsetWrap.
8771 2002-09-16 John Levon <levon@movementarian.org>
8773 * lyxfunc.C: check tabular for cut/copy too
8775 2002-09-12 John Levon <levon@movementarian.org>
8780 * factory.C: add header
8782 * paragraph_funcs.h:
8783 * paragraph_funcs.C: cleanup
8785 2002-09-11 John Levon <levon@movementarian.org>
8787 * PrinterParams.h: odd/even default to true
8789 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8791 * PrinterParams.h: update printer parameters for new xforms dialog
8793 2002-09-11 Angus Leeming <leeming@lyx.org>
8795 * lyxserver.C (read_ready): re-write to make it more transparent
8796 and to make it work in coherent fashion under Tru64 Unix.
8798 2002-09-11 André Pönitz <poenitz@gmx.net>
8802 * text3.C: implement LFUN_WORDSEL
8804 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8806 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8807 make floatlist_ a boost::shared_ptr<FloatList>
8809 * lyxtextclass.C: include FloatList.h
8810 (LyXTextClass): initialize floatlist_
8811 (TextClassTags): add TC_NOFLOAT
8812 (Read): match "nofloat" to TC_NOFLOAT and use it.
8813 (readFloat): modify call to floatlist_
8817 * FloatList.[Ch] (FloatList): remove commented out float
8819 (erase): new function
8821 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8823 * MenuBackend.C (expandToc): fix crash when there is no document
8826 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8828 * many files: Add insetwrap.
8830 2002-09-09 John Levon <levon@movementarian.org>
8832 * text2.C: remove confusing and awkward depth wraparound
8834 2002-09-09 John Levon <levon@movementarian.org>
8836 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8839 * buffer.C: remove getIncludeonlyList()
8842 * lyxfunc.C: remove headers
8844 2002-09-09 Juergen Vigna <jug@sad.it>
8846 * text.C (getColumnNearX): fix form Michael this is most
8847 probably a cut&paste bug.
8849 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8851 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8853 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8854 references, ws changes.
8856 * text2.C (init): update counters after init
8857 (insertParagraph): no need to set counter on idividual paragraphs.
8858 (setCounter): access the counters object in the textclass object
8859 on in the buffer object.
8860 (updateCounters): ditto
8862 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8863 shared_ptr<Counters> to avoid loading counters.h in all
8865 (LyXTextClass): initialize ctrs_
8866 (TextClassTags): add TC_COUNTER, and ...
8867 (Read): use it here.
8868 (CounterTags): new tags
8869 (readCounter): new function
8870 (counters): new funtion
8871 (defaultLayoutName): return a const reference
8873 * counters.C (Counters): remove contructor
8874 (newCounter): remove a couple of unneeded statements.
8875 (newCounter): simplify a bit.
8876 (numberLabel): some small formatting changes.
8878 * buffer.[Ch]: remove all traces of counters, move the Counters
8879 object to the LyXTextClass.
8881 2002-09-06 Alain Castera <castera@in2p3.fr>
8883 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8884 package to set the horizontal alignment on fixed width columns.
8887 * lyx_sty.h: added tabularnewline macro def.
8889 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8891 2002-09-06 John Levon <levon@movementarian.org>
8893 * LyXAction.C: tooltips for sub/superscript
8895 * MenuBackend.C: a bit more verbose
8897 * lyxfunc.C: tiny clean
8899 * undo_funcs.C: document undo_frozen
8901 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8903 * counters.C (Counters): add missing algorithm counter.
8905 * text2.C (setCounter): lookup the counter with layouts latexname
8906 instead of by section number.
8907 (setCounter): use a hackish way to lookup the correct enum
8909 a float name->type change
8910 reset enum couners with counter name directly instead of depth value.
8912 * counters.C (Counters): remove the push_backs, change to use the
8913 float type not the float name.
8914 (labelItem): remove unused string, float name->type change
8916 * counters.h: don't include vector, loose the enums and sects vectors
8918 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8920 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8921 (Read): add float->TC_FLOAT to textclassTags
8922 (Read): and handle it in the switch
8923 (readFloat): new function
8925 * FloatList.C (FloatList): comment out the hardcoded float
8928 * lyxlayout.h: ws change.
8930 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8932 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8934 2002-09-03 Angus Leeming <leeming@lyx.org>
8936 * BufferView_pimpl.h: qualified name is not allowed in member
8937 declaration: WorkArea & Pimpl::workarea() const;
8939 * factory.C: added using std::endl directive.
8941 * text3.C: added using std::find and std::vector directives.
8943 2002-08-29 André Pönitz <poenitz@gmx.net>
8946 * text2.C: remove unused member number_of_rows
8949 * BufferView2.C: remove file, move contents to...
8950 * BufferView.C: ... here
8952 * BufferView_pimpl.C:
8953 * factory.C: move more inset creation to factory
8955 * vspace.C: avoid direct usage of LyXText, ws changes
8958 don't provide direct access to WorkArea, use two simple
8959 acessors haveSelction() and workHeight() instead
8962 2002-08-29 John Levon <levon@movementarian.org>
8964 * BufferView_pimpl.C (dispatch): do not continue when
8967 2002-08-28 André Pönitz <poenitz@gmx.net>
8969 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8972 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8974 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8976 * buffer.C: increment LYX_FORMAT to 221
8978 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8979 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8981 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8983 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8985 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8987 * factory.C (createInset): use LyXTextClass::floats
8989 * MenuBackend.C (expandFloatListInsert):
8990 (expandFloatInsert):
8993 * text2.C (setCounter):
8995 * LaTeXFeatures.C (useFloat):
8996 (getFloatDefinitions):
8998 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
9000 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
9001 floatlist_, with accessor floats().
9003 * FloatList.h: remove global FloatList
9005 2002-08-26 André Pönitz <poenitz@gmx.net>
9007 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9011 * BufferView_pimpl.C:
9012 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9014 2002-08-25 John Levon <levon@movementarian.org>
9016 * LyXAction.C: fix margin note description
9018 2002-08-24 John Levon <levon@movementarian.org>
9022 * bufferview_funcs.C:
9024 * undo_funcs.C: cleanups
9026 * lyxfunc.C: disable CUT/COPY when no selection
9028 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9030 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9031 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9033 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9034 Add backward compatibility to "mono", "gray" and "no".
9036 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9038 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9039 (and file_format >= 200).
9041 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9043 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9045 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9047 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9049 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9051 * BufferView_pimpl.C:
9058 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9059 inset and code to make it work with the paragraph code. The inset
9060 can be anywhere in the paragraph, but will only do the expected
9061 thing in LaTeX if the layout file contains the parameter line
9063 (or more generally, a nonzero value) for that layout.
9065 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9067 * paragraph.h: remove the declaration of undefined counters class
9070 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9072 * text2.C (setCounter): fixed enumeration mis-count as reported by
9073 Dr. Richard Hawkins.
9075 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9077 * paragraph_funcs.h: remove some unneeded includes
9079 * text.C (backspace): pasteParagraph now in global scipe
9081 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9082 (pasteSelection): ditto
9084 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9085 * paragraph_funcs.C (pasteParagraph): ... here
9087 2002-08-20 André Pönitz <poenitz@gmx.net>
9089 * commandtags.h: new LFUNs for swapping/copying table row/colums
9092 * lyxfunc.C: support for new lfuns
9094 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9097 * buffer.[Ch]: remove NO_COMPABILITY stuff
9099 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9101 * boost.C (throw_exception): new file, with helper function for
9102 boost compiled without exceptions.
9107 * ParameterStruct.h:
9108 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9110 * bufferlist.C (emergencyWriteAll): use boost bind
9112 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9114 * text.C: include paragraph_funcs.h
9115 (breakParagraph): breakParagraph is now in global scope
9117 * paragraph_funcs.[Ch]: new files
9119 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9122 * buffer.C: include paragraph_funcs.h
9123 (insertStringAsLines): breakParagraph is now in global scope
9125 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9128 * CutAndPaste.C: include paragraph_funcs.h
9129 (cutSelection): breakParagraphConservative is now in global scope
9130 (pasteSelection): ditto
9132 * buffer.h: declare oprator== and operator!= for
9133 Buffer::inset_iterator
9135 * bufferlist.C (emergencyWrite): don't use fmt(...)
9137 * text3.C: add using std::endl
9139 * BufferView.C (moveCursorUpdate): remove default arg
9141 2002-08-20 André Pönitz <poenitz@gmx.net>
9143 * buffer.[Ch]: move inline functions to .C
9146 * BufferView_pimpl.C:
9148 * buffer.[Ch]: use improved inset_iterator
9151 * paragraph.[Ch]: write one paragraph at a time
9153 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9155 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9156 style if style is not specified.
9158 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9160 * text2.C (setCounter): when searching for right label for a
9161 caption, make sure to recurse to parent insets (so that a caption
9162 in a minipage in a figure float works) (bug #568)
9164 2002-08-20 André Pönitz <poenitz@gmx.net>
9166 * text3.C: new file for LyXText::dispatch() and helpers
9168 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9170 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9172 2002-08-19 André Pönitz <poenitz@gmx.net>
9175 * text.C: new LyXText::dispatch()
9177 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9179 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9181 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9183 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9186 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9188 * Makefile.am: use $(variables) instead of @substitutions@
9190 2002-08-15 André Pönitz <poenitz@gmx.net>
9193 * BufferView_pimpl.C: streamlining mathed <-> outer world
9197 * LyXAction.C: remove unused LFUN_MATH
9199 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9201 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9203 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9205 * paragraph.C (Paragraph): reformat a bit
9206 (cutIntoMinibuffer): use builtin InsetList function instad of
9210 * buffer.C: include boost/bind.hpp, add using std::for_each
9211 (writeFileAscii): use ParagraphList iterators
9212 (validate): use for_each for validate traversal of paragraphs
9213 (getBibkeyList): use ParagraphList iterators
9214 (resizeInsets): use for_each to resizeInsetsLyXText for all
9216 (getParFromID): use ParagraphList iterators
9218 * BufferView2.C (lockInset): use paragraph list and iterators
9220 2002-08-14 John Levon <levon@movementarian.org>
9222 * lyxserver.C: remove spurious xforms include
9224 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9226 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9228 2002-08-13 André Pönitz <poenitz@gmx.net>
9231 * lyxfunc.C: further cleaning
9233 2002-08-13 André Pönitz <poenitz@gmx.net>
9235 * funcrequest.h: new constructor
9237 * funcrequest.C: move stuff here from .h
9240 * BufferView_pimpl.C:
9243 * lyxfunc.C: subsequent changes
9245 * lyxfunc.h: new view() member function
9247 * lyxfunc.C: subsequent changes
9249 2002-08-13 Angus Leeming <leeming@lyx.org>
9252 * BufferView_pimpl.C:
9260 changes due to the changed LyXView interface that now returns references
9261 to member variables not pointers.
9263 2002-08-13 Angus Leeming <leeming@lyx.org>
9265 * WordLangTuple (word, lang_code): return references to strings,
9270 * lyxtext.h: forward-declare WordLangTuple.
9275 * text.C: #include "WordLangTuple.h".
9278 * text.C: (selectNextWordToSpellcheck): constify return type.
9280 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9286 * paragraph_pimpl.h:
9289 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9291 Made updateCounter always count from start of buffer, and removed
9292 second argument (par).
9293 Reverted floats number display to '#'. Perhaps I'll try again when the
9294 code base is sanitized a bit.
9296 2002-08-12 Angus Leeming <leeming@lyx.org>
9298 * buffer.[Ch] (getLabelList): constify.
9300 2002-08-07 André Pönitz <poenitz@gmx.net>
9302 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9304 * funcrequest.h: extension to keep mouse (x,y) position
9306 2002-08-12 Juergen Vigna <jug@sad.it>
9308 * BufferView2.C (insertErrors): forbid undo when inserting error
9311 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9313 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9315 * ParagraphList.[Ch]: new files
9317 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9319 * BufferView2.C (lockInset): ParagraphList changes
9322 * bufferlist.C: ditto
9326 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9328 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9329 unused class variable counter_,
9331 * paragraph.[Ch] (getFirstCounter): delete unused function
9333 * counters.C: include LAssert.h
9334 (reset): add a new function with no arg, change other version to
9335 not have def. arg and to not allow empty arg.
9337 * text2.C (setCounter): remove empty arg from call to Counters::reset
9339 2002-08-11 John Levon <levon@movementarian.org>
9341 * Makefile.am: add WordLangTuple.h
9343 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9345 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9346 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9348 * insets/insettext.C: InsetList changes
9350 * graphics/GraphicsSupport.C (operator()): InsetList changes
9352 * toc.C (getTocList): InsetList changes
9354 * paragraph_pimpl.[Ch]: InsetList changes
9356 * paragraph.[Ch]: InsetList changes
9358 * buffer.C (inset_iterator): InsetList changes
9359 (setParagraph): ditto
9360 * buffer.h (inset_iterator): ditto
9361 * iterators.C (operator++): ditto
9362 * iterators.h: ditto
9364 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9366 * InsetList.[Ch]: new files, most InsetList handling moved out of
9369 * BufferView2.C (removeAutoInsets): InsetList changes
9371 (ChangeInsets): ditto
9373 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9375 * paragraph_pimpl.h (empty): new function
9377 * paragraph.[Ch] (empty): new function
9379 * other files: use the new Paragraph::empty function
9381 2002-08-09 John Levon <levon@movementarian.org>
9383 * lyxtext.h: remove unused refresh_height
9385 2002-08-09 John Levon <levon@movementarian.org>
9392 * paragraph.C: move sgml char escaping out of paragraph
9395 * paragraph.C: remove id setter
9399 * paragraph_pimpl.C: remove dead tex_code_break_column
9401 * bufferview_funcs.C: small cleanup
9403 * lyxfunc.C: remove dead proto
9405 * lyxtext.h: make some stuff private. Remove some dead stuff.
9407 * lyxgluelength.C: make as[LyX]String() readable
9409 2002-08-08 John Levon <levon@movementarian.org>
9414 * ToolbarDefaults.C:
9417 * toc.C: lyxaction cleanup
9419 2002-08-08 John Levon <levon@movementarian.org>
9421 * BufferView2.C: small cleanup
9424 * lyxfind.C: move unnecessary header into the .C
9426 2002-08-08 John Levon <levon@movementarian.org>
9428 * funcrequest.h: just tedious nonsense
9431 * lyx_main.C: cleanups
9434 * vspace.C: remove dead header lyx_main.h
9436 2002-08-07 Angus Leeming <leeming@lyx.org>
9439 * paragraph_pimpl.h:
9440 Forward declare class Counters in paragraph.h by moving the ctrs member
9441 variable into Paragraph::Pimpl.
9442 (counters): new method, returning a reference to pimpl_->ctrs.
9444 * text2.C: ensuing changes.
9446 2002-08-07 John Levon <levon@movementarian.org>
9448 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9450 * BufferView_pimpl.C: announce X selection on double/triple
9453 * lyx_main.C: use correct bool in batch dispatch
9455 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9457 2002-08-07 André Pönitz <poenitz@gmx.net>
9459 * funcrequest.h: new class to wrap a kb_action and its argument
9462 * BufferView_pimpl[Ch]:
9466 * lyxrc.C: subsequent changes
9469 2002-08-07 John Levon <levon@movementarian.org>
9471 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9472 document options change.
9474 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9479 * makefile.am: move counters functionality over from
9480 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9482 2002-08-06 John Levon <levon@movementarian.org>
9484 * WordLangTuple.h: new file for word + language code tuple
9495 * BufferView2.C: use WordLangTuple
9498 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9500 2002-08-06 John Levon <levon@movementarian.org>
9502 * lyx_main.C: fix cmdline batch handling
9504 2002-08-06 André Pönitz <poenitz@gmx.net>
9506 * lyxrc.C: set default for show_banner to true
9508 2002-08-06 John Levon <levon@movementarian.org>
9510 * pspell.C: fix a crash, and allow new aspell to work
9512 2002-08-06 John Levon <levon@movementarian.org>
9515 * kbmap.C: small cleanup
9518 * vspace.C: add const
9520 2002-08-05 John Levon <levon@movementarian.org>
9522 * LyXAction.C: back to tabular-insert
9524 2002-08-04 John Levon <levon@movementarian.org>
9527 * BufferView.C: cosmetic change
9529 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9539 * BufferView2.C: purge all "Lyx" not "LyX" strings
9542 * lyxcursor.C: attempt to add some documentation
9547 * ToolbarDefaults.C:
9548 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9549 merge with LFUN_TABULAR_INSERT
9556 * pspell.C: split up i/pspell implementations into separate
9557 files, many cleanups
9559 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9561 * text2.C: some cleanup
9563 * lyxfunc.C: don't check for isp_command == "none" any more, it
9564 didn't make any sense
9566 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9571 * makefile.am: move counters functionality over
9572 from text2.C/paragraph.[Ch] to counters.[Ch], and
9574 2002-08-02 John Levon <levon@movementarian.org>
9576 * buffer.C: s/lyxconvert/lyx2lyx/
9578 2002-08-02 Angus Leeming <leeming@lyx.org>
9580 * lyxlex.C: revert John's change as it breaks reading of the user
9583 2002-08-02 Angus Leeming <leeming@lyx.org>
9585 * importer.C (Import):
9586 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9587 changes due to LyXView::view() now returning a boost::shared_ptr.
9589 2002-08-02 John Levon <levon@movementarian.org>
9591 * lyxlex.C: small cleanup
9593 2002-08-02 John Levon <levon@movementarian.org>
9595 * text2.C (status): small cleanup, no logic change
9597 2002-08-01 John Levon <levon@movementarian.org>
9600 * buffer.C (writeFile): don't output alerts, caller
9604 * lyx_cb.C: from above
9606 * lyxfunc.C: allow to open non-existent files
9608 2002-07-31 John Levon <levon@movementarian.org>
9610 * lyxserver.C: don't let incidental errors get
9613 2002-07-30 John Levon <levon@movementarian.org>
9615 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9617 2002-07-30 John Levon <levon@movementarian.org>
9620 * lyxserver.C: remove I/O callback too
9622 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9624 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9627 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9629 * many files: strip,frontStrip -> trim,ltrim,rtrim
9631 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9633 * PrinterParams.h: remove extern containsOnly, and include
9634 support/lstrings.h instead.
9636 * LaTeX.C (scanAuxFile): modify because of strip changes
9638 * buffer.C (makeLaTeXFile): ditto
9639 * bufferparams.C (writeFile): ditt
9640 * lyxfont.C (stateText): ditto
9641 * lyxserver.C (read_ready): ditto
9642 * vc-backend.C (scanMaster): ditto
9644 * BufferView_pimpl.h: ws changes
9646 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9648 2002-07-26 André Pönitz <poenitz@gmx.net>
9650 * kb_sequence.C: remove unnedred usings
9652 2002-07-26 Juergen Vigna <jug@sad.it>
9654 * lyxfind.C (LyXReplace): we have to check better if the returned
9655 text is not of theLockingInset()->getLockingInset().
9657 2002-07-25 Juergen Vigna <jug@sad.it>
9659 * lyxfind.C (LyXReplace): don't replace if we don't get the
9662 * undo_funcs.C (createUndo): remove debugging code.
9664 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9666 * buffer.C (parseSingleLyXformat2Token): Use default placement
9667 when reading old floats.
9669 * FloatList.C (FloatList): Change the default placement of figure
9670 and tables to "tbp".
9672 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9674 * MenuBackend.C: using std::max
9676 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9678 * MenuBackend.C (expandToc):
9679 (expandToc2): code moved from xforms menu frontend. It is now
9680 generic and TOCs are transparent to menu frontends.
9682 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9684 * toc.C (getTocList): protect against buf=0
9686 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9687 Menu as first parameter. Now, this calls itself recursively to
9688 expand a whole tree (this will be useful for TOC handling)
9689 (expandFloatInsert): remove 'wide' version of floats
9691 * MenuBackend.h (submenuname): returns the name of the submenu.
9692 (submenu): returns the submenu itself, provided it has been
9693 created by MenuBackend::expand
9695 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9697 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9698 insets which have noFontChange == true. (bug #172)
9700 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9702 * BufferView_pimpl.C: add connection objects and use them...
9705 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9707 * MenuBackend.C (expandLastfiles):
9710 (expandFloatListInsert):
9711 (expandFloatInsert):
9712 (expand): split expand in parts
9714 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9716 * lyx_gui.C: use lyx_gui::exit()
9718 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9720 * LyXAction.C: show the failing pseudo action
9722 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9724 * buffer.C (readFile): Run the lyxconvert script in order to read
9727 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9731 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9733 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9737 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9739 2002-07-22 Herbert Voss <voss@lyx.org>
9742 * lyxlength.[Ch]: add support for the vertical lengths
9744 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9746 * toc.[Ch]: std:: fixes
9748 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9750 * lyxrc.C: do not include lyx_main.h
9752 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9758 * BufferView2.C: include "lyxlex.h"
9761 * bufferparams.h: do not #include "lyxlex.h"
9763 * lyxtextclasslist.C (Add): remove method
9764 (classlist): renamed to classlist_
9766 * paragraph_pimpl.C:
9770 * bufferview_funcs.C:
9775 * toc.C (getTocList): use BufferParams::getLyXTextClass
9777 * toc.C (getTocList): use InsetFloat::addToToc
9779 * toc.[Ch]: new files, containing helper functions to handle table
9782 * lyxfunc.C (dispatch): no need to remove spaces around command
9784 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9785 first command of the sequence; it is not very clever, but I do not
9786 have a better idea, actually
9788 * LyXAction.C (LookupFunc): make sure to remove space at the
9789 beginning and end of the command
9791 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9793 * MenuBackend.C (getMenubar): new method: return the menubar of
9795 (read): treat differently reading of menu and menubar (in
9796 particular, the menubar has no name now)
9797 (Menu::menubar): remove
9799 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9802 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9804 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9805 a bibitem inset in a RTL paragraph.
9807 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9809 * paragraph_pimpl.C: constify
9811 * BufferView_pimpl.C:
9813 * lyxfunc.C: fix dispatch in a nicer way
9815 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9817 * lyxfunc.C (dispatch):
9818 * BufferView_pimpl.C:
9819 * BufferView_pimpl.h:
9821 * BufferView.h: rename Dispatch() to dispatch()
9823 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9825 * lyxlayout.C (Read): honor DependsOn tag
9827 * lyxlayout.[Ch] (depends_on): new method
9829 * version.C.in: update lyx_docversion
9831 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9833 * paragraph.C (validate): remove from here...
9834 * paragraph_pimpl.C (validate): ... and move here
9835 (isTextAt): make it const
9837 * buffer.C (getLists): ws cleanup
9839 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9841 * language.C (read): Use iso8859-1 encoding in latex_lang
9842 (this prevents LyX from crashing when using iso10646-1 encoding).
9844 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9846 * text2.C (toggleInset): if cursor is inside an inset, close the
9847 inset and leave cursor _after_ it
9849 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9851 * lyxfunc.C: move minibuffer completion handling out of here
9853 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9855 * BufferView_pimpl.C:
9856 * LaTeX.C: fix dispatch calls
9858 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9860 * text.C (drawChars): Fix Arabic text rendering.
9862 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9866 * lyxfunc.C: remove message-push/pop
9870 * lyxfunc.C: rationalise some code by removing verboseDispatch
9871 in favour of a bool argument to dispatch()
9873 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9875 * lyx_main.C (init): make sure to read symlinks as absolute paths
9877 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9880 * lyxfunc.C: no need for commandshortcut to be a member
9882 2002-07-15 André Pönitz <poenitz@gmx.net>
9884 * converter.C: add support for $$s (scripts from lib/scripts dir)
9885 * lyx_main.C: white space
9887 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9891 * lyxrc.C: remove second exit confirmation
9893 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9898 * BufferView_pimpl.h:
9899 * BufferView_pimpl.C:
9900 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9902 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9904 * MenuBackend.C (expand): add numeric shortcuts to document menu
9906 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9908 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9910 * lyxfont.C (setLyXFamily):
9917 * buffer.C (asciiParagraph): use ascii_lowercase
9919 2002-07-15 Mike Fabian <mfabian@suse.de>
9921 * lyxlex_pimpl.C (search_kw):
9922 * lyxlex.C (getLongString):
9923 * converter.h (operator<):
9924 * converter.C (operator<):
9925 * buffer.C (parseSingleLyXformat2Token):
9927 * ToolbarDefaults.C (read):
9928 * MenuBackend.C (checkShortcuts):
9930 * LColor.C (getFromGUIName):
9931 (getFromLyXName): use the compare_ascii_no_case instead of
9932 compare_no_case, because in turkish, 'i' is not the lowercase
9933 version of 'I', and thus turkish locale breaks parsing of tags.
9935 2002-07-16 Angus Leeming <leeming@lyx.org>
9937 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9938 now takes a Buffer const & argument.
9940 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9942 * BufferView.C (resize): check there's a buffer to resize
9944 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9946 * lyxfunc.C: remove dead code
9949 * lyxserver.C: use lyx_guii::set_read_callback
9951 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9953 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9954 an inset in a RTL paragraph.
9956 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9958 * lyxfunc.C: repaint after a font size update
9960 2002-07-15 André Pönitz <poenitz@gmx.net>
9962 * lyxlength.C: inBP should be able to return negative values
9964 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9966 * lyxfunc.C: use lyx_gui::update_fonts()
9968 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9970 * lyxfunc.C: use lyx_gui::update_color()
9972 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9978 * lyxrc.C: remove file->new asks for name option, and let
9979 buffer-new take an argument
9981 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9983 * BufferView_pimpl.C: remove unneeded extra repaint()
9985 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9987 * LyXAction.C: allow command-sequence with NoBuffer
9989 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9991 2002-07-10 Angus Leeming <leeming@lyx.org>
9993 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9995 2002-07-09 Angus Leeming <leeming@lyx.org>
9997 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9999 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10001 * lengthcommon.h: whitespace
10003 * lyxfunc.C: update scrollbar after goto paragraph
10005 * lyxtext.h: factor out page break drawing, and fix it so
10006 page break/added space paints as selected nicely
10008 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10010 * BufferView_pimpl.C: add FIXMEs, clean up a little
10012 2002-07-09 André Pönitz <poenitz@gmx.net>
10014 * lyxfont.[Ch]: support for wasy symbols
10016 2002-07-08 André Pönitz <poenitz@gmx.net>
10018 * BufferView_pimpl.C: apply John's patch for #93.
10020 2002-07-05 Angus Leeming <leeming@lyx.org>
10022 * BufferView_pimpl.C (buffer): generate previews if desired.
10024 * LColor.h: add "preview" to the color enum.
10026 * LColor.C (LColor): add a corresponding entry to the items array.
10028 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10031 2002-07-05 Angus Leeming <leeming@lyx.org>
10033 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10034 The body of the code is now in the method that is passed an ostream &
10035 rather than a file name.
10036 Pass an additional only_preamble parameter, useful for the forthcoming
10039 2002-07-03 André Pönitz <poenitz@gmx.net>
10041 * lyxfunc.C: simplify getStatus() a bit for math stuff
10043 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10045 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10047 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10049 * text.C (changeRegionCase): do not change case of all the
10050 document when region ends at paragraph end (bug #461)
10052 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10054 * paragraph.C (startTeXParParams):
10055 (endTeXParParams): add \protect when necessary
10057 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10059 * BufferView_pimpl.C (workAreaExpose): remove warning
10061 2002-06-27 Angus Leeming <leeming@lyx.org>
10063 * Makefile.am: add lyxlayout_ptr_fwd.h.
10065 2002-06-26 André Pönitz <poenitz@gmx.net>
10067 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10069 2002-06-25 Angus Leeming <leeming@lyx.org>
10071 * lyxfunc.C (dispatch): Comment out the call to
10072 grfx::GCache::changeDisplay. The method no longer exists now that the
10073 pixmap generation part of the graphics loader has been moved into
10076 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10078 * text2.C: layout as layout
10080 * text.C: layout as layout
10082 * tabular.C (OldFormatRead): layout as layout
10084 * paragraph_pimpl.C (TeXDeeper): layout as layout
10085 (realizeFont): layout as layout
10087 * paragraph.C (writeFile): layout as layout
10088 (validate): layout as layout
10089 (getFont): layout as layout
10090 (getLabelFont): layout as layout
10091 (getLayoutFont): layout as layout
10092 (breakParagraph): layout as layout
10093 (stripLeadingSpaces): layout as layout
10094 (getEndLabel): layout as layout
10095 (getMaxDepthAfter): layout as layout
10096 (applyLayout): layout as layout
10097 (TeXOnePar): layout as layout
10098 (simpleTeXOnePar): layout as layout
10099 (TeXEnvironment): layout as layout
10100 (layout): layout as layout
10101 (layout): layout as layout
10103 * lyxtextclass.C (compare_name): new functor to work with
10104 shared_ptr, layout as layout
10105 (Read): layout as layout
10106 (hasLayout): layout as layout
10107 (operator): layout as layout
10108 (delete_layout): layout as layout
10109 (defaultLayout): layout as layout
10111 * lyxlayout_ptr_fwd.h: new file
10113 * lyxlayout.C (Read): layout as layout
10115 * lyx_cb.C (MenuInsertLabel): layout as layout
10117 * bufferlist.C (newFile): layout as layout
10119 * buffer.C (readLyXformat2): layout as layout
10120 (parseSingleLyXformat2Token): layout as layout
10121 (insertStringAsLines): layout as layout
10122 (asciiParagraph): layout as layout
10123 (latexParagraphs): layout as layout
10124 (makeLinuxDocFile): layout as layout
10125 (simpleLinuxDocOnePar): layout as layout
10126 (makeDocBookFile): layout as layout
10127 (simpleDocBookOnePar): layout as layout
10128 (getLists): layout as layout
10130 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10132 * CutAndPaste.C (cutSelection): layout as layout
10133 (pasteSelection): layout as layout
10134 (SwitchLayoutsBetweenClasses): layout as layout
10136 * BufferView_pimpl.C (Dispatch): layout as layout
10137 (smartQuote): layout as layout
10139 * BufferView2.C (unlockInset): layout as layout
10141 2002-06-24 André Pönitz <poenitz@gmx.net>
10143 * lyxfunc.C: fix #487
10145 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10149 * lyxfunc.C: remove display_shortcuts, show_banner
10151 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10153 * Buffer_pimpl.C: oops, update on resize
10155 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10162 * BufferView.C: use repaint()
10164 * BufferView_pimpl.h:
10165 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10166 as it's a clearer description. Remove superfluous
10169 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10171 * text.C: fix bug 488. Not ideal, but getting
10172 getWord() to work properly for the insets that
10173 matter is more difficult ...
10175 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10177 * BufferView_pimpl.C:
10180 * lyxfunc.C: remove the six million index lyxfuncs to just
10181 one, and DTRT (bug 458)
10183 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10187 * BufferView_pimpl.h:
10188 * BufferView_pimpl.C: clean up resize() stuff,
10189 and unnecessary updateScreen()s
10191 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10195 * BufferView_pimpl.h:
10196 * BufferView_pimpl.C:
10199 * minibuffer.C: remove focus management of workarea,
10200 not needed. Use screen's greyOut()
10202 2002-06-17 Herbert Voss <voss@lyx.org>
10204 * converter.C: (convert) do not post a message, when converting
10205 fails, let the calling function decide what to do in this case
10207 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10209 * lyxfunc.C: tidy up a little
10211 2002-06-16 <alstrup@diku.dk>
10213 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10214 Got rid of FORMS_H_LOCATION include. Now we are
10217 2002-06-15 LyX Development team <lyx@rilke>
10219 * buffer.[Ch] (sgmlOpenTag):
10220 (sgmlCloseTag): Added support for avoiding pernicious mixed
10221 content. Return number of lines written.
10223 (makeLinuxDocFile):
10224 (makeDocBookFile): Fixed calls to sgml*Tag.
10225 Simple white space clean.
10227 (simpleDocBookOnePar): Simple white space clean.
10229 * tabular.[Ch] (docBook): Renamed to docbook and got another
10230 argument to related with the pernicious mixed content.
10232 (docbookRow): Fixed calls for docbook inset method.
10234 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10236 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10237 so it's X11 independent.
10241 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10243 2002-06-15 Lyx Development team <lyx@electronia>
10245 * intl.h: Renamed getTrans to getTransManager.
10247 2002-06-14 Angus Leeming <leeming@lyx.org>
10249 * Makefile.am: nuke forgotten stl_string_fwd.h.
10251 2002-06-12 Angus Leeming <leeming@lyx.org>
10253 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10255 2002-06-13 Angus Leeming <leeming@lyx.org>
10258 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10260 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10262 * kbmap.C (getiso): add support for cyrillic and greek
10264 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10268 * BufferView_pimpl.h:
10269 * BufferView_pimpl.C: move bogus scrolling logic
10272 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10275 * BufferView_pimpl.C: view->resize() change
10277 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10279 * BufferView_pimpl.C: topCursorVisible
10282 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10286 * lyx_gui.C: move to frontends/
10290 * lyx_main.C: changes from above
10292 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10299 * lyx_main.C: minor tidy
10301 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10303 * BufferView_pimpl.h:
10304 * BufferView_pimpl.C:
10306 * BufferView.C: make painter() const,
10309 * BufferView2.C: use screen() accessor
10312 * lyx_main.C: some minor cleanup
10314 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10316 * BufferView_pimpl.h:
10317 * BufferView_pimpl.C: remove enter/leaveView,
10320 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10325 * BufferView_pimpl.h:
10326 * BufferView_pimpl.C: only construct screen once,
10329 * lyxrc.C: remove pointless comment
10331 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10334 * BufferView.C: remove active() and belowMouse()
10336 * BufferView_pimpl.h:
10337 * BufferView_pimpl.C: use workarea() not workarea_,
10338 and make it use a scoped_ptr instead
10340 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10342 * lyx_gui.C: add debug message on BadWindow
10344 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10346 * sp_spell.C: fdopen is not part of the C++ standard.
10348 * paragraph.C (InsetIterator): use >= instead of ==
10350 2002-06-07 Angus Leeming <leeming@lyx.org>
10352 Fixes needed to compile with Compaq cxx 6.5.
10353 * BufferView_pimpl.C:
10360 * lyxtextclasslist.C:
10365 all c-library variables have been moved into namespace std. Wrap
10366 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10371 Add a using std::abs declaration.
10373 * kbmap.h (modifier_pair):
10374 * paragraph.h (InsetTable, InsetList):
10375 * lyxfont.h (FontBits):
10376 type definition made public.
10378 * bufferlist.C (emergencyWriteAll): the compiler complains that
10379 there is more than one possible lyx::class_fun template to choose from.
10380 I re-named the void specialisation as lyx::void_class_fun.
10382 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10384 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10385 the compiler is is unable to find tostr in write_attribute.
10387 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10389 * buffer.C (sgmlError): hide #warning
10391 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10393 * xtl/*: get rid of xtl, which is not in use anyway
10395 * LyXAction.C (init):
10396 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10397 were unimplemented xtl experimentation
10399 2002-06-04 André Pönitz <poenitz@gmx.net>
10401 * lyxfunc.C: disable array operation on simple formulae
10403 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10405 * converter.C: constify a bit
10407 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10409 * lyx_gui.C: check xforms version correctly
10411 2002-04-30 Herbert Voss <voss@lyx.org>
10413 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10416 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10418 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10419 attempt to register it with a VCS)
10421 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10423 * lyx_main.C (init): honor variables LYX_DIR_13x and
10426 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10430 * lyx_main.C: fix a crash on bad command line,
10431 and give a useful exit status on error
10433 * lyxfunc.C (doImport): allow -i lyx to work
10435 2002-03-30 André Pönitz <poenitz@gmx.net>
10437 * lyxfunc.C: mathed font changes
10439 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10454 * trans_mgr.h: srcdocs, and some minor cleanups
10456 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10458 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10459 call getFont all the time)
10461 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10463 * switch from SigC signals to boost::signals
10465 2002-05-29 André Pönitz <poenitz@gmx.net>
10467 * paragraph_pimpl.C (getChar): don't call size() too often...
10469 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10471 * paragraph_pimpl.C (insertChar): do not try to update tables when
10472 appending (pos == size())
10474 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10475 in order to reduce drastically the number of comparisons needed to
10476 parse a large document
10478 2002-05-29 André Pönitz <poenitz@gmx.net>
10484 * textclasslist.[Ch]:
10485 * sp_ispell.h: whitespace change
10487 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10489 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10490 lyxaction directly now.
10492 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10496 * lyxvc.C: remove unused headers
10498 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10505 * undo_funcs.C: some cleanups. Use shared_ptr
10506 and a template for the undo stacks.
10508 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10510 * BufferView_pimpl.h:
10511 * BufferView_pimpl.C:
10518 * text2.C: use key_state/mouse_state
10520 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10522 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10525 * chset.C: change include order
10526 (loadFile): use boost regex and get rid of LRegex and LSubstring
10528 * Makefile.am (BOOST_LIBS): new variable
10529 (lyx_LDADD): use it
10531 * LaTeX.C: change include order.
10532 (scanAuxFile): use boost regex and get rid of LRegex and
10536 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10541 * FontInfo.C: moved to frontends/xforms/
10544 * FontLoader.C: moved into frontends for GUIIzation
10549 * lyxfunc.C: changes from above
10551 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10553 * LColor.C: remove spurious X include
10555 * BufferView_pimpl.C:
10560 * text2.C: move font metrics to frontends/
10562 2002-05-24 Juergen Vigna <jug@sad.it>
10564 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10565 setting the undo_cursor.
10567 * ParagraphParameters.h: include local includes first.
10569 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10571 * BufferView_pimpl.C:
10572 * BufferView_pimpl.h:
10576 * screen.C: move WorkArea into frontends/
10582 * BufferView2.C: move LyXScreen into frontends/
10586 * lyx_gui.C: move lyxlookup into frontends/xforms/
10588 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10591 * BufferView_pimpl.C:
10601 * bufferview_funcs.C:
10614 * vc-backend.C: move LyX/XFormsView into frontends/
10616 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10628 * text2.C: move Painter to frontends/
10630 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10632 * buffer.C: comment out some some code that depend upon lyx_format
10635 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10636 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10638 * buffer.h (NO_COMPABILITY): turn off compability
10640 * ColorHandler.C: include scoped_array.hpp
10642 * font.C: Use more specific smart_ptr header.
10645 * ShareContainer.h: ditto
10646 * lyx_main.h: ditto
10648 * FontInfo.h: ditto
10649 * BufferView_pimpl.h: ditto
10650 * ColorHandler.h: ditto
10652 * kbmap.C (defkey): change call to shared_ptr::reset
10654 2002-05-21 Juergen Vigna <jug@sad.it>
10656 * buffer.C (insertErtContents): fix to insert ert asis if it is
10657 non empty. Skip it completely if it contains only whitespaces.
10659 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10661 * BufferView_pimpl.C:
10662 * BufferView2.C: clear selection on paste (bug 393)
10664 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10666 * DepTable.C: include ctime
10668 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10670 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10672 2002-05-14 Juergen Vigna <jug@sad.it>
10674 * text.C (breakParagraph): fixed function to honor the keepempty
10675 layout in the right maner and also to permit the right breaking
10676 algorithm on empty or non empyt keepempty paragraphs.
10678 * paragraph.C (breakParagraph): we have to check also if the par
10679 is really empty (!size()) for isempty otherwise we do the wrong
10682 2002-05-10 Juergen Vigna <jug@sad.it>
10684 * buffer.[Ch] : The following are only changes to the ert
10685 compatibility read reading old LaTeX layout and font stuff and
10686 convert it to ERTInsets.
10688 * buffer.h: added isErtInset().
10690 * buffer.C (struct ErtComp): add a fromlayout bool to check
10691 if we're inside a LaTeX layout.
10692 (isErtInset): new helper function.
10693 (insertErtContents): look for other ert insets before this one
10694 and insert the contents there, so that we don't have subsequent
10695 ERT insets with nothing between them. This way we create only one
10696 inset with multiple paragraphs. Also check if we don't insert only
10697 spaces ' ' as they are ignored anyway afterwards in the .tex file
10698 so if we have only spaces we will ignore this latex part in the
10700 (parseSingleLyXformat2Token \\layout): better compatibility when
10701 reading layout-latex stuff.
10702 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10704 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10705 stuff after reading the inset only get the information back from
10708 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10710 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10712 * LaTeXFeatures.C (getBabelOptions): New method.
10714 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10716 * BufferView_pimpl.C (Dispatch): work around missing argument for
10719 2002-05-08 Juergen Vigna <jug@sad.it>
10721 * text.C (leftMargin): handle paragraph leftindent.
10723 * paragraph.C (writeFile): write the new \\leftindent tag.
10724 (validate): handle leftindent code.
10725 (TeXEnvironment): handle paragraphleftindent code again.
10727 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10729 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10730 for paragrap_extra indent code and new token \\leftindent.
10731 (latexParagraphs): handle the leftindent as environment.
10733 * ParameterStruct.h: added leftindent support.
10735 * ParagraphParameters.C (leftIndent): added support functions for
10736 the paragraph left indent.
10738 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10741 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10743 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10746 * text.C (computeBidiTables): No bidi in insetERT.
10748 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10751 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10753 * version.C.in: pre 5
10755 2002-05-02 José Matos <jamatos@fep.up.pt>
10756 * buffer.C (makeDocBookFile): white space changes, add newline to
10758 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10760 * tabular.C (docBook): fix typo.
10762 2002-05-03 Juergen Vigna <jug@sad.it>
10764 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10765 change in LyXText as we can not be sure it was not freed.
10766 (drawOneRow): remove unused code.
10768 * text.C (drawInset): redo the calculation of the need_break_row as
10769 it could have a row which was already freed.
10770 (draw): look at the return value of drawInset and return false if
10771 it also returned false.
10772 (paintRowText): look at the return value of draw and return false if
10773 it also returned false.
10775 * lyxtext.h: added bool return type to drawInset() and draw() so that
10776 if we have a change in the row so that the rowbreak has to be redone
10777 we abort drawing as it will be called again.
10779 2002-05-02 Juergen Vigna <jug@sad.it>
10781 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10782 a change in the maintext also if we're inside an inset.
10783 (Dispatch): set the cursor again after a break line and after the
10784 screen has been updated as it could be we're in a different row.
10786 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10787 to set the cursor behind the pargraph with > size().
10788 (setCursor): check also for the same paragraph when checking where
10789 to put the cursor if we have a NFR inset.
10791 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10792 parts of layout read further up as it still was in the wrong
10795 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10797 * screen.C (drawFromTo): change sine fullRebreak always return
10800 * buffer.C (parseSingleLyXformat2Token): reindent some
10802 * BufferView_pimpl.C (update): change since fullRebreak always
10804 (Dispatch): git rid of the last hardcoded "Standard"s.
10806 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10808 * text2.[Ch] (fullRebreak): make it return void now that we always
10811 2002-04-30 Juergen Vigna <jug@sad.it>
10813 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10814 ert compatibility check for "latex" layout.
10816 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10818 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10819 minipages: use col% instead of p%, and also use the current font.
10820 (makeLaTeXFile): Fix use babel condition.
10821 (parseSingleLyXformat2Token): Correct font when reading old floats.
10823 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10825 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10826 inserting list of floats.
10828 2002-04-25 Herbert Voss <voss@lyx.org>
10830 * MenuBackend.C (expand): don't add the graphics extensions to the
10833 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10835 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10836 non-existing layout, do not complain if it was the default layout
10837 of the original class (bug #342)
10839 2002-04-24 Juergen Vigna <jug@sad.it>
10841 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10842 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10844 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10846 * buffer.C (getBibkeyList): If using \bibliography, return the
10847 option field with the reference itself. Enables us to provide natbib
10848 support when using \bibliography.
10850 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10852 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10854 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10855 natbib is provided by the LaTeX class.
10857 2002-04-23 Juergen Vigna <jug@sad.it>
10859 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10862 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10864 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10866 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10868 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10869 ensuremath around textordmasculine, textordfeminine and
10872 2002-04-19 Juergen Vigna <jug@sad.it>
10874 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10875 reinitializing the buffer otherwise row-dimensions may be wrong.
10876 (update): reset also the selection cursors if they do exits otherwise
10877 their x/y positions may be wrong.
10879 * text2.C (cursorDown): don't enter the inset if we came from a row
10880 above and are one row over the inset.
10882 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10883 really leaving an inset.
10885 2002-04-18 Juergen Vigna <jug@sad.it>
10887 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10888 of the selected paragraph does not have the selected layout also if
10891 * text2.C (setLayout): fixed bug which did not change last selected
10894 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10895 changed the read and substituted \\end_float with \\end_inset!
10897 * BufferView_pimpl.C (cursorPrevious):
10898 (cursorNext): fixed to make it work with rows heigher than the work
10899 area without moving the cursor only the draw of the row.
10900 (workAreaMotionNotify): fix jumping over high rows.
10902 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10904 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10907 2002-04-16 Juergen Vigna <jug@sad.it>
10909 * text2.C (setCursor): set also the irow().
10910 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10912 (cursorDown): support for locking an inset if the x_fix value goes
10913 inside it. That way I can transverse insets too with cursor up/down.
10915 * lyxrow.h: added irow helper function same as other (i) functions.
10917 * BufferView_pimpl.C (cursorPrevious):
10918 (cursorNext): fixed for insets!
10920 2002-04-15 Juergen Vigna <jug@sad.it>
10922 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10923 position otherwise it is wrong in some cases.
10925 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10926 inside the inset before the call.
10928 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10930 * buffer.[Ch] (getBibkeyList): make it const.
10932 2002-04-12 Juergen Vigna <jug@sad.it>
10934 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10936 * text2.C (getCursorX): new helper function
10937 (setCursor): compute also ix_
10938 (setCursorFromCoordinates): set also ix.
10940 * lyxcursor.h: added ix_ and helper functions.
10942 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10944 * buffer.C (insertStringAsLines): dont break paragraph if the this
10945 paragraph is inside an inset which does not permit it!
10947 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10948 also with no chars on this paragraph.
10949 (paintRowText): only paint stuff if it's inside the workarea!
10951 * paragraph.C (breakParagraph): honor keepempty flag and break the
10952 paragraph always below not above.
10954 * BufferView2.C (unlockInset): update the paragraph layout on inset
10955 unlock as we changed paragraph in such a case.
10957 * lyxfind.C (LyXFind): clear the former selection if not found!
10959 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10960 again called in insertChar().
10962 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10963 an inset which uses the whole row!
10964 (rightMargin): ditto.
10965 (insertChar): force a rebreak if we inserted an inset!
10967 2002-03-28 Herbert Voss <voss@lyx.org>
10969 * lyxlength.[Ch]: add inBP() to get the right PS-point
10970 units (BigPoint). With inPixels we have rounding errors
10972 2002-04-11 Juergen Vigna <jug@sad.it>
10974 * text2.C (setCursorFromCoordinates): set iy to the right value.
10975 (setCursor): add check if row->previous exists!
10977 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10978 an old float_type as this was the case in the old code!
10980 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10982 * BufferView2.C (showLockedInsetCursor): use iy
10983 (fitLockedInsetCursor): ditto
10985 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10986 locked insets as there we have the right value now.
10988 * lyxcursor.C: added iy_ variable and iy functions to set to the
10989 baseline of cursor-y of the locked inset.
10991 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10992 (setCursor): fixed for insets which need a full row.
10994 * text.C (rowLastPrintable): don't ignore the last space when before
10995 an inset which needs a full row.
10996 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10997 as last character of a row when before a inset which needs a full row.
10999 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11001 * version.C.in: update date
11003 * text2.C (fullRebreak): try to always return true and see what
11006 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11008 * MenuBackend.C (expand): use Floating::listName
11010 * FloatList.C (FloatList): add listName argument to the built-in
11013 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11014 text associated with the float.
11016 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11018 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11020 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11022 * ShareContainer.h: add a couple of missing typenames.
11024 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11026 * lyxrc.C (getDescription): use _() correctly rather than N_().
11028 2002-03-28 Herbert Voss <voss@lyx.org>
11030 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11031 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11033 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11035 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11036 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11038 2002-03-29 Juergen Vigna <jug@sad.it>
11040 * lyxfunc.C (dispatch): add a missing fitCursor call.
11042 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11043 it was scrolled by a cursor move, so return the bool status.
11045 * BufferView.C (fitCursor): return the bool flag also to the outside
11046 world as this is needed.
11048 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11050 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11051 call the edit() as it is not needed (and wrong) IMO.
11052 (workAreaButtonPress): set the screen_first variable before evt.
11053 unlock the inset as this may change screen_first and then we have
11054 a wrong y position for the click!
11056 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11058 * MenuBackend.C (expand): another translation that I missed
11060 2002-03-28 Juergen Vigna <jug@sad.it>
11062 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11064 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11066 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11068 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11070 * MenuBackend.C (expand): fix export/view/update when there is no
11073 2002-03-27 Herbert Voss <voss@lyx.org>
11075 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11078 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11080 * bufferview_funcs.C (currentState): only show paragraph number
11081 for is DEVEL_VERSION is set.
11083 * lyxfunc.C (dispatch): put warning in INFO channel
11085 * MenuBackend.C (expand): translate the name of floats
11087 * FloatList.C (FloatList): mark the float names for translation
11089 * converter.C (convert): use LibScriptSearch
11091 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11093 * MenuBackend.C (defaults): fix default menu (we might as well get
11096 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11098 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11101 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11103 * lyxvc.C: reorder includes.
11105 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11107 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11110 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11112 * CutAndPaste.C: change layouts earlier on paste
11113 to avoid crashing when calling getFont()
11115 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11117 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11120 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11122 * WorkArea.C: remove 'Pending' debug message.
11124 * most files: ws cleanup
11126 * buffer.[Ch]: ws changes
11128 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11130 2002-03-21 Juergen Vigna <jug@sad.it>
11132 * tabular.C (SetMultiColumn): collapse also the contents of the
11133 cells and set the last border right. Added a Buffer const * param.
11135 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11137 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11140 2002-03-19 Juergen Vigna <jug@sad.it>
11142 * text2.C (clearSelection): reset also xsel_cache.
11144 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11145 where it needs to be called (John tells us to do so too :)
11146 (selectionLost): reset sel_cache.
11148 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11150 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11152 * text2.C (setCursorIntern): put debuging code in INSETS channel
11154 2002-03-19 André Pönitz <poenitz@gmx.net>
11156 * lyxfunc.C: tiny whitespace change
11158 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11160 * ToolbarDefaults.C (init):
11161 * LyXAction.C (init):
11163 * BufferView_pimpl.C (Dispatch):
11164 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11166 2002-03-19 Allan Rae <rae@lyx.org>
11168 * exporter.C (Export): removeAutoInsets before doing anything else.
11169 While I've just introduced a dependency on BufferView this really is
11170 the best place to clean the buffer otherwise you need to cleanup in
11171 a dozen places before calling export or cleanup in a dozen functions
11174 * converter.C (runLaTeX):
11175 (scanLog): Better handling of removeAutoInsets and screen updates.
11177 * lyxfunc.C (dispatch): small whitespace changes
11179 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11181 * WorkArea.C (C_WorkAreaEvent): return a value.
11182 (event_cb): return 1 if we handled the event, 0 otherwise.
11184 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11186 2002-03-18 Juergen Vigna <jug@sad.it>
11188 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11189 (GetAdditionalWidth): ditto.
11190 (RightLine): ditto.
11193 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11194 inset if we're there actually (probably not used right now but this
11195 is the direction to go for unifying code).
11196 (paste): disable code to clear the selection.
11198 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11199 inside an InsetText and move the check further up as it is in the
11202 * text2.C (pasteSelection): set a selection over the pasted text.
11204 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11206 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11207 and libgraphics to build on Cygwin.
11209 2002-03-15 Juergen Vigna <jug@sad.it>
11211 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11212 inserting an Inset into the paragraph. I know this is not the best
11213 fix but we already use current_view in CutAndPaste so we will remove
11214 all of it's using at the same time.
11216 * buffer.C (sgmlError): deactivated function till it is rewritten in
11217 the right mode, now it can create problems.
11219 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11220 before accessing it.
11222 2002-03-14 Juergen Vigna <jug@sad.it>
11224 * undo_funcs.C (textHandleUndo): do the right thing when updating
11225 the inset after the undo/redo.
11227 * text2.C (setCursor): just some testcode for #44 not ready yet.
11229 * undo_funcs.C (textHandleUndo): set the next() and previous()
11230 pointers of the paragraph to 0 before deleting otherwise we have
11231 problems with the Paragraph::[destructor].
11233 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11234 on a paragraph insertion.
11236 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11238 * buffer.C (asciiParagraph): use += operator for char append to
11241 * paragraph.C (getFontSettings): compare >= not just >
11242 (highestFontInRange): ditto
11245 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11247 * paragraph.C: change several algorithm to be more appripriate for
11248 the problem domain. This is lookip in FontList and in the InsetList.
11250 2002-03-13 André Pönitz <poenitz@gmx.net>
11253 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11255 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11260 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11262 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11264 * Painter.C (display): anon helper function, adjust code for this
11266 (pixmap): remove function.
11268 * Painter.h: remove private display variable.
11270 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11272 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11274 * WorkArea.[Ch]: remove figinset_canvas cruft.
11276 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11278 * lyxtextclass.C (operator): add one item cache optimization.
11280 * bufferlist.h: doxy changes
11282 * bufferlist.C: ws changes
11284 * DepTable.[Ch] (ext_exist): place const in the right spot.
11286 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11288 (workAreaExpose): call resizeInsets when the with BufferView changes.
11289 (Dispatch): adjust for protectedBlank removal
11290 (specialChar): call updateInset if the insert went ok.
11292 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11293 specialChar instead.
11295 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11297 * BufferView.h: doxy change
11299 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11301 * lyxtextclass.C (operator[]): remove non-const version
11302 (defaultLayout): remove non-const version
11304 2002-03-12 Juergen Vigna <jug@sad.it>
11306 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11307 did resize the LyXText too.
11309 * buffer.C (readLyXformat2): set layout information on newly allocated
11312 * tabular.C (OldFormatRead): set layout information on the paragraph.
11314 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11316 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11318 2002-03-11 Juergen Vigna <jug@sad.it>
11320 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11322 (resizeCurrentBuffer): force also the insets to resize themselfes.
11323 (moveCursorUpdate): fixed up for InsetText.
11325 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11328 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11329 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11330 value of Dialogs::tooltipsEnabled().
11331 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11333 2002-03-08 Juergen Vigna <jug@sad.it>
11335 * BufferView_pimpl.C (updateInset): update inset inside inset also
11336 if it isn't inside theLockingInset().
11338 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11340 * buffer.C (asciiParagraph): redo some of the word and line length
11342 (getLists): look for Caption instead of caption.
11344 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11346 * buffer.C (Buffer): initialize niceFile to true
11348 (makeLinuxDocFile):
11349 (makeDocBookFile): make sure niceFile is true on exit
11351 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11353 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11355 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11357 * LyXSendto.C: remove.
11358 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11359 * lyx_gui.C: remove now-redundant comment.
11360 * ColorHandler.h: remove forward declaration of class WorkArea.
11361 * lyxfunc.C: remove #include "WorkArea.h".
11363 2002-03-07 Juergen Vigna <jug@sad.it>
11365 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11366 got moved away with the DEPM and also set the inset_owner always
11367 right which before could have been omitted.
11369 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11371 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11372 wanted layout is not found.
11374 2002-03-07 Juergen Vigna <jug@sad.it>
11376 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11378 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11380 * paragraph.C (breakParagraph): use default layout not layout of
11382 (Paragraph): clear ParagraphParameters.
11384 2002-03-06 Juergen Vigna <jug@sad.it>
11386 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11387 otherwise it would not be a valid lenght. Fixed a special case in
11388 the minipage compatibility read where we end the document with a
11391 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11392 was set as it could be 0 for InsetTexts first entry.
11394 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11396 * paragraph.C (writeFile): if layout is empty write out
11397 defaultLayoutName().
11399 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11400 file without named layout we set layout to defaultLayoutName().
11402 2002-03-06 Juergen Vigna <jug@sad.it>
11404 * CutAndPaste.C (copySelection): set layout for new paragraph.
11406 * text.C (prepareToPrint): leave ERT inset left aligned
11407 (leftMargin): don't indent paragraphs inside ERT insets
11409 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11411 * paragraph.C (breakParagraph): dont call clear do the work manually
11413 * paragraph.[Ch] (clear): remove function
11415 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11417 * paragraph.C (Paragraph): dont call clear, the work has already
11420 * lyxtextclass.C (operator): assert if n is empty
11422 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11423 work manually instead.
11425 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11427 * BufferView_pimpl.C: protect selectionLost against text == 0
11429 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11431 * text.C (breakParagraph): fix a setting layout to '0' problem.
11433 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11435 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11436 final location of file, for the included files, and graphics.
11438 2002-03-05 Juergen Vigna <jug@sad.it>
11440 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11442 2002-03-04 Juergen Vigna <jug@sad.it>
11444 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11446 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11447 last column of multicolumn cells.
11448 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11450 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11452 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11453 file if it doesn't go to a temporary file.
11455 * buffer.C (sgmlOpenTag):
11456 (sgmlCloseTag): remove extra newline insertion.
11458 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11460 * text.C (getRowNearY): comment out debug msg
11462 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11464 * text2.C: first -> first_y
11466 * text.C (getRowNearY): add some attemts at a possible
11467 optimization, not working.
11469 * tabular.[Ch]: add BufferParams to several function so that newly
11470 created paragraph can be initialized to he default layotu for the
11473 * tabular-old.C (ReadOld): add buf->params to call of Init
11475 * screen.C: rename text->first to text->first_y
11477 * paragraph.C (breakParagraph): always set layout in the broken
11480 * lyxtextclass.C (Read): remove lowercase
11483 (delete_layout): ditto
11485 * lyxtext.h: rename first -> first_y
11487 * lyxlayout.C (Read): remove lowercase
11490 (obsoleted_by): ditto
11492 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11494 * buffer.C (insertErtContents): add params are to InsetERT
11495 (parseSingleLyXformat2Token): add code to check if a paragraphs
11496 layout really exist.
11497 (parseSingleLyXformat2Token): add params to several inset
11499 (asciiParagraph): remove lowercase, do the layout comparisons with
11502 * BufferView_pimpl.C (cursorNext): first -> first_y
11503 (resizeCurrentBuffer): first -> first_y
11504 (updateScrollbar): first -> first_y
11505 (scrollCB): first -> first_y
11506 (workAreaMotionNotify): first -> first_y
11507 (workAreaButtonPress): first -> first_y
11508 (checkInsetHit): first -> first_y
11509 (cursorPrevious): first -> first_y
11510 (cursorNext): first -> first_y
11511 (Dispatch): add buffer_->params to severl inset contructors
11513 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11515 * lyxlayout.C (Read): remove some debug info that I forgot.
11517 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11518 clean up the code slightly.
11519 (makeLinuxDocFile): ditto
11520 (makeDocBookFile): ditto
11522 * text2.C: layout as string
11524 * text.C: layout as string
11526 * paragraph_pimpl.C: layout as string
11528 * paragraph.[Ch]: layout as string
11530 * lyxtextclasslist.[Ch]: layout as string
11532 * lyxtextclass.[Ch]: layout as string
11534 * lyxtext.h: layout as string
11536 * lyxlayout.[Ch]: layout as string
11538 * lyx_cb.C: layout as string
11540 * bufferview_funcs.C: layout as string
11542 * bufferparams.C: layout as string
11544 * buffer.C: layout as string
11546 * LyXView.[Ch]: layout as string
11548 * LaTeXFeatures.[Ch]: layout as string
11550 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11552 * BufferView_pimpl.C: change current_layout to string, remove
11557 (workAreaButtonRelease): layout as string
11559 * BufferView2.C (unlockInset): adjust
11561 * vspace.C (asLatexCommand): use an explict temp variable.
11563 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11565 * Makefile.am: use FRONTEND_*
11567 2002-03-01 Juergen Vigna <jug@sad.it>
11569 * tabular.C (SetWidthOfMulticolCell): changed to something better
11570 I hope but still work in progress.
11571 (recalculateMulticolumnsOfColumn): renamed function from
11572 recalculateMulticolCells as it is more appropriate now.
11573 (SetWidthOfCell): calculate multicols better.
11575 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11577 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11579 * lyxfunc.C (processKeySym): print sequence also if it is
11580 `deleted' (complete)
11582 * kbsequence.C (print): print sequence even if it is deleted
11583 (complete would be a better word, actually).
11585 * lyxfunc.C (dispatch): print complete options after a prefix key
11587 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11589 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11591 * text2.C (setCharFont): eliminate setCharFont code duplication.
11593 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11595 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11596 LFUN_TABULAR_FEATURE (bug #177)
11598 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11600 * Makefile.am: remove figure.h
11602 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11604 * Bufferview_pimpl.C:
11616 * text2.C: remove #include "lyx_gui_misc.h".
11618 * LaTeX.C: added #include <cstdio>
11620 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11622 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11623 that the paragraph following this one can have.
11625 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11627 * vspace.C (asLatexCommand): fix bogus gcc warning
11629 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11631 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11633 * text2.C (setLayout): get rid of redundant code
11635 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11637 * text2.C (incDepth): make sure depth cannot be increased beyond
11640 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11642 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11643 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11645 * PainterBase.h (image):
11646 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11647 a LyXImage const *.
11649 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11653 * BufferView_pimpl.C:
11654 * BufferView_pimpl.h:
11674 * sp_spell.C: remove fig inset, and the crap house of
11675 cards that follows it
11677 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11682 * os2_errortable.h:
11683 * nt_defines.h: move .h into support/
11685 * vms_defines.h: remove
11687 * WorkArea.C: add space in debug output
11691 * buffer.C: add WITH_WARNINGS
11695 * bufferlist.C: s/retrive/retrieve/, add docs
11704 * chset.C: add docs
11706 * lyxgui.C: add ID to X error handler
11708 * lyxtestclass.c: fix typo
11710 2002-02-26 Juergen Vigna <jug@sad.it>
11712 * tabular_funcs.C (write_attribute): changed so that some default
11713 attributes are not written at all.
11714 (getTokenValue): set default values before trying to read the
11715 value so we have the return value always set as default if we don't
11716 find the token we search for.
11718 * tabular.C (Write): write bools as bools not as strings!
11720 2002-02-22 Juergen Vigna <jug@sad.it>
11722 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11723 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11725 * text.C (leftMargin): don't add an indent for paragraphs inside
11726 tabular cells (fix #208).
11728 2002-02-21 José Matos <jamatos@fep.up.pt>
11730 * tabular.C (docBook): fixed support for long tables.
11732 2002-02-20 Juergen Vigna <jug@sad.it>
11734 * text2.C (getFont): get the drawing font of the Inset if this
11735 paragraph is inside an inset (only important for InsetERT for now).
11737 * buffer.C (insertErtContents): use new lanugage params in ERT
11740 * CutAndPaste.C: commenting out seemingly uneeded code.
11742 2002-02-19 Allan Rae <rae@lyx.org>
11744 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11745 Iterators might be simple to use but they also get invalidated.
11746 (removeAutoInsets): renamed saved cursor tracking variables and added
11747 some comments to clarify what everything does.
11749 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11756 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11757 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11760 * vc-backend.h: remove #include "support/syscall.h"
11764 * converter.C: rearrange #includes in Lars' approved fashion.
11766 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11767 forward declare class Timeout in the header file.
11769 * XFormsView.C: changes due to the above.
11771 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11772 similar to LyXView.
11774 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11775 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11777 2002-02-18 José Matos <jamatos@fep.up.pt>
11779 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11782 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11784 * a lot of small ws changes
11785 * add a lot of using std::XXX
11786 * use std construcs some places where approp.
11787 * use some exisint stuff from lyxfunctional where approp.
11788 * Make file changes to use partial linking (lets test this now...)
11790 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11794 remove #include "support/syscontr.h" as it's redundant. Always has been.
11802 change Systemcalls::System to Systemcalls::Wait and
11803 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11804 No change of functionality, just reflects the stripped down Systemcalls
11807 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11809 * debug.[Ch]: add a GRAPHICS type to the enum.
11811 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11813 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11815 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11818 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11820 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11821 match the changes below.
11823 * text2.C (toggleInset): if there is not editable inset at cursor
11824 position, try to see if cursor is _inside_ a collapsable inset
11827 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11829 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11830 document menu has a nice checkbox
11832 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11834 * lyxlength.C (asLatexString): change PW to output as percent of
11837 * lengthcommon.C: change '%' to 't%'
11839 * lyxfunc.C (dispatch): a few comments from Martin
11841 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11845 * BufferView_pimpl.h:
11846 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11849 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11851 * vspace.C (inPixels): fix compiler warning
11853 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11855 * lyxfunc.C (getStatus): fix status message for disabled commands.
11857 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11859 * BufferView_pimpl.C: fix crash on close buffer
11860 during selection (#227)
11862 2002-01-27 Herbert Voss <voss@lyx.org>
11864 * buffer.C: link old Figure to new graphic inset
11866 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11868 * FontLoader.C (getFontinfo): Change the latex font names in order
11869 to match the names of type1inst.
11871 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11873 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11875 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11876 (extchanged): ditto
11878 (remove_files_with_extension): ditto
11879 (remove_file): ditto
11882 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11883 document is smaller than the work area height. Do not initialize
11884 static variables to 0.
11886 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11888 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11890 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11891 LFUN_LAYOUT_PARAGRAPHS.
11893 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11894 tabular. It is possible to provide a possible cell, which will
11895 typically be the actcell from the corresponding insettabular
11897 * lyxfunc.C (getStatus): small cleanup; disable
11898 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11901 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11903 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11905 * paragraph.C (startTeXParParams):
11906 (endTeXParParams): new methods. The LaTeX code to
11907 start/end paragraph formatting
11908 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11909 empty (fixes bug #200)
11911 * vspace.C (inPixels): adapt to the change below
11912 (inPixels): [later] more cleanups (remove unused variables)
11914 * lyxlength.C (inPixels): change to use a width and a height as
11917 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11919 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11920 Replaced with \paperwidth
11922 * DepTable.C (insert): add std:: qualifier
11924 2002-01-18 Allan Rae <rae@lyx.org>
11926 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11929 * text.C (drawInset): Turned out I didn't know enough about how
11930 rebreaking worked. This fixes most of the redraw problems. I see
11931 an occasional cursor trail when a line is broken now and the cursor
11932 placement can seem out by a few pixels also after a rebreak.
11934 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11936 * buffer.C (parseSingleLyXformat2Token): update because minipage
11937 width is now a LyXLength
11939 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11941 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11944 2002-01-17 Juergen Vigna <jug@sad.it>
11946 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11948 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11949 is set correctly and the inset is updated correctly.
11951 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11953 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11954 the beginning of the loop.
11956 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11958 * lyxrc.C: improve help for use_scalable_fonts
11960 2002-01-17 Allan Rae <rae@lyx.org>
11962 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11964 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11966 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11967 make sure to set their inset_owner to the right value (bug #171)
11969 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11972 * DepTable.C: Implement mtime checking to reduce time spent doing
11975 2002-01-16 Juergen Vigna <jug@sad.it>
11977 * tabular.C (GetAdditionalHeight): one of error fixed.
11979 * lyxrc.C (output): small fix in writing use_pspell.
11981 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11983 * sp_base.h: #include LString.h
11985 2002-01-16 Allan Rae <rae@lyx.org>
11987 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11988 Can someone check this please?
11990 * text.C (drawInset): It was possible that p.row would be removed by
11991 breakAgainOneRow upsetting a few other settings. There may be another
11992 small tweak possible by setting need_break_row = 0 when p.row has been
11993 removed but I don't know enough about the logic here.
11995 2002-01-15 Allan Rae <rae@lyx.org>
11997 * text.C (insertChar): removed conditional truism.
11999 * BufferView2.C (removeAutoInsets): More tweaks.
12000 cur_par_prev could be a stray pointer. Check for trailing empty line
12001 in case last line was cur_par and only had an error inset on it.
12003 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12005 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12008 * vc-backend.C (most methods):
12009 * exporter.C (Export):
12010 * converter.C (convert):
12012 * LyXSendto.C (SendtoApplyCB):
12013 * lyxfunc.C (dispatch):
12017 * lyx_cb.C (AutoSave):
12019 * BufferView_pimpl.C (MenuInsertLyXFile):
12020 * buffer.C (runChktex): use Buffer::filePath().
12022 * buffer.h: rename filename to filename_; rename filepath to
12023 filepath_ and make it private
12024 (filePath): new method
12026 * buffer.C (writeFile): use fileName()
12029 * lyx_main.C (init): fix starting of LyX when the binary is a
12030 link from so,ewhere else.
12032 * minibuffer.C: include <cctype> for isprint
12034 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12036 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12037 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12038 name clash with InsetCollapsable's width function.
12040 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12042 * lastfiles.C: include <iterator>
12044 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12046 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12049 * buffer.C (makeLaTeXFile): ditto.
12050 Also make loop operation more transparent.
12052 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12054 * ToolbarDefaults.C: remove trailing comma closing namespace.
12056 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12058 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12061 * trans.C (Load): comment out unused variable, allowed.
12063 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12065 * minibuffer.[Ch] (append_char): new method to recieve input from the
12066 drop-down completion browser. If a key was pressed, then recieve this
12067 char and append it to the existing string.
12068 (peek_event): modify the positioning data passed to the completion
12069 browser so that it can be placed above the minibuffer rather than below.
12070 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12072 * LyXAction.C (init): alloe error-next for readonly documents.
12074 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12077 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12079 * bufferlist.C (readFile): create the buffer _after_ checking that
12082 * lyxfunc.C (verboseDispatch): fix handling of arguments
12084 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12086 * lyxrc.C: use string::erase() instead of initializing to "".
12089 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12091 * BufferView_pimpl.h:
12092 * BufferView_pimpl.C:
12095 * text2.C: tell X when we have made a selection for copying
12097 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12099 * BufferView_pimpl.C (MenuInsertLyXFile):
12100 * lyxfunc.C (menuNew):
12102 (doImport): add shortcuts to directory buttons
12104 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12107 * lyxfunc.C (setStatusMessage):
12108 (getStatusMessage): new methods
12109 (getStatus):use setStatusMessage instead of setErrorMessage
12110 (dispatch): when function is disabled, set error message here
12111 [instead of in getStatus previously]
12113 * BufferView_pimpl.C (workAreaButtonRelease): update
12114 toolbar/menubar here too.
12116 2002-01-13 Allan Rae <rae@lyx.org>
12118 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12119 Now seems indestructible. Remaining task is to audit all other
12120 code affected by deleteEmptyParagraphMechanism. One small quirk
12121 left is that an empty document with an error in the preamble can
12122 be made to report an error but no error box appears. I don't know
12124 (removeAutoInsets): Improved comments.
12126 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12129 * Thesaurus.C: update for Aiksaurus 0.14
12131 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12133 * text2.C (firstParagraph): removed member function, all uses
12134 replaces with ownerParagraph
12135 (redoParagraphs): here
12136 (updateInset): here
12137 (toggleAppendix): here
12138 * BufferView2.C (insertErrors): here
12139 (setCursorFromRow): here
12141 2002-01-13 Allan Rae <rae@lyx.org>
12143 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12144 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12145 There is still a way to segfault this although you may have to do this
12146 multiple times: Have an InsetERT with an unknown command in it.
12147 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12148 <down-arrow>, <Enter> again, View->DVI, BANG!
12150 * text2.C (setCursor):
12151 (deleteEmptyParagraphMechanism):
12152 * lyxtext.h (setCursor):
12153 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12154 Making use of the return value may help fix other bugs.
12156 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12158 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12160 * LyXView.C (updateMenubar): call MenuBar::update here
12161 (updateToolbar): but not here
12162 (showState): do not update toolbar/menubar
12164 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12165 should need to care about that.
12167 * lyxfunc.C (verboseDispatch): simplify a bit
12168 (getStatus): have a version which takes a pseudoaction, and
12169 another which requires a (kb_action,string).
12171 * LyXAction.C (retrieveActionArg): make it work also when action
12172 is not a pseudo-action.
12173 (getActionName): simplify a bit
12176 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12178 * lyxfunc.C (verboseDispatch): new families of methods with
12179 several ways to specify a command and a bool to indicate whether
12180 the command name and shortcut should be displayed in minibuffer
12181 (eventually, we could extend that to a finer bitmask like
12182 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12183 (dispatch): the pristine dispatch command which just, well,
12184 dispatchs! Note it still sets its result to minibuffer; I'm not
12187 * lyxfunc.h: remove setHintMessage
12189 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12191 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12193 * BufferView_pimpl.C (specialChar): delete new inset if we have
12194 not been able to insert it.
12196 * kbmap.C: revert to using int instead of kb_action, since all we
12197 are dealing with is pseudo-actions.
12199 * LyXAction.C (searchActionArg): change to return int instead of
12200 kb_action, since the result is a pseudoaction.
12202 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12204 * buffer.C (insertErtContents): Fix (partially) the font bug.
12206 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12208 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12209 as the other one is broken on my machine!
12211 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12214 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12216 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12218 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12219 reflect their actual use. Provide compatibility code for older lyxrc
12222 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12224 change names of popup font variables in line with the changes to lyxrc.C
12226 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12228 * buffer.C (asciiParagraph): avoid outputing a word twice after
12231 * lyxrc.C (getDescription): document that document_path and
12232 template_path can be empty.
12234 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12236 * LaTeXFeatures.C (getMacros):
12237 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12239 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12241 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12243 (getPackages): rename feature "floats" to "float". Use an array to
12244 iterate over 'simple' features (i.e. just a \usepackage). Add
12245 handling of "amsmath" (renamed from "amsstyle").
12247 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12249 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12252 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12254 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12255 FuncStaus::FuncStatus & FuncStaus::some_method().
12257 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12259 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12260 of the func_satus stuff. Edited and massaged in various ways by
12263 * lyxfunc.C (getStatus): use FuncStatus
12265 2002-01-08 Juergen Vigna <jug@sad.it>
12267 * text.C (nextBreakPoint): use function Inset::isChar().
12269 * paragraph.C (TeXOnePar): use function
12270 Inset::forceDefaultParagraphs.
12272 * buffer.C (latexParagraphs): use function
12273 Inset::forceDefaultParagraphs.
12275 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12277 * lyx_gui.C (init): set the style of the menu popups to
12278 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12280 2002-01-07 Juergen Vigna <jug@sad.it>
12282 * text.C (setHeightOfRow): small fix
12283 (prepareToPrint): don't look at alignment if we don't have the place
12286 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12288 * box.C: New file. Move the Box methods and functions out of box.h,
12289 following Lars' suggestion.
12291 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12293 * box.h: #include "support/LOstream.h", needed for inlined function.
12296 * lyxtextclasslist.C: added some using std declarations.
12298 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12300 * box.h: make signed dimensions to allow insets wider than
12301 the screen (bug #162)
12303 * BufferView_pimpl.C: add some insetHit debug
12305 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12307 * vc-backend.C: add FIXME
12309 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12311 * lyxfunc.C (getStatus): enable code for showing math font status
12314 2002-01-07 Juergen Vigna <jug@sad.it>
12316 * text.C (nextBreakPoint): removed debug output not needed anymore.
12318 2002-01-06 Juergen Vigna <jug@sad.it>
12320 * text.C (nextBreakPoint): fixed up this function we had this bug
12321 since ever but now hopefully we break row better.
12322 (insertChar): we have to check if an inset is the next char as it
12323 could now happen that a large inset is causing a break.
12325 2002-01-05 Juergen Vigna <jug@sad.it>
12327 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12328 if it doesn't like to be drawed.
12330 2002-01-04 Juergen Vigna <jug@sad.it>
12332 * BufferView2.C (lockInset): forgot to set a cursor.
12334 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12336 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12338 * FormMathsPanel.C:
12341 * form_maths_panel.C:
12342 * form_maths_panel.h:
12343 * form_maths_panel.fd: implemented sub- and super- buttons in math
12346 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12347 (or ^ space) to be used as in TeX (req'd by André).
12349 * lyxfunc.C: Allow ^ and _ again to be used both as
12350 super/subscript (mathed) and as themselves (in text).
12352 2002-01-03 Allan Rae <rae@lyx.org>
12354 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12355 "LyX" or the filename of the current buffer if it has one. This is a
12356 modified form of John Levon's patch.
12358 * XFormsView.C (setWindowTitle): also set icon title.
12360 * LyXView.h (setWindowTitle): signature changed.
12361 * XFormsView.h (setWindowTitle): ditto.
12363 2002-01-02 Juergen Vigna <jug@sad.it>
12365 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12367 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12369 * screen.C (topCursorVisible): introduce a temp var for
12370 text->cursor.row(), handle the case where this row is null. (kindo
12373 * text2.C (setCursor): add a couple of asserts.
12375 * paragraph.h (inset_iterator): add -> operator
12377 * paragraph.[Ch] (autoDeleteInsets): remove member function
12379 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12380 cursor pos correctly and handle inset deletion by itself.
12381 (insertErrors): move iterator declaration out of for expression
12383 * lyxtextclass.C: add <algorithm>
12385 * Makefile.am: added the new files to sources, removed layout.C
12387 * layout.C: removed file
12389 * layout.h: remove LYX_DUMMY_LAYOUT
12391 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12395 * lyxtextclass.[Ch]:
12396 * lyxtextclasslist.[Ch]: new files
12398 * include order changes to a lot of files, also changes because of
12401 2001-12-27 Juergen Vigna <jug@sad.it>
12403 * buffer.C (asciiParagraph): more fixes.
12405 * tabular.C (ascii): make ascii export support export of only the
12406 data separated by a column-delimiter.
12407 (ascii): better support for ascii export.
12409 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12411 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12413 * tabular_funcs.C: use a "using std::getline" instead of the
12414 previous fix from Angus (necessary for cxx + lyxstring)
12416 2001-12-24 Juergen Vigna <jug@sad.it>
12418 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12420 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12421 problems. First check a minipage also if we have some ert-contents
12422 (not only on par->size(), second set the right depth of the paragraph
12423 on the relink to the root-paragraph-list!
12425 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12426 which then did not anymore update the main paragraphs on undo/redo!
12428 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12430 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12431 code. Support all font-changing funcs (even those which are not in
12432 menu currently). Support for reporting font settings in
12433 mathed (disabled until Andre provides a function on mathed's side).
12435 * func_status.h (toggle): small helper function to set toggle
12438 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12440 * tabular_funcs.C: getline -> std::getline
12442 2001-12-21 Juergen Vigna <jug@sad.it>
12444 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12445 accessed and could be 0 (I couldn't generate this but it seems
12448 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12450 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12451 * tabular_funcs.h: here and include iosfwd
12453 2001-12-20 Juergen Vigna <jug@sad.it>
12455 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12456 inside inset but undo_par was.
12458 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12460 * Thesaurus.C: always include <config.h> in sources.
12464 * box.h: do not include <config.h> in header files
12466 * text.C (paintLastRow): remove unused variable
12468 * text.C (transformChar):
12470 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12472 * Painter.C (text):
12473 * font.C (width): rewrite to use uppercase() instead of
12476 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12478 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12480 * lyxfind.C: clean up of find failure position change
12482 2001-12-20 Juergen Vigna <jug@sad.it>
12484 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12486 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12487 (TeXRow): added to LaTeX a single tabular row.
12488 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12489 (Latex): simplified and finally good LT-h/f support.
12490 (various_functions): just small adaptions for LT-h/f support.
12492 * tabular_funcs.[hC]: added and moved here all not classfunctions
12495 2001-12-19 Juergen Vigna <jug@sad.it>
12497 * tabular.[Ch]: better support for longtabular options (not finished
12500 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12502 * text.C (paintLastRow): use the label font instead of the font of
12503 the last character to compute the size of *_BOX. This makes more
12504 sense and avoids a crash with empty paragraphs.
12505 Use Painter::rectangle to draw EMPTY_BOX.
12507 2001-12-19 Juergen Vigna <jug@sad.it>
12509 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12510 the paragraphs if the replaced paragraph is not the first one!
12511 Tried to delete not used paragraphs but does not work yet so for
12512 now it's inside #ifdef's and by default off!
12514 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12516 * MenuBackend.C: include "lyx_main.h" instead of declaring
12517 lastfiles (actually was declared as LastFiles* instead of a
12520 2001-12-17 Juergen Vigna <jug@sad.it>
12522 * tabular.C (AppendColumn): applied John's fix
12524 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12528 * BufferView_pimpl.h:
12529 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12532 * box.h: new start of class for above
12534 * lyxfunc.C: ignore space-only minibuffer dispatches.
12535 Show the command name when it doesn't exist
12537 * minibuffer.C: don't add empty lines to the history
12539 * minibuffer.C: add a space on dropdown completion
12541 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12543 * text.C: fix line above/below drawing in insets
12545 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12547 * lyxlength.C (LyXLength): Initialize private variables.
12549 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12551 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12552 when inserting error insets.
12554 2001-12-13 Juergen Vigna <jug@sad.it>
12556 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12557 actually sometimes the before-paragraph.
12558 (setUndo): don't clear the redostack if we're not actually undoing!
12560 2001-12-06 Juergen Vigna <jug@sad.it>
12562 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12563 and fixed redoing of main paragraph, so we can use it now ;)
12565 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12567 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12569 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12572 2001-12-13 André Pönitz <poenitz@gmx.net>
12575 * undo_func.C: minor cleanup
12577 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12579 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12580 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12581 font in urw-fonts package which is marked as -urw-fontspecific and
12582 does not work (incidentally, changing the encoding in the
12583 fonts.dir of this package to -adobe-fontspecific fixes the
12586 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12587 is a crash when undoing first paragraph (Juergen, please take a
12588 look). THis does not mean the undo fix is wrong, just that it
12591 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12592 the (Paragraph*) version when needed instead of duplicating the
12595 * text.C (workWidth): use Inset::parOwner to find out where the
12596 inset has been inserted. This is a huge performance gain for large
12597 documents with lots of insets. If Inset::parOwner is not set, fall
12598 back on the brute force method
12600 * paragraph_pimpl.C (insertInset):
12601 * paragraph.C (Paragraph):
12602 (cutIntoMinibuffer): set parOwner of insets when
12603 inserting/removing them
12605 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12607 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12613 * mathed/formulabase.C:
12614 * mathed/math_cursor.[Ch]:
12615 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12618 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12620 * lyxlength.[Ch] (operator!=): new function
12622 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12624 * text.C (workWidth): use Inset::parOwner to find out where the
12625 inset has been inserted. This is a huge performance gain for large
12626 documents with lots of insets. If Inset::parOwner is not set, fall
12627 back on the brute force method
12629 * paragraph_pimpl.C (insertInset):
12630 * paragraph.C (Paragraph):
12631 (cutIntoMinibuffer): set parOwner of insets when
12632 inserting/removing them
12634 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12636 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12638 * tabular-old.C (getTokenValue):
12639 * tabular.C (getTokenValue):
12640 (write_attribute): new versions for LyXLength
12641 (everywhere): adjust the use of widths
12643 * tabular.h: change the type of widths from string to LyXLength
12645 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12647 * paragraph.C: fixed missing line number count when exporting
12648 Environments to LaTeX file
12650 * buffer.C: added informational message for checking line numbers.
12652 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12654 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12655 paragraph, do the 'double space' part, but not the 'empty
12658 * text.C (workWidth): small optimization
12659 (getLengthMarkerHeight): use minimal size for negative lengths.
12661 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12663 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12665 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12667 2001-12-11 André Pönitz <poenitz@gmx.net>
12670 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12672 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12674 * text2.C: keep selection on a setFont()
12676 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12678 * lyx_cb.C: another bv->text misuse, from insert label
12680 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12683 * kbsequence.C: re-instate nmodifier mask
12685 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12687 * lyx_main.h: make lyxGUI private.
12689 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12691 * lyxfind.C: place the cursor correctly on failed search
12693 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12695 * text.C (getLengthMarkerHeight): for small heights, the arrows
12696 are not always on top/bottom of the text
12697 (drawLengthMarker): smaller arrows; take the left margin in
12698 account; draw also vfills.
12700 (paintLastRow): remove special code for vfill and standard spaces,
12701 since everything is handled in drawLengthMarker now.
12703 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12705 * buffer.C (insertErtContents): try to handle font and language
12706 interaction a bit better.g
12708 * ColorHandler.C (updateColor): change the hash to cover the whole
12709 LColor enum, ws cleanup
12710 (getGCLinepars): ditto
12711 (getGCLinepars): only lookup in the linecache once.
12713 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12715 * iterators.C (operator++): Make the iterator more robust
12717 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12719 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12721 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12724 * text.C: better added space drawing
12726 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12729 * BufferView2.C: fix layout combo update on inset unlock
12731 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12733 * Makefile.am: don't compile unused files
12735 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12739 * LyXAction.C: remove old LFUN_LAYOUTNO
12741 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12743 * paragraph_pimpl.h:
12744 * paragraph_pimpl.C: isTextAt() doesn't need font param
12746 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12749 * lyxlex.C: little cleanup
12751 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12753 * BufferView_pimpl.C: fix insertAscii for insets
12755 2001-12-05 Juergen Vigna <jug@sad.it>
12757 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12758 set the right font on the "multi" paragraph paste!
12760 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12766 * lyxlength.C: remove out-commented code.
12768 * BufferView_pimpl:
12782 * vc-backend.C: change "while(" to "while ("
12784 * lyxlength.[Ch]: add zero function to check if length is zero or
12786 * lyxgluelength.C: use it
12788 2001-12-05 Allan Rae <rae@lyx.org>
12790 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12791 Works for 2.95.3, from what I understand of Garst's reports this should
12792 work for other g++ versions. We're screwed if the abs(int) definition
12793 changed between bugfix releases of gcc.
12795 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12797 * text.C: fix chapter label offset !
12799 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12802 * text.C: fix hfill at end of line, clean up
12804 2001-12-04 Juergen Vigna <jug@sad.it>
12806 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12807 that we force an update of the inset and it's owners if neccessary.
12809 2001-12-03 Juergen Vigna <jug@sad.it>
12811 * text.C (rowLast): simplified code
12813 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12815 * lyxfunc.C: fix show options on timeout
12817 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12819 * screen.C (topCursorVisible): scroll half a page when the cursor
12820 reached top of bottom of screen
12822 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12824 * minibuffer.C: deactivate on loss of focus
12826 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12828 * vspace.[Ch] (operator!=): add operator.
12830 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12832 * BufferView_pimpl.C: refuse to open an inset when
12833 there's a selection.
12835 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12837 * BufferView_pimpl.C: allow to click on RHS of full row insets
12839 2001-11-30 Juergen Vigna <jug@sad.it>
12841 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12842 insets for undo reasons.
12844 2001-11-28 André Pönitz <poenitz@gmx.net>
12846 * vspace.[Ch]: cosmetical changes
12848 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12858 * kbsequence.C: part re-write of old kb code
12861 * WorkArea.C: remove Lgb_bug_find_hack
12863 2001-11-30 José Matos <jamatos@fep.up.pt>
12865 * buffer.C (makeDocBookFile): add a comment to point a hack.
12866 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12867 Fixed a double write of labels.
12869 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12872 * LaTeX.h Fixed bug in LaTeX class where it would not
12873 re-run latex if no depfiles were changed, but the .dvi was removed.
12875 2001-11-28 André Pönitz <poenitz@gmx.net>
12877 * all the files from the change on 2001/11/26:
12878 use lyx::layout_type instead of LyXTextClass::size_type
12879 use lyx::textclass_type instead of LyXTextClassList::size_type
12881 2001-11-29 Juergen Vigna <jug@sad.it>
12883 * text.C: added support for paragraph::isFreeSpacing()
12885 * buffer.C: same as above
12887 * paragraph.h: inserted isFreeSpacing() function to enable
12888 FreeSpacing inside InsetERT.
12890 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12891 of the paragraph's in the cut/copy buffer to 0!
12893 * text2.C (removeRow): remove the assert as it can!
12895 * lyxtext.h: added helper function firstRow returning firstrow and
12896 made firstrow private again.
12898 * BufferView2.C (lockInset): don't relock if we're already locked!
12900 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12901 the only paragraph.
12902 (removeRow): added Assert::(firstrow)
12904 * debug.C: forgot to add INSETTEXT here.
12906 2001-11-28 Juergen Vigna <jug@sad.it>
12908 * sp_spell.C (initialize): changed error text to more general
12909 spellchecker command use (not only ispell!)
12911 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12913 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12915 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12917 * vspace.C: initialise lyxgluelength on failure
12919 2001-11-28 Allan Rae <rae@lyx.org>
12921 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12922 declaration & definition that looks like a function declaration.
12924 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12926 * BufferView2.C (copy):
12927 (copyEnvironment): do not clear the selection when doing a copy.
12929 * text.C (paintFirstRow): compilation fix
12931 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12933 * tabular.C (Latex): correct line count when writing latex.
12935 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12937 * paragraph_pimpl.h:
12938 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12941 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12945 * LColor.C: change vfillline->added_space
12947 * text.C: add markers and text for added space
12949 * vspace.C: fix comment
12951 2001-11-28 André Pönitz <poenitz@gmx.net>
12953 * paragraph.C: whitespace changes
12954 * all the other files from the change on 2001/11/26:
12955 change *::pos_type into lyx::pos_type
12957 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12959 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12960 language of the document when inserting error insets.
12962 2001-11-26 André Pönitz <poenitz@gmx.net>
12964 * BufferView_pimpl.[Ch]:
12972 * paragraph_pimpl.[Ch]:
12975 * text2.C: reduce header dependencies, introduce type for positions
12977 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12979 * <various>: change to use Alert.h
12981 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12983 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12984 when encountering an unknown token.
12985 (readLyXformat2): Show an error message if there were unknown tokens.
12987 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12990 * BufferView_pimpl.C:
12994 * text2.C: use par->isInset()
12996 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12998 * paragraph_pimpl.h:
12999 * paragraph_pimpl.C: cleanup
13001 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13003 * text2.C (removeRow):
13004 * text.C (setHeightOfRow): remove useless (and costly) call to
13007 2001-11-20 Allan Rae <rae@lyx.org>
13009 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13010 Now need Inset*::checkInsertChar() to return true for appropriate
13011 cases so that the characters in the minibuffer will actually be
13014 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13016 * text.C: change the order of the includes.
13017 (workWidth): initialize it at once.
13018 (workWidth): make maxw unsigned
13019 (setHeightOfRow): remove unused variable (inset)
13020 (selectSelectedWord): remove unused variable (inset)
13021 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13023 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13025 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13026 server is not running.
13028 (closeConnection): add debug info when server is disabled.
13030 * ColorHandler.C (getGCForeground): send debug message to GUI
13033 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13035 * kbmap.C (bind): modify because return conventions of
13036 kb_sequence::parse have changed.
13038 * kbsequence.C (parse): only ignore spaces and not any stupid
13039 control character. This avoids tests like s[i] <= ' ', which are
13040 guaranteed to fail with 8bit characters and signed chars.
13041 Change return code to string::npos when there have been no error
13042 (0 was a bad idea when error is at first character)
13044 2001-11-14 José Matos <jamatos@fep.up.pt>
13047 * buffer.C (simpleDocBookOnePar): removed unused argument.
13049 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13051 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13052 insets which are part of a word. Paragraph::isLetter takes care of
13053 that now. Use Paragraph::isInset to identify insets.
13054 (selectSelectedWord): do not test for hyphenation break.
13056 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13057 that protected spaces are considered as spaces.
13059 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13062 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13065 * lyxserver.C: fix it. and small cleanup.
13067 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13069 * BufferView_pimpl.C: use inline helpers
13072 * LaTeXFeatures.C: fix typos
13075 * Spacing.C: move spacing_string into class
13077 * ToolbarDefaults.C: move stuff into namespace anon
13079 * layout.h: update enum
13081 * lyxfunc.C: use better debug
13083 * minibuffer.h: fix typo
13087 * WorkArea.C: add and use Debug::WORKAREA
13091 * text2.C: code re-organisation, inline helpers
13093 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13095 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13096 std::vector.empty().
13098 2001-11-09 Allan Rae <rae@lyx.org>
13100 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13101 '\n's after tables. Tabular and ERT inset work now makes this no
13104 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13107 * minibuffer.C: fix crash, improve drop-down completion
13109 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13112 * lyxserver.C: invalidate fd's when doing endPipe()
13114 2001-11-08 José Matos <jamatos@fep.up.pt>
13116 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13117 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13120 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13122 2001-11-07 José Matos <jamatos@fep.up.pt>
13125 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13128 * buffer.C (sgmlOpenTag):
13129 * buffer.C (sgmlCloseTag): removed debug info.
13131 * buffer.h (sgmlOpenTag):
13132 * buffer.h (sgmlCloseTag): made public.
13134 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13136 * buffer.C (saveParamsAsDefaults):
13137 * lyx_cb.C (MenuLayoutSave): remove
13139 * LyXAction.C (init):
13141 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13143 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13145 * buffer.C (setPaperStuff): removed from here...
13147 * bufferparams.C (setPaperStuff): ... and moved there.
13149 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13153 * XFormsView.C: add support for drop-down completion
13155 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13157 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13160 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13162 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13165 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13167 * lyx_main.C: change ref to known bugs
13169 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13171 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13172 to work around older babel problems.
13174 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13176 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13178 2001-10-24 Juergen Vigna <jug@sad.it>
13180 * tabular-old.C (ReadOld): below variable changes reflected.
13182 * tabular.[Ch]: added ltType struct for longtable header/footer
13183 defines and changed all instances where they are used. Added
13184 future support for double top/bottom rows.
13186 2001-10-24 José Matos <jamatos@fep.up.pt>
13188 * buffer.h (docbookHandleCaption):
13189 * buffer.C (docbookHandleCaption): removed unused function.
13190 (makeDocBookFile): moved docbook supported version to v4.1.
13192 2001-10-24 José Matos <jamatos@fep.up.pt>
13195 * tabular.C (docbookRow): new function to export docbook code of a row.
13196 (DocBook): now honors the longtable flags.
13198 2001-10-23 José Matos <jamatos@fep.up.pt>
13201 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13202 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13204 * buffer.C (makeLinuxDocFile):
13205 (makeDocBookFile): reworked the preamble, more clean, and with
13206 support for lyx defined entities. Changed the document declaration
13207 to be more XML friendly.
13209 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13210 if we need to output XML that should be done with a filter.
13212 2001-10-22 Juergen Vigna <jug@sad.it>
13214 * sp_pspell.h (class PSpell): add alive function needed in the
13215 controller to see if the spellchecker could be started.
13217 2001-10-22 Juergen Vigna <jug@sad.it>
13219 * buffer.C (insertStringAsLines): modify the font for inserting
13220 chars in certain conditions by calling checkInsertChar(font).
13222 2001-10-19 Juergen Vigna <jug@sad.it>
13224 * text.C (workWidth): use getRow instead of wrong algorithm.
13225 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13227 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13232 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13234 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13236 * text.C (workWidth): do not search for the exact row when
13237 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13238 optimization for big documents.
13240 2001-10-18 Juergen Vigna <jug@sad.it>
13242 * text.C (workWidth): new function with added Inset * parameter.
13244 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13246 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13248 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13249 change return type of getColumnNearX.
13252 * text.C (changeRegionCase): use uppercase/lowercase instead of
13255 (rightMargin): simplify code by factoring out the uses of
13260 (appendParagraph): use Paragraph::size_type
13262 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13264 * vspace.C (asLatexString): add a missing break
13266 2001-10-15 Herbert Voss <voss@perce.de>
13268 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13270 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13272 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13275 2001-10-10 André Pönitz <poenitz@gmx.net>
13277 * lyxfunc.C: removed greek_kb_flag.
13279 2001-10-10 Herbert Voss <voss@perce.de>
13281 * lyx_main.C: delete global string help_lyxdir.
13283 2001-10-09 Herbert Voss <voss@perce.de>
13285 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13287 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13289 * lyx_main.C: added global string help_lyxdir.
13291 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13293 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13295 * lyxrc.C (set_font_norm_type): support iso8859-4
13297 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13299 * LaTeX.C (deplog): add another regex for MikTeX
13301 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13303 * lyxrc.C (set_font_norm_type): support iso8859-3
13305 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13307 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13309 * LaTeXFeatures.C: remove special case of french and index
13311 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13312 before \begin{document}). This solves several incompatibilities.
13314 2001-10-03 Garst Reese <reese@isn.net>
13316 * lyx_cb.C: change CheckTex error msg.
13318 2001-10-03 José Matos <jamatos@fep.up.pt>
13320 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13322 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13324 * .cvsignore: update
13326 * lyx_main.C (commandLineVersionInfo): use new style version info.
13328 * buffer.C (writeFile):
13330 (makeLinuxDocFile):
13331 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13333 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13335 * version.h: update to use stuff in version.C
13337 * version.C.in: new file. Contains version information determined
13338 at compile time. This is a merging of version.h and
13341 2001-10-03 Juergen Vigna <jug@sad.it>
13343 * BufferView_pimpl.C (update): don't change "dirty" status in
13346 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13348 * WorkArea.C (c-tor): re-position version string slightly.
13350 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13352 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13353 revert to previous code.
13355 WorkArea.[Ch]: (show, destroySplash): methods removed.
13357 WorkArea.C: rework code so that it's an amalgam of the codes before and
13358 after the splash screen was moved to WorkArea.
13360 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13363 * vspace.C (inPixels):
13366 * buffer.C (insertStringAsLines):
13367 (asciiParagraph): fix types to be large enough
13369 * lyxlex_pimpl.h: change member status from short to int
13371 * layout.h: fix type of endlabeltype
13374 * kbsequence.C (parse): change return type to string::size_type
13376 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13379 * Bullet.C (bulletSize):
13380 (bulletEntry): do not use short ints as parameters
13382 * BufferView2.C (insertLyXFile): change a char to an int.
13384 * WorkArea.C (WorkArea): remove unneeded floats in computation
13386 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13388 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13390 * paragraph.C (asString): Do not ignore newline/hfill chars when
13391 copying to the clipboard.
13393 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13395 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13396 after a multi-line inset.
13398 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13400 * paragraph.C (validate): Set NeedLyXFootnoteCode
13402 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13404 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13405 and decrease-error to decrease.
13407 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13409 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13410 it more readable (should be equivalent)
13412 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13414 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13416 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13418 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13419 of a cursor (row, etc.) after a character has been deleted
13420 (deleteEmptyParagraphMechanism): call the method above on _all_
13421 cursors held by the LyXText when a double space has been
13424 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13426 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13428 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13430 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13431 background. Use greyOut() and the new show() methods to toggle between
13432 the foreground and background. Add code to remove the splash after
13433 its initial showing.
13435 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13436 (create_forms): no longer call Dialogs::showSplash.
13438 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13440 * .cvsignore: add version_info.h
13442 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13444 * version_info.h.in: new file
13446 * Makefile.am: add version_info.h.in
13448 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13449 version_info.h instead of VERSION_INFO
13451 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13453 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13454 The ERT inset now returns string().
13456 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13458 * lyxtext.h, text.C (selectNextWord): renamed as
13459 selectNextWordToSpellcheck.
13461 * text.C (selectNextWordToSpellcheck): Modified to not select
13462 words inside an ERT inset.
13464 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13466 * lyx_cb.C (MenuLayoutSave): change a bit the question
13468 * sp_base.h: include <sys/types.h>
13470 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13472 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13474 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13476 * several files: fix typos in user-visible strings
13478 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13480 * text2.C (pasteSelection): do not set the selection, since it
13481 will be cleared later. Actually, the intent was to fix the way the
13482 selection was set, but I figured rmoving the code was just as good.
13484 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13486 * FontLoader.C (available): Check if font is available without
13489 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13491 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13493 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13495 * lyxrc.[Ch]: added display_graphics variable and associated code.
13497 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13499 * bufferparams.C (hasClassDefaults): new method. Returns true if
13500 the buffer parameters correspond to known class defaults
13502 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13504 * XFormsView.C (show): set minimum size to the main window.
13506 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13508 * text2.C (copySelection):
13510 * lyxfind.C (LyXReplace):
13511 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13512 LyXText::selectionAsString.
13514 * paragraph.C (asString): add "label" argument to the second form
13516 * text2.C (selectionAsString): add "label" argument and pass it to
13517 Paragraph::asString.
13519 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13521 * lyx_main.C (commandLineHelp): remove version information
13523 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13525 * lyx_main.C: add -version commandline option
13527 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13529 * paragraph.h: make the optional constructor arg required instead.
13530 some modifications to other files because of this.
13532 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13534 * lyxserver.C (C_LyXComm_callback): make it static
13536 * lyx_main.C (error_handler): make it static
13538 * lyx_gui.C (LyX_XErrHandler): make it static
13540 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13542 * WorkArea.C: make the extern "C" methods static.
13544 * Makefile.am (lyx_LDADD): simplify
13546 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13548 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13549 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13551 * LyXAction.C (init):
13552 * lyxfunc.C (dispatch): associated code removal.
13554 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13556 * lyxfont.h (isSymbolFont): shut off warning
13558 * text.C (setHeightOfRow):
13559 (getVisibleRow): fix crash with empty paragraphs which have a
13562 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13564 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13567 2001-09-04 José Matos <jamatos@fep.up.pt>
13570 * tabular.C (docbook): rename docBook method to docbook.
13572 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13574 * Makefile.am: add dependencies to main.o.
13576 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13578 * FontLoader.C (available): Return false if !lyxrc.use_gui
13580 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13582 * FontInfo.C (query):
13583 * converter.C (view):
13584 * importer.C (Import):
13585 * exporter.C (Export): Can not -> cannot.
13587 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13589 * BufferView_pimpl.C: allow to create index inset even if
13592 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13594 * buffer.C (getLists): replace boost::tie code with an explicit pair
13595 as boost::tie can break some compilers.
13597 * iterators.h: Added a std:: declaration to the return type of
13600 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13602 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13605 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13607 * iterators.[Ch]: New files. Provide paragraph iterators.
13609 * buffer.C (changeLanguage): Use paragraph iterators.
13610 (isMultiLingual): ditto
13612 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13614 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13616 * FontLoader.C: Support for cmr font.
13618 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13620 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13621 (available): New method.
13623 * FontInfo.C (getFontname): Use scalable fonts even when
13624 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13627 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13629 * converter.C (Formats::view): reverted! Incorrect fix.
13631 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13633 * converter.C (Formats::view): only output the -paper option
13634 if the dvi viewer is xdvi, thereby fixing bug #233429.
13636 2001-08-23 Herbert Voss <voss@perce>
13638 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13640 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13642 * Spacing.h (Spacing): Set space to Default on in the default
13645 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13647 * vc-backend.h (RCS::versionString): add RCS to version
13648 (CVS::versionString): add CVS to version
13650 * vc-backend.C (scanMaster): do not add CVS to version.
13651 (scanMaster): do not add RCS to version
13653 * lyxvc.C (versionString): new method
13655 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13657 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13659 * Spacing.C (set): initialize fval
13661 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13663 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13666 2001-08-16 Juergen Vigna <jug@sad.it>
13668 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13670 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13672 * BufferView_pimpl.C:
13675 * text2.C: setParagraph takes linespacing now
13677 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13679 * LyxAction.C: add internal LFUN_CITATION_INSERT
13681 * LyXView.C: actually apply fix
13683 * bufferlist.C: fix open non-existent file
13685 * lyxfind.C: fix indentation
13687 * lyxfunc.C: remove unneeded assert, fix typo
13689 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13691 * MenuBackend.C: use "Floatname List"
13693 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13695 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13696 when converting LaTeX layout to insetERT.
13697 Generate a non-collapsed float when reading old float
13699 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13701 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13704 2001-08-13 Juergen Vigna <jug@sad.it>
13706 * text.C (fill): return 0 instead of 20 as this seems to be the more
13709 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13711 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13714 2001-08-13 Juergen Vigna <jug@sad.it>
13716 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13718 (SearchBackward): comment out the unlocking of the inset_owner this
13719 should not be needed!
13721 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13723 * Many files: Remove inherit_language, and add latex_language
13725 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13726 collapsible insets.
13728 2001-08-10 Juergen Vigna <jug@sad.it>
13730 * text.C (prepareToPrint): fixed hfill-width in draw!
13732 * BufferView2.C (selectLastWord): save the selection cursor as this
13733 now is cleared in the function LyXText::clearSelection!
13735 2001-08-08 Juergen Vigna <jug@sad.it>
13737 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13738 BACKSPACE type functions.
13740 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13741 is only cutted from the document but not put in the cut-buffer, where
13742 still the old stuff should be.
13744 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13746 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13748 * tabular.C (SetWidthOfCell): fixed special case where the width
13750 (LeftLine): handle '|' in align_special.
13752 (LeftAlreadyDrawed): ditto
13753 (SetWidthOfCell): ditto
13755 2001-08-07 Juergen Vigna <jug@sad.it>
13757 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13759 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13761 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13762 * lyxlex.[hC]: ditto
13764 2001-08-06 Juergen Vigna <jug@sad.it>
13766 * text.C (getVisibleRow): fix up row clearing a bit.
13768 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13770 * minibuffer.C: make sure the X server sees the changes in the input.
13772 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13774 * paragraph.C (getFont): split into...
13775 (getLabelFont): this
13776 (getLayoutFont): and this
13777 * paragraph_pimpl.C (realizeFont): calling this
13779 * text2.C (getFont): split into...
13780 (getLayoutFont): this
13781 (getLabelFont): and this
13782 (realizeFont): all three calling this
13784 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13787 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13789 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13791 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13793 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13794 layouts from the Quote inset insertion.
13796 2001-08-03 Juergen Vigna <jug@sad.it>
13798 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13800 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13801 only if status not is already CHANGED_IN_DRAW (second level).
13803 * text.C (draw): don't set the need_break_row when inside an
13806 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13808 * buffer.C (parseSingleLyXformat2Token): handle more latex
13811 * bufferview_funcs.[hC]: change function names to
13812 begin with small char, adjust other files.
13814 2001-08-02 André Pönitz <poenitz@gmx.net>
13817 BufferView_pimpl.C: remove broken special code for math-greek
13819 2001-08-02 Juergen Vigna <jug@sad.it>
13821 * BufferView_pimpl.C (update): redone this function so that we
13822 update the text again if there was a CHANGE_IN_DRAW.
13824 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13825 (drawFromTo): added a new internal bool which is used by draw() and
13827 (general): some cursor drawing problems fixed.
13829 2001-08-01 Juergen Vigna <jug@sad.it>
13831 * lyxfind.C (LyXFind): fixed
13832 (SearchForward): ditto
13833 (SearchBackward): ditto
13835 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13836 spurius drawing of the cursor in the main area.
13838 * text2.C (status): small fix which could lead to a segfault!
13839 (clearSelection): remove unneeded BufferView param.
13841 2001-08-01 André Pönitz <poenitz@gmx.net>
13843 * lyxfunc.C: small change due to changed mathed interface
13845 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13847 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13849 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13851 * lyxfunc.c: fail gracefully if file doesn't exist
13856 * BufferView_pimpl.C: IsDirWriteable() proto changed
13858 * LyXView.C: fix updateWindowTitle() to store the last title
13860 2001-07-31 Juergen Vigna <jug@sad.it>
13862 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13863 the font (wrong since using of Paragraph::highestFontInRange).
13865 * paragraph.C (highestFontInRange): added a default_size parameter.
13867 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13868 (setHeightOfRow): reformat
13870 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13872 * converter.[hC] + affected files: move to (inital-char)lowercase
13875 * ParagraphParameters.C (ParagraphParameters): remove commented code
13877 * PainterBase.[Ch]: remove commented code
13879 * LaTeXFeatures.h: add "bool floats" for float.sty
13881 * LaTeXFeatures.C (LaTeXFeatures): init floats
13882 (require): handle float
13883 (getPackages): do it with floats
13885 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13887 * BufferView_pimpl.C (Dispatch): improve handling of
13888 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13890 * commandtags.h: #include lyxfont.h here temporarily to avoid
13893 * bufferlist.h: include LString.h here.
13895 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13897 * text2.C (getStringToIndex): new method.
13899 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13901 * *: Reduced header file dependencies all over.
13903 2001-07-30 Baruch Even <baruch@lyx.org>
13905 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13907 2001-07-29 Baruch Even <baruch@lyx.org>
13909 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13911 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13913 * ParameterStruct.h (endif): add a default constructor to make
13914 sure that all variables is initialized.
13916 * ParagraphParameters.C (ParagraphParameters): adjust
13918 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13920 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13921 index; also, check that there is something to index, and that it
13922 does not span over several paragraphs.
13923 (doubleClick): use WHOLE_WORD_STRICT for double click.
13925 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13927 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13930 2001-07-26 Baruch Even <baruch@lyx.org>
13932 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13933 an InsetFig figure, backwards compatible reading of old figure code.
13935 2001-07-27 Juergen Vigna <jug@sad.it>
13937 * text2.C: font.realize function adaption.
13939 * text.C (draw): add a warnings lyxerr text if needed.
13941 * layout.C: font.realize function adaption.
13943 * language.C: add inherit_language and implement it's handlings
13945 * bufferview_funcs.C (StyleReset): remove language parameter from
13946 font creation (should be language_inherit now).
13948 * bufferparams.C (writeFile): handle ignore_language.
13950 * paragraph.C (getFontSettings): the language has to be resolved
13951 otherwise we have problems in LyXFont!
13953 * lyxfont.C (lyxWriteChanges): added document_language parameter
13954 (update): removed unneeded language parameter
13956 * paragraph.C (validate): fixed wrong output of color-package when
13957 using interface colors for certain fonts in certain environments,
13958 which should not seen as that on the final output.
13960 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13962 * BufferView_pimpl.C:
13967 * LyXAction.C: add thesaurus support
13970 * lyxfind.C: add "once" parameter, for thesaurus, to not
13971 move to the next match
13973 2001-07-26 Juergen Vigna <jug@sad.it>
13975 * lyxfont.C (realize): honor ignore_language too!
13978 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13980 * text.C (draw): one place more for ignore_language to not draw
13983 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13985 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13987 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13989 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13990 the minipage conversion problem.
13992 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13994 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13997 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13999 * BufferView.h: don't forward declare WorkArea
14001 * BufferView.C: don't include WorkArea.h
14003 2001-07-25 André Pönitz <poenitz@gmx.net>
14007 * lyxfunc.C: new LFUN 'math-space'
14009 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14011 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14013 * text2.C (toggleInset): call open/close
14015 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14017 * lyxfunc.C (dispatch): add debug for the disabled case
14019 * font.C (buttonText): make similar to rectText
14021 * buffer.C (readInset): comment out parsing of insetlist and
14024 * PainterBase.C (rectText): small correction
14026 * BufferView_pimpl.C: comment out insettheorem and insetlist
14027 * LyXAction.C: ditto
14028 * commandtags.h: ditto
14030 2001-07-24 Juergen Vigna <jug@sad.it>
14032 * text.C (draw): honor the ignore_language.
14034 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14036 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14038 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14041 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14043 * lyxtext.h: remove unused (and unimplemented) methods
14045 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14047 * text.C (getVisibleRow): honor background color
14050 * Painter.h: remove default color argument for fillRectangle
14052 * text.C (backgroundColor): new method
14054 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14056 * text.C (getVisibleRow): adjust
14058 * font.[Ch] (rectText): new method, metrics
14059 (buttonText): new method, metrics
14061 * PainterBase.[hC]: make rectText and buttonText always draw and take
14064 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14066 * ToolbarDefaults.C (read):
14067 * MenuBackend.C (read): allow escaping in all strings
14069 * BufferView_pimpl.C (insertAndEditInset): new method.
14070 (Dispatch): use insertAndEditInset whenever appropriate.
14072 * BufferView_pimpl.C (insertNote): removed
14074 * BufferView_pimpl.C (smartQuote): new method, moved from
14075 BufferView; if an insetquote cannot be inserted, insert a '"'
14078 * BufferView2.C: remove insertCorrectQuote();
14080 * lyxfunc.C (getStatus): Add support for all remaingin
14081 inset-insert lfuns.
14083 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14085 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14086 command (necessary to pass " as parameter of self-insert.
14088 * text.C (selectWordWhenUnderCursor):
14089 (selectWord): add word_location parameter
14090 (selectWordWhenUnderCursor): same + remove special code for word
14092 (selectNextWord): use kind() to guess type of insetspecialchar,
14095 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14096 (insertErtContents): create ert insets as collapsed.
14097 (readInset): better compatibility code for Info inset.
14099 2001-07-20 Juergen Vigna <jug@sad.it>
14101 * lyxfunc.C (dispatch): use always LyXFind now!
14103 * text2.C (init): add a reinit flag so that the LyXText can be
14104 reinited instead of deleted and reallocated (used in InsetText).
14106 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14112 2001-07-18 Juergen Vigna <jug@sad.it>
14114 * text.C (selectNextWord): handle insets inside inset by calling
14115 always the bv->text functions so that we can go up the_locking_inset!
14117 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14118 in strange locations when inside an inset!
14120 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14121 handling to include insets.
14123 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14125 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14127 * LyXAction.C (init):
14129 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14130 LIGATURE_BREAK, since the name is so stupid.
14132 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14134 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14137 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14139 * sp_form.[Ch]: remove.
14141 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14143 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14146 * src/buffer.C (readInset): ditto.
14148 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14150 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14151 menuSeparator(), endOfSentenceDot(), ldots() and
14152 hyphenationPoint(), which are therefore removed.
14153 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14155 * LyXAction.C (init):
14156 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14158 * paragraph.C (getWord): removed.
14160 * BufferView_pimpl.C (Dispatch): use last word or selection for
14161 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14163 * lyx_main.C (queryUserLyXDir): do not ask before creating
14164 user_dir, except if it has been named explicitely.
14166 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14168 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14169 a document of zero size.
14171 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14173 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14174 approriately in the c-tor and in require().
14175 (getPackages): output the appropriate LaTeX for natbib support.
14177 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14178 variables "use_natbib" and "use_numerical_citations" when reading the
14180 (readInset): read the various natbib cite commands.
14181 (validate): white-space change.
14183 * bufferparams.[Ch]: new variables "bool use_natbib" and
14184 "bool use_numerical_citations".
14185 (writeFile): output them in the LyX file.
14187 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14189 * lyxfunc.C (getStatus): add support for all the inset insertion
14192 * text2.C (insertInset):
14193 * paragraph.C (insetAllowed):
14194 * BufferView_pimpl.C (insertInset): update to take in account the
14195 renaming of insertInsetAllowed
14197 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14199 * text2.C (getInset): new method. returns inset at cursor position.
14201 * BufferView_pimpl.C (Dispatch): changes because of this.
14203 * LyXAction.C (init): rename open-stuff to inset-toggle.
14205 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14207 * text2.C (toggleInset): renamed from openStuff; use
14210 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14212 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14214 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14216 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14218 * buffer.C (readLyXformat2): Add filename to the error dialog
14220 2001-07-18 Juergen Vigna <jug@sad.it>
14222 * tabular.C (GetCellNumber): put an assert here instead of the check!
14224 2001-07-17 Juergen Vigna <jug@sad.it>
14226 * BufferView_pimpl.C (toggleSelection): adapted too.
14228 * text.C (selectNextWord): adapted for use with insets.
14229 (selectSelectedWord): ditto
14231 2001-07-17 Juergen Vigna <jug@sad.it>
14233 * sp_spell.C (PSpell): fix initialitation order.
14235 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14237 * paragraph.C: spacing
14239 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14241 * sp_spell.C: repair language selection for pspell
14243 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14245 * lyxfunc.h: change more methods to begin with lower char.
14247 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14249 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14250 for unknown layouts.
14252 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14254 * buffer.C (readLyXformat2): Generate an error dialog if there are
14257 2001-07-16 Juergen Vigna <jug@sad.it>
14259 * sp_spell.C: always compile ISpell part.
14261 * lyxrc.C: added use_pspell entry and it's handling.
14263 2001-07-13 Juergen Vigna <jug@sad.it>
14265 * sp_spell.C: removed double includes.
14267 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14269 Consistent use of Lsstream.h:
14270 * Lsstream.h: added using std::stringstream for consistencies sake.
14272 * buffer.C: removed using std::stringstream
14274 * lyxfont.C (stateText):
14275 * paragraph.C (asString):
14276 * text.C (selectNextWord, selectSelectedWord):
14277 * text2.C (setCounter):
14278 * vspace.C (asString, asLatexString):
14279 std::ostringstream -> ostringstream.
14281 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14283 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14284 * commandtags.h: add LFUN_HELP_ABOUTLYX
14285 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14287 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14289 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14291 * lyx_gui_misc.C: remove spellchecker
14292 * lyxfunc.C: showSpellchecker
14294 * sp_ispell.h: added
14295 * sp_pspell.h: added
14296 * sp_spell.C: added
14297 * sp_form.[Ch]: removed
14298 * spellchecker.[Ch]: removed
14300 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14302 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14304 (simpleTeXSpecialChars): Simply print the input character without
14305 any special translation if pass_thru is set.
14307 * layout.h: Added bool pass_thru to layout class for being able to
14308 implement pass through of a paragraph for Literate Programming.
14310 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14311 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14312 * layout.C (Read): add "passthru" to list of layout tags and add
14313 code to set the pass_thru boolean when it is read.
14315 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14317 * trans_decl.h: remove allowed from KmodInfo
14319 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14320 remove allowed code
14323 * paragraph_pimpl.C (erase): use boost::prior
14325 * Painter.C (text): use data() instead of c_str() when length is
14327 * WorkArea.C (putClipboard): ditto
14328 * font.h (width): ditto
14330 * BufferView2.C: use it-> instead of (*it). for iterators
14332 * paragraph_pimpl.C: ditto
14333 * paragraph.C: ditto
14334 * minibuffer.C: ditto
14335 * language.C: ditto
14337 * encoding.C: ditto
14338 * counters.C: ditto
14339 * converter.C: ditto
14341 * Variables.C: ditto
14342 * TextCache.C: ditto
14343 * MenuBackend.C: ditto
14344 * LyXAction.C: ditto
14346 * FloatList.C: ditto
14347 * DepTable.C: ditto
14348 * ColorHandler.C (LyXColorHandler): ditto
14350 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14352 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14354 * text2.C (openStuff): reintroduce this method (which had been
14355 nuked in NEW_INSETS frenzy).
14357 * lyxfunc.C (Dispatch): when an action has not been handled, use
14358 its name in the error message, not its number.
14360 * paragraph.C (inInset): change method name to begin with lowercase.
14363 * text2.C: updates because of this.
14365 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14367 * ToolbarDefaults.C (add): add spaces in error message
14369 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14371 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14372 (readLyXformat2): rename return_par to first_par, use lyxlex's
14373 pushToken and remove the manual push handling.
14374 (parseSingleLyXformat2Token): add another ert comp. variable:
14375 in_tabular, rename return_par to first_par. handle newlines better
14377 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14379 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14381 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14383 * text2.C (getParFromID): removed
14385 * buffer.C (getParFromID): new method moved form lyxtext.
14386 * BufferView2.C (insertErrors): adjust
14387 (setCursorFromRow): adjust
14388 * BufferView_pimpl.C (restorePosition): adjust
14389 * lyxfunc.C (Dispatch): adjust
14390 * undo_funcs.C (textUndo): adjust
14392 (textHandleUndo): adjust
14393 (textHandleUndo): adjust
14395 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14397 * buffer.C: up' the LYX_FORMAT
14399 * lyxfont.h: turn NO_LATEX on as default
14401 * buffer.C (insertErtContents): new methods of tex style compability.
14402 (parseSingleLyXformat2Token): use it several places.
14403 * tabular.C (OldFormatRead): and here
14405 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14407 * text2.C: remove some commented code.
14410 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14411 * trans.C: changes because of the above.
14413 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14415 * text2.C (setCounter): Fix counters bug with bibliography layout.
14417 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14419 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14420 own member functions
14421 (simpleTeXSpecialChars): ditto
14423 2001-07-06 Juergen Vigna <jug@sad.it>
14425 * a lot of files: changed the access to LyXText::status and the
14426 call of undo-functions.
14428 * undo.[Ch]: added a inset_id to the undo informations.
14430 * undo_funcs.[Ch]: added and moved here all undo functions.
14432 * lyxtext.h: give the status enum a weight, made status_ a private
14433 variable and made accessor functions for it, removed the whole bunch
14434 of undo-functions as they are now in their own file, make some
14435 functions publically available. Added function ownerParagraph with
14438 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14439 made InInset() a const function, added getParFromID() function.
14441 * buffer.[Ch]: added const version for inset_iterator functions,
14442 added getInsetFromID() function.
14444 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14445 changed undo functions for new version.
14447 2001-07-05 Juergen Vigna <jug@sad.it>
14449 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14450 unknow mechanism does not call the proper constructor but only this
14451 one also if I request the other!?
14453 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14455 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14457 * text2.C (LyXText): use initialization lists.
14459 * lyxtext.h (Selection): initialize set_ and mark_
14460 (init): remove method
14462 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14464 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14466 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14468 * screen.[Ch]: change method names to begin with lowercase
14470 * BufferView_pimpl.C (updateScrollbar): simplify further and
14471 hopefully make it a bit faster.
14473 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14475 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14476 calling directly xforms functions.
14478 * Painter.C (Painter):
14479 * lyx_cb.C (MenuWrite):
14480 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14483 * lyx_gui.C: remove bogus guiruntime extern declaration.
14485 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14487 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14489 (redoDrawingOfParagraph): ditto
14490 (redoParagraphs): ditto
14491 (cutSelection): don't create a object for CutAndPaste use the
14492 static method directly
14493 (pasteSelection): ditto
14495 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14498 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14500 * modifications to some other files because of this.
14502 * Makefile.am (lyx_SOURCES): add XFormsView
14504 * XFormsView.[Ch]: new files
14506 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14507 the main window. Move the gui dependent stuff to XFormsView
14509 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14511 * tabular.C (GetCellInset): update cur_cell also in the row/col
14512 version of this function.
14514 * lyxfunc.C: no need to include figure_form.h here.
14520 * lyxvc.C: no need to include forms.h here.
14522 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14524 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14526 * lyxfunc.C (Dispatch):
14528 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14529 constructor argument.
14531 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14533 * paragraph.C (Paragraph): dont't clear, and just set layout.
14534 (makeSameLayout): use params's copy contructor.
14536 * ParagraphParameters.[Ch] (makeSame): delete method
14538 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14540 * Variables.[Ch]: fix indentation, rename set to isSet
14542 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14544 * lyxfunc.C (Dispatch): fix typo
14546 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14548 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14551 * bufferlist.C: include assert.h for emergencyWrite().
14553 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14555 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14556 give up at last (bug #425202) !
14558 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14564 * spellchecker.C: strip spellchecker options and bring up
14565 preferences tab instead
14567 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14569 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14570 the istringstream constructor
14572 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14574 * paragraph.C (getLayout): fix return value
14576 * paragraph.h: do not declare getLayout as inline.
14578 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14580 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14582 * lyxcursor.h (operator<): new func
14583 (operator>): new func
14584 (operator>=): new func
14585 (operator<=): new func
14587 * text.C (changeCase): use selection.start and selection.end
14588 (changeRegionCase): require from to be <= to. Require par to be a
14591 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14593 2001-06-27 Juergen Vigna <jug@sad.it>
14595 * text.C (cursorLeftOneWord): changed to return the cursor and added
14596 overlay with BufferView * parameter which calls this one.
14598 (selectWord): use new getWord function.
14599 (changeCase): renamed from changeWordCase as and extended to work
14600 also on selections.
14602 * lyxtext.h: added enum word_location
14604 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14605 changeCase as this operates now also on selections.
14607 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14609 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14611 * many files: send debug output to Debug::INFO instead of
14614 * converter.C (View):
14616 (Move): send debug output to Debug::FILES instead of console.
14618 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14620 * lyxfunc.C (getStatus): use func_status
14622 * func_status.h: new header, describing the results of
14623 LyXFunc::getStatus;
14625 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14628 2001-06-25 The LyX Project <jug@sad.it>
14630 * buffer.C (sgmlOpenTag):
14632 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14634 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14636 * text2.C: remove some dead code
14638 * tabular.C (GetCellInset): store the last cell checked (gotten)
14640 * tabular.h: add the helper for the speedup
14642 * lyxtext.h: remove some dead code
14644 2001-06-26 The LyX Project <Asger>
14646 * paragraph.C: Change export to LaTeX of alignment to
14647 \begin{center} and family for better roundtrip work with reLyX.
14649 * Tune the math drawing a bit.
14651 2001-06-25 The LyX Project <Asger>
14653 * LColor.C (LColor): New color for math background. New color
14656 2001-06-25 The LyX Project <jug@sad.it>
14658 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14660 * lyxfunc.C (Open):
14661 * bufferlist.C (newFile): do not restrict to files ending with
14664 * BufferView_pimpl.C (MenuInsertLyXFile):
14666 2001-06-24 The LyX Project <jug@sad.it>
14668 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14671 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14673 * lyxtext.h: rename most methods to begin with a small char.
14674 Lots of changes because of this.
14676 * paragraph.C (Paragraph): do not call fitToSize
14677 (erase): call Pimpl::erase
14678 (insertChar): call Pimpl::insertChar
14679 (insertInset): call Pipl::insertInset
14680 (breakParagraph): do not call fitToSize
14681 (breakParagraphConservative): do not call fitToSize
14682 (fitToSize): remove method
14684 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14686 2001-06-24 The LyX Project <Asger>
14688 * Fix Qt compilation^2
14690 2001-06-24 The LyX Project <jug@sad.it>
14692 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14693 depthHook(getDepth()-1).
14696 * ParagraphParameters.h:
14697 * ParameterStruct.h: change type of depth to unsigned int ==
14698 depth_type. Many adaptations to other files before of that.
14700 2001-06-24 The LyX Project <Asger>
14702 * Fix Qt compilation.
14704 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14706 * paragraph.h: renamed several methods to begin with small letter.
14707 several changes to many parts of the code because of this.
14709 2001-06-23 The LyX Project <jug@sad.it>
14711 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14712 rewritten to discard all double spaces when KeepEmpty is off
14713 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14714 to only handle newlines but not fiddle with spaces and friends.
14716 * lyxfunc.C (MenuNew): when doing 'new from template', use
14717 template_path as default directory
14719 2001-06-23 The LyX Project <Asger>
14721 * Clean-up of header file includes all over
14722 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14724 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14726 * paragraph.h: renamed from lyxparagraph.h
14728 2001-06-23 Asger <lyx@violet.home.sad.it>
14730 * Buffer.h: Removed Buffer::resize
14731 * BufferList.h: Removed BufferList::resize
14732 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14733 the document lazily when we change the width, or the font settings.
14735 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14737 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14739 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14741 * buffer.h: remove out of date comment
14743 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14746 * screen.C: fix "theoretical" GC leak
14748 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14750 * LaTeX.C (scanAuxFile):
14751 (deplog): remove trailing \r when reading stream (useful under
14754 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14756 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14757 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14758 and BufferView::theLockingInset(Inset*), so should use them and not
14759 access bv_->text->the_locking_inset directly.
14761 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14763 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14766 * tex-defs.h: remove old unused file
14768 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14770 * BufferView_pimpl.C: fix typo, remove minibuffer message
14771 when buffer has loaded
14773 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14775 * lyxfunc.C (Dispatch): use stringstream
14776 (MenuNew): use stringstream
14777 (Open): use stringstream
14779 * importer.C (Import): use stringstream
14781 * bufferview_funcs.C (CurrentState): use stringstream
14783 * LaTeX.C (run): use stringstream
14785 * BufferView_pimpl.C (savePosition): use stringstream
14786 (restorePosition): use stringstream
14787 (MenuInsertLyXFile): use stringstream
14789 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14802 * vspace.C: removed // -*- C++ -*- as first line.
14805 * version.h: added // -*- C++ -*- as first line.
14807 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14809 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14811 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14814 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14816 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14819 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14821 * gettext.C: include LString.h even when --disable-nls is on.
14823 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14825 * converter.h (Get): changed argument type from int to
14826 FormatList::size_type to avoid unnecessary conversion.
14828 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14831 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14833 * gettext.h: include LString.h even when --disable-nls is on.
14835 2001-06-07 Juergen Vigna <jug@sad.it>
14837 * text.C (BreakAgain): subst spaces with tabs.
14839 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14840 (resizeInsetsLyXText): set force on resizeLyXText.
14842 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14844 * gettext.h (gettext_init):
14845 (locale_init): use a real definition instead of a macro
14847 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14849 * Bufferview_pimpl.C:
14851 * LColor.C: further lcolor tidies
14853 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14855 * BufferView_pimpl.C (updateScrollbar): simplify.
14857 * BufferView2.C: don't include insets/insetinfo.h, change
14858 prototype for insertInset and call the Pimpl version. let
14859 updateInset call Pimpl version.
14861 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14862 gotoInset to BufferView::Pimpl
14864 2001-06-01 Juergen Vigna <jug@sad.it>
14866 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14867 inside a LockingInset (is the update needed at all?).
14869 2001-05-31 Juergen Vigna <jug@sad.it>
14871 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14872 here not the old one otherwise how should we compare it afterwards
14875 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14880 * FontInfo.C: bring C functions into global namespace when
14883 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14885 * LString.h: make sure config.h has been loaded before LString.h.
14887 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14888 (one for each char read by EatLine!).
14890 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14893 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14895 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14896 to the same as the par we break from
14898 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14900 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14902 * MenuBackend.C (expand): also create menu entries for wide
14903 versions of the floats.
14905 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14907 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14909 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14910 frontends/Makefile.am
14916 * tabular.C (getTokenValue): add std::
14918 * tabular-old.C (getTokenValue): add std::
14919 (getTokenValue): ditto
14920 (getTokenValue): ditto
14922 * screen.C (ToggleSelection): adjust
14924 * lyxtext.h: put selection cursors inside a Selection struct.
14926 * lyxfunc.C (moveCursorUpdate): adjust
14928 * lyxfont.C (latexWriteStartChanges): add std::
14930 * lyxfind.C: adjust
14932 * font.h: delete with(char const *, LyXFont const &)
14934 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14936 * FontInfo.C (getFontname): add std::
14938 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14939 (workAreaButtonPress): adjust
14940 (tripleClick): adjust
14942 (moveCursorUpdate): adjust
14945 * BufferView2.C (gotoInset): adjust
14947 2001-05-30 Juergen Vigna <jug@sad.it>
14949 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14950 to check pspell I add this as default as I now have new pspell
14951 libraries and they seem to use this.
14953 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14955 * text2.C (CutSelection): make the cursor valid before the call to
14958 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14960 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14961 relied on 0 terminated strings and other horrors. Bug found due to
14962 the new assert in lyxstring!
14964 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14967 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14969 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14972 * lyxfunc.C (processKeySym): change method of getting to the
14975 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14976 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14977 * BufferView_pimpl.[Ch]: here as private methods.
14979 2001-05-28 Juergen Vigna <jug@sad.it>
14981 * text.C (SetHeightOfRow): added the update() call again as it is
14982 needed to initialize inset dimensions!
14984 2001-05-16 Juergen Vigna <jug@sad.it>
14986 * text2.C (SetCharFont): Add new function with BufferView * and
14987 bool toggleall parameters for setting insets internal fonts.
14988 (SetFont): Freeze the undo as we may change fonts in Insets and
14989 all this change should be inside only one Undo!
14991 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14992 setting font's in insets as for them we have the SetFont function!
14994 2001-05-15 Juergen Vigna <jug@sad.it>
14996 * text2.C (ClearSelection): to be sure we REALLY don't have any
14999 * tabular.C (TeXCellPreamble): fixed the left border problem for
15002 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15004 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15007 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15009 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15010 LFUN_BREAKPARAGRAPH.
15012 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15013 help test to "internal only", similar for LFUN_INSERT_URL
15015 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15016 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15017 auto_region_delete and deadkeys.
15019 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15022 * LColor.C: remove some dead entries, tidy a little
15024 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15026 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15028 (Dispatch): implement LFUN_ESCAPE
15030 * commandtags.h: add LFUN_ESCAPE
15032 * LyXAction.C (init): add entry for LFUN_ESCAPE
15034 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15035 Remove commented code.
15036 (insertNote): moved here
15037 (open_new_inset): moved here
15039 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15042 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15044 * kbmap.C (findbinding): clean it up and make it work correctly.
15046 * lyx_main.C (init): do not pass argc and argv as parameters
15048 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15050 * buffer.C: fix path for OS/2 & Win32
15054 * lyx_main.C: Added os:: class.
15056 * os2_defines.h: update
15058 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15060 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15061 better by trying again with reduced state.
15063 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15065 * lyxrc.C (read): print error about invalid key sequence only when
15066 debugging (because not all latinX keysyms are known to some X
15069 * kbsequence.C (getiso): add a few std:: qualifiers
15070 (getiso): comment out extra return statement.
15072 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15074 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15076 (Dispatch): enhance the accent inset a bit. (not perfect)
15078 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15080 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15082 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15084 * bufferlist.C (emergencyWrite): fix assert() call
15086 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15088 * text.C (InsertChar): Added trivial patch to only send the "you
15089 can not do multiple spaces this way" message once during a
15092 2001-05-08 Baruch Even <baruch@lyx.org>
15094 * Makefile.am: Changed order of libraries to get LyX to link properly
15095 with the gnome frontend.
15097 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15099 * LaTeXFeatures.h: add a std:: qualifier
15101 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15103 * paragraph.C (String): use stringstream
15105 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15107 * paragraph.C (writeFile): remove footflag arg
15109 * buffer.C (makeLaTeXFile): use stringstream
15110 (latexParagraphs): remove footnot gurba
15112 * LaTeXFeatures.C (getPackages): use stringstream
15113 (getMacros): likewise
15114 (getTClassPreamble): likewise
15115 (getFloatDefinitions): new method
15117 * paragraph.C (writeFile): reindent
15120 * WorkArea.h: revert the xpos + etc changes.
15122 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15124 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15126 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15127 (pasteSelection): likewise
15128 * text2.C (CreateUndo): likewise
15130 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15132 * minibuffer.C (peek_event): temporarily reduce the functionality
15133 of the minibuffer (to allow args on lfuns)
15135 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15136 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15138 * buffer.C (readInset): add compability reading of old float
15139 lists, add reading of new style float list.
15140 (readInset): avoid reevaluation of inscmd.getCmdName()
15141 (getLists): reindent
15143 * MenuBackend.C (MenuItem): implement parsing of
15144 md_floatlistinsert and md_floatinsert.
15145 (expand::LastFiles): move initalizaton of iterators out of loop,
15146 avoid reevaluation.
15147 (expand::Documents): introduce typdedef vector<string> Strings,
15149 (expand::ExportFormats): introduce typedef vector<Format const *>
15150 Formats, and use it.
15151 (expand): implement FloatListInsert and FloatInsert.
15153 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15154 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15155 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15157 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15159 (Dispatch::LFUN_FLOAT_LIST): implement
15161 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15163 * LaTeX.C (run): Fix problem with --export code.
15165 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15167 * BufferView.[Ch] (workarea): removed.
15168 (getClipboard) new method; wrapper for workarea()->getClipboard()
15170 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15173 * WorkArea.h (width, height, xpos, ypos): These methods all
15174 returned the dimensions of the work_area sub-area of WorkArea,
15175 resulting in a position error if the WorkArea were resized. Now
15176 return the dimensions of the entire WorkArea.
15178 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15180 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15182 * LaTeX.C (deplog): correct the syntax of regex reg1
15184 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15186 * undo.C: remove !NEW_INSETS cruft
15188 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15190 * text2.C: remove !NEW_INSETS cruft
15192 * text.C: remove !NEW_INSETS cruft
15194 * tabular.C: remove !NEW_INSETS cruft
15196 * spellchecker.C: remove !NEW_INSETS cruft
15198 * lyxtext.h: remove !NEW_INSETS cruft
15200 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15202 * lyxfunc.C: remove !NEW_INSETS cruft
15204 * lyxfind.C: remove !NEW_INSETS cruft
15206 * lyx_cb.C: remove !NEW_INSETS cruft
15208 * figureForm.C: remove !NEW_INSETS cruft
15210 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15212 * buffer.[Ch]: remove !NEW_INSETS cruft
15214 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15216 * CutAndPaste.C: remove !NEW_INSETS cruft
15218 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15220 * BufferView2.C: remove !NEW_INSETS cruft
15222 * BufferView.h: remove !NEW_INSETS cruft
15224 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15226 * Lsstream.h: include LString.h before the sstream headers to
15227 fix problem with gcc 2.95.3 and lyxstring
15229 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15231 * lyx_main.C: add using directives when needed for C functions
15232 declared in std:: namespace.
15234 2001-04-27 Juergen Vigna <jug@sad.it>
15236 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15237 (SetHeightOfRow): comment out the update call should not be needed!
15239 2001-04-13 Juergen Vigna <jug@sad.it>
15241 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15242 (LyXTabular): tried to minimize operator= operations (and realized
15243 hopfully Lars wish).
15245 2001-04-27 Juergen Vigna <jug@sad.it>
15247 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15249 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15251 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15253 * buffer.C (readInset): hack to make listof algorithm work
15255 * BufferView_pimpl.C: hack to make listof algorithm work
15257 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15259 * LyXAction.C: removed all !NEW_INSETS cruft
15260 (init): moved lfun_item in method
15262 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15264 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15266 * BufferView2.C (theLockingInset): white space.
15268 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15270 * minibuffer.C: include <iostream>
15272 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15274 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15276 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15278 * text.[Ch] (TransposeChars): new method
15280 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15282 * call message directly through LyXView instead of through LyXFunc
15283 * BufferView2.C: adjust
15284 * BufferView_pimpl.C: adjust
15285 * FontLoader.C: adjust
15287 * bufferview_funcs.C: adjust
15288 * converter.C: adjust
15289 * figureForm.C: adjust
15290 * importer.C: adjust
15292 * lyx_gui_misc.C: adjust
15293 * lyxfunc.C: adjust
15296 + more files in subdirs
15298 * lyxparagraph.h (size): move up int file
15301 * adjust all uses of Assert to lyx::Assert.
15303 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15304 lyxfunctional in namespace lyx
15305 * layout.C (hasLayout): ditto
15308 (delete_layout): ditto
15309 (NumberOfClass): ditto
15310 * converter.C (GetFormat): ditto
15315 * bufferlist.C (getFileNames): ditto
15316 (emergencyWriteAll): ditto
15319 * MenuBackend.C (hasSubmenu): ditto
15322 * BufferView_pimpl.C (getInsetByCode): ditto
15324 2001-04-18 Juergen Vigna <jug@sad.it>
15326 * vspace.C (asLatexString): fixed the 100% problem.
15328 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15330 * lyxfunc.C (Dispatch):
15332 * minibuffer.h: add a few std:: qualifiers
15334 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15336 * minibuffer.[Ch]: reimplement so that commands is initiated and
15337 run from lyxfunc, simplified som handling, and made the completion
15338 and history code for complete. wip.
15340 * lyxfunc.C (processKeySym): call message
15341 (miniDispatch): new temporary method
15342 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15343 (LFUN_MESSAGE): implement
15344 (LFUN_MESSAGE_PUSH): implement
15345 (LFUN_MESSAGE_POP): implement
15346 (initMiniBuffer): the initial/defualt minibuffer message.
15348 * lyxfont.[Ch]: inline some more getters
15350 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15352 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15354 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15355 (AutoSave): use LFUN_MESSAGE
15356 (Reconfigure): ditto
15358 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15360 * figureForm.C: use LFUN_MESSAGE
15362 * converter.C (runLaTeX): use LFUN_MESSAGE
15364 * bufferview_funcs.C: use LFUN_MESSAGE
15366 (changeDepth): ditto
15368 * bufferparams.h: use boost::
15370 * bufferlist.h: inherit privately from noncopyable
15372 * bufferlist.C (loadLyXFile): remove some commented code.
15374 * buffer.C (runChktex): use LFUN_MESSAGE
15376 * ShareContainer.h: inherit privately from noncopyable
15378 * ParagraphParameters.[hC] (depth): inline it.
15380 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15382 (message): new method
15383 (messagePush): ditto
15384 (messagePop): ditto
15385 (show): init minibuffer
15386 (showState): direct call
15388 * LaTeX.[Ch]: inherit privately from noncopyable
15389 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15390 instead of WriteStatus.
15392 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15394 * BufferView_pimpl.C (buffer): don't init minibuffer
15395 (workAreaButtonPress): use LFUN_MESSAGE
15396 (workAreaButtonRelease): ditto
15397 (savePosition): ditto
15398 (restorePosition): ditto
15399 (MenuInsertLyXFile): ditto
15400 (workAreaExpose): don't init minibuffer
15401 (update): remove commented code, simplify
15403 * BufferView2.C (openStuff): use LFUN_MESSAGE
15404 (toggleFloat): ditto
15407 (copyEnvironment): ditto
15408 (pasteEnvironment): ditto
15413 (updateInset): remove some commented code
15415 * lastfiles.h: inherit privately from noncopyable
15418 * lyx_main.h: ditto
15420 * lyxlex_pimpl.h: ditto
15422 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15423 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15424 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15426 * LyXAction.h: inherit privately from noncopyable, add methods
15427 func_begin, func_end, returning iterators to the func map.
15429 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15430 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15431 (func_begin): new method
15432 (func_end): new method
15434 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15436 (copySelection): ditto
15437 (pasteSelection): ditto
15439 * BufferView.C: whitespace change
15440 * BufferView.h: inherit privately from noncopyable
15442 2001-04-16 Allan Rae <rae@lyx.org>
15444 * tabular-old.C (l_getline):
15445 * spellchecker.C (sc_check_word):
15446 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15447 an unrecognised preprocessor directive. So ensure they're wrapped.
15449 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15451 * src/exporter.C (Export): Give an error message when path to file
15454 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15456 * LaTeX.C (deplog): Always check that foundfile exists.
15458 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15461 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15463 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15465 * tabular.[Ch] (getLabelList): implement new method
15467 * minibuffer.h: comment ouf setTiimer
15469 * minibuffer.C (ExecutingCB): constify res
15470 (peek_event): constify s
15471 (Set): constify ntext
15472 (Init): constify nicename
15474 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15476 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15477 (savePosition): use two params to Minibuffer::Set
15478 (restorePosition): ditto
15480 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15482 * lyx_main.C: include language.h
15484 * Makefile.am (lyx_main.o): add language.h
15486 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15492 * CutAndPaste.C: include gettext.h
15494 * lyxfont.h: remove old hack with ON and OFF.
15497 * lyxfont.h: do not include language.h...
15502 * bufferview_funcs.C:
15508 * paragraph.C: ... but do it here instead
15510 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15512 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15514 * tabular.C: small reformat
15516 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15519 (BreakParagraph): ditto
15520 (SetOnlyLayout): ditto
15523 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15526 * lastfiles.C: removed most using decl, add std:: where needed
15528 * buffer.C: ws changes
15530 * MenuBackend.C (class compare_format): put into anon namespace
15531 (expand): constify label, names, action, action2
15534 * text.C (SingleWidth): constify font
15535 (IsBoundary): constify rtl2
15536 (GetVisibleRow): constify ww
15538 * LaTeX.C (deplog): constify logfile
15540 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15542 (workAreaExpose): constify widthChange, heightChange
15544 * lyxrow.C (par): moved
15547 * lyxrow.h: as inlines here
15549 * lyxfont.h (shape): moved from lyxfont.C
15550 (emph): moved from lyxfont.C
15552 * lyxfont.C (LyXFont): use initialization list for all
15554 (shape): move to lyxfont.h as inline
15555 (emph): move to lyxfont.h as inline
15558 2001-04-04 Juergen Vigna <jug@sad.it>
15560 * vspace.C: had to include stdio.h for use of sscanf
15562 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15565 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15566 independent of xforms.
15568 2001-04-02 Juergen Vigna <jug@sad.it>
15570 * spellchecker.C: fixed namespace placing!
15572 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15574 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15575 the LyXParagraph * is 0.
15577 2001-03-29 Juergen Vigna <jug@sad.it>
15579 * vspace.C: added support for %, c%, p%, l%.
15580 (stringFromUnit): added helper function.
15581 (asLatexString): changed to give right results for the %-values.
15583 * buffer.C: convert the widthp in a width%.
15585 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15587 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15590 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15591 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15593 * lyx_cb.[Ch]: see above.
15595 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15599 * lyx.[Ch]: replaced by figure_form.[Ch].
15603 * lyxfunc.C: changed headers associated with above changes.
15605 2001-03-27 Juergen Vigna <jug@sad.it>
15607 * BufferView_pimpl.C: set the temporary cursor right!
15609 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15611 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15613 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15615 * LString.h: removed "using std::getline"!
15617 * BufferView_pimpl.C (Dispatch): changes due to changes in
15618 InsetInclude::Params.
15620 * buffer.C (tag_name): removed redundant break statements as they were
15621 producing lots of warnings with my compiler.
15623 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15625 * LString.h: add "using std::getline" when using the real <string>.
15627 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15629 * buffer.C: removed bitset usage.
15630 PAR_TAG moved to an anonymous name space.
15631 (tag_name): new funtion, also in the anonymous namespace.
15632 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15633 (makeDocBookFile): clean code. Completed transition from string arrays
15635 (SimpleDocBookOnePar): code clean.
15637 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15639 * tabular.C: add some comments.
15641 2001-03-22 Juergen Vigna <jug@sad.it>
15643 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15644 compatibility read a bit and fixed bug with minipage in different
15647 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15649 * buffer.C (pop_tag): removed.
15650 (push_tag): removed.
15651 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15652 array replaced with vector. Added support for CDATA sections.
15653 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15655 (makeDocBookFile): XML conformant declaration of CDATA section,
15656 fixed bug related to <emphasis> in the first paragraph char.
15657 (sgmlOpenTag): exclude empty tags.
15658 (sgmlCloseTag): ditto.
15660 * buffer.h (pop_tag): removed.
15661 (push_tag): removed.
15663 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15665 * language.h (Languages): added size_type and size().
15667 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15669 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15670 response on compability reading of minipages. One probliem is that
15671 the old usage of minipages was «flertydig»
15673 * several files here and in subdirs: don't use static at file
15674 scope use anon namespaces instead.
15676 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15678 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15679 LaTeX output. This is necessary for Literate document
15682 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15684 * buffer.C: insert hfill when needed.
15686 * tabular.C (l_getline): use string::erase, small whitespace change.
15688 * BufferView_pimpl.C: try the anon namespace.
15689 * WorkArea.C: ditto
15691 2001-03-16 Juergen Vigna <jug@sad.it>
15693 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15694 otherwise it won't open options-dialogs.
15696 * buffer.C: honor pextraWidth(p) on converting minipages.
15698 * tabular.C (l_getline): changed the functions to strip trailing \r.
15700 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15702 * BufferView_pimpl.C:
15703 * minibuffer..C: added "using SigC::slot" declaration.
15705 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15707 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15713 * paragraph.C: ditto
15715 * lyxtext.h: NO_PEXTRA
15717 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15719 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15720 * ParameterStruct.h: ditto
15721 * ParagraphParameters.h: ditto
15722 * lyxparagraph.h: ditto
15724 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15726 * buffer.C: add compability for minipage alignment.
15727 (latexParagraphs): remove unwanted pextra check.
15729 * several files: remove CXX_WORKING_NAMESPACES
15731 * buffer.C (pop_tag): tie is in namespace boost
15733 * BufferView.h: noncopyable is in namespace boost
15735 * lyx_main.h: ditto
15738 * lastfiles.h: ditto
15739 * bufferlist.h: ditto
15740 * ShareContainer.h: ditto
15742 * LyXAction.h: ditto
15745 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15747 * Merging changes from BRANCH_MVC back into HEAD.
15749 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15751 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15753 * BufferView_pimpl.C: change from intl.C
15757 * Makefile.am: move combox.*
15763 * intl.C: remove dialog (covered by prefs)
15765 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15767 * lyxfunc.C (Dispatch): removed redundant break statement.
15769 2001-03-14 Juergen Vigna <jug@sad.it>
15771 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15773 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15775 * buffer.C: add hack to fix compability reading of minipages.
15777 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15779 * buffer.C (getLists): Cleanup.
15781 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15783 * lyxfont.C (update): don't honor toggleall on font size.
15785 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15789 * Makefile.am: moved to frontends/xforms/
15793 * BufferView_pimpl.C: changes for moved mathpanel
15795 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15797 * gettext.h: fix gettext_init() in --disable-nls
15799 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15801 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15803 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15806 * lyx.h: strip external form
15808 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15810 * BufferView_pimpl.C: add comment, destroySplash()
15812 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15814 * BufferView_pimpl.C:
15818 * lyxfunc.C: use re-worked insetinclude
15820 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15822 * buffer.C: add using std::stringstream.
15824 * lyx_cb.C: readd using std::ios.
15826 * buffer.C: add using std::map.
15828 * BufferView_pimpl.C: add using std::vector.
15830 * ShareContainer.h: add std:: to swap.
15832 * buffer.h: add some typedefs
15833 * buffer.C (getLists): use them
15834 (getLists): renamed from getTocList.
15835 add a counter for the different float types and use it in the
15837 (getLists): use the same counter for the NEW_INSETS and the "non"
15840 * lyx_cb.h: remove unused items, includes, using etc.
15842 * ShareContainer.h: remove some commented code, add more comments
15843 and "documentation".
15845 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15847 * buffer.C (getTocList): make the list also when NEW_INSETS is
15850 * buffer.h: remove TocType
15852 * buffer.C (getTocList): change to return a map<string,
15853 vector<TocItem> >, implement for dynamic number of list.
15855 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15856 * text2.C (PasteSelection): adjust
15857 * CutAndPaste.C (pasteSelection): adjust
15859 * FloatList.C (FloatList): update from the new_insets branch.
15860 * Floating.[Ch]: ditto
15861 * LaTeXFeatures.C: ditto
15863 * lyxlex_pimpl.C: ditto
15865 * paragraph.C (Last): remove when NEW_INSETS is defined.
15867 * other file: changes because of the above.
15869 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15871 * lyxparagraph.h: rename next to next_, previous to previous_,
15872 make them private for NEW_INSETS. Rename Next() to next(),
15873 Previous() to previous().
15875 * other files: changes because of the above.
15877 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15880 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15883 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15885 * main.C (main): pass lyx_localedir to gettext_init().
15887 * gettext.h: remove locale_init and gettext_init macros
15889 * gettext.C (locale_init): new function
15890 (gettext_init): new function
15892 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15895 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15897 * Moved credits to frontends:
15898 * credits.[Ch]: removed
15899 * credits_form.[Ch]: removed
15900 * lyx_gui_misc.C: remove credits stuff
15903 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15905 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15907 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15908 unneeded destructor.
15910 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15911 a standalone pointer again.
15913 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15915 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15921 * ToolbarDefaults.C:
15930 * BufferView_pimpl.C: use new file dialog in GUII
15933 * lyx_cb.C: remove LayoutsCB to Toolbar
15935 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15937 * ShareContainer.h (get): add std:: qualifier
15939 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15941 * ShareContainer.h: define a proper ShareContainer::value_type
15942 type (and use typename to please compaq cxx)
15944 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15946 * lyxparagraph.h: move serveral local vars to
15947 ParameterStruct/ParagraphParameters., use ShareContainer in
15948 FontTable., make vars in FontTable private and add getter and
15951 * paragraph.C: changes because of the above.
15953 * lyxfont.h: remove copy constructor and copy assignment. (the
15954 default ones is ok), move number inside FontBits. move inlines to
15957 * lyxfont.C: add number to initializaton of statics, move several
15958 inlines here. constify several local vars. some whitespace
15959 cleanup. Dont hide outerscope variables.
15961 * Spacing.h: add two new constructors to match the set methods.
15963 * ShareContainer.h: new file, will perhaps be moved to support
15965 * ParameterStruct.h: new file
15967 * ParagraphParameters.h: new file
15969 * ParagraphParameters.C: new file
15971 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15972 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15974 * BufferView_pimpl.C: ParagraphParameter changes.
15975 * buffer.C: Likewise.
15976 * bufferview_funcs.C: Likewise.
15977 * text.C: Likewise.
15978 * text2.C: Likewise.
15980 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15982 * lyxfind.C (LyXReplace): do not redefine default argument in
15984 (IsStringInText): ditto
15985 (SearchForward): ditto
15986 (SearchBackward): ditto
15988 2001-03-06 Juergen Vigna <jug@sad.it>
15990 * lyxfind.C (IsStringInText): put parentes around expressions.
15992 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15994 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15996 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15998 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
16000 * stl_string_fwd.h: add comment
16002 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16005 * tabular.C: remove unused DocBook methods
16011 killed DO_USE_DEFAULT_LANGUAGE
16013 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16015 * lyx_gui.C: do not include language.h.
16017 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16018 arguments in function implementation.
16020 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16022 * BufferView_pimpl.C: add <ctime>
16024 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16026 * BufferView_pimpl.C: add using std::find_if
16028 2001-02-27 José Matos <jamatos@fep.up.pt>
16030 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16033 2001-02-11 José Matos <jamatos@fep.up.pt>
16035 * buffer.C (makeDocBookFile): command styles now have a parameter as
16036 "title" by default.
16038 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16040 * layout_forms.[Ch]: removed
16041 * lyx_cb.[Ch]: out character
16042 * lyx_gui.C: out character
16043 * lyx_gui_misc.C: out character
16044 * bufferview_funcs.C: : out character,
16045 added toggleall as parameter in ToggleAndShow
16047 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16049 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16051 * text2.C (SetCurrentFont): Disable number property at boundary.
16053 2001-02-26 Juergen Vigna <jug@sad.it>
16055 * lyxfunc.C (getStatus): added a string argument override function so
16056 that this is correctly called from LyXFunc::Dispatch if it contains a
16057 do_not_use_argument which is used!
16058 (Dispatch): added check for "custom" export and call appropriate func.
16060 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16062 * lyxrc.C: Add language_command_local, language_use_babel and
16063 language_global_options.
16065 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16067 * buffer.C (makeLaTeXFile): Use language_use_babel and
16068 language_global_options.
16070 2001-02-23 Juergen Vigna <jug@sad.it>
16072 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16073 which works with LyXText and putted it inside BufferView. Here now we
16074 only call for that part the BufferView::Dispatch() function.
16076 * BufferView.C (Dispatch): added.
16078 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16079 functions which needs to use a LyXText over from LyXFunc.
16080 (MenuInsertLyXFile): added
16081 (getInsetByCode): added
16082 (moveCursorUpdate): added
16083 (static TEXT): added
16085 2001-02-22 Juergen Vigna <jug@sad.it>
16087 * BufferView_pimpl.C (update): call a status update to see if LyXText
16090 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16092 * vc-backend.C (revert): implement for CVS
16093 (getLog): implement for CVS
16095 2001-02-20 Juergen Vigna <jug@sad.it>
16097 * text2.C (ClearSelection): added BufferView param for inset_owner call
16099 * lyxfunc.C (TEXT): added this function and use it instead of
16100 directly owner->view()-text of getLyXText().
16102 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16104 * src/layout_forms.C: out preamble
16105 * src/layout_forms.h: out preamble
16106 * src/lyx_cb.C: out preamble
16107 * src/lyx_cb.h: out preamble
16108 * src/lyx_gui.C: out preamble
16109 * src/lyx_gui_misc.C: out preamble
16110 * src/lyxfunc.C: connect with guii preamble
16112 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16114 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16116 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16118 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16119 whether to run bibtex.
16121 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16123 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16125 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16127 * Makefile.am (lyx_SOURCES): removed bibforms.h
16129 * vspace.h: doxygen
16131 * text.C (GetVisibleRow): make several local vars const
16133 * tabular.C: small cleanup.
16135 * lyxserver.C (callback): use compare instead of strncmp
16137 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16138 inlines to after class or to paragraph.C
16140 * lyxfont.h: remove friend operator!=
16142 * converter.h: move friend bool operator< to non friend and after
16145 * combox.h: small cleanup
16147 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16148 to inlines after class def.
16150 * buffer.C (pop_tag): use string operations instead of strcmp
16152 * bmtable.c: doxygen, small cleanup
16154 * LaTeX.h: remove friend operator==
16156 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16168 * BufferView_pimpl.C:
16169 * BufferView.[Ch]: remove cruft
16171 2001-02-14 Juergen Vigna <jug@sad.it>
16173 * lyxfunc.C: removed #if 0 unused code
16175 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16177 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16179 * text2.C (SetSelection): added a BufferView * parameter
16181 2001-02-13 Juergen Vigna <jug@sad.it>
16183 * lyxfunc.C (Dispatch): fixed protected blank problem.
16184 * BufferView2.C (protectedBlank): added LyxText * parameter.
16186 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16187 (AppendColumn): same as above for column_info.
16189 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16190 (moveCursorUpdate): use a LyXText param for support of InsetText.
16192 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16193 (tripleClick): ditto
16195 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16197 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16199 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16201 * text2.C (SetSelection): set correct update status if inset_owner
16202 (ToggleFree): ditto
16204 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16206 * tabular.C: remove some commented code.
16208 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16210 * BufferView_pimpl.C: call hideSplash()
16212 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16215 * bibforms.h: remove
16218 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16219 add LFUN_CHILD_CREATE
16221 * counters.h: fix tiny typo
16226 * lyx.C: move splash to frontends/xforms/
16228 * lyx_gui_misc.C: move Include and Bibform to frontends
16230 * lyxvc.h: clarify comment
16232 * vspace.C: tiny housekeeping
16234 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16236 * text.C (PrepareToPrint): RTL Fix.
16238 * paragraph.C (GetUChar): New method.
16239 (String): Use GetUChar.
16241 * buffer.C (asciiParagraph): Use GetUChar.
16243 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16245 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16247 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16250 * buffer.C: rename to getLogName(), handle
16251 build log / latex log nicely
16253 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16256 * MenuBackend.h: remove support for reference menuitem type.
16258 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16260 * BufferView_pimpl.C: housekeeping
16261 * BufferView_pimpl.h:
16266 * minibuffer.h: move Timeout GUI-I
16268 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16270 * lyxrc.C (read): Update converters data-structures.
16272 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16274 * LaTeX.h (operator!=): add operator != for Aux_Info
16276 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16278 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16280 * LaTeXLog.C: deleted, useful code moved to Buffer
16283 * buffer.C: new function getLatexLogName()
16289 * lyxfunc.C: use frontends for LaTeX and VC logs
16291 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16293 * LaTeX.h: yet another std:: that Allan forgot.
16295 * Variables.C (set): renamed from isset(), because this clashes
16296 with some HP-UX macros (grr).
16298 2001-02-06 Allan Rae <rae@lyx.org>
16300 * LaTeX.h: Another bug fix. Missing std:: this time.
16302 2001-02-04 Allan Rae <rae@lyx.org>
16304 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16305 floats problem. I've left it commented out because it's not quite
16306 correct. It should also test that the current object is a table or
16307 figure inset. But I haven't gotten around to figuring out how to do
16308 that. I *think* it'll be something like: "table" == inset.type()
16310 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16313 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16315 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16316 all the citation/databases/styles in the auxilary file.
16317 (run): Rerun latex if there was a babel language error.
16319 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16321 * text.C (Backspace): Preserve the font when changing newline char
16323 (BreakParagraph): If the cursor is before a space, delete the space.
16325 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16327 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16329 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16330 new argument (code).
16331 (ChangeCitationsIfUnique): New method.
16333 * paragraph.C (GetPositionOfInset): Handle bibkey.
16335 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16337 * BufferView_pimpl.h: change type of Position::par_pos to
16338 LyXParagraph::size_type.
16340 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16342 * BufferView_pimpl.C (savePosition, restorePosition): Write
16343 messages to minibuffer.
16345 2001-01-28 José Matos <jamatos@fep.up.pt>
16347 * buffer.C (makeDocBookFile): adds support for document language.
16348 A silly restriction on the name of LatexCommand types where removed.
16349 Added support for CDATA sections, allows to chars unescaped, used
16350 among others in code, to avoid escape < and >.
16352 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16354 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16355 saved positions instrad of a stack. Furthermore, a position is
16356 stored using paragraph id/paragraph position.
16358 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16359 Remove LFUN_REF_BACK.
16361 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16363 * converter.C (dvipdfm_options): New method.
16365 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16367 * vspace.C (isValidLength): Fix for empty input string.
16369 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16371 * LyXAction.C (init): change description of LFUN_FIGURE to
16374 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16376 * LaTeX.C: add using directive
16378 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16380 * MenuBackend.C (expand): Fix the sorting of the formats.
16382 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16384 * lyx_main.C: tiny error message fix
16386 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16388 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16389 calling fl_initialize(). This fixes the problem with ',' as
16390 decimal separator in text files.
16392 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16394 * trans.C (process): Fix the keymap bug.
16396 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16398 * LaTeX.C (scanAuxFiles): New method. Provides support for
16399 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16400 (scanLogFile) Scan for "run BibTeX" messages.
16402 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16403 OT1 font encoding. Also, load the aecompl package if the ae
16406 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16408 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16410 * texrow.C (increasePos): turn two error messages into debug
16413 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16415 * LaTeX.C (scanAux): Handle the \@input macro.
16416 (runBibTeX): Use scanAux().
16418 * language.C (latex_options_): New field.
16420 * LaTeXFeatures.C (getMacros): Add language macros.
16422 * buffer.C (makeLaTeXFile): Small fix.
16424 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16426 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16428 * text2.C: add a using directive.
16430 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16435 * lyxfunc.C: kill LyXBell.
16437 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16439 * text.C (IsBoundary): Remove the error message
16441 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16443 * lyxrc.C (setDefaults): Correct initialization value for
16446 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16448 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16451 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16452 and GotoNextNote().
16454 * src/LyXAction.C: Added reference-next.
16456 * text.C (InsertChar): Use contains instead of strchr.
16458 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16460 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16462 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16463 alignment commands (when needed).
16465 * text.C (InsertChar): Add ':' to number separator chars.