1 2004-11-16 Lars Gullik Bjonnes <larsbj@gullik.net>
3 * pariterator.h: add typdefs for value_type, difference_type,
4 pointer and reference to satisfy concept checks. Also add default
5 constructor for same reason.
7 * pariterator.C (operator++): add post-increment operator to
8 satisfy concept checks.
10 * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
13 * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
15 * ParagraphList_fwd.h: include paragraph.h to satisfy concept
16 checks. Also rename base_type to BaseType to follow naming
19 * FloatList.h: include Floating.h to satisfy concept checks.
21 2004-11-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
23 * lyxfunc.C (getStatus): when the origin of the request is menu or
24 toolbar, and the LyXView does not have focus, do as if there was
27 * lyxfunc.C (getStatus, dispatch): propagate the origin of a
28 FuncRequest to individual entries of LFUN_SEQUENCE
30 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 * output_latex.C (TeXOnePar): override runparams.moving_arg
33 according to the needprotect value of the current paragraph (bug
36 * paragraph.C (simpleTeXOnePar): no need to override
37 runparams.moving_args here
39 2004-11-14 John Spray <spray_john@users.sourceforge.net>
41 * vspace.C: fix off-by-one-error, related to fix #1682
43 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
45 * lengthcommon.C: a more general fix for bug 1682
47 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
49 * text.C (backspace): fix crash
51 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
53 * format.[Ch] (getFormatFromFile): new method
54 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
56 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
58 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
60 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
62 * lyxfunc.C (dispatch): remove the verbose argument
63 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
66 * kbmap.C (defkey): set the origin of func to KEYBOARD
68 * MenuBackend.C (MenuItem):
69 * ToolbarBackend.C (add): set the origin of func to UI
71 * funcrequest.[Ch]: add origin member, which indicates which part
72 of LyX requests an action
74 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
76 * converter.C (move): don't lie in the error message
77 * converter.h (isReachable, move): document
79 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
81 * buffer.C: remove unused using lyx::support::atoi
82 * paragraph_funcs.C: ditto
84 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
86 * bufferlist.C (exists): use bind and equal_to instead of
89 * lyxtextclasslist.C (NumberOfClass): ditto
91 * cursor.C (insert): use for_each instead of explicit for loop
93 * bufferlist.C (getFileNames): use std::transform and
94 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
96 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
99 * buffer.C (changeLanguage): use for_each instead of explicit for
101 (hasParWithID): implement using getParFromID
103 * LaTeXFeatures.C: ws change only
105 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
108 * BufferView_pimpl.C (trackChanges): use for_each instead of
111 2004-11-04 André Pönitz <poenitz@gmx.net>
114 * undo.C (textUndoOrRedo): fix crash when creating undo information.
116 * dociterator.C (asDocIterator): use hard assert again.
118 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
120 * lyxlength.C (asLatexString): rewrite so that it does not use
123 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
125 * text3.C (specialChar, dispatch): make sure cursor moves to the
126 right after inserting an inset
128 2004-11-02 José Matos <jamatos@lyx.org>
130 * output_docbook.C (docbook):
131 * paragraph.C (getID):
132 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
133 garantee that the output is always legal.
135 * tabular.C (docbook):
136 * outputprams.[Ch]: remove mixed contents.
138 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
140 * text2.C (setCounter): prevent endless loop
142 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
144 * exporter.C (copyFile): use the mover instead of support::copy()
145 * exporter.C (Export): pass format and latex name to copyFile()
146 * exporter.h (addExternalFile): document
147 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
149 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
151 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
153 2004-10-30 José Matos <jamatos@lyx.org>
155 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
156 text and no inset or font change. This allows to use CDATA
157 sections just for the whole paragraph.
159 2004-10-30 José Matos <jamatos@lyx.org>
161 * paragraph.C (getFirstWord): remove unused variable.
163 2004-10-30 José Matos <jamatos@lyx.org>
165 * paragraph.C (getFirstWord): the content should always be escaped
167 (simpleDocBookOnePar):
168 * output_docbook.C (makeEnvironment): replace reference to CDATA
171 2004-10-30 José Matos <jamatos@lyx.org>
173 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
175 2004-10-30 José Matos <jamatos@lyx.org>
177 * output_docbook.C (makeParagraphs):
178 * paragraph.[Ch] (emptyTag): for docbook and company, if the
179 standard paragraph has only a given type of content drop the wrapper.
181 2004-10-29 José Matos <jamatos@lyx.org>
183 * output_docbook.C (makeEnvironment):
185 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
187 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
189 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
190 (cleanID): sanitize any id.
192 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
194 * buffer.C, lyxlex_pimpl.C:
195 * lyxlex_pimpl.C (setFile):
196 s/getExtFromContents/getFormatFromContents/
198 2004-10-28 José Matos <jamatos@lyx.org>
200 * output_docbook.C (makeEnvironment): move id to broadest possible
203 * sgml.C (openTag): apply substitution of <> for all attributes.
205 2004-10-28 José Matos <jamatos@lyx.org>
207 * buffer.C (makeLinuxDocFile, makeDocBookFile):
208 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
209 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
211 * sgml.[Ch]: new version for open and closeTag for paragraph and
212 for strings. Now they handle the ids of paragraphs.
214 2004-10-26 Angus Leeming <leeming@lyx.org>
216 * Makefile.am: add mover.[Ch].
218 * converter.C (convert, move): use the new Movers to move external
219 files to the temp directory.
221 * lyx_main.C (init): ensure that the global system_movers data
224 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
227 * mover.[Ch]: new files, defining a Mover as a utility to move an
228 external file between directories and, if necessary, manipulate this
229 file using a helper script.
231 2004-10-25 José Matos <jamatos@lyx.org>
233 * output_docbook.C (makeCommand): merge two if's that tested the
236 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
238 * sgml.C (escapeString): fix warning in a better way
240 2004-10-25 José Matos <jamatos@lyx.org>
242 * sgml.C (escapeString): import the require boosts header file for
243 tie, and avoid a signed unsigned comparison.
245 2004-10-25 José Matos <jamatos@lyx.org>
247 * sgml.h: add #include <string>
249 2004-10-25 José Matos <jamatos@lyx.org>
251 * sgml.[Ch] (escapeString): new function to escape all the string.
253 2004-10-24 José Matos <jamatos@lyx.org>
255 * paragraph.[Ch] (getFirstWord): new function to get the first
256 word. Useful for description.
257 (simpleDocBookOnePar): remove depth argument, add another that
258 says where to start the paragraph.
260 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
261 use the new functions to fix cleanly the support for descriptions.
263 2004-10-24 José Matos <jamatos@lyx.org>
265 * buffer.C (makeLinuxDocFile, makeDocBookFile):
266 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
267 * output_linuxdoc.C (linuxdocParagraphs):
268 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
269 add buffer as argument.
271 2004-10-24 José Matos <jamatos@lyx.org>
273 * output_docbook.C (makeEnvironment, searchEnvironment): place
274 CDATA inside paragraphs and fix scope for listitems.
276 2004-10-24 José Matos <jamatos@lyx.org>
278 * output_docbook.C: remove using statement for stack.
280 2004-10-23 José Matos <jamatos@lyx.org>
282 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
283 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
284 docbook. The new scheme is recursive and makes use of iterators, the
285 same as latex export works.
286 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
287 directly with the paragraph contents. This code was moved up to
288 output_docbook.C (docbookParagraphs).
289 * sgml.C (openTag, closeTag): removed unneeded newlines.
290 (closeEnvTags) removed.
292 2004-10-23 André Pönitz <poenitz@gmx.net>
294 * undo.C (textUndoOrRedo):
295 * dociterator.C (asDocIterator): work around crash
297 * cursor.C (getStatus): replace ASSERT by more verbose error message
298 and manual correction of the problem. Should increase stability
299 while providing more sensible information.
301 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
303 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
305 * bufferlist.C (previous, next): new methods
308 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
310 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
312 * buffer.C (makeDocBookFile): add dsssl stylesheet control
313 entities to preamble.
315 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
317 * messages.C (Pimpl): strip off translation context information
319 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
321 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
322 the cursor is correct (bug 1694)
324 2004-10-13 José Matos <jamatos@lyx.org>
326 * output_docbook.C (docbookParagraphs): fix closing tags in the
329 2004-10-09 José Matos <jamatos@lyx.org>
331 * buffer.C: format up to 237.
332 * bufferparams.C (write): use tostr to convert booleans to strings.
334 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
336 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
338 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
340 * LaTeX.C: implement use of babel language in xindy.
342 2004-10-05 José Matos <jamatos@lyx.org>
344 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
345 Add new translators to help reading and writing the lyx file.
347 2004-10-05 José Matos <jamatos@lyx.org>
349 * ParagraphParameters.C (read):
350 * text.C (readParToken): replace nexToken by more appropriate lex
353 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
355 * LaTeX.C (runMakeIndex):
356 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
357 (usually 'makeindex') configurable.
359 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
360 with a variable rather than with a number.
362 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
364 * output_latex.C (TeXOnePar): make sure font setting is the first
365 thing that gets output (and the last at the end). Should fix bug
368 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
370 * pch.h: use proper signal include
372 * LaTeX.h: Use preferred calling of Boost.Signal
375 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
377 * pch.h: dont include <boost/function/function0.hpp>
379 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
381 * paragraph_pimpl.h: remove usage of ShareContainer
383 * paragraph_pimpl.C: remove initialization of ShareContainer.
385 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
389 * BufferView.C (putSelectionAt): change the semantics when
390 backwards == true: now, this just swaps cursor and anchor wrt the
393 * BufferView.h (putSelectionAt): add some documentation
395 * lyxfind.C (findBackwards): rewrite using while(). In particular,
396 make sure backwardChar is done at least once (to avoid getting
398 (findNextChange): use putSelectionAt in the forward direction
399 (operator()): use Paragraph::isWord
401 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
403 * Spacing.C (set): c_str fix
405 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
407 * lyx_cb.C (Reconfigure): quote the name of configure script in
408 case it contains spaces
410 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
414 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
415 (BOOST_LIBS): use top_buildir when looking for the file
417 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
419 * pch.h: do not use include boost/format.hpp, multiple symbols
420 will result (gcc bug)
423 2004-08-23 José Matos <jamatos@lyx.org>
425 * bufferparams.C (readToken): fix reading of the author field.
427 2004-08-20 José Matos <jamatos@lyx.org>
429 * lyxrc.C: remove support/translator.h inclusion since it is not used.
431 2004-08-20 José Matos <jamatos@lyx.org>
433 * lyxlex.[Ch] (findToken): remove function.
435 * ParagraphParameters.C (findToken):
436 * bufferparams.C (findToken): replace call for previous function
437 with local copy. This local function has one more argument, the
438 read string argument.
440 2004-08-16 José Matos <jamatos@lyx.org>
442 * ParagraphParameters.C (write):
443 * Spacing.C (writeFile):
444 * bufferparams.C (writeLaTeX):
445 * lyx_cb.C (Reconfigure):
446 * paragraph.C (write):
447 * tabular.C (write): remove unnecessary space at end of line.
450 2004-08-16 José Matos <jamatos@lyx.org>
452 * text.C (readParagraph): remove debug message.
454 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
456 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
459 * output_plaintext.C (asciiParagraph): set depth correctly
461 * outputparams.h: add member depth
463 * paragraph_funcs.C (ownerPar): remove.
465 * text2.C (setCounter): remove first_pit; comment out some
466 non-working code that uses ownerPar
468 * BufferView.C (getParentLanguage): remove. Not used anymore, and
471 2004-08-16 José Matos <jamatos@lyx.org>
473 * text.C (readParToken, readParagraph, read): report all unknown tokens.
474 For the same level of importance use the same chanel to report problems.
475 (read): add code to deal with \begin_body and \end_body.
478 2004-08-15 José Matos <jamatos@lyx.org>
480 * lyxlex.C (getString): fix comment, buffer::readBody is now
483 * tex-strings.C (string_papersize): Default -> default,
484 Custom -> custom, for consistency with other options.
486 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
490 * Makefile.am: support pch
492 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
494 * text.C (readParToken): remove the static LyXFont variable and
495 pass it as a parameter instead. This fixes a nasty bug where an
496 inset will be inserted with a bad font in some situations
497 (readParagraph): adapt
499 * text2.C (setCounter): reduce number of calls to pars_[pit]
501 * text.C (singleWidth): add an assert, fix a test
503 * rowpainter.C (paintText): reduce number of calls to singleWidth
505 * paragraph.C (isHfill):
508 2004-08-14 André Pönitz <poenitz@gmx.net>
513 * lyxtext.h (several functions): use a Paragraph & argument
516 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
518 * metricsinfo.h: add a new field ltr_pos to PainterInfo
520 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
522 * text.C (singleWidth): remove useless test
524 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
526 * tabular.h: remove bogus comments
528 * tabular.C (getDescentOfRow):
529 (isPartOfMultiColumn): add assertions
531 * lyxlength.C (inPixels): remove #warning
533 2004-08-14 André Pönitz <poenitz@gmx.net>
535 * paragraph.h: inline getChar()
537 * BufferView.h: remove unused declarations
539 2004-08-14 José Matos <jamatos@lyx.org>
541 * Buffer.[Ch] (readDocument): new name for old readBody.
542 * Buffer.C: new file format, new keywords: \begin_document,
543 \begin_header, \begin_body, \end_body.
545 * bufferparams.C (readToken): replace all calls to lex.nextToken
546 by lex.next(). Do the same to eatLine except where really needed.
548 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
549 line when writing to the lyx file.
551 * output_plaintext.C (asciiParagraph): fix Bibliography style
554 * text.C (read): fix end of file handling.
556 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
558 * MenuBackend.C (Menu::operator[]): new method to access
559 individual menu items
560 (Menu::hasFunc): new method. search for an item that corresponds
562 (MenuBackend::specialMenu): new method
563 (MenuBackend::expand): if a special menu has been set, skip
564 entries whose func() appears in this menu
566 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
568 * text3.C: use Debug::DEBUG a bit more
570 * text.C (leftMargin): try to simplify a tiny bit change var x to
571 l_margin. Dont output the wide margins always.
572 (rightMargin): no margin in inner texts
574 * rowpainter.h (nestMargin): new func
575 (changebarMargin): new func
576 (rightMargin): new func
578 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
582 * factory.C (createInset): modify setDrawFrame
584 * cursor.C: use Debug::DEBUG a bit more
586 2004-08-14 André Pönitz <poenitz@gmx.net>
589 * Makefile.am: new files to accomodate an 'external' (x,y)-position
590 cache for all insets in (at least partially) visible (top-level)
593 * BufferView_pimpl.C: reset external coord cache before every update.
594 This means the coord cache only contains valid entries.
596 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
599 * BufferView_pimpl.C (getInsetByCode): move function out of class
600 and change in to a template in anon namespace. Also fix to do what
603 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
606 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
608 (breakParagraph): rename par to par_offset and use a local
609 reference. Add code to keep the language over a rebreak.
610 (breakParagraphConservative): rename par to par_offset, use a
612 (mergeParagraph): ditto
614 (isFirstInSequence): ditto
615 (outerFont): rename pit to par_offset
617 * paragraph.C: ws change
622 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
624 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
627 * paragraph.C (simpleTeXOnePar): when we have a \item with
628 optional argument, enclose the argument with curly brackets (in
629 case it contains a closing square bracket)
633 * text3.C (checkInsetHit): constify
635 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
637 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
640 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
642 Fix toggling of collapsable insets with the mouse (bug 1558)
644 * lyxfunc.C (dispatch): adapt to LCursor changes
646 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
647 make sure that dispatch is not invoked twice
649 * cursor.C (needsUpdate): new method
650 (dispatch): return void
651 (result): new method, to access the DispatchResult of the cursor.
653 2004-08-13 José Matos <jamatos@lyx.org>
655 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
657 2004-08-13 André Pönitz <poenitz@gmx.net>
659 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
661 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
664 2004-08-12 André Pönitz <poenitz@gmx.net>
666 * text3.C: take out the 'cursor right' form insertInset and only
667 do it in those places when it is really needed. Fixes crash on
670 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
672 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
674 * BufferView_pimpl.C (setBuffer): initialize the current font of
675 the underlying LyXText
677 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
679 * kbsequence.C (print): use UI native formatting for menu
682 * text.C (insertChar): call Paragraph::insertChar with a font
685 * paragraph.C (insertInset, insertChar): the version that takes a
686 LyXFont argument is now a wrapper around the other one (the
687 opposite used to be true).
689 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
690 argument. Font setting is done in Paragraph now.
692 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
694 * outputparams.h: add new members intitle and lang.
696 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
697 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
699 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
701 * text3.C (dispatch): remove special handling of button 4 and 5,
702 it is now taken care of in the frontend code.
704 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
706 * Spacing.h: add <string> (STLPort compile fix)
708 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
710 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
712 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
714 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
717 * converter.C (showMessage): inherit from unary_function, make
720 * buffer.C (writeFile): initialize retval
722 * InsetList.h: rename private variable list to list_
723 * InsetList.[Ch]: adjust accordingly.
725 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
727 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
728 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
729 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
730 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
731 * ParagraphParameters.C, LaTeXFeatures.C: replace
732 "support/std_sstream.h" with <sstream>
734 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
736 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
737 * lyxsocket.C (LyXServerSocket): ditto
738 (serverCallback): ditto
740 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
742 * LaTeXFeatures.C: check release date when loading jurabib.
744 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
746 * lyxserver.C (startPipe): call register_socket_callback
747 (endPipe): call unregister_socket_callback
749 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
751 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
752 (LyXServerSocket): register the callback
753 (LyXServerSocket): unregister the callback
754 (fd): delete function
755 (serverCallback): improve error checking and setup the callbacks.
756 (dataCallback): change arg to fd.
757 (writeln): new func (copied fro the client socket) used for server
759 (LyXDataSocket): simplify
760 (~LyXDataSocket): close ann unregiser callback
761 (server): delete function
762 (fd): delete function
763 (readln): small changes, improve some std::string usage
764 (writeln): constify a bit
766 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
768 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
771 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
773 * BufferView_pimpl.C (setBuffer): set the layout combox value only
774 after it has been populated
776 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
778 * text2.C (insertInset): move cursor when inserting inset.
780 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
782 * kbmap.C (findbindings): a couple of new methods. returns a
783 container of kb_sequence objects. The real work is done by the
784 private recursive version
785 (printbindings): uses findbindings to print out a bracketed list
786 of bindings (renamed from findbinding).
788 * MenuBackend.C (binding): use kb_keymap::findbindings
790 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
792 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
794 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
796 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
798 * paragraph.C (isWord): return true on insets that report
801 * text.C (getWord): use Paragraph::isWord to decide what is in a
802 word and what is not; fix bug 1609.
804 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
806 * tex-strings.C: add "none" to string_paperpackages[], fixes
807 off-by-one-error in the paperpackage selection.
810 * tex-strings.[Ch]: char const * string[n]
811 -> char const * const string[]
813 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
815 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
816 command, return early.
818 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
820 * debug.h: add DEBUG to enum and fix size of ANY.
822 * debug.C: add support for Debug::DEBUG
823 (showTags): cast errorTags.level to unsigned int
825 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
826 (redoCurrentBuffer): ditto
827 (updateScrollbar): ditto
828 * cursor.C (dispatch): ditto
829 * text2.C (setLayout): ditto
831 (updateCounters): ditto
833 (deleteEmptyParagraphMechanism): ditto
835 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
837 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
838 annotations to cleanup the Makefile slightly.
840 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
842 * lyxrc.C: do not set user_email to a default value but use empty
843 instead. The entry used to be translated, which does not work
844 since at the point where lyxrc is constructed there is no
845 translation service available
847 * messages.C (getLocaleDir): remove and use directly
848 lyx_localedir() instead
850 2004-06-02 Angus Leeming <leeming@lyx.org>
852 Fix crash caused by dereferencing null pointer 'exportdata' in
853 OutputParams by creating a new ExportData variable on the heap,
854 storing it in a boost::shared_ptr.
855 The crash was triggered when generating an Instant Preview
856 of an external inset.
858 * Makefile.am: add outputparams.C
860 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
861 (c-tor): allocate memory to it.
863 * exporter.C (c-tor): associated changes.
865 2004-06-01 Angus Leeming <leeming@lyx.org>
867 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
868 contains data before calling isInset(0). (Bug 1513.)
870 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
872 * exporter.C (checkOverwrite): new method
873 * exporter.C (copyFile): new method
874 * exporter.C (Export): copy referenced files to the document dir
875 * exporter.[Ch]: new class ExportedFile
876 * exporter.[Ch]: new class ExportData. Contains currently the
877 names of referenced external files
878 * outputparams.h: add exportdata member.
880 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
882 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
885 2004-05-19 Angus Leeming <leeming@lyx.org>
890 * lyxfunc.C: small changes due to the introduction of namespace
891 lyx::frontend and the moving of namespace biblio to lyx::biblio.
893 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
895 * text3.C (dispatch): supress update when only moving the cursor
896 * cursor.C (selHandle): remove commented code
898 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
900 * paragraph.C (startTeXParParams): correct column count
901 * CutAndPaste.C (pasteSelection): remove const_cast
902 * output_docbook.C (docbookParagraphs): remove const_cast
903 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
904 const_cast and return ParagraphList::const_iterator
905 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
906 * output_plaintext.C (writeFileAscii): remove const_cast
907 * paragraph.[Ch] (simpleTeXOnePar): make const
908 * paragraph_funcs.C (outerPar): use const iterators
909 * paragraph_pimpl.C (validate): use const iterators
910 * text.C (setHeightOfRow): use const iterators
912 2004-05-17 Angus Leeming <leeming@lyx.org>
915 * LyXAction.C (init): new LFUN_INSET_REFRESH.
917 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
918 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
919 if the citation engine has changed.
921 2004-05-14 José Matos <jamatos@lyx.org>
923 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
924 if the textclass does not provide it. Have it different for sgml and
926 support the language of document.
927 * output_docbook.C (docbookParagraphs):
928 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
929 first anchor as the id of the paragraph, remove special case code.
930 * sgml.C (escapeChar): escape only < & >.
932 2004-05-14 Angus Leeming <leeming@lyx.org>
934 * bufferparams.h: move biblio::CiteEngine enum here to minimize
935 dependencies on src/frontends/controllers/biblio.h. Define a
936 CiteEngine_enum wrapper class to enable the enum to be forward
939 2004-05-12 Angus Leeming <leeming@lyx.org>
941 * buffer.C: up LYX_FORMAT to 234.
942 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
943 use_numerical_citations with a single biblio::CiteEngine cite_engine
945 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
947 2004-05-13 José Matos <jamatos@lyx.org>
950 * converter.C (Converter, readFlags): add xml member.
951 * outputparams.h: add XML flavor.
952 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
954 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
956 * lyxfunc.C (dispatch):
957 (getStatus): fix handling of LFUN_SEQUENCE
959 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
961 * debug.C (showLevel): do not forget the end-of-line marker
963 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
965 * kbmap.C (read): do not stop parsing a bind file when an error
968 2004-04-29 Angus Leeming <leeming@lyx.org>
973 * text2.C: wrap a bunch of #warning statements
974 inside #ifdef WITH_WARNINGS blocks.
976 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
978 * buffer.C: increment format to 233.
980 2004-04-28 Angus Leeming <leeming@lyx.org>
982 * BufferView_pimpl.C:
985 s/updateToolbar()/updateToolbars()/
986 s/Toolbar.h/Toolbars.h/
988 2004-04-28 Angus Leeming <leeming@lyx.org>
990 * BufferView.[Ch] (c-tor):
991 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
992 No longer passes these data to the WorkArea generator.
994 2004-04-28 Angus Leeming <leeming@lyx.org>
996 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
998 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1000 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
1002 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1004 * output_latex.C (TeXEnvironment): make sure that there is a line
1005 break before \end{foo} for the last paragraph of a document
1006 (TeXOnePar): if the paragraph is at the end of the document (or
1007 inset) and the language has to be reset, then make sure that the
1008 line break is _before_ the language command, not after (fixes bug
1009 1225); also make sure that the language reset command is the first
1010 thing after the paragraph (to ensure proper nesting of
1011 environments and thus fix bug 1404)
1013 2004-04-21 John Levon <levon@movementarian.org>
1016 * ToolbarBackend.C: make "name" be a programmatic name
1017 and a gui_name field.
1019 * lyxfunc.C: display the minibuffer on M-x
1021 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1023 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
1026 2004-04-19 Angus Leeming <leeming@lyx.org>
1028 * BufferView_pimpl.C (setBuffer): changed preview interface.
1030 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1033 2004-04-19 John Levon <levon@movementarian.org>
1035 * BufferView_pimpl.C:
1036 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1038 2004-04-05 Angus Leeming <leeming@lyx.org>
1040 * text.C (redoParagraphs): add call to updateCounters(), thereby
1041 fixing the missing "Figure #:" label from the caption of a
1044 2004-04-13 Angus Leeming <leeming@lyx.org>
1046 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1047 cursor is clicked out of an inset.
1049 2004-04-13 Angus Leeming <leeming@lyx.org>
1051 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1052 than an InsetOld one.
1054 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1056 * format.[Ch]: add editor to Format
1057 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1058 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1060 2004-04-08 André Pönitz <poenitz@gmx.net>
1062 * metricsinfo.h: remove PainterInfo::width member
1064 2004-04-08 Angus Leeming <leeming@lyx.org>
1066 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1067 "\providecommand" rather than "\newcommand", thereby preventing
1068 clashes with packages that define "\boldsymbol" themselves.
1071 2004-04-08 Angus Leeming <leeming@lyx.org>
1073 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1074 thereby squashing an unnecessary warning.
1076 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1078 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1081 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1083 * BufferView.C (setCursor): call redoParagraph (some insets could
1085 (putSelectionAt): remove the 'double update' trick
1087 * BufferView_pimpl.C (fitCursor): call refreshPar
1088 (workAreaDispatch): remove an uneeded update call
1089 (dispatch): remove some manual update calls
1091 * cursor.[Ch]: remove cached_y_, updatePos
1092 (selHandle): set noUpdate when appropriate
1094 * lyxfunc.C (dispatch): track if we need an update
1096 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1098 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1099 (paintSelection): cheap optimization, do not call cursorX when not
1101 (paintPars): change signature
1104 (paintTextInset): adjust
1108 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1110 * lengthcommon.C: compilation fix: remove explicit array size from
1111 unit_name[] and friends
1113 2004-04-05 Angus Leeming <leeming@lyx.org>
1115 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1117 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1118 present only for the preferences dialog.
1119 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1121 2004-04-05 Angus Leeming <leeming@lyx.org>
1123 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1124 to enable the frontends to export changes to lyxrc correctly.
1126 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1128 2004-04-07 André Pönitz <poenitz@gmx.net>
1130 * cursor.[Ch] (selClear, adjust): remove math
1132 * cursor_slice.C: more agressive assert
1135 * BufferView_pimpl.C: rework mouse event dispatch
1142 2004-04-05 André Pönitz <poenitz@gmx.net>
1144 * cursor.[Ch] (valign, halign...): remove unneeded functions
1146 2004-04-05 Angus Leeming <leeming@lyx.org>
1148 * lyxlength.[Ch] (unit_name et al.): const-correct.
1150 2004-04-05 Angus Leeming <leeming@lyx.org>
1152 * BufferView_pimpl.C:
1161 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1163 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1165 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1167 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1169 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1170 * BufferView_pimpl.[Ch] (getStatus)
1171 * BufferView.[Ch] (getStatus): add
1172 * lyxfunc.C (getStatus): move lfuns handled in
1173 BufferView::dispatch to te function above
1174 * Cursor.C (setSelection): set selection() = true
1176 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1178 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1180 2004-03-31 Angus Leeming <leeming@lyx.org>
1182 * lyxfunc.C (dispatch): Fall through to the generic
1183 Dialogs::show("preamble").
1185 2004-03-31 Angus Leeming <leeming@lyx.org>
1187 * lyxfunc.C (dispatch): Fall through to the generic
1188 Dialogs::show("spellchecker").
1190 2004-03-31 Angus Leeming <leeming@lyx.org>
1192 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1195 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1200 * insetiterator.[Ch]:
1205 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1207 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1209 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1210 insets where we are putting the cursor.
1212 2004-03-31 Angus Leeming <leeming@lyx.org>
1215 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1217 * lyxrc.[Ch] (read, write): overloaded member functions taking
1218 a std::[io]stream arguments.
1220 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1222 2004-03-31 Angus Leeming <leeming@lyx.org>
1224 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1225 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1227 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1228 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1230 2004-03-31 Angus Leeming <leeming@lyx.org>
1232 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1233 the LFUN_ALL_INSETS_TOGGLE code.
1235 2004-03-30 Angus Leeming <leeming@lyx.org>
1237 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1238 has died. Fall through to the generic Dialogs::show("document").
1240 2004-03-30 Angus Leeming <leeming@lyx.org>
1243 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1244 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1246 * lyxfunc.C (getStatus, dispatch): define the actions for these
1247 lfuns. Little more than a cut and pste job from ControlDocument.C
1249 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1251 2004-03-30 Angus Leeming <leeming@lyx.org>
1254 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1255 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1257 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1258 open/closed state of ollapsable insets. Usage:
1260 all-inset-toggle <state> <name>, where
1261 <state> == "open" || "closed" || "toggle" and
1262 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1264 * lyxtext.h, text2.C (toggleInset): removed.
1266 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1267 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1268 now passes LFUN_INSET_TOGGLE to the found inset.
1270 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1271 is now invoked as "all-insets-toggle toggle branch".
1273 2004-03-30 Angus Leeming <leeming@lyx.org>
1277 * pariterator.[Ch]: added/corrected header blurb.
1279 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1281 * dociterator.[Ch]: add an inset_ member
1282 (backwardPos): implemented
1283 (backwardPos, forwardPos): use inset_ when the stack is empty.
1284 (doc_iterator_begin, doc_iterator_end): implemented
1285 * pariterator.[Ch]: adjust, add begin, end
1286 * insetiterator.[Ch]: adjust, add begin, end
1290 * BufferView_pimpl.C:
1291 * CutAndPaste.C: adjust
1293 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1295 * buffer.C: increment file format to 232.
1296 * LaTeXFeatures.C: add bibtopic package.
1297 * bufferparams.[Ch]: param \use_bibtopic.
1299 * lyxrc.[Ch]: add lyxrc bibtex_command
1300 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1302 * buffer.C: increment file format to 231.
1304 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1306 * dociterator.C: implement forwardPar
1307 * iterators.[Ch]: remove, replaced by
1308 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1310 * BufferView_pimpl.C:
1313 * bufferview_funcs.C:
1319 * Makefile.am: adjust
1321 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1323 * CutAndPaste.C (pasteSelection): fix 2 crashes
1324 (eraseSelection): fix a crash
1325 * paragraph_funcs.C: remove a warning
1327 2004-03-28 Angus Leeming <leeming@lyx.org>
1330 * LyXAction.C (init): new LFUN_PRINT.
1332 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1334 2004-03-27 Angus Leeming <leeming@lyx.org>
1337 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1339 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1341 2004-03-27 Angus Leeming <leeming@lyx.org>
1343 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1344 insetlist always contains non-null pointers to insets.
1346 2004-03-26 Angus Leeming <leeming@lyx.org>
1348 * src/BufferView_pimpl.C:
1349 * src/CutAndPaste.C:
1352 * src/output_plaintext.C:
1353 * src/outputparams.h:
1354 * src/paragraph_funcs.C:
1358 * src/frontends/controllers/ControlErrorList.C:
1359 * src/frontends/gtk/FileDialogPrivate.C:
1360 * src/frontends/gtk/GPainter.C:
1361 * src/frontends/gtk/GToolbar.C:
1362 * src/frontends/qt2/QRef.C:
1363 * src/mathed/math_scriptinset.C: squash compiler warnings.
1365 2004-03-26 Angus Leeming <leeming@lyx.org>
1367 * ispell.C (LaunchIspell::start):
1368 * lyx_cb.C (AutoSaveBuffer::start):
1369 invoke run(DontWait) rather than runNonBlocking().
1371 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1373 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1375 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1377 * kbsequence.C (print): adjust
1379 * kbmap.C (printKeySym): rename and change signature
1380 (printKey): use LyXKeySym::print()
1382 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1384 * undo.C: add using std::advance to compile for stlport
1386 2004-03-24 Angus Leeming <leeming@lyx.org>
1388 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1389 it leads to a crash when no buffer is present.
1391 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1392 Martin Vermeer <martin.vermeer@hut.fi>
1394 * lyxfunc.C (dispatch):
1395 * bufferparams.C (readToken): use the new LColor::setColor
1397 * LColor.[Ch] (setColor): new version that takes two strings as
1398 argument and creates a new color entry if necessary
1400 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1402 * buffer.C (makeLaTeXFile): if the main latex file that is
1403 processed is usually a subdocument of some master, then pretend
1404 for a while that it is actually the master
1406 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1408 * buffer.C (getLabelList):
1409 (getBibkeyList): use getMasterBuffer()
1410 (getMasterBuffer): new method. Returns the main document in the
1411 case where one is using included documents.
1413 2004-03-25 André Pönitz <poenitz@gmx.net>
1417 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1419 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1421 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1422 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1424 * ParameterStruct.h: merge with ParagraphParameters
1426 * lyxtext.h: remove LyXText::parOffset() and getPar()
1428 * text3.C: Remove all 'manual' update calls. We do now one per user
1429 interaction which is completely sufficient.
1433 * BufferView_pimpl.C:
1434 * FontIterator.[Ch]:
1436 * ParagraphParameters.[Ch]:
1441 * cursor_slice.[Ch]:
1448 * output_docbook.[Ch]:
1449 * output_latex.[Ch]:
1450 * output_linuxdoc.[Ch]:
1451 * output_plaintext.[Ch]:
1453 * paragraph_funcs.[Ch]:
1454 * paragraph_pimpl.[Ch]:
1462 * frontends/controllers/ControlDocument.C:
1463 * frontends/controllers/ControlErrorList.C:
1464 * frontends/controllers/ControlSpellchecker.C:
1467 * insets/insetbase.h:
1468 * insets/insetbibitem.C:
1469 * insets/insetbox.C:
1470 * insets/insetbranch.C:
1471 * insets/insetcaption.C:
1472 * insets/insetcharstyle.C:
1473 * insets/insetcharstyle.h:
1474 * insets/insetcollapsable.C:
1475 * insets/insetcollapsable.h:
1476 * insets/insetert.C:
1477 * insets/insetfloat.C:
1478 * insets/insetfoot.C:
1479 * insets/insetmarginal.C:
1480 * insets/insetnote.C:
1481 * insets/insetoptarg.C:
1482 * insets/insettabular.C:
1483 * insets/insettext.C:
1484 * insets/insettext.h:
1485 * insets/insetwrap.C:
1486 * mathed/math_mboxinset.C:
1487 * mathed/math_nestinset.C:
1488 * mathed/math_scriptinset.C:
1489 * mathed/math_scriptinset.h:
1492 2004-03-24 Angus Leeming <leeming@lyx.org>
1494 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1495 deal with any child processes that have finished but are waiting to
1496 communicate this fact to the rest of LyX.
1498 2004-03-24 Angus Leeming <leeming@lyx.org>
1500 64-bit compile fixes.
1502 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1503 (c-tor): pass lyx::pos_types rather than ints.
1505 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1508 * text.C (Delete): compile fix.
1509 (getPar): ensure that function declaration is the same as that in
1512 2004-03-23 Angus Leeming <leeming@lyx.org>
1514 * ispell.C (LaunchIspell):
1515 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1516 a boost::shred_ptr rather than a std::auto_ptr.
1518 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1520 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1521 handle LFUN_FILE_INSERT_*
1523 * lyxrc.C (setDefaults, getDescription, output, read):
1524 * lyxrc.h: remove ps_command
1526 2004-03-22 Angus Leeming <leeming@lyx.org>
1528 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1529 Ensure that error_handler is processed once only and that all data
1530 is saved before attempting to output any warning messages.
1532 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1534 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1536 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1538 2004-03-19 André Pönitz <poenitz@gmx.net>
1540 * cursor.[Ch] (reset): take main text inset as argument
1542 * BufferView: adjust
1543 * BufferView_pimpl.C: adjust
1545 * paragraph.[Ch]: fix completely broken operator=()
1547 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1549 * LColor.C (getFromLyXName): make sure that the color name is used
1552 2004-03-17 Angus Leeming <leeming@lyx.org>
1555 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1557 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1558 dialog and to kill a forked process.
1560 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1562 * text2.C (setCursorFromCoordinates): fix font problem
1564 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1566 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1567 bogus "rebuild cursor" code
1569 2004-03-11 André Pönitz <poenitz@gmx.net>
1571 * buffer.[Ch]: use InsetText instead of LyXText as container for
1574 * dociterator.[Ch]: drop the BufferView * member which is not needed
1575 anymore after the change to buffer.C
1577 * paragraph_funcs.C:
1581 * BufferView_pimpl.[Ch]:
1583 * cursor_slice.[Ch]: adjust
1585 * text3.C: fix bug in mathDispatch
1587 2004-03-08 André Pönitz <poenitz@gmx.net>
1589 * undo.[Ch]: use 'StableDocumentIterator' as base for
1592 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1595 * bufferparams.[Ch]: add jurabib support and param.
1597 * LaTeX.C: add FIXME/comment.
1599 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1601 * buffer.C: increment file format to 230.
1603 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1605 * cursor.C (dispatch): avoid infinite loops
1607 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1609 * rowpainter.C (paintSelection): fix x coordinates
1611 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1613 * text.C (rowBreakPoint): fix breaking before displayed insets
1615 2004-03-01 André Pönitz <poenitz@gmx.net>
1617 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1619 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1623 * BufferView_pimpl.C:
1631 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1637 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1638 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1640 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1642 * Bidi.[Ch] (computeTables): const correctness
1643 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1644 fill_hfill, fill_label_hfill and x from Row
1645 * lyxtext.h: prepareToPrint returns a RowMetrics
1646 * rowPainter.C: adjust
1647 * text.C (prepareToPrint): use width, not textWidth. adjust
1648 (redoParagraphInternal, cursorX): adjust
1649 * text2.C (getColumnNearX): adjust
1650 (init): put a default value to the top LyXText::width
1652 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1654 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1656 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1658 * lyxtext.h: add FontIterator class
1660 * text.C (FontIterator, operator*, operator->, operator++): add
1661 (rowBreakPoint, setRowWidth): adjust (fixing a
1664 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1666 * BufferView_pimpl.C (workAreaDispatch): allow also
1667 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1669 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1671 * text.C (rowBreakPoint): fix a bug showing with very large insets
1673 2004-02-25 André Pönitz <poenitz@gmx.net>
1676 * cursor.[Ch]: move some mathed specific code to mathed
1678 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1680 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1681 use_tempdir in preferences
1682 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1684 * lyx_main.C: ensure that tempdir is valid
1685 * lyxlex.h: correct typo
1686 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1687 * paragraph.[Ch] (isMultiLingual): make const
1688 * cursor.[Ch] (openable): make const
1690 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1692 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1694 2004-02-20 André Pönitz <poenitz@gmx.net>
1696 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1698 * cursor.[Ch]: prepare for localized getStatus()
1704 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1706 2004-02-20 André Pönitz <poenitz@gmx.net>
1708 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1710 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1712 * text2.C (setCursorFromCoordinates): switch to absolute coords
1714 (cursorDown): adjust
1715 * text3.C (dispatch): adjust
1717 2004-02-16 André Pönitz <poenitz@gmx.net>
1719 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1722 * cursor_slice.[Ch]: remove unneeded acessor function
1724 * lyxtext.h: rename rtl() to isRTL()
1732 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1734 * rowpainter.C (paintSelection): coord fix
1736 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1738 * Spacing.C: compile fix
1740 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1742 * cursor.C (dispatch): restore current_ before returning
1744 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1746 * text2.C (cursorUp, cursorDown): fix coords
1749 2004-02-12 André Pönitz <poenitz@gmx.net>
1754 * text3.C: add LCursor & parameter to most cursor movement functions
1755 remove usage of LyXText::cursorRow() and cursorPar()
1757 * cursor.[Ch]: add textRow() needed members
1760 * BufferView_pimpl.C:
1763 * BufferView_pimpl.C: adjust
1765 2004-02-11 André Pönitz <poenitz@gmx.net>
1769 * BufferView_pimpl.C: shift undo/redo handling
1771 * cursor.[Ch]: fix mathed crash
1774 * lyxtext.h: move selectionAsText to LCursor
1782 * rowpainter.C: fix excessive drawing
1784 2004-02-06 André Pönitz <poenitz@gmx.net>
1787 * BufferView_pimpl.[Ch]:
1788 * text3.C: move some text specific LFUN handling
1790 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1792 * text3.C (checkInsetHit): adjust coords
1793 * text2.C (getColumnNearX): adjust coords
1794 (edit): adjust coords
1795 * text.C (getRowNearY): add two asserts
1797 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1800 * format.C: add using std::distance to compile on gcc 2.95/stlport
1802 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1804 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1806 2004-02-04 André Pönitz <poenitz@gmx.net>
1808 * BufferView.[Ch] (insertInset):
1809 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1814 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1816 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1817 on the default clause of the switch
1818 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1819 wasn't catched by LCursor::dispatch
1821 2004-02-03 André Pönitz <poenitz@gmx.net>
1824 * cursor.[Ch]: some additional asserts
1826 * undo.[Ch]: remove LyXText dependency in interface
1830 * lyxtext.h (firstPar, lastPar): remove dead functions
1835 * paragraph.[Ch]: adjust
1837 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1839 * lyxfind.C (find): fix argument order in call to ::find
1841 2004-02-02 André Pönitz <poenitz@gmx.net>
1843 * cursor.[Ch]: remove direct access to anchor
1845 * text.C: remove findText() hack
1847 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1849 * iterators.[Ch] (lockPath): remove in favour of...
1850 * BufferView.[Ch] (setCursor): this addition
1851 * BufferView.C (putSelectionAt): adjust
1852 * undo.C (performUndoOrRedo): adjust
1853 * lyxfunc.C (dispatch): adjust
1855 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1857 * iterators.C (lockPath): add a missing slice
1858 * undo.C (performUndoOrRedo): remove redundant positioning code
1860 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1862 * vc-backend.C (scanMaster): ";" -> ';'
1864 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1866 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1867 std::binary_function
1869 * lyxtextclass.C (compare_name): rename to...
1870 (LayoutNamesEqual): ...this
1872 * lyxlex_pimpl.C (compare_tags): inherit from
1873 std::binary_function, put back into anon namespace
1875 * lyxfind.C (MatchString): inherig from std::binary_function
1876 (findChange): use empty() istead of !size()
1878 * format.C (FormatNamesEqual): new functor
1885 * converter.C (compare_Converter): rename to...
1886 (ConverterEqual): ...this, and fixup a bit.
1887 (getConverter): use it, and make function const
1888 (getNumber): use it, and make function const
1892 * bufferlist.C: add using boost::bind
1894 * MenuBackend.C (MenuNamesEqual): new functor
1895 (hasMenu): use it, and make function const
1896 (hasSubmenu): use nested bind to get rid of compare_memfun.
1898 2004-01-30 André Pönitz <poenitz@gmx.net>
1900 * BufferView_pimpl.C:
1903 * cursor_slice.[Ch]:
1906 * paragraph_funcs.C:
1907 * paragraph_funcs.h:
1911 * text3.C: move some of the edit(x,y) handling to the insets
1912 some coordinate changes.
1914 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1916 * text.C: add using statements for std::advance and std::distance
1918 * paragraph.C: add using statement for std::distance
1920 * lyxfind.C: add using statement for std::advance
1922 * cursor.C (region): remove std:: from swap
1923 (openable): use nucleus in stead of operator->
1925 * BufferView.C: add using statements for std::distance and std::swap
1927 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1929 * iterators.C: Remove the pimple, move the needed structures to
1930 the header file. Create accessor for the positions stack.
1931 (asPosIterator): remove function
1933 * PosIterator.C (PosIterator): move constructors to top of file
1934 (PosIterator): reimplement the constructor taking a ParIterator in
1936 (setFrom): new function
1937 (operator!=): inline it
1939 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1941 * lyxfind.C (replaceAll): use std::advance
1943 * iterators.h: inherit from std::iterator.
1945 * PosIterator.C (advance, distance): remove
1946 * PosIterator.h: interit from std::iterator.
1948 2004-01-26 André Pönitz <poenitz@gmx.net>
1951 * BufferView_pimpl.[Ch]:
1955 * bufferview_funcs.C:
1965 * output_linuxdoc.C:
1966 * output_plaintext.C:
1968 * paragraph_funcs.[Ch]:
1969 * paragraph_pimpl.[Ch]:
1975 * text3.C: more IU: dumps most of the rest of the mathcursor
1976 implementation into cursor.[Ch]; "globalize" a bit of it.
1978 2004-01-25 Angus Leeming <leeming@lyx.org>
1980 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1982 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1984 * LaTeXFeatures.h: add nice_ and nice() const
1985 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1987 2004-01-20 André Pönitz <poenitz@gmx.net>
1990 * BufferView_pimpl.C:
1992 * bufferview_funcs.C:
1994 * cursor_slice.[Ch]:
2005 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
2006 LCursor and mathcursor parts to LCursor and InsetBase.
2008 2004-01-15 André Pönitz <poenitz@gmx.net>
2010 * cursor_slice.[Ch]: add a few covienience functions
2012 * funcrequest.[Ch]: remove BufferView * member
2014 * BufferView_pimpl.C:
2021 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
2023 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
2025 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
2026 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
2028 2004-01-13 André Pönitz <poenitz@gmx.net>
2031 * lyxtext.h: hide cursor and selection anchor behind accessor function
2034 * BufferView_pimpl.[Ch]:
2036 * bufferview_funcs.C:
2046 * cursor_slice.[Ch]: some integer type changes for inset unification
2048 * lyxcursor.[hC]: remove, it's CursorSlice now.
2051 * BufferView_pimpl.[Ch]:
2052 * bufferview_funcs.C:
2058 * textcursor.[Ch]: adjust
2060 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2062 * text2.C (undoSpan): add and use
2063 * text.C (breakParagraph): use undoSpan (fix bug 578)
2066 2004-01-08 Angus Leeming <leeming@lyx.org>
2068 * BufferView_pimpl.C (MenuInsertLyXFile):
2069 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2070 * lyxfunc.C (menuNew, open, doImport):
2071 FileFilterList change to the FileDialog open and save functions.
2073 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2075 * ShareContainer.h: make isEqual and isUnique adaptable
2077 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2079 2004-01-07 Angus Leeming <leeming@lyx.org>
2082 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2084 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2086 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2087 functions replacing find, replace and replaceAll.
2089 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2090 LFUN_WORDFIND(FORWARD|BACKWARD).
2092 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2094 * text.C (breakParagraph): remove an outdated #warning
2096 2004-01-07 André Pönitz <poenitz@gmx.net>
2098 * lyxfind.C: somewhat clearer logic
2100 * text.C: prevent crash in cursorX on unitialized row cache
2102 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2104 * lyxcursor.[Ch] (operator>): add
2105 * textcursor.C (selStart, selEnd): use std::min and std::max
2107 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2109 * Chktex.C: include boost/format.hpp
2111 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2113 * InsetList.C: replace functor MathcIt with adaptable functor
2115 (insetIterator): modify accordingly
2117 * BranchList.h: move the BranchNamesEqual functor here from...
2118 * BranchList.C: ... to here
2120 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2122 (add): replace a finding loop with std::find_if.
2124 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2126 * output_docbook.C: moving LatexParam functionality into
2129 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2131 * buffer.C: increment format to 229.
2133 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2136 * lyx_sty.[Ch]: remove minipageindent_def
2142 * text3.C: remove LFUN_INSET_MINIPAGE
2144 2003-12-28 Angus Leeming <leeming@lyx.org>
2146 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2148 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2150 * text2.C (setParagraph): fix off-by-one crash
2152 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2154 * output_docbook.C: header stuff for AGU
2156 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2158 * text2.C (redoCursor): remove
2161 * BufferView_pimpl.C: remove calls to redoCursor and
2162 setCursor(cursor.par(), cursor.pos()) all around
2164 2003-12-15 Angus Leeming <leeming@lyx.org>
2166 * buffer.C: up the format to 228.
2168 2003-12-15 André Pönitz <poenitz@gmx.net>
2170 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2175 * BufferView_pimpl.C:
2184 2003-12-15 Angus Leeming <leeming@lyx.org>
2186 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2187 than getFromGUIName to manipulate the color.
2189 2003-12-14 Angus Leeming <leeming@lyx.org>
2191 * BranchList.[Ch]: minimize the API.
2192 (Branch::getBranch, getColor): now return a 'const &'.
2193 (Branch::setSelected) now returns a bool set to true if the
2194 selection status changes.
2195 (BranchList::clear, size, getColor, setColor, setSelected,
2196 allBranches, allSelected, separator): removed.
2197 (BranchList::find): new functions, returning the Branch with
2199 (BranchList::add, remove): return a bool indicating that
2200 the operation was successful.
2202 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2203 new InsetBranch::isBranchSlected member function.
2205 * LColor.[Ch]: mimimize the API.
2206 (fill): renamed as addColor and made private.
2207 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2208 versions of these functions taking a string arg have been removed.
2210 * bufferparams.C (readToken):
2211 * lyxfunc.C (dispatch):
2212 * lyxrc.C (read): changes due to the altered BranchList and
2215 * factory.C (createInset, readInset): changes due to altered
2218 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2221 * lyxfunc.C: remove insetminipage. "minipage-insert"
2222 now produces a frameless minipage box inset.
2224 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2226 * textcursor.[Ch] (selStart,selEnd): add new methods
2227 remove selection::start, end, use LyXCursor::operator<
2228 * lyxcursor.[Ch] (operator<): add
2229 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2230 * BufferView.[Ch] (unsetXSel): add
2231 * text2.C (clearSelection): use unsetXSel,adjust
2234 * rowpainter.C: adjust
2235 * bufferview_funcs.C (put_selection_at): adjust
2237 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2239 * BufferView_pimpl.C: small coord. correction
2241 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2243 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2244 dragging over the splash screen.
2246 2003-12-11 Angus Leeming <leeming@lyx.org>
2248 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2249 as it is now handled in LyXText::dispatch.
2251 * text3.C (doInsertInset): remove a level of nesting.
2253 2003-12-11 Angus Leeming <leeming@lyx.org>
2255 * factory.C (createInset): changes due to the changed interface to
2256 InsetCommandMailer::string2params.
2258 2003-12-10 Angus Leeming <leeming@lyx.org>
2260 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2261 'dialog-show-new-inset <inset name>'
2263 2003-12-10 Angus Leeming <leeming@lyx.org>
2265 * buffer.C: up the format to 227.
2267 * factory.C: the box inset is now identified simply by 'Box'.
2269 2003-12-10 Angus Leeming <leeming@lyx.org>
2271 * buffer.C: up the format to 226.
2273 * factory.C: the note inset is now identified simply by 'Note'.
2275 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2277 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2278 when a pit is enough. Standarize a couple of loops.
2280 2003-12-05 Angus Leeming <leeming@lyx.org>
2282 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2283 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2284 data to the re-worked "log" dialog.
2286 2003-12-03 André Pönitz <poenitz@gmx.net>
2292 * paragraph_funcs.C:
2294 * text2.C: use Inset::getText instead of Inset::getParagraph
2296 2003-12-03 André Pönitz <poenitz@gmx.net>
2300 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2301 InsetText::read() as LyXText::read()
2303 2003-12-02 Angus Leeming <leeming@lyx.org>
2305 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2306 type. Add a comment in the implementation that the function uses
2307 the stream's bad() function rather than fail() as the std::streams
2310 2003-12-02 André Pönitz <poenitz@gmx.net>
2312 * lyxlex.[Ch]: make interface more similar to std::stream
2314 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2316 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2318 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2320 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2322 * vspace.[Ch]: remove VSpace::NONE
2324 2003-12-01 André Pönitz <poenitz@gmx.net>
2327 * lyxtext.h: move ParagraphList member to LyXText
2328 rename LyXText::ownerParagraphs to LyXText::paragraph
2331 * bufferview_funcs.C:
2341 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2343 * undo.C: fix cursor positioning
2345 2003-12-01 John Levon <levon@movementarian.org>
2347 * BufferView_pimpl.C: fix a crash on exit with
2350 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2352 * BranchList.C: fix setSelected() method.
2354 2003-11-28 André Pönitz <poenitz@gmx.net>
2356 * ParagraphParameters.[Ch]:
2357 * ParameterStruct.h: remove space above/below from Paragraph to
2360 * BufferView_pimpl.C:
2366 * paragraph_funcs.C:
2372 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2374 * factory.C: Syntax change for CharStyles
2376 2003-11-28 André Pönitz <poenitz@gmx.net>
2381 * buffer.[Ch]: move LyXText member
2383 2003-11-28 André Pönitz <poenitz@gmx.net>
2385 * BufferView.[Ch]: make LyXText * text a private member
2387 * BufferView_pimpl.C:
2398 * output_plaintext.C: cleanup
2400 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2403 * lyxtextclass.[Ch]: parametrize SGML document header
2405 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2408 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2411 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2413 * text2.C (setFont): rework using PosIterator (no more recursive)
2414 (setCharFont): no more needed
2415 (setLayout): no more selection cursors fiddling (done by redoCursor)
2416 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2417 destroy remaining ones)
2419 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2421 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2423 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2426 * text3.C: adjust + re-allow multi par depth changes
2427 * textcursor.C: simplify a bit
2429 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2435 * src/output_docbook.C:
2436 * src/output_latex.C:
2441 * src/text2.C: Introducing a number of tags parametrizing various
2442 XML formats that we may want to support
2444 2003-11-25 André Pönitz <poenitz@gmx.net>
2446 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2448 * lyxtext.h (leftMargin/rightMargin): simplify interface
2455 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2457 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2458 master file to any child files. Fixes bug 546.
2460 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2462 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2464 2003-11-24 André Pönitz <poenitz@gmx.net>
2466 * rowpainter.C: simplification
2468 * text2.C (updateCounters): remove call to redoParagraph on
2469 changed labels as this is far too expensive.
2471 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2473 * converter.C (convert): fix a crash: this function gets
2474 called with buffer == 0 from importer code.
2476 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2478 * text3.C (cursorPrevious): make sure that we do not compare
2479 iterators form different containers.
2482 * rowpainter.C (paintSelection): make sure that we do not compare
2483 iterators from different containers.
2485 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2486 iterators from different ParagraphList containers.
2489 * text2.C (LyXText): change order of initialization slightly
2490 (operator=): new function. copy all variables except cache_par_
2491 (moveUp): make sure that we do not compare iterators from
2492 different ParagraphList constainers.
2495 * text.C (firstPar): new function
2496 (lastPar): new function
2497 (endPar): new function
2499 * lyxtext.h: move things around and group public functions, public
2500 variables, private functions, private variables
2502 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2504 * factory.C: change call to InsetERT constructor to avoid
2505 additional invocation of method status
2506 * text2.C (toggleInset): remove redundant update() call
2507 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2508 instead of a Bufferview pointer
2510 2003-11-21 André Pönitz <poenitz@gmx.net>
2512 * rowpainter.C: simplification
2514 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2516 * text3.C (dispatch): make possible to extend a word/row selection
2519 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2521 * lyxtext.h: x0_,y0_ -> xo_,yo_
2522 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2523 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2524 * rowpainter.C (paintRows): paint full paragraphs
2526 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2528 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2531 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2533 * lyxtext.h: add x0_, y0_
2534 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2535 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2537 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2539 * text2.C (setCursorIntern): move the x_target update here *
2540 * text3.C: change some bv() to true/false in calls to
2541 cursorUp/Down/Right/Left
2542 * cursor.C: use helper function.
2544 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2546 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2547 * paragraph_funcs.[Ch]: correct comment
2548 * rowpainter.C: do not paint selections away from bv->cursor()
2549 Fix a long standing selection painting bug.
2550 * text3.C: generalize mouse-selection code to LyXTexts other that
2552 * textcursor.C: do not use y coords if we can use par offsets
2554 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2556 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2557 cursor position after e.g. inset insert)
2559 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2561 * lyxfind.C (replace): adjust to locking removal + some
2564 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2566 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2569 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2572 * output_docbook.C: XML sanitation: new layout
2573 parameters InnerTag and CommandDepth
2575 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2577 * BufferView_pimpl.C:
2579 * text3.C: Fix the insertion and modification of button-style
2582 2003-11-13 André Pönitz <poenitz@gmx.net>
2584 * InsetList.[Ch]: remove deleteLyXText
2586 * paragraph.[Ch]: cache beginOfBody position
2591 * text3.C: remove superfluous update() calls
2595 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2597 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2598 * BufferView.C (fitLockedInsetCursor): remove
2599 * cursor.[Ch] (getDim): add
2600 * text.C (getRowNearY): add faster version
2601 * text3.C: remove some update calls
2603 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2615 * text3.C: The Character Style /XML short element patch.
2617 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2620 * factory.C: Small step to solving 'unable to insert some insets'
2623 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2625 * cursor.[Ch] (updatePos): new function for updating the y
2626 position of the tip inset
2627 * bufferview_funcs.C (put_selection_at):
2628 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2630 2003-11-11 André Pönitz <poenitz@gmx.net>
2632 * text.C: remove big comment on invalid Paragraph pointers as it is
2635 2003-11-11 André Pönitz <poenitz@gmx.net>
2637 * text_funcs.[Ch]: merge with ...
2645 * Makefile.am: remove text_funcs.[Ch]
2647 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2649 * cursor.C (getPos): return absolute cached y coord
2651 * BufferView_pimpl.C (fitCursor): new simplistic code
2652 (workAreaDispatch): add a fitCursor call
2654 2003-11-10 André Pönitz <poenitz@gmx.net>
2657 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2659 2003-11-10 André Pönitz <poenitz@gmx.net>
2661 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2662 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2663 indicate that the cursor needs to leave an inset
2665 * lyxtext.h: remove inset locking
2667 * cursor.[Ch]: re-implement functionality provided by inset locking
2670 * BufferView_pimpl.[Ch]:
2672 * bufferview_funcs.[Ch]:
2684 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2686 * PosIterator.[Ch]: replace the stack with a vector, add inset
2688 * iterators.[C]: adjust
2690 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2692 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2694 * paragraph_funcs.C (readParToken): put the correct id in the
2695 error item, not the id of the top paragraph
2697 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2699 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2700 * bufferview_funcs.C (put_selection_at): use the above
2702 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2704 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2706 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2708 * output_linuxdoc.h:
2709 * output_plaintext.h:
2711 * output_docbook.h: add #include statements
2713 2003-11-05 José Matos <jamatos@lyx.org>
2715 * output_docbook.[Ch]:
2716 * output_latex.[Ch]:
2717 * output_linuxdoc.[Ch]:
2718 * output_plaintext.[Ch]: New files for output formats.
2719 * output.[Ch]: New file for helper functions.
2722 * paragraph_funcs.[Ch]: output functions moved to new files.
2724 * outputparams.h: rename of latexrunparams.h
2732 * paragraph_funcs.[Ch]:
2733 * paragraph_pimpl.[Ch]:
2734 * tabular.[Ch]: rename ascii to plaintext
2735 and LatexRunParams to OutputParams.
2737 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2739 * iterators.[Ch] (text): require bv argument
2740 * undo.C (recordUndo):
2741 * lyxfunc.C (dispatch):
2742 * bufferview_funcs.C (put_selection_at): adjust
2744 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2746 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2748 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2750 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2753 2003-11-04 André Pönitz <poenitz@gmx.net>
2755 * cursor.[Ch]: restructure
2758 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2760 * iterators.[Ch] (asCursor): remove
2762 * lfuns.h: remove LFUN_INSET_EDIT
2768 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2770 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2772 * lyxfind.[Ch]: complete overhaul
2773 * BufferView_pimpl.C:
2775 * paragraph.[Ch] (insert): add
2777 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2781 * text.C: remove dead spellcheck code
2783 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2785 * dispatchresult.h: add a val setter
2787 * cursor.C (dispatch): use a tempvar for data_[i]
2789 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2791 * PosIterator.[Ch]: compile fix
2793 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2795 * text.C (cursorPar): deactivate the cursor cache
2797 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2799 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2801 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2803 * text3.C (dispatch): adjust for new DisptchResult semantics.
2805 * lyxfunc.C (dispatch): handle update when return from
2806 Cursor::dispatch, adjust for new DispatchResult semantics.
2808 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2809 DispatchResult(true) mean to not update. Add class functions for
2810 setting dispatched and update, as well as reading.
2812 * cursor.C (dispatch): don't handle update here
2814 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2816 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2817 * trans_mgr.C: adjust
2819 * paragraph_funcs.C (readParToken): exception safety
2821 * lyxvc.h: store the vcs pointer in a scoped_ptr
2824 * lyxsocket.C (serverCallback): exception safety
2826 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2828 * ispell.C (clone): make it return a auto_ptr
2830 * factory.C (createInset): exception safety
2831 (readInset): exception safety
2833 * bufferlist.C (newBuffer): exception safety
2835 * Thesaurus.C (Thesaurus): use initialization for aik_
2837 * MenuBackend.C (expandToc): exception safety.
2839 2003-11-03 André Pönitz <poenitz@gmx.net>
2843 * bufferview_funcs.C: remove getInsetFromId()
2846 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2852 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2854 * PosIterator.C (distance, advance): new
2855 * bufferview_funcs.[Ch] (put_selection_at): new
2856 * iterators.[Ch] (lockPath): new
2858 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2860 * iterators.[Ch] (asPosIterator): added
2861 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2862 * PosIterator.[Ch]: added
2864 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2868 * cursor.C (dispatch):
2869 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2871 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2872 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2873 contructor, add a class function dispatched. Remove operator>=
2875 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2877 * debug.C: only use the default constructor for debugstream
2880 * main.C (main): include debug.h and setup the lyxerr streambuf
2883 2003-10-31 José Matos <jamatos@lyx.org>
2885 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2887 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2888 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2889 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2890 * paragraph_pimpl.C (simpleTeXSpecialC):
2891 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2892 add LatexRunParams argument.
2894 * exporter.C (Export): change call accordingly.
2896 * latexrunparams.h: add new member to take care of the other backends.
2897 2003-10-30 José Matos <jamatos@lyx.org>
2899 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2900 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2901 factorise code for paragraph output.
2903 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2906 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2908 * text3.C (dispatch):
2909 * lyxfunc.C (dispatch):
2910 * cursor.C (dispatch):
2911 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2913 * dispatchresult.h: make the dispatch_result_t ctor explicit
2915 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2918 * buffer.C: small refactoring of docbook stuff
2920 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2922 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2925 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2927 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2928 operator dispatch_result_t, and operators for == != and >=
2930 * cursor.C (dispatch): adjust for operator dispatch_result_t
2931 removal. comment out call to update
2933 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2935 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2943 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2946 * dispatchresult.h: new file, DispatchResult broken out of
2949 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2951 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2953 * text.C (rowBreakPoint): put a hack inside #if 0
2955 2003-10-28 André Pönitz <poenitz@gmx.net>
2959 * paragraph_funcs.C:
2962 * text2.C: general cleanup (lots of small stuff)
2964 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2966 * text2.C (cursorEnd): simple fix to the "end key goes to one
2967 before the end on last row" bug
2969 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2971 * text.C (backspace): fix the "zombie characters"
2973 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2975 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2977 2003-10-27 André Pönitz <poenitz@gmx.net>
2979 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2981 * factory.C: handle new InsetPagebreak, InsetLine
2983 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2984 and move handling into new InsetPagebreak, InsetLine
2986 * BufferView_pimpl.C:
2988 * ParagraphParameters.C:
2989 * ParameterStruct.h:
2994 * paragraph_funcs.C:
2995 * paragraph_pimpl.C:
3001 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3004 * lyxrow_funcs.[Ch]:
3010 * text3.C: remove lastPos uses in favour of Row::endpos
3012 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
3014 * undo.C (performUndoOrRedo): fix two crashes by setting a
3015 cursor by hand and reordering some calls. Use bv->lockInset instead
3016 of inset->edit because the latter loses cursor information
3018 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
3020 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
3022 (rowBreakPoint): fix width. change point to point + 1.
3023 Add a missing check.
3025 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
3028 * lyxfunc.C: fix (at least partly) the problems
3029 with the Nav menu and headers inside branch insets
3032 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3034 * paragraph.C (getChar): add strong asserts
3036 * lyxrow_funcs.C (lastPos): remove hideous hack
3038 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3039 (fill): adjust to that (avoid an infinite loop)
3041 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3043 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3045 2003-10-23 André Pönitz <poenitz@gmx.net>
3047 * RowList_fwd.h: change list<> to vector<> to gain speed
3048 after suggestion from Alfredo
3050 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3052 * lyxtext.h: move the bidi stuff from here...
3055 * Bidi.[Ch]: ... to here
3057 2003-10-23 André Pönitz <poenitz@gmx.net>
3060 * text.C (isLastRow, isFirstRow): new functions
3062 * paragraph.h: new width cache member
3064 * rowpainter.C: replace RowList::iterator with Row & where possible
3066 * lyxfunc.C: replace several view()->text with a single call
3068 * toc.C: fix 'unused' warning
3070 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3072 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3073 when woring with stream::pos_type
3074 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3076 2003-10-22 André Pönitz <poenitz@gmx.net>
3079 * text.C: use Row & instead of RowList::iterator
3081 * lyxrow.h: rename end() to endpos()
3087 2003-10-22 Angus Leeming <leeming@lyx.org>
3089 * buffer.[Ch] (fully_loaded): new member function, returning true
3090 only when the file has been loaded fully.
3091 Used to prevent the premature generation of previews and by the
3092 citation inset to prevent computation of the natbib-style label.
3094 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3095 templates are all set up.
3097 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3099 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3101 * text.C: fixed an "oops" in the "is a bit silly"
3104 2003-10-21 André Pönitz <poenitz@gmx.net>
3106 * FuncStatus.[Ch]: small stuff, whitespace
3108 * lyxfont.[Ch]: operator<<() for debug reasons
3112 * lyxtext.h: whitespace, spelling
3114 * paragraph.C: naming of variables
3117 * text2.C: small stuff
3120 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3122 * text.C: (1) finish off the inset display() work;
3123 (2) fix the "is a bit silly" bug (accessing char
3126 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3128 * text.C: re-introduce display() for insets, fixing the
3129 various bugs (stretch of line above, math inset
3132 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3134 * text.C (rightMargin): remove spurious semicolon
3136 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3139 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3141 * text3.C: fix one crash due to wrong cursor def
3143 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3145 * vc-backend.C (scanMaster): make the regex static
3147 * LaTeX.C (scanAuxFile): make the regexs static
3149 * text3.C (doInsertInset, dispatch, dispatch):
3150 * text2.C (cursorUp, cursorDown):
3151 * text.C (selectNextWordToSpellcheck):
3152 * BufferView_pimpl.C (dispatch):
3153 * lyxfunc.C (dispatch): localDispatch -> dispatch
3155 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3157 * lyxsocket.C: include <cerrno>
3159 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3161 * lyxfunc.C (dispatch): remove textcache stuff
3163 * bufferlist.C (release): remove textcache stuff
3166 * TextCache.C: delete file
3167 * TextCache.h: delete file
3169 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3171 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3172 delete of the bv_->text.
3173 (resizeCurrentBuffer): remove texcache stuff
3174 (workAreaResize): ditto
3176 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3178 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3181 2003-10-16 André Pönitz <poenitz@gmx.net>
3188 * text3.C: speed up by storing y positions per paragraph plus per-row
3189 offset instead of having a 'full' y position in the row.
3191 2003-10-15 André Pönitz <poenitz@gmx.net>
3195 * undo.[Ch]: make undo aware of inner insets
3197 2003-10-14 Angus Leeming <leeming@lyx.org>
3199 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3200 static member functions LyX::ref() and LyX::cref.
3201 (lastfiles): new accessor functions for the new lastfiles_ member var.
3202 (addLyXView, views_): add a new LyXView to the list of views_.
3203 (updateInset): loop over all LyXViews to call their own updateInset
3204 member function, returning a pointer to the Buffer owning the inset.
3206 * BufferView_pimpl.C (loadLyXFile):
3207 * MenuBackend.C (expandLastfiles):
3208 * bufferlist.C (MenuWrite, QuitLyX):
3209 lastfiles is no longer a global variable.
3210 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3212 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3213 static function. Access through LyX::cref().emergencyCleanup().
3215 2003-10-14 André Pönitz <poenitz@gmx.net>
3217 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3219 * undo.[Ch]: restoring part of 'undo in insets'
3222 * undo_funcs.[Ch]: merge with undo.[Ch]
3224 * tabular.C: small cleansing stuff
3226 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3228 * paragraph_funcs.C (readParToken): report unknown insets as error
3229 boxes. Use the outer paragraph as location (also for unknown
3232 * factory.C (readInset): do not abort on reading an unknown inset.
3233 Eat it and return 0.
3235 2003-10-13 Angus Leeming <leeming@lyx.org>
3237 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3239 * lyxrc.C: displayTranslator is now a function,
3240 declared in GraphicsTypes.h.
3242 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3244 * format.C: new placeholder $$a to pass the socket address.
3246 * bufferlist.[Ch]: new function getBufferFromTmp.
3248 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3249 files in the temporary dir.
3251 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3253 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3255 * Makefile.am: add lyxsocket.[Ch].
3257 * lyx_main.C (error_handler): handle SIGPIPE.
3259 2003-10-13 André Pönitz <poenitz@gmx.net>
3261 * BufferView_pimpl.C:
3266 * undo_funcs.[Ch]: use paroffset_type instead of
3267 ParagraphList::iterators to prevent multiple conversion
3268 (and get a more robust interface)
3270 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3272 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3274 * text3.C (dispatch): ditto
3276 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3278 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3279 move the onlyfile, use onlyfile instead of foundfile in a couple
3282 * DepTable.C (update): flush the error stream a bit more
3284 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3286 * lyxserver.C (callback): adjust
3288 * lyxfunc.C (getStatus): add a missing brace in commented code
3289 (ensureBufferClean): reindent
3290 (dispatch): delete version taking a string
3292 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3294 * LaTeX.C (deplog): move found file handlig from here...
3295 (handleFoundFile): .. to new function here.
3296 (deplog): make sure to discover several files mentioned on the
3299 2003-10-10 André Pönitz <poenitz@gmx.net>
3306 * text3.C: fix some of the tabular crashes
3308 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3310 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3312 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3314 2003-10-09 André Pönitz <poenitz@gmx.net>
3316 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3319 * BufferView_pimpl.C:
3320 * bufferview_funcs.C:
3331 * undo_funcs.C: adjust
3333 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3335 * text2.C (incrementItemDepth): new function, use a backtracking
3336 algorithm to discover the correct item depth.
3337 (resetEnumCounterIfNeeded): new function, use a backtracking
3338 algorithm to discover if counter reset is needed.
3339 (setCounter): use them. Simplify a bit. Add different labels for
3340 different item depths for itemize.
3342 * paragraph.C (Paragraph): remove initialization of enumdepth
3345 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3346 enumerate and itemize. Change the type of itemdepth to signed char.
3348 2003-10-08 André Pönitz <poenitz@gmx.net>
3350 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3355 * tabular.[Ch]: fix crash after 'row-insert'
3357 2003-10-08 Angus Leeming <leeming@lyx.org>
3359 Fix doxygen warnings.
3361 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3362 Remove CutAndPaste:: prefix from header file declaration.
3364 * LColor.h (fill): remove LColor:: prefix from declaration.
3366 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3367 use lyx::depth_type rather than Paragraph::depth_type so that
3368 header file and .C file match.
3370 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3372 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3373 * aspell.C: \file aspell_local.C -> \file aspell.C
3374 * gettext.C: \file gettext.C -> \file src/gettext.C
3375 * gettext.h: \file gettext.h -> \file src/gettext.h
3376 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3377 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3378 * text.C: \file text.C -> \file src/text.C
3380 * toc.C: move comment so that doxygen is not confused.
3382 2003-10-07 Angus Leeming <leeming@lyx.org>
3384 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3386 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3389 * aspell_local.h: add forgotten std::string's.
3391 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3398 * text3.C: The Box patch. Fancybox support, minipage, parbox
3400 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3406 * ParagraphParameters.h:
3416 * lyxtextclasslist.h:
3419 * paragraph_pimpl.C:
3420 * textcursor.h: add <string> and other small fixes to make Lars'
3421 std::string patch compile with STLport.
3423 2003-10-06 Angus Leeming <leeming@lyx.org>
3425 * LColor.h: Add missing #include <string>.
3427 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3429 * All most all file in all subdirs: Make <string> be the prefered
3430 way of getting to std::string, add using declarations.
3432 2003-10-06 André Pönitz <poenitz@gmx.net>
3434 * metricsinfo.C: initialize LyXFont before changing attribute.
3435 (fixes the 'math in \emph is upright' bug)
3437 2003-10-06 André Pönitz <poenitz@gmx.net>
3439 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3441 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3444 * paragraph_pimpl.C: Small fixes to build using STLport
3446 2003-10-02 André Pönitz <poenitz@gmx.net>
3449 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3451 2003-10-01 André Pönitz <poenitz@gmx.net>
3453 * factory.C: assert early
3455 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3457 * lyx_main.C: remove the global debug object
3459 * debug.h: adjust for new debugstream
3461 * debug.C: adjust for new debugstream and keep the global debug
3464 2003-09-22 Angus Leeming <leeming@lyx.org>
3466 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3467 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3468 an incomplete class LyXFont.
3470 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3472 * factory.C: bug fix in branches
3474 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3476 * lyxfunc.C (processKeySym): adjust
3478 (dispatch): change arg name from ev to func, adjust
3479 (sendDispatchMessage): ditto
3481 * lyx_main.C (defaultKeyBindings): adjust keybindings
3482 (deadKeyBindings): ditto
3484 * kbsequence.C (addkey): return a FuncRequest
3486 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3488 * kbmap.C (bind): take a FuncRequest as arg, adjust
3491 (defkey): change to take a FuncRequest as arg, adjust
3492 (findbinding): take a FuncRequest as arg, adjust.
3494 * funcrequest.h (operator=): added
3496 * funcrequest.C (FuncRequest): default kb_action changed from
3497 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3499 * buffer.C (dispatch): simplify
3500 (dispatch): adjust to take a FuncRequest as arg, adjust
3502 * boost.C (assertion_failed): change assertion message slightly
3504 * ToolbarBackend.C (read): simplify
3506 * MenuBackend.C (binding): adjust call to findbinding, add a
3507 message if no binding is found.
3509 (expandToc): correct by adding a empty FuncRequest
3511 * LyXAction.C: include <boost/assert.hpp>
3512 (isPseudoAction): delete function
3513 (LookupFunc): change name to...
3514 (lookupFunc): this. change return type to FuncRequest.
3515 (getActionName): take kb_action as arg, simplify
3516 (funcHasFlag): add an assert, simplify.
3518 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3520 * toc.C (action): return a FuncRequest, simplify
3522 * lyxfunc.C (processKeySym): adjust
3523 (getStatus): delete version that takes an int.
3525 (dispatch): delete version that takes action as int
3527 (sendDispatchMessage): simplify and adjust
3529 * funcrequest.C (getArg): take unsigned int as arg
3531 * ToolbarBackend.C (read): adjust
3532 (add): delete version that takes func as a string.
3533 (getIton): take a FuncRequest as arg
3535 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3538 * MenuBackend.C (MenuItem): add a new construct that only takes a
3539 Kind, simplify the constructor use for submenus.
3541 (expandLastfiles): adjust
3542 (expandDocuments): adjust
3543 (expandFormats): adjust
3544 (expandFloatListInsert): adjust
3545 (expandFloatInsert): adjust
3546 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3548 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3549 Remove class variables lyx_pseudo_map and lyx_arg_map
3551 * LyXAction.C (searchActionArg): delete function
3552 (getPseudoAction): delete function
3553 (retrieveActionArg): delete function
3554 (LookupFunc): make it return kb_action, simplify.
3555 (getActionName): simplify
3557 * factory.C (createInset): fix new bug
3559 2003-09-19 Angus Leeming <leeming@lyx.org>
3561 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3562 masterFilename_ parameter in the include inset.
3564 * factory.C (createInset): changes due to the changes to InsetInclude.
3566 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3568 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3570 2003-09-18 Angus Leeming <leeming@lyx.org>
3573 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3574 Inset::fillWithBibKeys.
3575 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3577 2003-09-18 Angus Leeming <leeming@lyx.org>
3579 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3581 (ctor): pass and store a 'Buffer const &'
3582 (buffer): new member function.
3584 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3585 '*this' to the LaTeXFeatures ctor.
3587 2003-09-18 Angus Leeming <leeming@lyx.org>
3593 * text.C: rename EnumLColor as LColor_color.
3595 2003-09-18 Angus Leeming <leeming@lyx.org>
3597 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3598 remove #include "insets/insetbase.h" from cursor.h.
3600 2003-09-18 Angus Leeming <leeming@lyx.org>
3602 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3603 InsetOld_code to remove #include "inset.h".
3605 * iterators.C: add #include "insets/inset.h"
3607 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3609 * BufferView.C: remove more locking stuff that apparently doesn't
3610 do anything sensible.
3612 2003-09-16 André Pönitz <poenitz@gmx.net>
3615 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3618 2003-09-16 Angus Leeming <leeming@lyx.org>
3620 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3622 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3625 * paragraph.h: remove #include "lyxfont.h". Forward declare
3628 2003-09-16 Angus Leeming <leeming@lyx.org>
3630 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3631 of support/textutils.h.
3632 (isWord): move the contents of support/textutils.h's IsWordChar here.
3638 * text2.C: add #include "paragraph.h".
3641 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3643 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3649 * LaTeX.C: use namespace alias for lyx::support::os
3651 2003-09-16 Angus Leeming <leeming@lyx.org>
3654 * bufferview_funcs.C:
3657 * paragraph_pimpl.C:
3659 * text.C: add #include "LColor.h".
3661 2003-09-16 Angus Leeming <leeming@lyx.org>
3663 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3664 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3666 Store the FontBits::color variable as an int rather than as an
3667 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3670 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3671 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3672 string calls together.
3674 * lyxrc.C: add #include "LColor.h".
3676 2003-09-15 Angus Leeming <leeming@lyx.org>
3678 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3681 2003-09-15 Angus Leeming <leeming@lyx.org>
3683 * LColor.h: add an EnumLColor wrapper for LColor::color.
3685 * lyxfont.[Ch] (color, setColor, realColor):
3686 * lyxtext.h, text.C (backgroundColor):
3687 pass EnumLColor args to/from the functions, rather than LColor::color
3691 * lyxtext.h: forward declare EnumLColor.
3693 * lyx_main.C: add #include "LColor.h".
3695 2003-09-15 Angus Leeming <leeming@lyx.org>
3697 * .cvsignore: add lyx-gtk.
3699 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3704 * ParagraphParameters.C
3708 * bufferview_funcs.C
3718 * vc-backend.C: remove usage of STRCONV
3720 2003-09-15 Angus Leeming <leeming@lyx.org>
3722 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3723 explicitly define the color passed to the painter.
3725 2003-09-15 Angus Leeming <leeming@lyx.org>
3727 * bufferparams.C (BufferParams): reorder member initializers to avoid
3730 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3732 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3733 * text.C (updateRowPositions): remove an unusual nop
3735 2003-09-12 André Pönitz <poenitz@gmx.net>
3737 * BufferView_pimpl.C:
3746 * Counters.[Ch]: finish the 'automatic counters' job
3748 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3750 * aspell.C: include <boost/assert.cpp> (compile fix)
3752 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3754 * boost.C (assertion_failed): use lyx::support::abort instead of
3757 2003-09-10 Angus Leeming <leeming@lyx.org>
3759 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3760 with their _fwd progeny.
3762 2003-09-09 Angus Leeming <leeming@lyx.org>
3764 134 files throughtout the source tree: replace 'using namespace abc;'
3765 directives with the appropriate 'using abc::xyz;' declarations.
3767 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3769 * boost.C (emergencyCleanup): moved here from LAssert.c
3770 (assertion_failed): new function, called by BOOST_ASSERT
3772 * several files: change Assert to BOOST_ASSERT
3774 2003-09-09 Angus Leeming <leeming@lyx.org>
3776 * buffer.[Ch]: Add an Impl class and move Buffer's member
3777 variables into it. As a result move several header files out of
3780 Add header files to lots of .C files all over the tree as a result.
3782 2003-09-09 Angus Leeming <leeming@lyx.org>
3784 * buffer.[Ch]: make Buffer's member variables private. Add
3787 Lots of changes all over the tree as a result.
3789 2003-09-08 Angus Leeming <leeming@lyx.org>
3791 * graph.C: #include <config.h>.
3793 2003-09-08 Angus Leeming <leeming@lyx.org>
3797 * BufferView_pimpl.C:
3826 * toc.C: remove redundant using directives.
3828 2003-09-07 Angus Leeming <leeming@lyx.org>
3830 * LaTeXFeatures.h: remove #include "support/types.h".
3831 * ToolbarBackend.h: remove #include <algorithm>.
3832 * changes.h: remove #include <ctime>.
3833 * debug.h: remove #include <iosfwd>.
3834 * graph.h: remove #include "support/std_string.h".
3835 * lyx_main.h: remove #include <csignal>.
3836 * lyxlex_pimpl.h: remove #include <fstream>.
3837 * sgml.h: remove #include <algorithm>, <utility>.
3838 * toc.h: remove #include "support/std_ostream.h".
3839 Add #include <iosfwd>.
3841 2003-09-07 Angus Leeming <leeming@lyx.org>
3843 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3845 * converter.h: forward declare LatexRunParams.
3846 * encoding.h: remove #include "lyxrc.h".
3847 * lyxtext.h: remove #include "LColor.h".
3848 * lyxtextclass.h: remove #include "support/types.h".
3849 * trans.h: remove #include "tex-accent.h".
3850 * trans_mgr.h: remove #include "tex-accent.h".
3851 * insets/inset.h: remove #include "support/types.h", <vector>.
3852 * insets/insetcollapsable.h: remove #include "LColor.h".
3853 * insets/insetinclude.h: remove #include "dimension.h".
3854 * insets/insetlatexaccent.h: remove #include "dimension.h".
3855 * insets/insetoptarg.h:: remove #include "insettext.h".
3856 * insets/insettext.h: remove #include "dimension.h",
3857 <boost/shared_ptr.hpp>
3859 * insets/renderers.h: add #include "dimension.h".
3860 * insets/updatableinset.h: add #include "support/types.h".
3862 * many .C files: Associated changes.
3864 2003-09-06 Angus Leeming <leeming@lyx.org>
3866 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3867 one, inside testInvariant.
3869 * PrinterParams.C: new file.
3870 * PrinterParams.[Ch]: move the function bodies out of line.
3872 2003-09-06 Angus Leeming <leeming@lyx.org>
3874 * ParagraphParameters.h: forward declare ParameterStruct rather than
3875 including its header file.
3876 (depth): moved out-of-line.
3878 2003-09-06 Angus Leeming <leeming@lyx.org>
3880 * BufferView_pimpl.h:
3883 * lyxfunc.h: forward declare LyXKeySym rather than
3884 #include "frontends/LyXKeySym.h".
3886 * BufferView_pimpl.C:
3889 * lyxfunc.C: associated changes.
3891 2003-09-06 Angus Leeming <leeming@lyx.org>
3893 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3894 As a result, can remove the #include "insets/inset.h" from BufferView.h
3896 2003-09-06 Angus Leeming <leeming@lyx.org>
3898 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3899 As a result, can remove the #include "insets/inset.h" from BufferView.h
3901 2003-09-06 Angus Leeming <leeming@lyx.org>
3907 * bufferview_funcs.C:
3908 * BufferView_pimpl.C:
3913 * ParagraphParameters.C:
3918 * frontends/controllers/ControlDocument.C:
3919 * insets/insetcaption.C: rearrange the #includes into some sort of
3922 * buffer.h: remove #includes ErrorList.h, undo.h
3924 2003-09-06 Angus Leeming <leeming@lyx.org>
3926 * support/types.h: add a 'depth_type' typedef, used to store the
3927 nesting depth of a paragraph.
3930 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3931 defining explicitly.
3934 * paragraph_funcs.h:
3935 * ParagraphParameters.h:
3936 * sgml.h: use lyx::depth_type rather than Paragraph or
3937 ParameterStruct's depth_type.
3940 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3943 * BufferView_pimpl.C:
3945 * ParagraphParameters.C:
3948 * bufferview_funcs.C:
3955 * frontends/LyXView.C:
3956 * frontends/controllers/ControlDocument.C:
3957 * frontends/controllers/ControlErrorList.C:
3958 * insets/insetbibitem.C:
3959 * insets/insetbranch.C:
3960 * insets/insetcaption.C:
3961 * insets/insetcollapsable.C:
3962 * insets/insetenv.C:
3963 * insets/insetert.C:
3964 * insets/insetfloat.C:
3965 * insets/insetfoot.C:
3966 * insets/insetfootlike.C:
3967 * insets/insetnewline.C:
3968 * insets/insetquotes.C:
3969 * insets/insettabular.C:
3970 * insets/insettext.C:
3971 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3973 * frontends/controllers/ControlChanges.C: #include "changes.h".
3975 2003-09-06 Angus Leeming <leeming@lyx.org>
3977 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3978 than #including paragraph.h.
3981 * RowList.h: deleted. Superfluous.
3991 * insets/insettext.h: use ParagraphList_fwd.h rather than
3994 * paragraph.h: don't forward declare ParagraphList.
3997 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3998 rather than ParagraphList.h. paragraph.h is still needed for the
3999 Paragraph::depth_type parameters.
4001 * textcursor.h: enable it to compile stand-alone in light of the
4004 * bufferview_funcs.C:
4016 * frontends/controllers/ControlParagraph.C:
4017 * frontends/controllers/ControlTabular.C:
4018 * insets/insetmarginal.C:
4019 * insets/insetminipage.C:
4020 * insets/insetnote.C:
4021 * insets/insetoptarg.C: add header files needed to compile again.
4023 2003-09-06 Angus Leeming <leeming@lyx.org>
4025 * RowList_fwd.h: new file, forward-declaring Row rather than
4026 #including lyxrow.h.
4031 * insets/insettext.h: use it instead of RowList.h
4033 * bufferview_funcs.C:
4040 * text3.C: #include "RowList.h".
4042 2003-09-05 Angus Leeming <leeming@lyx.org>
4044 * factory.C (createInset):
4045 * vspace.C (c-tor): replace sscanf call with an istringstream.
4046 * ispell.C: re-add missing HP/UX headers.
4047 * lyxserver.C: re-add missing os2 headers.
4049 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4058 * text3.C: re-add missing system headers, needed for 2.95.2.
4060 2003-09-05 Angus Leeming <leeming@lyx.org>
4062 Changes most place everywhere due to the removal of using directives
4063 from support/std_sstream.h.
4065 2003-09-05 Angus Leeming <leeming@lyx.org>
4067 Replace LString.h with support/std_string.h,
4068 Lsstream.h with support/std_sstream.h,
4069 support/LIstream.h with support/std_istream.h,
4070 support/LOstream.h with support/std_ostream.h.
4072 Changes resulting throughout the tree.
4074 2003-09-05 Angus Leeming <leeming@lyx.org>
4076 * sgml.h: ensure that the header file can be compiled stand-alone.
4077 * *.C: strip out redundant #includes. (320 in total.)
4079 2003-09-04 Angus Leeming <leeming@lyx.org>
4081 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4082 here (from getPackages).
4084 * debug.[Ch]: add a new EXTERNAL tag.
4086 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4088 * text2.C (cursorEnd): simplify
4090 (getColumnNearX): adjust
4092 * text.C (computeBidiTables): adjust
4095 * rowpainter.C (paintChars): adjust
4096 (paintSelection): adjust
4097 (paintChangeBar): adjust
4100 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4102 (numberOfSeparators): adjust
4104 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4110 * text3.C: Restricts the mouse click functionality
4111 of insets like bibtex, include, toc and floatlist to the visible
4112 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4113 up the dialogs. Cursor has to be in front of the inset (i.e.
4114 start of row) for this to function.
4116 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4118 * bufferview_funcs.C (currentState): output row information
4120 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4122 * bufferview_funcs.C (currentState): output paragraph position
4124 2003-09-04 Angus Leeming <leeming@lyx.org>
4126 * FloatList.h: move out #include "Floating.h".
4127 * LaTeX.h: move out #include "DepTable.h".
4128 * LyXAction.h: move out #include "funcrequest.h".
4129 * buffer.h: move out #include "author.h", "iterators.h".
4130 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4131 * lyx_main.h: move out #include "errorlist.h".
4132 * lyxfunc.h: move out #include "FuncStatus.h".
4133 * lyxtext: move out #include "lyxcursor.h".
4134 * paragraph_pimpl.h: move out #include "counters.h".
4136 2003-09-03 Angus Leeming <leeming@lyx.org>
4138 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4139 preamble_snippets list, enabling us to add snippets to the preamble
4140 only if the snippet was not there already.
4142 2003-09-04 Angus Leeming <leeming@lyx.org>
4144 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4146 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4148 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4151 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4153 * BranchList.C: point fix, earlier forgotten
4155 2003-09-02 Angus Leeming <leeming@lyx.org>
4157 * box.C (contains): renamed from 'contained' after a fantastic
4160 2003-09-02 John Levon <levon@movementarian.org>
4166 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4168 2003-09-02 John Levon <levon@movementarian.org>
4170 * text2.C: simplification of cursorEnd(), including partial
4173 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4175 * buffer.C (readFile): add a space
4177 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4179 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4181 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4183 * buffer.C (readFile): new function, take a filename and a
4184 ParagraphList::iterator
4186 (readFile): adjust, make it private. don't use setStream, make
4187 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4188 always contain the filename.
4190 * BufferView.C (insertLyXFile): simplify and make it work for
4193 2003-08-30 John Levon <levon@movementarian.org>
4195 * Makefile.am: fix dist (from Kayvan)
4197 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4199 * most files: change to use const Buffer refs
4201 2003-08-27 André Pönitz <poenitz@gmx.net>
4203 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4204 on top of ownerPar().
4206 2003-08-27 John Levon <levon@movementarian.org>
4208 * funcrequest.C: properly initialise POD members
4210 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4212 * lyxtext.h (top_y): move top_y from here
4217 * BufferView_pimpl.[Ch]: to here
4218 * frontends/screen.C:
4219 * insets/insettabular.C:
4220 * insets/insettext.C: adjust
4221 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4223 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4226 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4228 2003-08-26 André Pönitz <poenitz@gmx.net>
4230 * paragraph_func.[Ch] (outerPar): new function
4233 * paragraph_funcs.C:
4234 * paragraph_funcs.h:
4235 * paragraph_pimpl.C:
4236 * text2.C: remove Inset::par_owner
4238 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4243 * text2.C: eliminates the needFullRow/display() stuff
4244 altogether, putting the logic in metrics/draw in the insets.
4246 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4248 * text2.C (redoParagraphInternal, redoParagraphs):
4249 * text.C (redoParagraph): add a call to updateRowPositions at the
4250 end of each 'metrics-like' call. Remove all others.
4251 (getRow): remove the 'y-computing' version.
4252 (getRowNearY): do not compute nor return the real y. Solve the
4253 'y < 0' problem and simplify.
4255 2003-08-22 Angus Leeming <leeming@lyx.org>
4257 * *.[Ch]: clean-up of licence and author blurbs.
4258 Also move config.h out of a few .h files and into a few .C files.
4260 2003-08-22 André Pönitz <poenitz@gmx.net>
4262 * lyxrow.[Ch]: add x_ and *fill_ members
4267 * text2.C: adjust/remove prepareToPrint() calls
4269 2003-08-22 André Pönitz <poenitz@gmx.net>
4271 * lyxrow.[Ch]: add end_ member
4273 * lyxrow_funcs.C: use LyXRow::end_
4275 * lyxtext.h (singleWidth): add LyXFont parameter
4278 * text2.C: adjust LyXText::singleWidth() calls
4280 * text.C (redoParagraph): simplify row breaking logic
4283 2003-08-19 André Pönitz <poenitz@gmx.net>
4285 * funcrequest.C: initialize button_ member
4288 * rowpainter.[Ch]: interface consolidation
4290 2003-08-18 André Pönitz <poenitz@gmx.net>
4293 * BufferView_pimpl.C:
4295 * paragraph_funcs.C:
4297 * text3.C: remove LyXScreen::draw() and fitCursor calls
4299 * BranchList.h: remove spurious semicolons
4301 * MenuBackend.C: fix branchlist related crash
4303 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4311 * bufferparams.[Ch]:
4315 * text3.C: implements the 'branch inset'
4316 idea. This allows the output of various versions of a document
4317 from a single source version, selectively outputing or suppressing
4318 output of parts of the text.
4319 This implementation contains a 'branch list editor' in a separate
4320 tab of the document settings dialog. Branches are user definable
4321 and have a "display colour" to distinguish them on-screen.
4323 ColorHandler was somewhat cleaned up.
4324 (1) make possible a dynamically growing LColor list by allowing
4325 the graphic context cache to grow along (vector);
4326 (2) eliminate an IMHO unnecessary step in colour allocation.
4328 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4330 * BufferView_pimpl.C: compile fix
4332 2003-08-15 André Pönitz <poenitz@gmx.net>
4334 * rowpainter.C: remove extra metrics calls
4336 * lyxtext.h: merge the two constructors into a single one,
4337 pass reference to owner's par list
4339 * BufferView_pimpl.C:
4343 2003-08-15 André Pönitz <poenitz@gmx.net>
4345 * lyxrow_funcs.[Ch]:
4348 * paragraph_funcs.C:
4353 * text_funcs.C: split LyXText::rowlist_ into individual
4354 Paragraph::rows_ chunks
4357 * BufferView_pimpl.[Ch]:
4360 * text3.C: remove toggleSelection()
4362 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4364 * bufferlist.C: beautify two alerts (shorter text of buttons)
4365 * buffer.C: Remove redundant ' ' from message
4367 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4368 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4369 rename VALIGN_CENTER to VALIGN_MIDDLE
4371 2003-08-11 André Pönitz <poenitz@gmx.net>
4373 * lyxtext.h (getPar):
4374 * text.C: new function
4376 2003-08-11 André Pönitz <poenitz@gmx.net>
4379 * tracer.[Ch]: remove unneeded files
4381 * InsetList.[Ch]: remove resizeInsetsLyXText()
4386 * text3.C: merge insertParagraphs() and appendParagraph()
4387 remove breakAgain(), update()
4389 * BufferView_pimpl.[Ch]:
4390 * bufferview_funcs.[Ch]:
4394 * tabular.C: adjust after text & InsetList changes.
4396 2003-08-08 André Pönitz <poenitz@gmx.net>
4398 * text.C (insertChar, backspace): replace rowlist fiddling
4399 with rebreak of full par
4402 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4403 checkParagraph, updateInset): removed
4405 2003-08-07 André Pönitz <poenitz@gmx.net>
4408 * text3.C: merge some LFUN handlers, remove dead code
4410 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4412 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4414 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4416 * text2.C (DEPM): fix part of bug 1255 and 1256
4418 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4420 * BufferView_pimpl.C (workAreaDispatch): change to use
4421 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4422 that are no mouse related.
4424 2003-08-05 André Pönitz <poenitz@gmx.net>
4427 * BufferView_pimpl.[Ch]:
4428 * bufferview_funcs.C:
4430 * text3.C: rip out "deep update"
4432 * textcursor.[Ch] (last_sel_cursor): remove unused member
4434 2003-08-04 André Pönitz <poenitz@gmx.net>
4437 * BufferView_pimpl.[Ch]:
4438 * ParagraphParameters.C:
4439 * bufferview_funcs.C:
4445 * text3.C: replace "complicated" BufferView::update(...) calls with
4448 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4450 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4452 * Makefile.am (lyx_SOURCES): add paper.h
4454 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4456 * Makefile.am: move things around so that both lyx-qt and
4457 lyx-xforms can be built (according to --with-frontend). Then lyx
4458 is a symbolic link to lyx-[firstfrontend]
4460 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4462 * Always use std::endl with lyxerr
4464 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4466 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4468 2003-08-01 André Pönitz <poenitz@gmx.net>
4471 * BufferView_pimpl.[Ch]:
4473 * text3.C: merge BufferView::repaint() and BufferView::update()
4475 2003-08-01 José Matos <jamatos@lyx.org>
4477 * buffer.[Ch]: file_format is no longer a buffer data element.
4479 2003-08-01 André Pönitz <poenitz@gmx.net>
4484 * text2.C: make redoParagraph more independent of current cursor
4486 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4488 * text2.C: remove unneeded members
4490 2003-07-30 André Pönitz <poenitz@gmx.net>
4492 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4494 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4495 create a single function...
4497 * paragraph_funcs.C (moveItem): ... here.
4500 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4502 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4504 * LColor.[Ch]: Add comment and greyedout logical colors.
4506 2003-07-30 André Pönitz <poenitz@gmx.net>
4508 * tabular.C: don't use Assert too heavily. This crashes where it
4511 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4513 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4514 is disabled (bug 1232)
4516 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4518 * factory.C: limited 'arg' scope
4520 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4522 * factory.C: fixed Note submenu issues
4524 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4526 * factory.C: submenu for Note/Comment/Greyedout
4528 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4531 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4533 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4536 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4537 greyedout. Patch provided by Jürgen Spitzmüller.
4539 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4541 * kbmap.C (read): fix error message when reading bind files
4543 2003-07-29 Angus Leeming <leeming@lyx.org>
4545 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4546 certainly does not do what it purports to do. I am doing it, and
4547 us, a favour by killing it.
4549 2003-07-28 José Matos <jamatos@lyx.org>
4551 * buffer.C (readBody, do_writeFile):
4552 * paragraph.C(readParagraph): \end_document replaces \the_end.
4554 2003-07-29 André Pönitz <poenitz@gmx.net>
4557 * BufferView_pimpl.[Ch]:
4561 * textcursor.[Ch]: remove toggleToggle & Co
4563 2003-07-28 José Matos <jamatos@fep.up.pt>
4565 * buffer.C (readParagraph):
4566 * params_func (readParToken, readParagraph):
4567 * paragraph.C (write): \layout -> \begin_layout.
4569 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4571 * lyxlex_pimpl.C (setFile): clean up slightly.
4573 * bufferparams.h: add compressed var
4575 * buffer_funcs.C (readFile): adjust for LyXLex change
4576 (newFile): ditto + simplify
4578 * buffer.C (writeFile): handle writing of compressed files
4580 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4581 Check if the file is compressed and set a bufferparm if so.
4583 * Makefile.am (lyx_LDADD): remove explicit -lz
4585 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4587 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4588 makeDocBookFile): put the real LyX version in the first line of
4592 * version.C.in: remove lyx_docversion
4594 * tabular.C (write_attribute): add a template-based version to
4595 write enums properly
4597 2003-07-28 André Pönitz <poenitz@gmx.net>
4602 * text3.C: use doubles again for x-coordinates. They are needed.
4604 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4606 * messages.C (getLocaleDir): use lyx_localedir()
4608 * lyxlex_pimpl.C (setFile): compress stuff
4610 * buffer.C (writeFile): add some compression stuff
4611 (do_writeFile): new func, dont call expliti close... will this
4614 * Makefile.am (lyx_LDADD): add -lz
4616 2003-07-28 José Matos <jamatos@fep.up.pt>
4618 * buffer.C: increment file format.
4619 * paragraph_funcs (readParagraph, readParToken):
4620 * paragraph.C (readParagraph): add \end_layout.
4622 2003-07-27 Angus Leeming <leeming@lyx.org>
4624 * Makefile.am: remove special casing for configure-time setting of
4625 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4627 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4628 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4630 2003-07-26 André Pönitz <poenitz@gmx.net>
4632 * paragraph_func.[Ch]:
4633 * paragraph.C (realizeFont): inline it whereever it is used
4638 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4641 2003-07-26 André Pönitz <poenitz@gmx.net>
4645 * text2.C: get rid of LyXText::need_break_row
4647 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4649 * toc.[Ch]: put namespace toc inside namespace lyx
4651 * MenuBackend.C (expandToc2): adjust for lyx::toc
4654 * lyxfunc.C (dispatch): adjust for lyx::find
4656 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4657 lyx::find instead. Reorganize a bit.
4658 (LyXReplace): rename to replace
4659 (LyXFind): rename to find
4661 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4664 2003-07-26 André Pönitz <poenitz@gmx.net>
4666 * text.C (setHeightOfRow): restrict scope of temporary variable
4668 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4669 code (never has been used?)
4671 2003-07-27 Asger Alstrup <alstrup@local>
4673 * text.C (fill): Optimise algorithm to exploit that we can reuse
4674 the LyXFont for many characters.
4675 (setHeightOfRow): Same thing.
4676 (rowBreakPoint): Same thing.
4678 2003-07-26 Asger Alstrup <alstrup@local>
4680 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4682 * text.C (singleWidth): Spurious font copying in hot-spot
4683 singleWidth avoided. Reorder tests for arabic for efficiency.
4685 * text.C (fill): handle empty paragraphs better.
4687 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4690 * encoding.h: add includes
4692 * lyxrc.C: remove reading of bind files
4694 * lyx_main.C (init): setup bindings and menus only if we have a
4697 * kbmap.C (read): new method. Do the actual reading of bind
4700 * converter.C (dvipdfm_options):
4703 (output): adapt PAPER_* enums.
4705 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4707 * bufferparams.h: remove paper-related enums from there
4709 * paper.h: New file. A trivial header file to hold paper-related
4710 enums. It should later expand to contain many paper-related
4713 * lyxrc.C: declare extern displayTranslator
4715 2003-07-27 José Matos <jamatos@fep.up.pt>
4717 * tabular.[Ch] (linuxdoc): add support for tables and figures
4720 2003-07-27 José Matos <jamatos@fep.up.pt>
4722 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4723 consistency in both functions.
4724 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4726 2003-07-26 Asger Alstrup <alstrup@local>
4728 * rowpainter.C (paintRows): Change algorithm to work directly on
4729 the insets rather than asking every character in the document
4730 whether its an inset.
4732 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4734 * buffer.C (openFileWrite): factorize some code
4736 2003-07-26 Angus Leeming <leeming@lyx.org>
4739 * lyx_main.[Ch]: replace occurances of system_tempdir with
4742 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4744 * rename Inset to InsetOld
4746 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4748 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4749 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4750 which I think is a bit clearer. EDIT is gone, since it was
4751 premature optimisation, and broken for mathed anyway.
4752 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4753 with cursor positioning in insets as well (math insets still do not
4754 work, but that's a different story anyway.) It mysteriously
4755 crashes sometimes with undo in the first paragraph, but I'm fairly
4756 confident that this is a compiler bug.
4758 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4760 * paragraph.C (Paragraph): adjust for new clone return type
4762 (copyIntoMinibuffer): ditto
4764 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4766 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4767 by not having a special case, and always doing a full rebreak of
4768 the document after undo.
4770 2003-07-23 Angus Leeming <leeming@lyx.org>
4772 * factory.C (createInset): InsetExternal::setParams now takes a
4775 2003-07-23 Angus Leeming <leeming@lyx.org>
4777 * factory.C (createInset): changed interface to the external and
4778 graphics mailers' string2params functions.
4780 2003-07-23 Angus Leeming <leeming@lyx.org>
4782 * factory.C (createInset): pass a
4783 Buffer const * parameter to InsetExternalMailer's string2params.
4785 2003-07-22 John Levon <levon@movementarian.org>
4787 * Thesaurus.h: include the right aiksaurus header
4789 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4791 * MenuBackend.C (expand): check menu shortcuts unconditionally
4793 2003-07-21 Angus Leeming <leeming@lyx.org>
4795 * factory.C (createInset): pass a
4796 buffer_path parameter to InsetGraphicsMailer's string2params.
4798 2003-07-21 Angus Leeming <leeming@lyx.org>
4800 * BufferView_pimpl.C (buffer):
4803 * lyxfunc.C (dispatch):
4804 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4805 rather than the grfx shortcut.
4807 2003-07-21 André Pönitz <poenitz@gmx.net>
4809 * rowpainter.C: remove unused variables
4812 * tabular_funcs.h: move to tabular.C
4813 * Makefile.am: adjust
4815 * tabular.[Ch]: basic optical cleaning
4817 * author.h: pass references, not values
4819 2003-07-18 André Pönitz <poenitz@gmx.net>
4827 * text3.C: two-phase drawing for InsetText and InsetTabular
4828 some float -> int changes.
4830 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4832 * lyx_main.C: fix the fix
4834 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4836 * lyx_main.C: fix a crash in batch mode if no files specified
4839 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4841 * format.[Ch] (papersize): moved to BufferParams
4842 * converter.[Ch] (dvips_options): moved to BufferParams
4843 (dvipdfm_options): moved to anon namespace
4844 * bufferparams.[Ch]: added above functions.
4846 2003-07-17 André Pönitz <poenitz@gmx.net>
4850 * text2.C: don't call inset->update() anymore
4852 * metricsinfo.[Ch]: add convenience constructor
4854 2003-07-16 André Pönitz <poenitz@gmx.net>
4859 * text2.C: replace the LyXCursor::irow_ member with
4860 on-demand computation of the value
4862 2003-07-16 John Levon <levon@movementarian.org>
4864 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4866 2003-07-15 André Pönitz <poenitz@gmx.net>
4869 * text2.C: remove no more needed refresh_row
4871 2003-07-15 André Pönitz <poenitz@gmx.net>
4876 * text3.C: refresh_status tristate -> need_update bool
4878 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4880 * lyxtext.h (init): remove reinit argument (act as if always true)
4881 * text2.C: adjust to that
4883 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4885 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4886 * text3.C: use it to delete selections in some cases
4887 (bugs 441, 673, 702, 954).
4889 2003-07-14 André Pönitz <poenitz@gmx.net>
4891 * rowpainter.[Ch]: reduce interface
4893 2003-07-14 André Pönitz <poenitz@gmx.net>
4895 * BufferView_pimpl.C:
4896 * text2.C: adjust after removing unused BufferView * argument
4898 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4900 * text2.C (init): fix a crash fired on resize
4902 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4904 * buffer.[Ch]: added new closing signal
4905 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4906 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4907 BufferView::Pimpl via the closing the signal
4909 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4911 * buffer.[Ch]: take out all bv-related from buffer
4913 * BufferView_pimpl.[Ch]: connect to new signals
4914 * CutAndPaste.C: removed useless asserts
4915 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4918 * lyxfunc.C: moved view-related funciontality from vc here
4919 * paragraph.C: removed outdated comments
4922 2003-07-10 André Pönitz <poenitz@gmx.net>
4924 * BufferView_pimpl.C:
4928 * text2.C: remove InsetText::InnerCache, clean up consequences
4930 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4932 * ispell.C: fix two typos in error messages
4934 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4936 * Extend Note inset to other forms of annotation like Comment
4937 and Greyedout. Right button click gives dialog.
4939 Files modified or added (+):
4943 * ControlNote.[Ch] +
4945 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4946 frontends/controllers
4950 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4952 * aspell.C: add missing namespace lyx::support
4954 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4956 * BufferView.[Ch] (newFile): Add
4957 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4958 * LaTeX.[Ch] (message): added this signal and use it
4959 * buffer.[Ch] (busy, message): added these signals and use them
4960 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4964 * importer.C: use buffer signals instead of direct bv calling
4965 * lyx_cb.[Ch] (ShowMessage): removed
4968 * paragraph_funcs.C:
4969 * text2.C: use buffer signals
4971 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4973 * introduce namespace lyx::graphics
4975 2003-07-02 André Pönitz <poenitz@gmx.net>
4977 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4979 2003-07-01 André Pönitz <poenitz@gmx.net>
4986 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4987 text*.C to text_func.C
4989 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4991 * introduce namespace lyx::support
4993 2003-06-30 André Pönitz <poenitz@gmx.net>
4998 * text.C: re-enable --with-included-string
5000 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5002 * textcursor.C: add <config.h>
5004 * text.C (getWord): remove const from word_location arg
5006 * lyxvc.C (getLogFile): fix const type order
5008 * lyxtext.h: remove const from word_location arg, add arg name
5010 * lyxlayout.h: currect type on labeltype.
5012 * importer.C: correct \file
5014 * converter.C (intToFormat): use std:: on ret val, ws changes
5016 * bufferlist.h: correct \file
5018 * buffer.C (makeLinuxDocFile): fix const type order
5019 (makeDocBookFile): ditto
5020 (fillWithBibKeys): use std:: on stdlib args.
5022 * CutAndPaste.C: fix authors.
5023 (availableSelections): use std:: on return vector
5025 2003-06-27 André Pönitz <poenitz@gmx.net>
5027 * BufferView_pimpl.C:
5028 * bufferview_funcs.C:
5036 * text3.C: remove LyXCursor::row_ member
5039 * text.C: rename fullRebreak() to partialRebreak() and implement
5040 a fullRebreak() that really bereks fully
5042 * textcursor.h: new struct for cursor-related data
5044 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5046 * lyx_main.C (LyX): get full path of document loaded on the
5049 2003-06-26 André Pönitz <poenitz@gmx.net>
5051 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5052 remove unused/broken operator>,<,>=.
5054 * text.C: remove only use of broken operator<= in an Assert().
5056 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5058 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5059 moved errorlist_.clear to showErrorList
5061 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5063 * converter.C (scanLog, runLaTeX):
5064 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5065 move the bv->showErrorList call to the callers
5066 * lyxfunc.C: i.e. here...
5068 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5069 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5070 namespace, the second to...
5071 * buffer_funcs (BufferFormat, parseErrors): added
5072 * errorlist.C (ErrorList(TeXErrors const &)): removed
5074 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5076 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5078 2003-06-24 "Garst R. Reese" <reese@isn.net>
5082 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5084 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5086 * version.C.in: change docversion to 1.4
5088 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5090 * buffer.C: fix a bug just introduced
5092 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5094 * buffer.[Ch]: added the parseError signal and use it, removed
5096 * BufferView.[Ch] (addError): moved to ...
5097 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5098 to the Buffer::parseError signal to catch (guess what) parse errors
5099 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5101 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5103 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5104 ability to create a buffer and to return an existing one from
5105 the list. Moved these functions to...
5106 * buffer_funcs.[Ch]: added
5107 * BufferView.[Ch] (loadLyXFile): added
5108 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5109 job removed from bufferlist::loadLyXFile.
5110 * buffer.C (setReadOnly): make it work without view
5111 (i.e added an if (users))
5113 2003-06-19 Angus Leeming <leeming@lyx.org>
5116 * LyXAction.C (init):
5117 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5118 with LFUN_DIALOG_SHOW <name> <data>.
5120 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5122 * CutAndPaste.C (availableSelections): small compilation fix for
5123 ancient (gcc 2.9x) compilers
5125 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5127 * text3.C (cursorNext): add tmp var
5129 * text2.C (updateCounters): for function calling out of for clause
5130 (replaceSelectionWithString): ditto
5131 (insertStringAsParagraphs): ditto
5132 (getColumnNearX): add tmp var
5133 (setCursorFromCoordinates): add tmp var
5134 (cursorDownParagraph): add tmp var
5135 (deleteEmptyParagraphMechanism): add tmp var
5137 * text.C (insertChar): add tmp var
5139 * rowpainter.C (paintDepthBar): add tmp var
5141 * CutAndPaste.C (availableSelections): potentially check all
5142 paragraphs in a cut to fill the shown strings.
5144 2003-06-18 André Pönitz <poenitz@gmx.net>
5146 * kbmap.[Ch]: use vector<> instead of list<>
5148 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5150 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5151 pasteSelection with index
5153 * text2.C (pasteSelection): modify, call pasteSelection with index
5155 * paragraph.C (asString): reimplement version with no interval to
5156 call the one with interval.
5158 * lyxtext.h: add index arg to pasteSelection
5160 * MenuBackend.C (MenuItem): handle PasteRecent
5161 (Menu::read::Menutags): add md_pasterecent
5163 (expandPasteRecent): new function
5166 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5168 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5170 (availableSelections): new function
5172 2003-06-17 Angus Leeming <leeming@lyx.org>
5174 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5176 2003-06-17 Angus Leeming <leeming@lyx.org>
5179 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5181 * lyxfunc.C (dispatch): invoke it.
5183 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5185 * iterators.C (operator++, ParPosition): reintroduce some
5186 const_cast for the benefit of older compilers.
5188 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5190 * text3.C (dispatch): do not modify clipboard when doing
5191 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5192 LFUN_DELETE_SKIP on a selection selection
5194 2003-06-16 André Pönitz <poenitz@gmx.net>
5200 * tabular.[Ch]: IU of clone() and getLabelList();
5202 2003-06-13 André Pönitz <poenitz@gmx.net>
5204 * tabular.h: compactification
5206 2003-06-12 André Pönitz <poenitz@gmx.net>
5210 * tabular_funcs.h: some renaming plus whitespace
5212 2003-06-12 André Pönitz <poenitz@gmx.net>
5215 * BufferView_pimpl.C:
5221 * toc.C: Return a Paragraph & for ParIterator::operator*()
5223 2003-06-11 John Levon <levon@movementarian.org>
5227 * ToolbarBackend.C: add "Toolbars" section and
5230 2003-06-10 Angus Leeming <leeming@lyx.org>
5233 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5235 * lyxfunc.C (dispatch): invoke it.
5237 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5239 * main.C: protect <ios> with HAVE_IOS
5240 (main): protect sync_with_stdio with HAVE_IOS
5242 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5244 * text2.C (cutSelection): adjust
5245 (pasteSelection): adjust
5247 * messages.C: handle get of empty string
5249 * main.C (main): use sync_with_stdio(false)
5251 * lyxfunc.C (dispatch): adjust
5253 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5254 (WriteAs): remove unneeded BufferView arg.
5256 * bufferparams.h: use correct types on papersize, papersize2 and
5259 * bufferparams.C (readToken): adjust for type
5260 (writeLaTeX): add missing cases to switch.
5262 * bufferlist.C (quitWriteBuffer): adjust
5265 * buffer.C (asciiParagraph): remove some commented code.
5267 * CutAndPaste.C: remove current_view extern variable.
5268 (cutSelection): add BufferParams arg.
5269 (eraseSelection): add BufferParams arg.
5270 (pasteSelection): add Buffer const & arg
5272 2003-06-07 John Levon <levon@movementarian.org>
5275 * paragraph_funcs.C:
5276 * paragraph_pimpl.C:
5280 * paragraph.C: allow InsetERT to freely space lines,
5281 and some consolidation of code
5283 2003-06-06 José Matos <jamatos@fep.up.pt>
5285 * buffer.C (makeDocBookFile): fix bug #821
5287 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5289 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5291 2003-06-04 Angus Leeming <leeming@lyx.org>
5293 * buffer.C: bump format to 224.
5295 2003-06-05 André Pönitz <poenitz@gmx.net>
5297 * text2.C (redoParagraphs): remove two const_cast<>
5299 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5301 * ParagraphList.h: remove last remnants of NO_STD_LIST
5303 2003-06-03 Angus Leeming <leeming@lyx.org>
5305 * factory.C (createInset): small change to the way InsetExternal's params
5308 2003-06-04 André Pönitz <poenitz@gmx.net>
5310 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5312 * paragraph_pimpl.h:
5313 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5315 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5317 * undo_funcs.C: make some simple cases of undo work again
5319 2003-06-03 John Levon <levon@movementarian.org>
5321 * ispell.C: HPUX doesn't have sys/select.h
5324 2003-06-03 John Levon <levon@movementarian.org>
5326 * CutAndPaste.C: update tabular and include inset
5331 * paragraph.C: remove owningBuffer(), don't pass Buffer
5334 * factory.C: insetGraphicsParams changed
5336 2003-06-02 John Levon <levon@movementarian.org>
5342 * text3.C: remove insetparent
5344 2003-06-02 John Levon <levon@movementarian.org>
5347 * buffer.C: fix inset_iterator.end(), move out of line
5350 2003-06-01 John Levon <levon@movementarian.org>
5352 * text3.C: use a proper cut/paste when doing inset
5353 insert (from Jürgen Spitzmüller)
5355 2003-06-01 John Levon <levon@movementarian.org>
5357 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5359 2003-05-30 André Pönitz <poenitz@gmx.net>
5361 * rowpainter.C: unify second drawing phase
5363 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5365 * trans_mgr.C: remove one case of current_view
5367 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5369 * paragraph_funcs.h: remove paragraph.h include
5371 * paragraph.h: delete NO_STD_LIST stuff
5373 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5375 * buffer.h: remove paragraph.h include
5377 * ParagraphList.C: delete file
5379 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5381 * toc.C (getTocList): adjust
5383 * paragraph_pimpl.C (validate): adjust
5385 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5387 * paragraph.C (Paragraph): adjust
5388 (getPositionOfInset): use const_iterator, adjust
5389 (bibitem): use const_iterator, adjust
5390 (setInsetOwner): adjust
5392 * iterators.C (operator++): adjust
5394 * InsetList.[Ch]: Replace selfmade iterator with standard
5395 vector::iterator also introduce const_iterator. Remove getPos,
5396 getInset and setInset from InsetTable. Adjust accordingly.
5398 * BufferView.C (lockInset): adjust
5399 (ChangeInsets): adjust
5401 * tabular.[Ch]: delete commented same_id functions
5403 2003-05-28 John Levon <levon@movementarian.org>
5405 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5407 2003-05-28 André Pönitz <poenitz@gmx.net>
5409 * metricsinfo.[Ch]: remove 'fullredraw' member
5411 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5413 * lyxtextclass.C (operator): remove caching.
5415 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5419 * text2.C (cursorBottom): adjust
5420 (setCounter): use ParagraphList::find, adjust
5422 * text.C (workWidth): use ParagraphList::find, adjust
5424 * lyxcursor.C (LyXCursor): adjust
5426 * buffer.C (inset_iterator): adjust
5428 * ParagraphList.h: make iterator(value_type) private, make
5429 ParagraphList a friend of iterator.
5431 * ParagraphList.C (find): new function
5433 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5435 2003-05-27 André Pönitz <poenitz@gmx.net>
5437 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5439 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5441 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5443 2003-05-26 John Levon <levon@movementarian.org>
5445 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5447 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5449 * remove same_id from function signatures, adjust.
5451 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5453 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5455 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5457 * paragraph.C (Paragraph): get rid of same_ids parameter
5459 * ParagraphList.C (insert): adjust
5462 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5464 * paragraph_funcs.C (breakParagraph): adjust
5465 (breakParagraphConservative): adjust
5467 * buffer.C (readParagraph): adjust
5469 * ParagraphList.C (insert): take a reference instead of a pointer
5472 * paragraph.[Ch] (id): new function
5474 * bufferlist.C (newFile): adjust
5476 * ParagraphList.C (ParagraphList): adjust
5478 (push_back): take a reference instead of a pointer.
5480 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5482 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5485 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5486 set else use old code.
5488 * ParagraphList.C: remove all NO_NEXT code and only compile this
5489 code of NO_STD_LIST is set.
5491 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5493 * BufferView_pimpl.C:
5503 * graphics/GraphicsConverter.C:
5504 * graphics/PreviewLoader.C: header adjustment
5506 2003-05-23 Angus Leeming <leeming@lyx.org>
5508 * LaTeXFeatures.[Ch] (useBabel): new method.
5509 * bufferparams.C (writeLaTeX): use it.
5511 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5513 * ParagraphList.h (set): remove unused function.
5515 2003-05-23 André Pönitz <poenitz@gmx.net>
5518 * BufferView_pimpl.C:
5522 * undo_funcs.C: setUndo reworked
5524 * iterators.[Ch]: add access to topmost ParagraphList
5526 * lyxtext.[Ch] (workWidth): add a const
5528 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5530 * texrow.[Ch] (increasePos): remove function
5531 * exporter.C (export): removed unused var and outdated comment
5533 2003-05-23 Angus Leeming <leeming@lyx.org>
5535 * latexrunparams.h: rename fragile as moving_arg.
5536 * paragraph.C (simpleTeXOnePar): ditto.
5537 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5539 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5541 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5543 (textUndoOrRedo): comment out a currently unused var.
5545 * paragraph.h (NO_NEXT): enable NO_NEXT
5547 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5549 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5551 * exporter.C (Export): adjust for removeAutoInsets removal.
5553 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5555 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5557 * BufferView.[Ch] (removeAutoInsets): delete function
5559 2003-05-22 Angus Leeming <leeming@lyx.org>
5561 * latexrunparams.h: add a free_spacing variable.
5563 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5564 to pass moving_arg, as the data is stored in runparams.fragile.
5566 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5567 to Inset::latexOptional or to simpleTeXOnePar.
5569 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5570 free_spacing arg to Inset::latexOptional.
5572 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5575 2003-05-22 Angus Leeming <leeming@lyx.org>
5577 * latexrunparams.h: add fragile and use_babel variables.
5579 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5580 * buffer.C (makeLaTeXFile): store this returned value in
5581 runparams.use_babel, thus passing it to the inset::latex methods.
5583 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5584 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5586 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5587 longer has a fragile arg, as it is stored in runparams.fragile.
5589 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5590 moving_arg parameter as the data is stored in runparams.fragile.
5592 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5593 a fragile parameter as the data is stored in runparams.fragile.
5595 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5597 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5599 2003-05-22 Angus Leeming <leeming@lyx.org>
5601 * latexrunparams.h: add a 'bool nice' which defaults to false.
5603 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5604 now encapsulated within runparams.
5606 * bufferlist.C (updateIncludedTeXfiles):
5607 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5609 2003-05-22 Angus Leeming <leeming@lyx.org>
5611 * latexrunparams.h: new file containing struct LatexRunParams.
5612 * Makefile.am: add new file.
5614 * LaTeX.[Ch] (c-tor, run):
5615 * buffer.[Ch] (makeLaTeXFile):
5616 * bufferlist.[Ch] (updateIncludedTeXfiles):
5617 * converter.C (convert, scanLog):
5618 * converter.[Ch] (runLaTeX):
5619 * exporter.C (Export):
5620 * paragraph.[Ch] (simpleTeXOnePar):
5621 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5622 * paragraph_funcs.[Ch] (latexParagraphs):
5623 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5624 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5625 pass around a LatexRunParams parameter.
5627 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5629 * paragraph.[Ch]: remove unused constructor
5631 * ParagraphList.C (erase): new function, taking two iterators
5633 2003-05-22 André Pönitz <poenitz@gmx.net>
5635 * undo_funcs.C: remove duplicated code
5637 * iterator.[Ch]: operator=
5639 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5641 * tabular.C (SetMultiColumn): ws changes
5643 * rowpainter.C (paintFirst): get rid of a ->previous
5645 * lyx_cb.C (getPossibleLabel): parlist simplification
5647 * BufferView.C (ChangeInsets): simplify slightly.
5649 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5651 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5652 * lfuns.h: new LFUN_SPACE
5653 * lyxfunc.C: protected space has a new lfun
5654 * paragraph_funcs.C: read new space insets
5656 * factory.C: handle new space insets
5658 2003-05-22 André Pönitz <poenitz@gmx.net>
5661 * BufferView_pimpl.C:
5664 * undo_funcs.C: return a ParIterator from getParFromID.
5666 * iterators.[Ch]: add two const's
5668 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5670 * toc.C (getTocList): adjust
5672 * iterators.[Ch]: rework for parlist
5674 * buffer.C (par_iterator_begin): adjust
5675 (par_iterator_end): adjust
5677 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5679 * BufferView.C (removeAutoInsets): adjust
5680 (ChangeInsets): adjust
5682 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5684 * text.C (top_y): fix bug 1110
5686 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5688 * errorlist.[Ch]: added
5691 * BufferView_pimpl.C:
5692 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5695 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5697 * Makefile.am: ensure that lyx is relinked upon changes to the
5698 various "convenience" libs.
5700 2003-05-20 Angus Leeming <leeming@lyx.org>
5702 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5703 files are compiled in alphabetical order again.
5705 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5707 2003-05-19 Angus Leeming <leeming@lyx.org>
5709 * gettext.[Ch]: remove "char const * _(char const *)".
5711 2003-05-19 André Pönitz <poenitz@gmx.net>
5713 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5722 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5724 2003-05-19 André Pönitz <poenitz@gmx.net>
5728 * lyxtextclass.[Ch]:
5730 * paragraph_funcs.[Ch]:
5732 * text3.C: more insetenv work
5734 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5736 * ParagraphParameters.C (params2string): small bug fixed
5738 2003-05-16 André Pönitz <poenitz@gmx.net>
5741 * bufferview_funcs.C: patch from Kornel Benko to prevent
5742 crash when _(...) is called twice in a statement
5744 2003-05-16 André Pönitz <poenitz@gmx.net>
5751 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5753 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5755 * lyx_main.C (init): remove spurious static_cast
5757 2003-05-14 André Pönitz <poenitz@gmx.net>
5759 * BufferView.C: fix format string
5761 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5763 * BufferView.[Ch] (insertErrors): removed
5764 * BufferView.[Ch] (showErrorList): added
5765 * buffer.C (runChkTeX):
5766 * converter.C (scanLog): call showErrorList instead of inserterrors
5768 2003-05-13 André Pönitz <poenitz@gmx.net>
5770 * BufferView_pimpl.C:
5772 * bufferview_func.C:
5779 * tabular_funcs.h: tostr() from its own header
5781 * ParagraphParameters.C:
5786 * text3.C: STRCONV()
5788 2003-05-12 André Pönitz <poenitz@gmx.net>
5791 * BufferView_pimpl.C:
5795 * ParagraphParameters.C:
5799 * bufferview_funcs.C:
5812 * paragraph_funcs.C:
5816 * text3.C: boost::format -> bformat all over the place
5819 2003-05-09 André Pönitz <poenitz@gmx.net>
5821 * LColor.[Ch]: Pimpl the #include <map> away
5823 2003-05-09 John Levon <levon@movementarian.org>
5825 * bufferlist.C: never remove emergency saves
5827 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5829 * Makefile.am: better lib building
5831 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5833 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5835 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5836 (simpleTeXSpecialChars): adjust
5837 (simpleTeXSpecialChars): adjust
5838 * paragraph.C (simpleTeXOnePar): adjust
5839 * buffer.C (makeLaTeXFile): adjust
5841 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5843 * text2.C (changeDepth): parlist cleanup
5844 (getColumnNearX): ditto
5846 * rowpainter.C (getLabelFont): parlist cleanup
5848 * bufferlist.C (newFile): parlist cleanup
5850 * CutAndPaste.C (eraseSelection): parlist cleanup
5852 * BufferView_pimpl.C (trackChanges): parlist cleanup
5855 * BufferView.C (lockInset): parlist cleanup.
5856 (ChangeInsets): ditto
5858 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5860 * CutAndPaste.h: Update file header.
5862 * CutAndPaste.C: Update file header.
5863 Store the parts cut out of the Document in a limited_stack.
5864 (copySelection): adjust
5865 (pasteSelection): new function, takes the index in the limited stack.
5866 (nrOfParagraphs): adjust
5867 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5868 simplify error inset insertion.
5869 (checkPastePossible): adjust
5871 2003-05-06 John Levon <levon@movementarian.org>
5873 * text2.C: don't cast wrap inset to float
5875 2003-05-05 André Pönitz <poenitz@gmx.net>
5878 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5880 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5881 few naked Paragraph *.
5883 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5885 * bufferparams.C: Output warning if a document with missing
5886 TeX document class is loaded
5887 * exporter.C: Disable TeX exports if the document class is missing
5890 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5891 isTeXClassAvailable()
5893 2003-05-03 John Levon <levon@movementarian.org>
5896 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5897 explicit cursor show/hide
5899 * BufferView_pimpl.h:
5900 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5901 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5903 * lyxfunc.C: hide cursor before dispatching.
5908 * text3.C: remove explicit cursor hides
5910 2003-05-02 André Pönitz <poenitz@gmx.net>
5912 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5915 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5918 * text2.C: tiny whitespace
5920 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5922 * undo_funcs.C: almost only ws changes.
5924 * ParagraphList.C (splice): just return if pl is empty.
5926 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5928 * ParagraphList.C (splice): new function.
5930 * CutAndPaste.C (pasteSelection): use it
5932 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5934 * CutAndPaste.C (pasteSelection): remove the last next and
5935 previous from this file.
5937 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5939 * CutAndPaste.C (pasteSelection): more clean up, user proper
5940 ParagraphList functions for pasteing.
5942 * ParagraphList.C (insert): new function, three arg insert
5944 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5946 * ParagraphList.C (insert): new function, three arg insert
5948 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5951 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5953 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5955 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5957 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5959 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5961 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5962 (copySelection): clean up a bit.
5963 (pasteSelection): use make_pair
5965 * ParagraphList.C (ParagraphList): implement copy constructor
5966 (operator=): implement, base on copy constructor.
5969 * paragraph.C (erase): return a bool
5971 * paragraph_pimpl.C (erasePos): remove function, move contents...
5972 (erase): ... here. Return a bool.
5973 (erase): call erase instead of erasePos.
5975 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5977 * ParagraphList.h: define PitPosPair
5978 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5979 ParagraphList, fix a bug on pasting multiple pars
5980 * text2.C: change interface to C&P
5982 2003-04-30 André Pönitz <poenitz@gmx.net>
5984 * undo_func.C: revert part of yesterday's patch 2
5986 2003-04-30 John Levon <levon@movementarian.org>
5988 * LColor.C: s/tabular/table/
5990 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5992 * text3.C (dispatch): do not convert iterator -> pointer
5993 * undo_funcs.C (setCursorParUndo): ditto
5994 * text_funcs.C (transposeChars): ditto
5996 * text2.C (setLayout): ws changes only
5998 * text.C (breakParagraph): do not convert iterator -> pointer
6000 (acceptChange): ditto
6001 (rejectChange): ditto
6006 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
6009 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6011 * text3.C (gotoInset): YABG (yet another bad getChar)
6013 2003-04-29 André Pönitz <poenitz@gmx.net>
6015 * paragraph.h: make operator= private unimplemented as long as
6018 * ParagraphList.C: whitespace
6021 * paragraph_pimpl.[Ch]:
6022 * paragraph_funcs.C:
6024 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
6027 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
6029 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6031 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6032 * paragraph.[Ch] (erase):
6033 * paragraph_pimpl.[Ch] (erase): change return type and value
6034 * text2.C (cutSelection): some rework
6036 2003-04-28 John Levon <levon@movementarian.org>
6038 * bufferlist.C: changes for unsaved changes dialog
6040 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6042 * bufferlist.C (newFile): set language (messages_) for new
6045 * buffer.C (readFile): ws changes only.
6047 2003-04-28 André Pönitz <poenitz@gmx.net>
6052 * BufferView_pimpl.C:
6053 * BufferView.C: getParFromID related ParagraphList::iterator changes
6055 2003-04-28 André Pönitz <poenitz@gmx.net>
6057 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6060 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6062 * messages.C: remove one more localedir class variable.
6064 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6066 * messages.C (getLocaleDir): singleton generation function
6068 (Messages): add a default constructor.
6070 * main.C (main): do not setup localedir here, do not call
6073 * gettext.C (_): use it.
6074 (gettext_init): delete funciton
6076 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6078 * gettext.C (getLyXMessages): new singleton generating function.
6080 * buffer.C (updateDocLang): adjust
6082 * Makefile.am (messages.o): add target
6083 (main.o): remove target
6085 2003-04-27 John Levon <levon@movementarian.org>
6090 * lyxvc.C: specify cancel button in Alert::prompt
6092 2003-04-26 John Levon <levon@movementarian.org>
6097 * LyXAction.C: add LFUN_INSET_SETTINGS
6099 * lyxfunc.C: don't enable tabular-feature when there's
6100 just any locking inset
6102 2003-04-26 John Levon <levon@movementarian.org>
6104 * bufferlist.C: re-add Cancel to buffer close question
6106 * lyxfunc.C: fix import UI a bit
6108 2003-04-25 John Levon <levon@movementarian.org>
6110 * gettext.C: remove the broken asserts for now
6112 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6114 * messages.C: make case where setlocale cannot comply work better.
6116 * buffer.C (updateDocLang): new function
6117 (changeLanguage): use it
6120 * text2.C (setCounter): use B_ a bit.
6122 * lyxlayout.C (Read): be sure to trim the label strings.
6124 * messages.C (Messages): fix typo in comment
6126 * buffer.C (readFile): set message_ after file is loaded.
6127 (makeDocBookFile): remove double return
6128 (changeLanguage): reset message_ upon language change.
6129 (B_): new func, use this to get translated buffer strings.
6131 * main.C: add myself and Jean Marc as authors.
6133 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6135 * messages.[hC]: pimplify Messages, and three different pimpls to be
6136 used in different circumstances.
6138 * gettext.[Ch]: change for use with new message code.
6140 2003-04-24 André Pönitz <poenitz@gmx.net>
6142 * factory.C: support for eqref
6144 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6146 * messages.[Ch]: add missing char
6148 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6150 * messages.[Ch]: New files
6152 2003-04-18 John Levon <levon@movementarian.org>
6156 * BufferView_pimpl.C:
6160 * text2.C: remove layout-copy/paste (bug 778)
6162 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6164 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6166 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6168 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6169 if they succeed. Act accordingly.
6171 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6173 * text2.C (setCharFont): adjust
6174 (setCounter): adjust
6175 (insertStringAsLines): adjust
6177 * text.C (leftMargin): adjust
6178 (setHeightOfRow): adjust
6180 * rowpainter.C (paintFirst): adjust
6183 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6185 (isFirstInSequence): ditto
6186 (getEndLabel): ditto
6189 * paragraph.C (getParLanguage): comment out some hard stuff.
6191 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6193 (simpleDocBookOnePar): ditto
6194 (makeDocBookFile): use ParagraphList::iterator
6196 * CutAndPaste.C (pasteSelection): adjust
6198 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6200 * text2.C (getFont): adjust
6201 (getLayoutFont): adjust
6202 (getLabelFont): adjust
6204 * paragraph_funcs.C (TeXOnePar): adjust
6206 * buffer.C (simpleLinuxDocOnePar): adjust
6207 (simpleDocBookOnePar): adjust
6209 * CutAndPaste.C (pasteSelection): adjust
6211 * BufferView.C (getEncoding): adjust
6213 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6215 2003-04-16 John Levon <levon@movementarian.org>
6217 * lyxfind.C: use parlist stuff for search/changes
6219 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6221 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6223 * text2.C (deleteEmptyParagraphMechanism): adjust
6225 * text2.[Ch] (ownerParagraph): delete func (both of them
6227 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6229 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6231 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6233 * ParagraphList.C: prepare for NO_NEXT
6235 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6237 * text2.C (getFont): adjust
6238 (getLayoutFont): adjust
6239 (getLabelFont): adjust
6241 * paragraph.C (getFont): adjust
6242 (getLabelFont): adjust
6243 (getLayoutFont): adjust
6245 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6247 2003-04-15 John Levon <levon@movementarian.org>
6251 * lyx_main.C: handle Include in .ui files
6253 2003-04-15 John Levon <levon@movementarian.org>
6255 * MenuBackend.C: make the doc files length shorter
6258 * ToolbarBackend.C: handle toolbar placement flags,
6261 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6263 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6266 * paragraph_funcs.C (TeXOnePar): adjust
6268 * paragraph.C (getLabelFont): add outerfont arg, adjust
6269 (getLayoutFont): ditto
6270 (simpleTeXOnePar): adjust
6272 * paragraph_pimpl.C (realizeFont): delete func
6274 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6276 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6277 row argument, constify cur argument.
6279 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6281 * text2.C (getFont): adjust
6282 (getLayoutFont): adjust
6283 (getLabelFont): adjust
6285 * paragraph_funcs.C (TeXOnePar): adjust
6286 (outerFont): new func...
6287 (realizeFont): ...moved out from here, changed this to facilitate
6290 * paragraph.C (getFont): take outerfont as arg, adjust
6291 (simpleTeXOnePar): add outerfont arg, adjust
6293 * buffer.C (simpleLinuxDocOnePar): adjust
6294 (simpleDocBookOnePar): adjust
6296 * CutAndPaste.C (pasteSelection): adjust
6298 * BufferView.C (getEncoding): adjust
6300 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6302 * text2.C (setCharFont): adjust
6303 (setCounter): adjust
6305 * text.C (leftMargin): adjust
6306 (setHeightOfRow): adjust
6308 * rowpainter.C (paintFirst): adjust
6311 * paragraph_pimpl.C (realizeFont): adjust
6313 * paragraph.C (isFirstInSequence): move from here...
6314 * paragraph_funcs.C (isFirstInSequence): ...to here
6316 * paragraph.C (outerHook): move from here...
6317 * paragraph_funcs.C (outerHook): ...to here
6319 * paragraph.C (depthHook): move from here...
6320 * paragraph_funcs.C (depthHook): ...to here
6322 * paragraph.C (getEndLabel): move from here...
6323 * paragraph_funcs.C (getEndLabel): ...to here
6325 * text2.C (realizeFont): move from here...
6326 * paragraph_funcs.C (realizeFont): ...to here
6328 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6330 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6332 2003-04-14 Angus Leeming <leeming@lyx.org>
6334 * LColor.[Ch]: scrap LColor mathcursor.
6336 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6338 * lyxlex.[Ch] (text): delete function
6339 * trans.C (Load): adjust
6340 * paragraph_funcs.C (readParToken): adjust
6342 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6344 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6345 vector<char> instead of a char[].
6347 * lyxlex_pimpl.C (getString): adjust
6349 (lex): use getString
6353 * lyxlex.C (text): use pimpl_->getString()
6357 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6359 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6360 (makeFontEntriesLayoutSpecific): temp var for par.size()
6361 (setLayout): temp var for ownerParagraphs().end()
6362 (fullRebreak): temp var for rows().end()
6363 (selectionAsString): temp var for boost::next(startpit), realize
6364 that the while really is a regular for loop.
6365 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6366 setCursor in one place.
6367 (setParagraph): temp vr for ownerParagraphs().end()
6368 (updateCounters): make the while loop a for loop
6369 (cutSelection): temp var for ownerParagraphs().end()
6370 (updateInset): make the do {} while() a regular for loop
6371 (getCursorX): use temp vars
6372 (setCurrentFont): use temp vars
6373 (getColumnNearX): use temp vars
6375 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6377 * text.C (transformChar): use temp var for getChar
6378 (computeBidiTables): use temp var for row->par()
6379 (fill): move temp vars for row->par() and pit->layout() earlier in
6381 (labelFill): use temp var for row->par()
6382 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6383 asc and desc, realize that pit never changes and that firstpit is
6384 just a duplicate and not needed. Exchange rit->par() with pit in a
6386 (breakAgain): use a temp var for boost::next(rit)
6387 (breakAgainOneRow): ditto
6388 (breakParagraph): use a temp var for rows().begin()
6389 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6390 (cursorRightOneWord): use temp var for cursor.par() and
6391 cursor.pos(), remove usage of tmpcursor.
6392 (cursorLeftOneWord): use temp var for cursor.par() and
6393 cursor.pos() only set cur at end of function.
6395 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6397 * text.C, text2.C: exchange all usage of Paragraph::next with
6398 boost::next(ParagraphList::iterator)
6400 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6402 * text2.C (cursorTop): simplify implementation
6403 (cursorBottom): ditto
6404 (setParagraph): use ParagraphList::iterator
6405 (setCurrentFont): adjust
6406 (getColumnNearX): adjust
6407 (cursorRight): adjust
6408 (cursorLeft): remove usage of Paragraph::previous
6409 (cursorUpParagraph): ditto
6410 (deleteEmptyParagraphMechanism): slight cleanup
6412 * text.C (isBoundary): take a Paragraph const & instead of a
6414 (addressBreakPoint): ditto
6415 (leftMargin): remove usage of Paragraph::previous.
6416 (setHeightOfRow): ditto
6417 (cursorLeftOneWord): ditto
6418 (selectNextWordToSpellcheck): ditto
6421 (breakParagraph): remove one usage of Paragraph::next
6422 (redoParagraph): ditto
6423 (acceptChange): ditto
6424 (insertChar): adjust
6425 (rowBreakPoint): adjust
6427 * bufferview_funcs.C (toggleAndShow): adjust
6429 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6431 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6432 methods to access it.
6434 * text.C: Added updateRowPositions to compute all row positions.
6435 Make top_y and getRowNearY() to use the cached y position
6437 2003-04-11 John Levon <levon@movementarian.org>
6439 * text.C (rowBreakPoint): reintroduce the labelEnd
6440 checks, code copied from the row fill stuff. Deep voodoo.
6442 * text.C (fill): add a comment and debugging for the
6445 2003-04-11 John Levon <levon@movementarian.org>
6447 * text.C: make sure fullrow insets get wrapped to the next line,
6448 even when they're in a manual label
6450 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6452 * text2.C (insertParagraph): make it take ParagraphList::iterator
6454 (setLayout): make it return ParagraphList::iterator
6455 (redoParagraphs): ditto
6457 (checkParagraph): ditto
6459 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6461 * text2.C: adjust several funcs.
6462 (realizeFont): take a ParagraphList::iterator as arg.
6463 (getLayoutFont): ditto
6464 (getLabelFont): ditto
6465 (setCharFont): ditto
6467 * text.C: adjust several funcs.
6469 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6471 * text.C (selectNextWordToSpellcheck): don't accidentally
6474 2003-04-10 John Levon <levon@movementarian.org>
6476 * ToolbarBackend.C (getIcon): special handling for
6479 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6481 * text2.C (cursorRight): a getChar assert fixed
6483 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6485 * text2.C (getFont): change to take a ParagraphList::iterator
6486 instead of Paragraph*
6487 Adjust several functions.
6489 * text.C (transformChar): change to take a ParagraphList::iterator
6490 instead of Paragraph*
6491 (singleWidth): ditto
6492 Adjust several functions.
6494 * rowpainter.C: adjust several functions
6495 * rowpainter.h:store a ParagraphList::iterator and not a
6499 2003-04-09 John Levon <levon@movementarian.org>
6504 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6505 and the "help" bits as well
6507 2003-04-09 John Levon <levon@movementarian.org>
6510 * ToolbarBackend.C: allow multiple toolbars
6512 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6514 * undo_funcs.C (setCursorParUndo): adjust
6516 * text_funcs.C (transposeChars): adjust
6518 * text3.C (gotoNextInset): adjust
6521 * text2.C (setLayout): adjust
6522 (changeDepth): adjust
6524 (redoParagraphs): adjust
6525 (selectionAsString): adjust
6526 (setParagraph): adjust
6527 (insertInset): adjust
6528 (cutSelection): adjust
6529 (copySelection): adjust
6530 (pasteSelection): adjust
6531 (insertStringAsLines): adjust
6532 (updateInset): adjust
6533 (setCursor): change to take a ParagraphList::iterator parameter
6534 (setCursorIntern): change to take a ParagraphList::iterator parameter
6535 (setCurrentFont): adjust
6536 (cursorLeft): adjust
6537 (cursorRight): adjust
6538 (deleteEmptyParagraphMechanism): adjust
6540 * text.C (breakParagraph): adjust
6541 (insertChar): adjust
6542 (acceptChange): adjust
6543 (rejectChange): adjust
6544 (selectNextWordToSpellcheck): adjust
6545 (changeCase): adjust
6549 * lyxfind.C (SearchForward): adjust
6550 (SearchBackward): adjust
6551 (nextChange): adjust
6553 * lyxcursor.C (par): adjust
6555 * lyxcursor.h: store a ParagraphList::iterator instead of a
6558 * lyx_cb.C (getPossibleLabel): adjust
6560 * bufferview_funcs.C (toggleAndShow): adjust
6562 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6565 * BufferView.C (removeAutoInsets): adjust
6566 (lockedInsetStoreUndo): adjust
6568 2003-04-09 John Levon <levon@movementarian.org>
6570 * ToolbarBackend.C: try icon without argument
6571 if with argument fails
6573 2003-04-08 John Levon <levon@movementarian.org>
6576 * ToolbarBackend.C: add getIcon(), handle tooltip,
6577 and change from "Icon" to "Item".
6579 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6581 * BufferView.C (lockInset): another bad getchar crunched
6583 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6585 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6588 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6590 * lyxfind.C (searchForward, searchBackwards): bug 782
6592 2003-04-07 John Levon <levon@movementarian.org>
6594 * paragraph.C: remove dead comment
6596 * text.C: remove troublesome depth-fiddling code
6597 in leftMargin() and rightMargin() (bug 1017)
6599 * text.C: fix breaking of rows in nested lists
6602 * text2.C (updateCounters): fix up depth values
6605 2003-04-07 John Levon <levon@movementarian.org>
6607 * BufferView_pimpl.C: clear message when doc finishes resizing,
6608 and after a mouse event
6610 * lyxfunc.C: clear message after exiting inset
6612 2003-04-07 John Levon <levon@movementarian.org>
6614 * bufferview_funcs.C: show math status not outside
6615 status in the statusbar
6617 2003-04-07 John Levon <levon@movementarian.org>
6619 * lyxfunc.C: note status changed after a depth change
6621 2003-04-04 Angus Leeming <leeming@lyx.org>
6623 * LaTeX.h: move AuxInfo operator==, != out of line.
6624 Remove LaTeX virtual destructor; nothing derives from it.
6625 Move operator()() out of public area and rename it startscript().
6626 Change protected for private.
6628 2003-04-04 Angus Leeming <leeming@lyx.org>
6631 * text2.C: remove unneeded #includes.
6633 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6635 * text2.C (dEPM): fix the heigth of the next row
6637 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6639 * text.C: squashed an invalid getChar requester + some ws changes
6641 2003-04-03 John Levon <levon@movementarian.org>
6643 * bufferview_funcs.h:
6644 * bufferview_funcs.C:
6647 * text2.C: make getStatus work for the env depth lfuns
6649 2003-04-03 John Levon <levon@movementarian.org>
6651 * bufferview_funcs.h:
6652 * bufferview_funcs.C:
6655 * text2.C: parlistize decDepth(), by merging it with incDepth()
6657 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6659 * lyxrow.h: store a ParagraphList::iterator instead of a
6660 Paragraph* and adjust other class functions to suit.
6662 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6665 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6667 * text2.C (setCursor): do not anchor to cursor row for the time being
6669 2003-04-02 John Levon <levon@movementarian.org>
6676 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6678 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6680 * paragraph.h: make ParagraphList and ParagraphList::iterator
6681 friends of Paragraph.
6683 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6685 * ParagraphList.C: Use the private next_ and previous_ from
6688 2003-04-01 John Levon <levon@movementarian.org>
6692 * Makefile.am: rename, remove defaults gunk
6695 * MenuBackend.C: remove defaults gunk
6698 * Languages.C: remove defaults gunk
6701 * lyx_main.C: error out if files couldn't be found.
6703 2003-04-02 John Levon <levon@movementarian.org>
6705 * text2.C: make incDepth() use parlist
6707 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6709 * undo_funcs.C (firstUndoParagraph): adjust
6711 * text3.C (gotoInset): adjust
6712 (dispatch): adjust, and rewrite loop.
6714 * text2.C (init): adjust, and rewrite loop.
6715 (redoParagraphs): adjust
6716 (updateInset): adjust, and rewrite loop.
6717 (deleteEmptyParagraphMechanism): adjust
6719 * tabular.C (LyXTabular): adjust
6720 (SetMultiColumn): adjust
6723 * lyxtext.[Ch] (ownerParagraph): delete function
6724 (ownerParagraphs): new function returns a ParagraphList.
6726 * BufferView.C (removeAutoInsets): adjust
6727 (insertErrors): adjust
6728 (setCursorFromRow): adjust
6730 2003-04-01 Angus Leeming <leeming@lyx.org>
6732 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6735 2003-04-02 John Levon <levon@movementarian.org>
6741 * text_funcs.C: make transposeChars a free function
6743 * lyxrow_funcs.C: remove wrong comment
6745 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6748 * rowpainter.C: adjust
6753 * lyxrow_funcs. [Ch]: new files
6755 * lyxrow.[Ch]: remove next and previous pointers
6756 (next,previous): remove accessor functions
6757 (isParEnd): move to lyxrow_funcs
6758 (lastPos): move to lyxrow_funcs
6759 (nextRowIsAllInset): move to lyxrow_funcs
6760 (lastPrintablePos): move to lyxrow_funcs
6761 (numberOfSeparators): move to lyxrow_funcs
6762 (numberOfHfills): move to lyxrow_funcs
6763 (numberOfLabelHfills): move to lyxrow_funcs
6764 (hfillExpansion): move to lyxrow_funcs
6768 * bufferview_funcs.C (toggleAndShow): adjust
6770 * RowList.h: Remove class RowList from file leave just a
6773 * RowList.C: delete file
6775 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6778 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6780 * text3.C (cursorPrevious): adjust
6781 (cursorNext): adjust
6784 * text2.C (redoHeightOfParagraph): adjust
6785 (redoDrawingOfParagraph): adjust
6788 * text.C (breakParagraph): adjust
6789 (insertChar): adjust
6792 * rowpainter.C (RowPainter): adjust
6793 (leftMargin): simplify and adjust
6794 (most rowpainter functions): adjust.
6796 * rowpainter.h: store the row as RowList::iterator not as Row*
6798 * lyxcursor.C (row): taka RowList::iterator as arg
6801 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6804 2003-04-01 Angus Leeming <leeming@lyx.org>
6806 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6807 stuff like bool Bool.
6809 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6811 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6814 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6816 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6819 * lyxtext.h (rows): drop one version and leve a const variant that
6820 returns a RowList::iterator.
6822 2003-03-31 Angus Leeming <leeming@lyx.org>
6824 * text.C (fill): ensure that the signature is the same as that in the
6827 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6829 * text2.C (redoParagraphs): adjust
6830 (updateCounters): adjust
6831 (checkParagraph): adjust
6832 (getColumnNearX): adjust and reformat a bit.
6834 * text.C (top_y): adjust
6836 (leftMargin): adjust
6837 (prepareToPrint): adjust
6839 (getRowNearY): adjust
6841 * lyxtext.h: make rowlist_ mutable.
6843 * RowList.h: add const_iterator
6844 * RowList.C: adjust for RowList::const_iterator.
6846 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6849 2003-03-31 John Levon <levon@movementarian.org>
6852 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6854 * lyx_main.C: set default fonts from using lyx_gui funcs
6856 * exporter.C: pdf_mode moved from lyxrc
6859 * lyxfunc.C: changes from above
6861 2003-03-31 John Levon <levon@movementarian.org>
6863 * lyx_main.C: fix to the last fix
6865 2003-03-31 John Levon <levon@movementarian.org>
6867 * bufferlist.C: "Load original" -> "Load Original"
6873 * format.C: more Alert cleanups
6875 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6877 * text2.C (removeParagraph): make it take a RowList::iterator as
6879 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6880 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6882 * text.C (anchor_row): make it take a RowList::iterator as arg,
6884 (computeBidiTables): make it take a const reference to Row instead
6885 of Row pointer, adjust.
6886 (leftMargin): make it take a RowList::iterator as arg, adjust.
6887 (rowBreakPoint): adjust
6888 (breakAgainOneRow): make it take a RowList::iterator as arg,
6890 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6892 * bufferview_funcs.C (toggleAndShow): adjust
6894 2003-03-30 John Levon <levon@movementarian.org>
6898 * boost-inst.C: moved to support
6900 * several files: changes as a result
6902 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6904 * text2.C (LyXText): adjust.
6906 (removeRow): make it take a RowList::iterator as arg, adjust.
6907 (fullRebreak): adjust
6908 (deleteEmptyParagraphMechanism): adjust
6909 (clearPaint): adjust
6912 * text.C (top_y): adjust
6913 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6914 (breakAgain): make it take a RowList::iterator as arg, adjust.
6915 (breakParagraph): adjust
6916 (insertChar): adjust
6919 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6920 need_break_row, and refresh_row.
6922 * text3.C (dispatch): adjust
6924 * text2.C (checkParagraph): adjust
6926 (setCursorFromCoordinates): adjust
6928 * text.C (top_y): adjust
6930 (getRow): make it return a RowList::iterator, adjust
6931 (getRowNearY): make it return a RowList::iterator, adjust
6933 * text2.C (init): adjust
6934 (insertRow): remove function
6935 (insertParagraph): adjust
6936 (redoParagraphs): adjust
6937 (fullRebreak): adjust
6938 (updateCounters): adjust
6940 * text.C (top_y): rewrite to use RowList iterators.
6942 (setHeightOfRow): rewrite to sue RowList iterators.
6943 (appendParagraph): adjust
6944 (breakAgain): adjust
6945 (breakAgainOneRow): adjust
6946 (breakParagraph): adjust
6948 (getRowNearY): adjust, and remove commented code.
6950 * lyxtext.h (firstRow): delete function
6951 (lastRow): delete function
6952 (rows): new function (const and non-const versions.)
6953 (insertRow): delete function
6955 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6957 2003-03-29 John Levon <levon@movementarian.org>
6959 * BufferView_pimpl.C: always update scrollbar top
6960 because pasting text when we're anchored could mean we
6961 miss an update altogether
6963 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6965 * text2.C (init): use rowlist_.end() and not 0.
6966 (insertRow): change to take a RowList::iterator as arg, adjust
6968 (insertParagraph): change to take a RowList::iterator as arg,
6970 (redoParagraphs): remove some debug msgs.
6972 * text.C (appendParagraph): change to take a RowList::iterator
6973 arg, adjust for this.
6974 (breakAgain): add an assert
6975 (breakAgainOneRow): ditto
6977 2003-03-29 John Levon <levon@movementarian.org>
6979 * text2.C: do not clear selection after inc/decDepth
6982 2003-03-29 John Levon <levon@movementarian.org>
6985 * buffer.C: fix broken strerrors according to Lars
6987 2003-03-29 John Levon <levon@movementarian.org>
6989 * converters.C: more Alert cleanups
6991 2003-03-29 John Levon <levon@movementarian.org>
6993 * bufferview_funcs.C: remove pointless Alert
6995 * buffer.C: fix confusing error message when
6996 a template is chmoded 000
6998 2003-03-29 John Levon <levon@movementarian.org>
7002 * BufferView_pimpl.C: Alert fixes
7006 * tabular-old.C: remove unused table compat reading
7008 2003-03-29 John Levon <levon@movementarian.org>
7013 * lyx_cb.C: more Alert cleanups
7015 * lyxfunc.C: don't allow chktex if not latex document
7017 2003-03-29 John Levon <levon@movementarian.org>
7021 * buffer.C: warnings pushed down from support/,
7024 2003-03-29 John Levon <levon@movementarian.org>
7026 * lyxfunc.C: safety check for C-r (revert)
7028 2003-03-29 John Levon <levon@movementarian.org>
7031 * bufferlist.C: several UI fixes using Alert::prompt.
7032 Fix the pointless looping quit code. Fix stupid revert
7037 * lyx_cb.C: use Alert::prompt
7039 * lyx_main.C: remove a silly question
7041 * lyxfunc.C: remove a couple of silly questions,
7044 2003-03-28 John Levon <levon@movementarian.org>
7046 * text2.C: fix bug 974 (End on empty par)
7048 2003-03-28 John Levon <levon@movementarian.org>
7050 * BufferView_pimpl.C:
7052 * lfuns.h: remove do-nothing math greek lfuns
7054 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7056 * lyxgluelength.h (isValidGlueLength): add default arg on
7057 parameter 2. Remove default arg from friend in class.
7059 * lyxlength.h (isValidLength): add default arg on parameter 2.
7060 Remove default arg from friend in class.
7062 * text2.C (LyXText): adjust, initialize refresh_row.
7066 (insertParagraph): adjst
7067 (redoParagraphs): adjust
7068 (fullRebreak): adjust
7069 (updateCounters): adjust
7070 (deleteEmptyParagraphMechanism): first attempt at fixing a
7073 * text.C (top_y): adjust
7074 (setHeightOfRow): adjust
7076 (getRowNearY): adjust
7078 * lyxtext.h: include RowList.h
7079 (~LyXText): not needed anymore, deleted.
7080 (firstRow): modify for RowList
7081 (lastRow): new function
7082 Delete firstrow and lastrow class variables, add a Rowlist
7083 rowlist_ class variable.
7085 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7088 * RowList.C (insert): fix case where it == begin().
7090 2003-03-26 Angus Leeming <leeming@lyx.org>
7092 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7093 the thesaurus dialog.
7095 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7097 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7099 * RowList.[Ch]: new files
7101 * ParagraphList.C (erase): handle the case where it == begin
7104 2003-03-25 John Levon <levon@movementarian.org>
7108 * aspell.C: add new aspell support
7111 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7114 2003-03-25 Angus Leeming <leeming@lyx.org>
7117 * LyXAction.C (init): new LFUN_INSET_INSERT.
7119 * BufferView_pimpl.C (dispatch): split out part of the
7120 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7122 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7125 2003-03-25 Angus Leeming <leeming@lyx.org>
7127 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7129 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7132 * text3.C: remove useless row->height(0)
7134 2003-03-25 John Levon <levon@movementarian.org>
7138 * text3.C: rename the refreshing stuff to better names
7140 2003-03-24 John Levon <levon@movementarian.org>
7142 * BufferView_pimpl.h:
7143 * BufferView_pimpl.C: update layout choice on a mouse
7146 2003-03-23 John Levon <levon@movementarian.org>
7148 * Makefile.am: fix commandtags.h reference
7150 2003-03-22 John Levon <levon@movementarian.org>
7152 * BufferView_pimpl.C:
7157 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7159 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7162 * text.C: take the rtl methods out of line
7164 2003-03-21 André Pönitz <poenitz@gmx.net>
7166 * metricsinfo.[Ch]: new files containing structures to be passed around
7167 during the two-phase-drawing...
7169 2003-03-21 André Pönitz <poenitz@gmx.net>
7171 * lyxtextclass.C: read 'environment' tag.
7173 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7175 * text2.C (removeRow): fix bug 964
7177 2003-03-20 John Levon <levon@movementarian.org>
7181 * text2.C: paint cleanups. Inset::update() dropped font
7184 2003-03-19 John Levon <levon@movementarian.org>
7186 * lyxfunc.C: only fitcursor/markDirty if available()
7188 2003-03-19 John Levon <levon@movementarian.org>
7190 * commandtags.h: rename to ...
7192 * lfuns.h: ... this, and renumber / cleanup
7194 2003-03-19 John Levon <levon@movementarian.org>
7196 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7197 fit the cursor after an lfun
7201 * BufferView_pimpl.h:
7202 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7204 * LyXAction.C: layout-character should have ReadOnly
7206 * ParagraphParameters.C:
7208 * bufferview_funcs.C:
7215 * undo_funcs.C: changes from above
7217 2003-03-18 John Levon <levon@movementarian.org>
7219 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7220 remove it from update()
7222 * lyxfunc.C: update layout choice after an lfun
7224 * text3.C: remove extra updateLayoutChoice()s
7226 2003-03-18 John Levon <levon@movementarian.org>
7228 * text.C: top_y change means full repaint, fix
7229 a drawing bug with cursor movement
7231 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7235 * text2.C: anchor row on setCursor
7237 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7239 * lyxtext.h: remove almost all mutable keywords
7242 * text3.C: remove const keywords accordingly
7244 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7246 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7248 (TeXEnvironment): ditto
7251 2003-03-17 John Levon <levon@movementarian.org>
7253 * text.C (rowBreakPoint): remove attempt to fix displayed
7254 math insets inside a manual label
7256 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7258 * lyxtext.h: remove BufferView* as first arg from almost all class
7260 * other files: adjust.
7262 2003-03-17 John Levon <levon@movementarian.org>
7266 * text2.C: more paint cleanups
7268 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7271 * rowpainter.C: remove "smart" background painting code
7273 2003-03-16 John Levon <levon@movementarian.org>
7278 * text3.C: add helper functions for setting refresh_row/y
7280 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7282 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7283 newline inset which *can* get inserted in the pass_thru layouts.
7284 This is primarily for literate documents.
7286 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7288 * buffer.C: increment LYX_FORMAT to 223
7290 2003-03-14 André Pönitz <poenitz@gmx.net>
7292 * textclass.h: prepare for environment handling, ws changes
7293 * lyxlayout.C: read latexheader and latexfooter tags
7295 2003-03-14 John Levon <levon@movementarian.org>
7297 * text2.C: rewrite ::status() a bit
7299 2003-03-13 John Levon <levon@movementarian.org>
7301 * lyxtext.h: add some docs
7303 2003-03-13 John Levon <levon@movementarian.org>
7308 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7310 2003-03-13 John Levon <levon@movementarian.org>
7312 * text3.C: fix appendix redrawing
7314 2003-03-13 John Levon <levon@movementarian.org>
7316 * text.C (setHeightOfRow):
7318 * rowpainter.C: make appendix mark have the text
7319 "Appendix" so the user knows what it is
7322 * LColor.C: s/appendixline/appendix/ from above
7324 2003-03-13 John Levon <levon@movementarian.org>
7326 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7328 * text.C: fix a getChar(pos) bug properly
7330 2003-03-13 Angus Leeming <leeming@lyx.org>
7333 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7334 Probably only temporary. Let's see how things pan out.
7336 * BufferView.C (unlockInset):
7337 * BufferView_pimpl.C (fitCursor):
7338 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7340 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7341 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7343 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7344 new functions that convert ParagraphParameters to and from a string.
7346 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7347 BufferView::Pimpl's dispatch.
7348 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7350 2003-03-13 André Pönitz <poenitz@gmx.net>
7354 * factory.C: make it aware of InsetEnv
7356 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7358 * text2.C (setCursor): never ask for one past last
7359 (setCursor): add some debugging messages.
7361 * text.C (singleWidth): never ask for one past last
7362 (singleWidth): ditto
7364 (rightMargin): ditto
7365 (rowBreakPoint): ditto
7366 (setHeightOfRow): ditto
7367 (prepareToPrint): ditto
7369 * rowpainter.C (paintBackground): never ask for one past last
7370 (paintText): never ask for one past last
7372 * paragraph_pimpl.C (getChar): make the assert stricter, never
7373 allow the one past last pos to be taken
7375 * paragraph.C (getChar): ws changes only
7377 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7378 (numberOfSeparators): ditto
7379 (numberOfHfills): ditto
7381 2003-03-12 John Levon <levon@movementarian.org>
7387 * paragraph_funcs.C: fix per-buffer authorlists
7389 2003-03-12 John Levon <levon@movementarian.org>
7391 * text.C: fix newline in right address
7393 2003-03-12 Angus Leeming <leeming@lyx.org>
7395 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7396 duplicate those in LyXFunc::dispatch.
7400 * ToolbarDefaults.C:
7401 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7402 Add LFUN_FONTFREE_UPDATE.
7404 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7405 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7407 * bufferview_func.[Ch]: several new functions to facilliate
7408 transfer of data to and from the character dialog.
7410 2003-03-12 John Levon <levon@movementarian.org>
7415 * paragraph_funcs.C:
7416 * paragraph_pimpl.C:
7420 * text3.C: remove META_NEWLINE in favour of an inset
7423 * rowpainter.C: remove paintNewline (done by inset)
7425 2003-03-12 John Levon <levon@movementarian.org>
7427 * paragraph_pimpl.C: complain about bad getChar()s
7428 for a while at least
7430 2003-03-12 John Levon <levon@movementarian.org>
7433 * buffer.C: move paragraph read into a separate function,
7434 a little renaming to reflect that.
7437 * bufferparams.C: remove the author_ids map, not necessary now
7440 * factory.C: moved Buffer::readInset to here
7442 * paragraph_funcs.h:
7443 * paragraph_funcs.C: readParagraph free function moved from
7446 * tabular.C: name change
7448 2003-03-12 John Levon <levon@movementarian.org>
7451 * ParagraphParameters.C: move par params input to
7454 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7455 behave like a normal read from the stream wrt reading
7456 a line vs. a \\token
7458 2003-03-12 John Levon <levon@movementarian.org>
7461 * ParagraphParameters.h:
7462 * ParagraphParameters.C: move output code to a
7465 2003-03-12 John Levon <levon@movementarian.org>
7467 * BufferView.C (insertLyXFile):
7470 * tabular.C: use a parlist iterator for creating the
7473 2003-03-12 John Levon <levon@movementarian.org>
7475 * buffer.C: make current_change static local not
7478 2003-03-12 John Levon <levon@movementarian.org>
7480 * buffer.C: fix insertStringAsLines for change tracking
7482 2003-03-12 John Levon <levon@movementarian.org>
7489 * bufferparams.C: move author list into params. Rename some
7490 functions. Move the header reading into a separate token
7491 loop. Move the header token reading into BufferParams.
7493 2003-03-12 John Levon <levon@movementarian.org>
7495 * changes.C: put debug inside lyxerr.debugging() checks
7497 2003-03-11 André Pönitz <poenitz@gmx.net>
7499 * factory.C: make it aware of InsetHFill
7501 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7503 * buffer.C (latexParagraphs): move function from here...
7504 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7507 2003-03-10 Angus Leeming <leeming@lyx.org>
7509 * LyXAction.C (init): fix bug in poplating array with multiple entries
7510 with the same LFUN (spotted by JMarc).
7512 2003-03-10 John Levon <levon@movementarian.org>
7515 * text2.C: move getColumnNearX() near its
7518 2003-03-10 John Levon <levon@movementarian.org>
7520 * text.C: fix break before a minipage
7522 2003-03-10 John Levon <levon@movementarian.org>
7524 * text.C: fix the last commit
7526 2003-03-09 John Levon <levon@movementarian.org>
7530 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7531 bug 365 (don't break before insets unless needed). Don't
7532 return a value > last under any circumstances.
7534 2003-03-09 Angus Leeming <leeming@lyx.org>
7536 * BufferView_pimpl.C (trackChanges, dispatch): call
7537 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7539 2003-03-09 Angus Leeming <leeming@lyx.org>
7541 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7542 than Dialogs::showAboutlyx().
7544 2003-03-09 Angus Leeming <leeming@lyx.org>
7546 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7547 than Dialogs::showTabularCreate().
7549 2003-03-09 John Levon <levon@movementarian.org>
7553 * text2.C: 3rd arg to nextBreakPoint was always the same.
7556 2003-03-08 John Levon <levon@movementarian.org>
7563 * text2.C: Remove the "main" bit from the "main body"
7566 2003-03-08 John Levon <levon@movementarian.org>
7568 * text.C (leftMargin): The left margin of an empty
7569 manual label paragraph should not include the label width
7572 * text.C (prepareToPrint): don't attempt to measure hfills
7573 for empty manual label paragraphs - the answer should be 0
7575 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7577 * CutAndPaste.C: remove commented code and reindent.
7579 2003-03-08 John Levon <levon@movementarian.org>
7582 * lyxfunc.C: move reloadBuffer()
7585 * BufferView.C: to here
7587 * lyxvc.C: add comment
7590 * vc-backend.C: call bv->reload() to avoid
7591 getStatus() check on MENURELOAD
7593 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7595 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7596 to an old format .dep file.
7598 2003-03-07 Angus Leeming <leeming@lyx.org>
7600 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7601 when the LFUN_MOUSE_RELEASE should have been handled by
7602 inset->localDispatch.
7604 2003-03-07 Angus Leeming <leeming@lyx.org>
7606 * BufferView_pimpl.C (dispatch):
7607 * LyXAction.C (init):
7608 * ToolbarDefaults.C (init):
7610 * lyxfunc.C (getStatus):
7611 remove LFUN_INSET_GRAPHICS.
7613 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7615 2003-03-07 Angus Leeming <leeming@lyx.org>
7618 * LyXAction.C (init):
7619 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7621 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7624 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7626 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7627 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7629 2003-03-07 Angus Leeming <leeming@lyx.org>
7631 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7634 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7636 * ParagraphList.C (front): new function
7639 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7641 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7642 and top_row_offset_. removed var first_y.
7644 * text2.C (LyXText, removeRow):
7646 * BufferView_pimpl.C:
7647 use these methods instead of using first_y
7649 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7651 * text2.C (pasteSelection): adjust for checkPastePossible
7653 * CutAndPaste.C: remove Paragraph * buf and replace with
7654 ParagraphList paragraphs.
7655 (DeleteBuffer): delete
7656 (cutSelection): change the tc type to textclass_type
7657 (copySelection): change the tc type to textclass_type
7658 (copySelection): adjust for ParagraphList
7659 (pasteSelection): change the tc type to textclass_type
7660 (pasteSelection): adjust for Paragraphlist
7661 (nrOfParagraphs): simplify for ParagraphList
7662 (checkPastePossible): simplify for ParagraphList
7663 (checkPastePossible): remove unused arg
7665 * ParagraphList.C (insert): handle the case where there are no
7668 * CutAndPaste.h: make CutAndPaste a namespace.
7670 * text3.C (dispatch): adjust
7672 * text.C (breakParagraph): add a ParagraphList as arg
7674 * paragraph_funcs.C (breakParagraph): change to take a
7675 BufferParams and a ParagraphList as args.
7676 (breakParagraphConservative): ditto
7677 (mergeParagraph): ditto
7678 (TeXDeeper): add a ParagraphList arg
7679 (TeXEnvironment): ditto
7682 * buffer.C (readLyXformat2): adjust
7683 (insertStringAsLines): adjust
7684 (latexParagraphs): adjust
7686 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7687 (cutSelection): adjust
7688 (pasteSelection): adjust
7690 * BufferView_pimpl.C (insertInset): adjust
7692 2003-03-05 Angus Leeming <leeming@lyx.org>
7695 * LyXAction.C (init):
7696 * BufferView_pimpl.C (dispatch):
7697 * lyxfunc.C (getStatus):
7698 remove LFUN_CHILD_INSERT.
7700 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7702 2003-03-05 Angus Leeming <leeming@lyx.org>
7705 * LyXAction.C (init):
7706 * src/factory.C (createInset):
7707 * lyxfunc.C (getStatus):
7708 * text3.C (dispatch):
7709 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7711 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7713 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7715 * ParagraphList.C (insert): handle insert right before end()
7716 (erase): fix cases where it can be first or last paragraph.
7718 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7720 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7721 Paragraph::next and Paragraph::previous
7724 * text.C (breakParagraph): adjust
7726 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7727 BufferParams& as arg.
7728 (breakParagraph): use ParagraphList::insert
7729 (breakParagraphConservative): take a Buffer* instead of a
7730 BufferParams& as arg.
7731 (breakParagraphConservative): use ParagraphList::insert.
7733 * buffer.C (insertStringAsLines): un-const it
7734 (insertStringAsLines): adjust
7736 * ParagraphList.C (insert): new function
7738 * CutAndPaste.C (pasteSelection): adjust
7740 * text.C (backspace): adjust
7742 * tabular.C (SetMultiColumn): adjust
7744 * CutAndPaste.C (cutSelection): adjust
7745 (pasteSelection): adjust
7747 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7748 Buffer const * as arg
7750 * ParagraphList.C (erase): new function
7751 * paragraph_funcs.C (mergeParagraph): use it
7752 (mergeParagraph): make it take a Buffer* instead of a
7753 BufferParams* as arg
7755 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7757 (breakParagraphConservative): ditto
7759 * paragraph.h: remove the breakParagraph friend
7761 * paragraph.C (eraseIntern): new function
7762 (setChange): new function
7764 * paragraph_funcs.C (mergeParagraph): make it take a
7765 ParagraphList::iterator instead of a Paragraph *, adjust
7768 * paragraph.h: move an #endif so that the change tracking stuff
7769 also works in the NO_NEXT case.
7771 2003-03-04 Angus Leeming <leeming@lyx.org>
7774 * LyXAction.C: new LFUN_INSET_MODIFY.
7776 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7777 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7779 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7781 * several files: ws changes only
7783 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7784 (TeXEnvironment): ditto
7787 * buffer.C (makeLaTeXFile): adjust
7788 (latexParagraphs): make it take ParagraphList::iterator as args
7790 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7792 * buffer.C (latexParagraphs): adjust
7794 * paragraph.C (TeXOnePar): move function...
7795 (optArgInset): move function...
7796 (TeXEnvironment): move function...
7797 * paragraph_pimpl.C (TeXDeeper): move function...
7798 * paragraph_funcs.C: ...here
7800 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7802 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7804 * buffer.C (readInset): remove compability code for old Figure and
7807 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7809 * buffer.C: ws changes
7812 * BufferView_pimpl.C: ditto
7815 * bufferlist.h: ditto
7819 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7821 * converter.[Ch]: split into itself +
7824 * Makefile.am: += graph.[Ch] + format.[Ch]
7831 * lyxrc.C: added #include "format.h"
7833 2003-02-27 Angus Leeming <leeming@lyx.org>
7835 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7838 * factory.C (createInset): add "label" to the factory.
7840 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7841 string and do no more.
7843 2003-02-27 Angus Leeming <leeming@lyx.org>
7846 * LyXAction.C (init):
7847 * factory.C (createInset):
7848 * BufferView_pimpl.C (dispatch):
7849 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7851 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7853 * lyxfunc.C (dispatch):
7854 * text3.C (dispatch): pass name to params2string.
7856 2003-02-26 Angus Leeming <leeming@lyx.org>
7858 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7860 Rearrange the ~includes. Strip out the unnecessary ones.
7862 * factory.C (createInset): reformat.
7863 create new insets for the various LFUN_XYZ_APPLY lfuns.
7865 2003-02-26 John Levon <levon@movementarian.org>
7868 * lyxrow.C: add isParStart,isParEnd helpers
7870 * paragraph.h: make isInserted/DeletedText take refs
7872 * paragraph_funcs.h:
7873 * paragraph_funcs.C: remove #if 0'd code
7878 * text.C: use lyxrow helpers above.
7879 Move draw and paint routines to RowPainter.
7880 Make several methods use refs not pointers.
7881 Make backgroundColor() const.
7882 Add markChangeInDraw(), isInInset().
7883 Merge changeRegionCase into changeCase.
7884 Make workWidth() shouldn't-happen code into an Assert.
7887 * rowpainter.C: new class for painting a row.
7890 * vspace.C: make inPixels take a ref
7892 2003-02-26 Angus Leeming <leeming@lyx.org>
7894 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7897 2003-02-25 John Levon <levon@movementarian.org>
7899 * ispell.C: give the forked command a more accurate name
7901 2003-02-22 John Levon <levon@movementarian.org>
7904 * toc.C: make TocItem store an id not a Paragraph *
7907 2003-02-21 Angus Leeming <leeming@lyx.org>
7909 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7910 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7911 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7912 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7913 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7914 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7916 * BufferView_pimpl.C (dispatch):
7917 * LyXAction.C (init):
7918 * factory.C (createInset):
7919 * lyxfunc.C (getStatus, dispatch):
7920 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7922 2003-02-21 Angus Leeming <leeming@lyx.org>
7924 * BufferView_pimpl.C (MenuInsertLyXFile):
7925 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7926 * lyxfunc.C (menuNew, open, doImport):
7927 no longer pass a LyXView & to fileDlg.
7929 2003-02-21 Angus Leeming <leeming@lyx.org>
7931 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7932 * LyXAction.C: change, BIBKEY to BIBITEM.
7933 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7934 Change InsetBibKey to InsetBibitem.
7935 Change BIBKEY_CODE to BIBITEM_CODE.
7936 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7937 * factory.C: replace insetbib.h with insetbibitem.h.
7938 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7939 * paragraph.C: replace insetbib.h with insetbibitem.h.
7940 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7941 Change bibkey() to bibitem().
7942 * text.C: remove insetbib.h.
7943 * text2.C: replace insetbib.h with insetbibitem.h.
7944 change bibkey() to bibitem().
7945 * text3.C: remove insetbib.h.
7946 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7948 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7950 * lyxrc.C (output): enclose user email in quotes (in case there are
7953 2003-02-18 John Levon <levon@movementarian.org>
7955 * buffer.h: add std::
7957 2003-02-17 John Levon <levon@movementarian.org>
7963 * pspell.C: reworking. Especially in ispell, a large
7964 number of clean ups and bug fixes.
7966 * lyxfunc.C: fix revert to behave sensibly
7968 2003-02-17 André Pönitz <poenitz@gmx.net>
7971 * commandtags.h: new LFUN_INSERT_BIBKEY
7981 * paragraph_func.C: remove special bibkey handling
7983 2003-02-17 John Levon <levon@movementarian.org>
7985 * text.C (Delete): fix case where delete at the end of
7986 the very first paragraph would not merge the pars
7988 2003-02-17 John Levon <levon@movementarian.org>
7990 * lyxrow.C: fix lastPrintablePos()
7992 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7994 * bufferparams.C (writeLaTeX): add a std:here
7996 * buffer.C: and remove a using directive there
7998 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8000 * buffer.C (makeLaTeXFile): move the code that generates the
8003 * bufferparams.C (writeLaTeX): ... in this new method
8005 * LaTeXFeatures.C (getEncodingSet): make const
8006 (getLanguages): make const
8008 * MenuBackend.C (binding): returns the binding associated to this
8010 (add): sets the status of each item by calling getStatus. Adds
8012 (read): add support for OptSubMenu
8013 (expand): remove extra separator at the end of expanded menu
8015 2003-02-15 John Levon <levon@movementarian.org>
8018 * BufferView_pimpl.C:
8020 * bufferlist.C: remove pointless BufferStorage bloat. Remove
8021 inset code that had no actual effect. Remove unneeded status
8024 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8026 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
8029 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8031 * text.C (drawLengthMarker): also draw an arrow marker for
8032 symbolic lengths (medskip...)
8034 2003-02-14 John Levon <levon@movementarian.org>
8037 * tabular.C: better method names
8039 2003-02-14 John Levon <levon@movementarian.org>
8041 * BufferView_pimpl.C:
8046 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8047 it's a more accurate name. Remove some pointless uses.
8049 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8051 * text2.C (LyXText): change order of initilizers to shut off
8054 2003-02-14 John Levon <levon@movementarian.org>
8056 * buffer.C: use ParIterator for getParFromID()
8060 * paragraph_pimpl.h:
8061 * paragraph_pimpl.C: remove unused getParFromID()
8063 2003-02-14 John Levon <levon@movementarian.org>
8065 * buffer.C: remove some very old #if 0'd parse code
8067 2003-02-13 John Levon <levon@movementarian.org>
8071 * text2.C: move hfillExpansion(), numberOfSeparators(),
8072 rowLast(), rowLastPrintable(), numberofHfills(),
8073 numberOfLabelHfills() ...
8076 * lyxrow.C: ... to member functions here.
8081 * text.C: remove LyXText::beginningOfMainBody(), and call
8082 p->beginningOfMainBody() directly. Move the check for
8083 LABEL_MANUAL into the latter.
8090 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8096 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8097 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8099 2003-02-13 John Levon <levon@movementarian.org>
8101 * CutAndPaste.C: remove debug
8103 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8105 * paragraph.C (asString): remove two unused variables
8107 * lyxtextclass.C (readTitleType):
8109 (LyXTextClass): handle new members titletype_ and titlename_
8111 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8113 2003-02-09 John Levon <levon@movementarian.org>
8116 * buffer.C: replace hand-coded list with a map for the dep clean
8118 2003-02-08 John Levon <levon@movementarian.org>
8120 * LaTeX.C: consolidate code into showRunMessage() helper
8122 2003-02-08 John Levon <levon@movementarian.org>
8127 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8128 and pass the size in explicitly
8130 * BufferView_pimpl.h:
8131 * BufferView_pimpl.C:
8133 * BufferView.C: add getCurrentChange()
8135 * BufferView_pimpl.h:
8136 * BufferView_pimpl.C: handle change lfuns
8138 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8139 for changes. Mark pasted paragraphs as new.
8141 * support/lyxtime.h:
8142 * support/lyxtime.C:
8143 * DepTable.C: abstract time_t as lyx::time_type
8146 * LColor.C: add colours for new text, deleted text, changebars
8148 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8149 package use "usenames" option.
8153 * LyXAction.C: add change lfuns
8157 * author.C: author handling
8160 * buffer.C: add a per-buffer author list, with first entry as
8161 current author. Handle new .lyx tokens for change tracking. Output
8162 author list to .lyx file. Output dvipost stuff to .tex preamble.
8163 Bump lyx format to 222.
8166 * bufferlist.C: add setCurrentAuthor() to reset current author details
8170 * bufferparams.C: add param for tracking
8172 * bufferview_funcs.C: output change info in minibuffer
8176 * changes.C: add change-tracking structure
8179 * debug.C: add CHANGES debug flag
8182 * lyxfind.C: add code for finding the next change piece
8185 * lyxrc.C: add user_name and user_email
8188 * lyxrow.C: add a metric for the top of the text line
8191 * text.C: implement accept/rejectChange()
8194 * text.C: paint changebars. Paint new/deleted text in the chosen
8195 colours. Strike through deleted text.
8199 * paragraph_pimpl.h:
8200 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8201 in the current change to the insert functions. Rework erase to
8202 mark text as deleted, adding an eraseIntern() and a range-based
8203 erase(). Implement per-paragraph change lookup and
8206 * paragraph_funcs.C: Fixup paste for change tracking.
8208 * tabular.C: mark added row/columns as new.
8210 * text.C: fix rowLast() to never return -1. Don't allow
8211 spellchecking of deleted text. Track transpose changes. Don't
8212 allow paragraph break or merge where appropriate.
8214 * text2.C: leave cursor at end of selection after a cut.
8216 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8218 * text.C (getLengthMarkerHeight):
8219 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8220 visible on screen too.
8222 2003-02-07 John Levon <levon@movementarian.org>
8224 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8226 2003-02-05 Angus Leeming <leeming@lyx.org>
8228 * lyxserver.C (read_ready): revert my patch of 11 September last year
8229 as it sends PC cpu through the roof. Presumably this means that
8230 the lyxserver will no longer run on an Alpha...
8232 2003-01-30 Angus Leeming <leeming@lyx.org>
8234 * factory.C (createInset): create an InsetCommandParam of type "index"
8235 and use it to 'do the right thing'.
8237 * text2.C (getStringToIndex): ensure that cursor position is always
8238 reset to the reset_cursor position.
8240 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8242 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8245 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8249 * lyxfunc.C: Output messages with identical spelling, punctuation,
8252 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8254 * MenuBackend.C (expandFormats): List only viewable export formats
8257 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8260 * lyxfunc.C (getStatus): Make sure that formats other than
8261 "fax" can also be disabled
8263 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8265 * text3.C (dispatch): put the lfuns that insert insets in 3
8266 groups, and call doInsertInset with appropriate arguments.
8267 (doInsertInset): new function, that creates an inset and inserts
8268 it according to some boolean parameters.
8270 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8272 * buffer.C (readFile): remember to pass on 'par' when calling
8273 readFile recursively.
8275 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8277 * MenuBackend.C (expandFormats): add "..." to import formats.
8279 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8281 * paragraph.C (asString): Remove XForms RTL hacks.
8283 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8284 * buffer.C: fix typo
8286 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8288 * Makefile.am (LIBS): delete var
8289 (lyx_LDADD): add @LIBS@ here instead.
8291 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8293 * Clarify the meaning of "wheel mouse jump"
8295 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8297 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8300 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8302 * importer.C (Loaders): do not preallocate 3 elements in the
8303 vector, since one ends up with 6 elements otherwise
8305 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8307 * DepTable.C (write): write the file name as last element of the
8308 .dep file (because it may contain spaces)
8309 (read): read info in the right order
8311 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8313 * paragraph_pimpl.C (simpleTeXBlanks):
8314 (simpleTeXSpecialChars):
8315 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8317 * tabular.C (latex): add some missing case statements. Reindent.
8319 * MenuBackend.C (expandToc): remove unused variable.
8321 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8330 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8333 2003-01-05 John Levon <levon@movementarian.org>
8336 * BufferView.C: add getEncoding()
8339 * kbsequence.C: do not store last keypress
8342 * lyxfunc.C: store last keypress here instead. Pass encoding
8345 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8347 * lyx_main.C (init): remove annoying error message when following
8348 symbolic links (bug #780)
8350 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8352 * text.C (insertChar):
8353 * lyxrc.C (getDescription): remove extra spaces
8355 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8357 * lyxrc.C (getDescription): remove extra spaces
8359 2002-12-20 John Levon <levon@movementarian.org>
8361 * text3.C: hack fix for page up/down across tall rows
8363 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8365 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8368 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8370 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8371 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8372 thesaurus is not compiled in
8374 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8376 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8378 2002-12-16 Angus Leeming <leeming@lyx.org>
8381 * lyx_main.C (init): remove override_x_deadkeys stuff.
8383 2002-12-12 John Levon <levon@movementarian.org>
8385 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8386 insert. Only remove shift modifier under strict
8389 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8391 * MenuBackend.C (expandToc): fix crash.
8393 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8395 * MenuBackend.C (expandToc): gettext on float names.
8397 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8399 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8400 implement bool empty() [bug 490]
8402 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8404 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8406 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8408 * several files: ws changes
8410 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8412 * text2.C (setCounter): clean up a bit, use boost.format.
8413 (updateCounters): initialize par upon declaration.
8415 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8416 if the layout exists. We do not just store the layout any more.
8417 (SwitchLayoutsBetweenClasses): use boost.format
8419 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8421 * converter.C (convert): if from and to files are the same, use a
8422 temporary files as intermediary
8424 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8427 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8429 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8431 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8433 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8435 * tabular.C (asciiPrintCell): use string(size, char) instead of
8438 * sgml.C (openTag): fix order of arguments to string constructor
8441 * lyxfunc.C (dispatch): use boost.format
8443 * lots of files: change "c" -> 'c'
8445 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8447 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8449 2002-11-25 Angus Leeming <leeming@lyx.org>
8451 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8453 * lyx_main.C (init): compile fix.
8455 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8457 * lyx_cb.C (start): boost.formatify
8458 do not include <iostream>
8460 * lengthcommon.C: ws only
8462 * boost-inst.C,BoostFormat.h: add more explict instantations
8464 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8466 * lots of files: handle USE_BOOST_FORMAT
8468 2002-11-21 John Levon <levon@movementarian.org>
8470 * pspell.C: fix compile
8472 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8474 * lyxfunc.C (dispatch): use boost::format
8478 * lyxfont.C (stateText): use boost::format
8480 * lyx_main.C (LyX): use boost::format
8482 (queryUserLyXDir): ditto
8485 (typedef boost::function): use the recommened syntax.
8487 * importer.C (Import): use boost::format
8489 * debug.C (showLevel): use boost::format
8491 * converter.C (view): use boost::format
8496 * bufferview_funcs.C (currentState): use boost::format
8498 * bufferlist.C (emergencyWrite): use boost::format
8500 * buffer.C (readLyXformat2): use boost::format
8501 (parseSingleLyXformat2Token): ditto
8503 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8505 * LaTeX.C (run): use boost::format
8507 * Chktex.C (scanLogFile): use boost::format
8509 * BufferView_pimpl.C (savePosition): use boost::format
8510 (restorePosition): ditto
8511 (MenuInsertLyXFile): ditto
8513 * BoostFormat.h: help file for explicit instation.
8515 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8517 * tabular.C (latex): Support for block alignment in fixed width
8520 2002-11-17 John Levon <levon@movementarian.org>
8522 * BufferView_pimpl.C:
8524 * lyxfunc.C: split filedialog into open/save
8526 2002-11-08 Juergen Vigna <jug@sad.it>
8528 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8529 by my last patch (hopefully).
8531 2002-11-08 John Levon <levon@movementarian.org>
8540 * toc.C: ParConstIterator, and use it (from Lars)
8542 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8544 * lyxtextclass.[Ch]: revise and add doxygen comments
8546 2002-11-07 John Levon <levon@movementarian.org>
8548 * text.C: fix progress value for spellchecker
8550 * toc.C: fix navigate menu for insetwrap inside minipage
8552 * paragraph_funcs.C: added FIXME for suspect code
8554 2002-11-07 John Levon <levon@movementarian.org>
8556 * BufferView_pimpl.C: fix redrawing of insets
8559 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8561 * text2.C (updateCounters): fix bug 668
8563 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8565 * text3.C (dispatch): Do not make the buffer dirty when moving the
8568 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8570 * vc-backend.C: STRCONV
8573 * text2.C (setCounter): STRCONV
8575 * paragraph.C (asString): STRCONV
8577 * lyxlength.C (asString): STRCONV
8578 (asLatexString): ditto
8580 * lyxgluelength.C (asString): STRCONV
8581 (asLatexString): ditto
8583 * lyxfunc.C (dispatch): STRCONV
8586 * lyxfont.C (stateText): STRCONV
8588 * importer.C (Import): STRCONV
8590 * counters.C (labelItem): STRCONV
8591 (numberLabel): ditto
8592 (numberLabel): remove unused ostringstream o
8597 * bufferview_funcs.C (currentState): STRCONV
8599 * buffer.C (readFile): STRCONV
8600 (asciiParagraph): ditto
8601 (makeLaTeXFile): ditto
8603 * Spacing.C (writeEnvirBegin): STRCONV
8605 * LaTeXFeatures.C (getLanguages): STRCONV
8606 (getPackages): ditto
8608 (getBabelOptions): ditto
8609 (getTClassPreamble): ditto
8610 (getLyXSGMLEntities): ditto
8611 (getIncludedFiles): ditto
8615 (scanAuxFile): ditto
8618 * LString.h: add the STRCONV macros
8620 * BufferView_pimpl.C (savePosition): STRCONV
8621 (restorePosition): ditto
8622 (MenuInsertLyXFile): ditto
8624 * vc-backend.C (scanMaster): change from submatch[...] to
8627 * funcrequest.C: include config.h
8629 * factory.C: include config.h
8631 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8633 * box.C: include config.h
8635 * LaTeX.C (scanAuxFile): change from submatch[...] to
8639 2002-10-25 Angus Leeming <leeming@lyx.org>
8641 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8643 * ispell.[Ch] (setError): new method.
8644 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8645 Use setError() insetead of goto END.
8647 * lyx_cb.C (AutoSave): move out child process into new class
8650 2002-10-30 John Levon <levon@movementarian.org>
8652 * text3.C: make start appendix undoable
8654 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8656 * lyxlength.C (inPixels): Fix returned value.
8658 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8661 2002-10-24 Angus Leeming <leeming@lyx.org>
8663 * lyxgluelength.h: no need to forward declare BufferParams
8664 or BufferView, so don't.
8666 2002-10-21 John Levon <levon@movementarian.org>
8668 * BufferView.C: menuUndo ->undo, redo
8670 * BufferView.h: document, remove dead, make some methods private
8672 * paragraph_funcs.h:
8673 * paragraph_funcs.C:
8674 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8679 * sgml.C: move sgml open/close tag into sgml.C
8681 * bufferview_funcs.h: unused prototype
8684 * lyxfunc.C: remove unused
8687 * text.C: remove unused
8689 2002-10-21 John Levon <levon@movementarian.org>
8693 * BufferView_pimpl.h:
8694 * BufferView_pimpl.C: fix mouse wheel handling based on
8695 patch from Darren Freeman
8697 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8699 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8701 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8703 * lyxlength.C (inPixels): Fix hanfling of negative length.
8704 Fix LyXLength::MU case.
8706 2002-10-16 John Levon <levon@movementarian.org>
8708 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8710 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8712 * converter.C (view): add support for $$i (file name) and $$p
8713 (file path) for the viewer command. If $$i is not specified, then
8714 it is appended to the command (for compatibility with old syntax)
8716 2002-10-14 Juergen Vigna <jug@sad.it>
8718 * undo_funcs.C (textHandleUndo): alter the order in which the
8719 new undopar is added to the LyXText, as we have to set first
8720 the right prev/next and then add it as otherwise the rebuild of
8721 LyXText is not correct. Also reset the cursor to the right paragraph,
8722 with this IMO we could remove the hack in "redoParagraphs()".
8724 2002-10-09 Angus Leeming <leeming@lyx.org>
8726 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8727 to turn off an optimisation if a new inset is to be inserted.
8729 2002-10-11 André Pönitz <poenitz@gmx.net>
8731 * lyxtext.h: make some functions public to allow access
8732 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8734 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8736 * text3.C (dispatch): when changing layout, avoid an infinite loop
8739 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8741 * lyxrc.C (read): treat a viewer or converter command of "none" as
8744 * MenuBackend.C (expandFormats): for an update, also allow the
8745 formats that are not viewable
8747 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8748 script if it is newer than the lyxrc.defaults in user directory
8750 2002-10-07 André Pönitz <poenitz@gmx.net>
8752 * text.C: Vitaly Lipatov's small i18n fix
8754 2002-09-25 Angus Leeming <leeming@lyx.org>
8756 * ispell.h: doxygen fix.
8758 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8760 * buffer.h (readFile): Add a new argument to the method, to allow
8761 reading of old-format templates.
8763 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8765 * toc.C (getTocList): Get TOC from InsetWrap.
8767 2002-09-16 John Levon <levon@movementarian.org>
8769 * lyxfunc.C: check tabular for cut/copy too
8771 2002-09-12 John Levon <levon@movementarian.org>
8776 * factory.C: add header
8778 * paragraph_funcs.h:
8779 * paragraph_funcs.C: cleanup
8781 2002-09-11 John Levon <levon@movementarian.org>
8783 * PrinterParams.h: odd/even default to true
8785 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8787 * PrinterParams.h: update printer parameters for new xforms dialog
8789 2002-09-11 Angus Leeming <leeming@lyx.org>
8791 * lyxserver.C (read_ready): re-write to make it more transparent
8792 and to make it work in coherent fashion under Tru64 Unix.
8794 2002-09-11 André Pönitz <poenitz@gmx.net>
8798 * text3.C: implement LFUN_WORDSEL
8800 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8802 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8803 make floatlist_ a boost::shared_ptr<FloatList>
8805 * lyxtextclass.C: include FloatList.h
8806 (LyXTextClass): initialize floatlist_
8807 (TextClassTags): add TC_NOFLOAT
8808 (Read): match "nofloat" to TC_NOFLOAT and use it.
8809 (readFloat): modify call to floatlist_
8813 * FloatList.[Ch] (FloatList): remove commented out float
8815 (erase): new function
8817 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8819 * MenuBackend.C (expandToc): fix crash when there is no document
8822 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8824 * many files: Add insetwrap.
8826 2002-09-09 John Levon <levon@movementarian.org>
8828 * text2.C: remove confusing and awkward depth wraparound
8830 2002-09-09 John Levon <levon@movementarian.org>
8832 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8835 * buffer.C: remove getIncludeonlyList()
8838 * lyxfunc.C: remove headers
8840 2002-09-09 Juergen Vigna <jug@sad.it>
8842 * text.C (getColumnNearX): fix form Michael this is most
8843 probably a cut&paste bug.
8845 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8847 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8849 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8850 references, ws changes.
8852 * text2.C (init): update counters after init
8853 (insertParagraph): no need to set counter on idividual paragraphs.
8854 (setCounter): access the counters object in the textclass object
8855 on in the buffer object.
8856 (updateCounters): ditto
8858 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8859 shared_ptr<Counters> to avoid loading counters.h in all
8861 (LyXTextClass): initialize ctrs_
8862 (TextClassTags): add TC_COUNTER, and ...
8863 (Read): use it here.
8864 (CounterTags): new tags
8865 (readCounter): new function
8866 (counters): new funtion
8867 (defaultLayoutName): return a const reference
8869 * counters.C (Counters): remove contructor
8870 (newCounter): remove a couple of unneeded statements.
8871 (newCounter): simplify a bit.
8872 (numberLabel): some small formatting changes.
8874 * buffer.[Ch]: remove all traces of counters, move the Counters
8875 object to the LyXTextClass.
8877 2002-09-06 Alain Castera <castera@in2p3.fr>
8879 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8880 package to set the horizontal alignment on fixed width columns.
8883 * lyx_sty.h: added tabularnewline macro def.
8885 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8887 2002-09-06 John Levon <levon@movementarian.org>
8889 * LyXAction.C: tooltips for sub/superscript
8891 * MenuBackend.C: a bit more verbose
8893 * lyxfunc.C: tiny clean
8895 * undo_funcs.C: document undo_frozen
8897 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8899 * counters.C (Counters): add missing algorithm counter.
8901 * text2.C (setCounter): lookup the counter with layouts latexname
8902 instead of by section number.
8903 (setCounter): use a hackish way to lookup the correct enum
8905 a float name->type change
8906 reset enum couners with counter name directly instead of depth value.
8908 * counters.C (Counters): remove the push_backs, change to use the
8909 float type not the float name.
8910 (labelItem): remove unused string, float name->type change
8912 * counters.h: don't include vector, loose the enums and sects vectors
8914 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8916 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8917 (Read): add float->TC_FLOAT to textclassTags
8918 (Read): and handle it in the switch
8919 (readFloat): new function
8921 * FloatList.C (FloatList): comment out the hardcoded float
8924 * lyxlayout.h: ws change.
8926 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8928 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8930 2002-09-03 Angus Leeming <leeming@lyx.org>
8932 * BufferView_pimpl.h: qualified name is not allowed in member
8933 declaration: WorkArea & Pimpl::workarea() const;
8935 * factory.C: added using std::endl directive.
8937 * text3.C: added using std::find and std::vector directives.
8939 2002-08-29 André Pönitz <poenitz@gmx.net>
8942 * text2.C: remove unused member number_of_rows
8945 * BufferView2.C: remove file, move contents to...
8946 * BufferView.C: ... here
8948 * BufferView_pimpl.C:
8949 * factory.C: move more inset creation to factory
8951 * vspace.C: avoid direct usage of LyXText, ws changes
8954 don't provide direct access to WorkArea, use two simple
8955 acessors haveSelction() and workHeight() instead
8958 2002-08-29 John Levon <levon@movementarian.org>
8960 * BufferView_pimpl.C (dispatch): do not continue when
8963 2002-08-28 André Pönitz <poenitz@gmx.net>
8965 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8968 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8970 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8972 * buffer.C: increment LYX_FORMAT to 221
8974 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8975 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8977 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8979 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8981 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8983 * factory.C (createInset): use LyXTextClass::floats
8985 * MenuBackend.C (expandFloatListInsert):
8986 (expandFloatInsert):
8989 * text2.C (setCounter):
8991 * LaTeXFeatures.C (useFloat):
8992 (getFloatDefinitions):
8994 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8996 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8997 floatlist_, with accessor floats().
8999 * FloatList.h: remove global FloatList
9001 2002-08-26 André Pönitz <poenitz@gmx.net>
9003 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
9007 * BufferView_pimpl.C:
9008 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
9010 2002-08-25 John Levon <levon@movementarian.org>
9012 * LyXAction.C: fix margin note description
9014 2002-08-24 John Levon <levon@movementarian.org>
9018 * bufferview_funcs.C:
9020 * undo_funcs.C: cleanups
9022 * lyxfunc.C: disable CUT/COPY when no selection
9024 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
9026 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
9027 in "enum UNIT"; e.g. PTW for Percent of TextWidth
9029 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9030 Add backward compatibility to "mono", "gray" and "no".
9032 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9034 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9035 (and file_format >= 200).
9037 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9039 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9041 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9043 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9045 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9047 * BufferView_pimpl.C:
9054 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9055 inset and code to make it work with the paragraph code. The inset
9056 can be anywhere in the paragraph, but will only do the expected
9057 thing in LaTeX if the layout file contains the parameter line
9059 (or more generally, a nonzero value) for that layout.
9061 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9063 * paragraph.h: remove the declaration of undefined counters class
9066 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9068 * text2.C (setCounter): fixed enumeration mis-count as reported by
9069 Dr. Richard Hawkins.
9071 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9073 * paragraph_funcs.h: remove some unneeded includes
9075 * text.C (backspace): pasteParagraph now in global scipe
9077 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9078 (pasteSelection): ditto
9080 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9081 * paragraph_funcs.C (pasteParagraph): ... here
9083 2002-08-20 André Pönitz <poenitz@gmx.net>
9085 * commandtags.h: new LFUNs for swapping/copying table row/colums
9088 * lyxfunc.C: support for new lfuns
9090 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9093 * buffer.[Ch]: remove NO_COMPABILITY stuff
9095 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9097 * boost.C (throw_exception): new file, with helper function for
9098 boost compiled without exceptions.
9103 * ParameterStruct.h:
9104 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9106 * bufferlist.C (emergencyWriteAll): use boost bind
9108 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9110 * text.C: include paragraph_funcs.h
9111 (breakParagraph): breakParagraph is now in global scope
9113 * paragraph_funcs.[Ch]: new files
9115 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9118 * buffer.C: include paragraph_funcs.h
9119 (insertStringAsLines): breakParagraph is now in global scope
9121 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9124 * CutAndPaste.C: include paragraph_funcs.h
9125 (cutSelection): breakParagraphConservative is now in global scope
9126 (pasteSelection): ditto
9128 * buffer.h: declare oprator== and operator!= for
9129 Buffer::inset_iterator
9131 * bufferlist.C (emergencyWrite): don't use fmt(...)
9133 * text3.C: add using std::endl
9135 * BufferView.C (moveCursorUpdate): remove default arg
9137 2002-08-20 André Pönitz <poenitz@gmx.net>
9139 * buffer.[Ch]: move inline functions to .C
9142 * BufferView_pimpl.C:
9144 * buffer.[Ch]: use improved inset_iterator
9147 * paragraph.[Ch]: write one paragraph at a time
9149 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9151 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9152 style if style is not specified.
9154 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9156 * text2.C (setCounter): when searching for right label for a
9157 caption, make sure to recurse to parent insets (so that a caption
9158 in a minipage in a figure float works) (bug #568)
9160 2002-08-20 André Pönitz <poenitz@gmx.net>
9162 * text3.C: new file for LyXText::dispatch() and helpers
9164 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9166 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9168 2002-08-19 André Pönitz <poenitz@gmx.net>
9171 * text.C: new LyXText::dispatch()
9173 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9175 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9177 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9179 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9182 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9184 * Makefile.am: use $(variables) instead of @substitutions@
9186 2002-08-15 André Pönitz <poenitz@gmx.net>
9189 * BufferView_pimpl.C: streamlining mathed <-> outer world
9193 * LyXAction.C: remove unused LFUN_MATH
9195 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9197 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9199 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9201 * paragraph.C (Paragraph): reformat a bit
9202 (cutIntoMinibuffer): use builtin InsetList function instad of
9206 * buffer.C: include boost/bind.hpp, add using std::for_each
9207 (writeFileAscii): use ParagraphList iterators
9208 (validate): use for_each for validate traversal of paragraphs
9209 (getBibkeyList): use ParagraphList iterators
9210 (resizeInsets): use for_each to resizeInsetsLyXText for all
9212 (getParFromID): use ParagraphList iterators
9214 * BufferView2.C (lockInset): use paragraph list and iterators
9216 2002-08-14 John Levon <levon@movementarian.org>
9218 * lyxserver.C: remove spurious xforms include
9220 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9222 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9224 2002-08-13 André Pönitz <poenitz@gmx.net>
9227 * lyxfunc.C: further cleaning
9229 2002-08-13 André Pönitz <poenitz@gmx.net>
9231 * funcrequest.h: new constructor
9233 * funcrequest.C: move stuff here from .h
9236 * BufferView_pimpl.C:
9239 * lyxfunc.C: subsequent changes
9241 * lyxfunc.h: new view() member function
9243 * lyxfunc.C: subsequent changes
9245 2002-08-13 Angus Leeming <leeming@lyx.org>
9248 * BufferView_pimpl.C:
9256 changes due to the changed LyXView interface that now returns references
9257 to member variables not pointers.
9259 2002-08-13 Angus Leeming <leeming@lyx.org>
9261 * WordLangTuple (word, lang_code): return references to strings,
9266 * lyxtext.h: forward-declare WordLangTuple.
9271 * text.C: #include "WordLangTuple.h".
9274 * text.C: (selectNextWordToSpellcheck): constify return type.
9276 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9282 * paragraph_pimpl.h:
9285 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9287 Made updateCounter always count from start of buffer, and removed
9288 second argument (par).
9289 Reverted floats number display to '#'. Perhaps I'll try again when the
9290 code base is sanitized a bit.
9292 2002-08-12 Angus Leeming <leeming@lyx.org>
9294 * buffer.[Ch] (getLabelList): constify.
9296 2002-08-07 André Pönitz <poenitz@gmx.net>
9298 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9300 * funcrequest.h: extension to keep mouse (x,y) position
9302 2002-08-12 Juergen Vigna <jug@sad.it>
9304 * BufferView2.C (insertErrors): forbid undo when inserting error
9307 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9309 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9311 * ParagraphList.[Ch]: new files
9313 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9315 * BufferView2.C (lockInset): ParagraphList changes
9318 * bufferlist.C: ditto
9322 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9324 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9325 unused class variable counter_,
9327 * paragraph.[Ch] (getFirstCounter): delete unused function
9329 * counters.C: include LAssert.h
9330 (reset): add a new function with no arg, change other version to
9331 not have def. arg and to not allow empty arg.
9333 * text2.C (setCounter): remove empty arg from call to Counters::reset
9335 2002-08-11 John Levon <levon@movementarian.org>
9337 * Makefile.am: add WordLangTuple.h
9339 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9341 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9342 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9344 * insets/insettext.C: InsetList changes
9346 * graphics/GraphicsSupport.C (operator()): InsetList changes
9348 * toc.C (getTocList): InsetList changes
9350 * paragraph_pimpl.[Ch]: InsetList changes
9352 * paragraph.[Ch]: InsetList changes
9354 * buffer.C (inset_iterator): InsetList changes
9355 (setParagraph): ditto
9356 * buffer.h (inset_iterator): ditto
9357 * iterators.C (operator++): ditto
9358 * iterators.h: ditto
9360 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9362 * InsetList.[Ch]: new files, most InsetList handling moved out of
9365 * BufferView2.C (removeAutoInsets): InsetList changes
9367 (ChangeInsets): ditto
9369 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9371 * paragraph_pimpl.h (empty): new function
9373 * paragraph.[Ch] (empty): new function
9375 * other files: use the new Paragraph::empty function
9377 2002-08-09 John Levon <levon@movementarian.org>
9379 * lyxtext.h: remove unused refresh_height
9381 2002-08-09 John Levon <levon@movementarian.org>
9388 * paragraph.C: move sgml char escaping out of paragraph
9391 * paragraph.C: remove id setter
9395 * paragraph_pimpl.C: remove dead tex_code_break_column
9397 * bufferview_funcs.C: small cleanup
9399 * lyxfunc.C: remove dead proto
9401 * lyxtext.h: make some stuff private. Remove some dead stuff.
9403 * lyxgluelength.C: make as[LyX]String() readable
9405 2002-08-08 John Levon <levon@movementarian.org>
9410 * ToolbarDefaults.C:
9413 * toc.C: lyxaction cleanup
9415 2002-08-08 John Levon <levon@movementarian.org>
9417 * BufferView2.C: small cleanup
9420 * lyxfind.C: move unnecessary header into the .C
9422 2002-08-08 John Levon <levon@movementarian.org>
9424 * funcrequest.h: just tedious nonsense
9427 * lyx_main.C: cleanups
9430 * vspace.C: remove dead header lyx_main.h
9432 2002-08-07 Angus Leeming <leeming@lyx.org>
9435 * paragraph_pimpl.h:
9436 Forward declare class Counters in paragraph.h by moving the ctrs member
9437 variable into Paragraph::Pimpl.
9438 (counters): new method, returning a reference to pimpl_->ctrs.
9440 * text2.C: ensuing changes.
9442 2002-08-07 John Levon <levon@movementarian.org>
9444 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9446 * BufferView_pimpl.C: announce X selection on double/triple
9449 * lyx_main.C: use correct bool in batch dispatch
9451 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9453 2002-08-07 André Pönitz <poenitz@gmx.net>
9455 * funcrequest.h: new class to wrap a kb_action and its argument
9458 * BufferView_pimpl[Ch]:
9462 * lyxrc.C: subsequent changes
9465 2002-08-07 John Levon <levon@movementarian.org>
9467 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9468 document options change.
9470 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9475 * makefile.am: move counters functionality over from
9476 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9478 2002-08-06 John Levon <levon@movementarian.org>
9480 * WordLangTuple.h: new file for word + language code tuple
9491 * BufferView2.C: use WordLangTuple
9494 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9496 2002-08-06 John Levon <levon@movementarian.org>
9498 * lyx_main.C: fix cmdline batch handling
9500 2002-08-06 André Pönitz <poenitz@gmx.net>
9502 * lyxrc.C: set default for show_banner to true
9504 2002-08-06 John Levon <levon@movementarian.org>
9506 * pspell.C: fix a crash, and allow new aspell to work
9508 2002-08-06 John Levon <levon@movementarian.org>
9511 * kbmap.C: small cleanup
9514 * vspace.C: add const
9516 2002-08-05 John Levon <levon@movementarian.org>
9518 * LyXAction.C: back to tabular-insert
9520 2002-08-04 John Levon <levon@movementarian.org>
9523 * BufferView.C: cosmetic change
9525 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9535 * BufferView2.C: purge all "Lyx" not "LyX" strings
9538 * lyxcursor.C: attempt to add some documentation
9543 * ToolbarDefaults.C:
9544 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9545 merge with LFUN_TABULAR_INSERT
9552 * pspell.C: split up i/pspell implementations into separate
9553 files, many cleanups
9555 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9557 * text2.C: some cleanup
9559 * lyxfunc.C: don't check for isp_command == "none" any more, it
9560 didn't make any sense
9562 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9567 * makefile.am: move counters functionality over
9568 from text2.C/paragraph.[Ch] to counters.[Ch], and
9570 2002-08-02 John Levon <levon@movementarian.org>
9572 * buffer.C: s/lyxconvert/lyx2lyx/
9574 2002-08-02 Angus Leeming <leeming@lyx.org>
9576 * lyxlex.C: revert John's change as it breaks reading of the user
9579 2002-08-02 Angus Leeming <leeming@lyx.org>
9581 * importer.C (Import):
9582 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9583 changes due to LyXView::view() now returning a boost::shared_ptr.
9585 2002-08-02 John Levon <levon@movementarian.org>
9587 * lyxlex.C: small cleanup
9589 2002-08-02 John Levon <levon@movementarian.org>
9591 * text2.C (status): small cleanup, no logic change
9593 2002-08-01 John Levon <levon@movementarian.org>
9596 * buffer.C (writeFile): don't output alerts, caller
9600 * lyx_cb.C: from above
9602 * lyxfunc.C: allow to open non-existent files
9604 2002-07-31 John Levon <levon@movementarian.org>
9606 * lyxserver.C: don't let incidental errors get
9609 2002-07-30 John Levon <levon@movementarian.org>
9611 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9613 2002-07-30 John Levon <levon@movementarian.org>
9616 * lyxserver.C: remove I/O callback too
9618 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9620 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9623 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9625 * many files: strip,frontStrip -> trim,ltrim,rtrim
9627 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9629 * PrinterParams.h: remove extern containsOnly, and include
9630 support/lstrings.h instead.
9632 * LaTeX.C (scanAuxFile): modify because of strip changes
9634 * buffer.C (makeLaTeXFile): ditto
9635 * bufferparams.C (writeFile): ditt
9636 * lyxfont.C (stateText): ditto
9637 * lyxserver.C (read_ready): ditto
9638 * vc-backend.C (scanMaster): ditto
9640 * BufferView_pimpl.h: ws changes
9642 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9644 2002-07-26 André Pönitz <poenitz@gmx.net>
9646 * kb_sequence.C: remove unnedred usings
9648 2002-07-26 Juergen Vigna <jug@sad.it>
9650 * lyxfind.C (LyXReplace): we have to check better if the returned
9651 text is not of theLockingInset()->getLockingInset().
9653 2002-07-25 Juergen Vigna <jug@sad.it>
9655 * lyxfind.C (LyXReplace): don't replace if we don't get the
9658 * undo_funcs.C (createUndo): remove debugging code.
9660 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9662 * buffer.C (parseSingleLyXformat2Token): Use default placement
9663 when reading old floats.
9665 * FloatList.C (FloatList): Change the default placement of figure
9666 and tables to "tbp".
9668 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9670 * MenuBackend.C: using std::max
9672 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9674 * MenuBackend.C (expandToc):
9675 (expandToc2): code moved from xforms menu frontend. It is now
9676 generic and TOCs are transparent to menu frontends.
9678 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9680 * toc.C (getTocList): protect against buf=0
9682 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9683 Menu as first parameter. Now, this calls itself recursively to
9684 expand a whole tree (this will be useful for TOC handling)
9685 (expandFloatInsert): remove 'wide' version of floats
9687 * MenuBackend.h (submenuname): returns the name of the submenu.
9688 (submenu): returns the submenu itself, provided it has been
9689 created by MenuBackend::expand
9691 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9693 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9694 insets which have noFontChange == true. (bug #172)
9696 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9698 * BufferView_pimpl.C: add connection objects and use them...
9701 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9703 * MenuBackend.C (expandLastfiles):
9706 (expandFloatListInsert):
9707 (expandFloatInsert):
9708 (expand): split expand in parts
9710 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9712 * lyx_gui.C: use lyx_gui::exit()
9714 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9716 * LyXAction.C: show the failing pseudo action
9718 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9720 * buffer.C (readFile): Run the lyxconvert script in order to read
9723 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9727 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9729 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9733 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9735 2002-07-22 Herbert Voss <voss@lyx.org>
9738 * lyxlength.[Ch]: add support for the vertical lengths
9740 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9742 * toc.[Ch]: std:: fixes
9744 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9746 * lyxrc.C: do not include lyx_main.h
9748 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9754 * BufferView2.C: include "lyxlex.h"
9757 * bufferparams.h: do not #include "lyxlex.h"
9759 * lyxtextclasslist.C (Add): remove method
9760 (classlist): renamed to classlist_
9762 * paragraph_pimpl.C:
9766 * bufferview_funcs.C:
9771 * toc.C (getTocList): use BufferParams::getLyXTextClass
9773 * toc.C (getTocList): use InsetFloat::addToToc
9775 * toc.[Ch]: new files, containing helper functions to handle table
9778 * lyxfunc.C (dispatch): no need to remove spaces around command
9780 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9781 first command of the sequence; it is not very clever, but I do not
9782 have a better idea, actually
9784 * LyXAction.C (LookupFunc): make sure to remove space at the
9785 beginning and end of the command
9787 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9789 * MenuBackend.C (getMenubar): new method: return the menubar of
9791 (read): treat differently reading of menu and menubar (in
9792 particular, the menubar has no name now)
9793 (Menu::menubar): remove
9795 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9798 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9800 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9801 a bibitem inset in a RTL paragraph.
9803 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9805 * paragraph_pimpl.C: constify
9807 * BufferView_pimpl.C:
9809 * lyxfunc.C: fix dispatch in a nicer way
9811 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9813 * lyxfunc.C (dispatch):
9814 * BufferView_pimpl.C:
9815 * BufferView_pimpl.h:
9817 * BufferView.h: rename Dispatch() to dispatch()
9819 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9821 * lyxlayout.C (Read): honor DependsOn tag
9823 * lyxlayout.[Ch] (depends_on): new method
9825 * version.C.in: update lyx_docversion
9827 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9829 * paragraph.C (validate): remove from here...
9830 * paragraph_pimpl.C (validate): ... and move here
9831 (isTextAt): make it const
9833 * buffer.C (getLists): ws cleanup
9835 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9837 * language.C (read): Use iso8859-1 encoding in latex_lang
9838 (this prevents LyX from crashing when using iso10646-1 encoding).
9840 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9842 * text2.C (toggleInset): if cursor is inside an inset, close the
9843 inset and leave cursor _after_ it
9845 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9847 * lyxfunc.C: move minibuffer completion handling out of here
9849 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9851 * BufferView_pimpl.C:
9852 * LaTeX.C: fix dispatch calls
9854 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9856 * text.C (drawChars): Fix Arabic text rendering.
9858 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9862 * lyxfunc.C: remove message-push/pop
9866 * lyxfunc.C: rationalise some code by removing verboseDispatch
9867 in favour of a bool argument to dispatch()
9869 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9871 * lyx_main.C (init): make sure to read symlinks as absolute paths
9873 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9876 * lyxfunc.C: no need for commandshortcut to be a member
9878 2002-07-15 André Pönitz <poenitz@gmx.net>
9880 * converter.C: add support for $$s (scripts from lib/scripts dir)
9881 * lyx_main.C: white space
9883 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9887 * lyxrc.C: remove second exit confirmation
9889 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9894 * BufferView_pimpl.h:
9895 * BufferView_pimpl.C:
9896 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9898 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9900 * MenuBackend.C (expand): add numeric shortcuts to document menu
9902 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9904 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9906 * lyxfont.C (setLyXFamily):
9913 * buffer.C (asciiParagraph): use ascii_lowercase
9915 2002-07-15 Mike Fabian <mfabian@suse.de>
9917 * lyxlex_pimpl.C (search_kw):
9918 * lyxlex.C (getLongString):
9919 * converter.h (operator<):
9920 * converter.C (operator<):
9921 * buffer.C (parseSingleLyXformat2Token):
9923 * ToolbarDefaults.C (read):
9924 * MenuBackend.C (checkShortcuts):
9926 * LColor.C (getFromGUIName):
9927 (getFromLyXName): use the compare_ascii_no_case instead of
9928 compare_no_case, because in turkish, 'i' is not the lowercase
9929 version of 'I', and thus turkish locale breaks parsing of tags.
9931 2002-07-16 Angus Leeming <leeming@lyx.org>
9933 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9934 now takes a Buffer const & argument.
9936 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9938 * BufferView.C (resize): check there's a buffer to resize
9940 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9942 * lyxfunc.C: remove dead code
9945 * lyxserver.C: use lyx_guii::set_read_callback
9947 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9949 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9950 an inset in a RTL paragraph.
9952 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9954 * lyxfunc.C: repaint after a font size update
9956 2002-07-15 André Pönitz <poenitz@gmx.net>
9958 * lyxlength.C: inBP should be able to return negative values
9960 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9962 * lyxfunc.C: use lyx_gui::update_fonts()
9964 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9966 * lyxfunc.C: use lyx_gui::update_color()
9968 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9974 * lyxrc.C: remove file->new asks for name option, and let
9975 buffer-new take an argument
9977 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9979 * BufferView_pimpl.C: remove unneeded extra repaint()
9981 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9983 * LyXAction.C: allow command-sequence with NoBuffer
9985 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9987 2002-07-10 Angus Leeming <leeming@lyx.org>
9989 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9991 2002-07-09 Angus Leeming <leeming@lyx.org>
9993 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9995 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9997 * lengthcommon.h: whitespace
9999 * lyxfunc.C: update scrollbar after goto paragraph
10001 * lyxtext.h: factor out page break drawing, and fix it so
10002 page break/added space paints as selected nicely
10004 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
10006 * BufferView_pimpl.C: add FIXMEs, clean up a little
10008 2002-07-09 André Pönitz <poenitz@gmx.net>
10010 * lyxfont.[Ch]: support for wasy symbols
10012 2002-07-08 André Pönitz <poenitz@gmx.net>
10014 * BufferView_pimpl.C: apply John's patch for #93.
10016 2002-07-05 Angus Leeming <leeming@lyx.org>
10018 * BufferView_pimpl.C (buffer): generate previews if desired.
10020 * LColor.h: add "preview" to the color enum.
10022 * LColor.C (LColor): add a corresponding entry to the items array.
10024 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
10027 2002-07-05 Angus Leeming <leeming@lyx.org>
10029 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10030 The body of the code is now in the method that is passed an ostream &
10031 rather than a file name.
10032 Pass an additional only_preamble parameter, useful for the forthcoming
10035 2002-07-03 André Pönitz <poenitz@gmx.net>
10037 * lyxfunc.C: simplify getStatus() a bit for math stuff
10039 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10041 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10043 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10045 * text.C (changeRegionCase): do not change case of all the
10046 document when region ends at paragraph end (bug #461)
10048 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10050 * paragraph.C (startTeXParParams):
10051 (endTeXParParams): add \protect when necessary
10053 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10055 * BufferView_pimpl.C (workAreaExpose): remove warning
10057 2002-06-27 Angus Leeming <leeming@lyx.org>
10059 * Makefile.am: add lyxlayout_ptr_fwd.h.
10061 2002-06-26 André Pönitz <poenitz@gmx.net>
10063 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10065 2002-06-25 Angus Leeming <leeming@lyx.org>
10067 * lyxfunc.C (dispatch): Comment out the call to
10068 grfx::GCache::changeDisplay. The method no longer exists now that the
10069 pixmap generation part of the graphics loader has been moved into
10072 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10074 * text2.C: layout as layout
10076 * text.C: layout as layout
10078 * tabular.C (OldFormatRead): layout as layout
10080 * paragraph_pimpl.C (TeXDeeper): layout as layout
10081 (realizeFont): layout as layout
10083 * paragraph.C (writeFile): layout as layout
10084 (validate): layout as layout
10085 (getFont): layout as layout
10086 (getLabelFont): layout as layout
10087 (getLayoutFont): layout as layout
10088 (breakParagraph): layout as layout
10089 (stripLeadingSpaces): layout as layout
10090 (getEndLabel): layout as layout
10091 (getMaxDepthAfter): layout as layout
10092 (applyLayout): layout as layout
10093 (TeXOnePar): layout as layout
10094 (simpleTeXOnePar): layout as layout
10095 (TeXEnvironment): layout as layout
10096 (layout): layout as layout
10097 (layout): layout as layout
10099 * lyxtextclass.C (compare_name): new functor to work with
10100 shared_ptr, layout as layout
10101 (Read): layout as layout
10102 (hasLayout): layout as layout
10103 (operator): layout as layout
10104 (delete_layout): layout as layout
10105 (defaultLayout): layout as layout
10107 * lyxlayout_ptr_fwd.h: new file
10109 * lyxlayout.C (Read): layout as layout
10111 * lyx_cb.C (MenuInsertLabel): layout as layout
10113 * bufferlist.C (newFile): layout as layout
10115 * buffer.C (readLyXformat2): layout as layout
10116 (parseSingleLyXformat2Token): layout as layout
10117 (insertStringAsLines): layout as layout
10118 (asciiParagraph): layout as layout
10119 (latexParagraphs): layout as layout
10120 (makeLinuxDocFile): layout as layout
10121 (simpleLinuxDocOnePar): layout as layout
10122 (makeDocBookFile): layout as layout
10123 (simpleDocBookOnePar): layout as layout
10124 (getLists): layout as layout
10126 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10128 * CutAndPaste.C (cutSelection): layout as layout
10129 (pasteSelection): layout as layout
10130 (SwitchLayoutsBetweenClasses): layout as layout
10132 * BufferView_pimpl.C (Dispatch): layout as layout
10133 (smartQuote): layout as layout
10135 * BufferView2.C (unlockInset): layout as layout
10137 2002-06-24 André Pönitz <poenitz@gmx.net>
10139 * lyxfunc.C: fix #487
10141 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10145 * lyxfunc.C: remove display_shortcuts, show_banner
10147 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10149 * Buffer_pimpl.C: oops, update on resize
10151 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10158 * BufferView.C: use repaint()
10160 * BufferView_pimpl.h:
10161 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10162 as it's a clearer description. Remove superfluous
10165 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10167 * text.C: fix bug 488. Not ideal, but getting
10168 getWord() to work properly for the insets that
10169 matter is more difficult ...
10171 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10173 * BufferView_pimpl.C:
10176 * lyxfunc.C: remove the six million index lyxfuncs to just
10177 one, and DTRT (bug 458)
10179 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10183 * BufferView_pimpl.h:
10184 * BufferView_pimpl.C: clean up resize() stuff,
10185 and unnecessary updateScreen()s
10187 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10191 * BufferView_pimpl.h:
10192 * BufferView_pimpl.C:
10195 * minibuffer.C: remove focus management of workarea,
10196 not needed. Use screen's greyOut()
10198 2002-06-17 Herbert Voss <voss@lyx.org>
10200 * converter.C: (convert) do not post a message, when converting
10201 fails, let the calling function decide what to do in this case
10203 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10205 * lyxfunc.C: tidy up a little
10207 2002-06-16 <alstrup@diku.dk>
10209 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10210 Got rid of FORMS_H_LOCATION include. Now we are
10213 2002-06-15 LyX Development team <lyx@rilke>
10215 * buffer.[Ch] (sgmlOpenTag):
10216 (sgmlCloseTag): Added support for avoiding pernicious mixed
10217 content. Return number of lines written.
10219 (makeLinuxDocFile):
10220 (makeDocBookFile): Fixed calls to sgml*Tag.
10221 Simple white space clean.
10223 (simpleDocBookOnePar): Simple white space clean.
10225 * tabular.[Ch] (docBook): Renamed to docbook and got another
10226 argument to related with the pernicious mixed content.
10228 (docbookRow): Fixed calls for docbook inset method.
10230 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10232 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10233 so it's X11 independent.
10237 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10239 2002-06-15 Lyx Development team <lyx@electronia>
10241 * intl.h: Renamed getTrans to getTransManager.
10243 2002-06-14 Angus Leeming <leeming@lyx.org>
10245 * Makefile.am: nuke forgotten stl_string_fwd.h.
10247 2002-06-12 Angus Leeming <leeming@lyx.org>
10249 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10251 2002-06-13 Angus Leeming <leeming@lyx.org>
10254 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10256 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10258 * kbmap.C (getiso): add support for cyrillic and greek
10260 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10264 * BufferView_pimpl.h:
10265 * BufferView_pimpl.C: move bogus scrolling logic
10268 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10271 * BufferView_pimpl.C: view->resize() change
10273 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10275 * BufferView_pimpl.C: topCursorVisible
10278 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10282 * lyx_gui.C: move to frontends/
10286 * lyx_main.C: changes from above
10288 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10295 * lyx_main.C: minor tidy
10297 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10299 * BufferView_pimpl.h:
10300 * BufferView_pimpl.C:
10302 * BufferView.C: make painter() const,
10305 * BufferView2.C: use screen() accessor
10308 * lyx_main.C: some minor cleanup
10310 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10312 * BufferView_pimpl.h:
10313 * BufferView_pimpl.C: remove enter/leaveView,
10316 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10321 * BufferView_pimpl.h:
10322 * BufferView_pimpl.C: only construct screen once,
10325 * lyxrc.C: remove pointless comment
10327 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10330 * BufferView.C: remove active() and belowMouse()
10332 * BufferView_pimpl.h:
10333 * BufferView_pimpl.C: use workarea() not workarea_,
10334 and make it use a scoped_ptr instead
10336 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10338 * lyx_gui.C: add debug message on BadWindow
10340 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10342 * sp_spell.C: fdopen is not part of the C++ standard.
10344 * paragraph.C (InsetIterator): use >= instead of ==
10346 2002-06-07 Angus Leeming <leeming@lyx.org>
10348 Fixes needed to compile with Compaq cxx 6.5.
10349 * BufferView_pimpl.C:
10356 * lyxtextclasslist.C:
10361 all c-library variables have been moved into namespace std. Wrap
10362 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10367 Add a using std::abs declaration.
10369 * kbmap.h (modifier_pair):
10370 * paragraph.h (InsetTable, InsetList):
10371 * lyxfont.h (FontBits):
10372 type definition made public.
10374 * bufferlist.C (emergencyWriteAll): the compiler complains that
10375 there is more than one possible lyx::class_fun template to choose from.
10376 I re-named the void specialisation as lyx::void_class_fun.
10378 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10380 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10381 the compiler is is unable to find tostr in write_attribute.
10383 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10385 * buffer.C (sgmlError): hide #warning
10387 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10389 * xtl/*: get rid of xtl, which is not in use anyway
10391 * LyXAction.C (init):
10392 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10393 were unimplemented xtl experimentation
10395 2002-06-04 André Pönitz <poenitz@gmx.net>
10397 * lyxfunc.C: disable array operation on simple formulae
10399 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10401 * converter.C: constify a bit
10403 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10405 * lyx_gui.C: check xforms version correctly
10407 2002-04-30 Herbert Voss <voss@lyx.org>
10409 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10412 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10414 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10415 attempt to register it with a VCS)
10417 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10419 * lyx_main.C (init): honor variables LYX_DIR_13x and
10422 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10426 * lyx_main.C: fix a crash on bad command line,
10427 and give a useful exit status on error
10429 * lyxfunc.C (doImport): allow -i lyx to work
10431 2002-03-30 André Pönitz <poenitz@gmx.net>
10433 * lyxfunc.C: mathed font changes
10435 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10450 * trans_mgr.h: srcdocs, and some minor cleanups
10452 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10454 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10455 call getFont all the time)
10457 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10459 * switch from SigC signals to boost::signals
10461 2002-05-29 André Pönitz <poenitz@gmx.net>
10463 * paragraph_pimpl.C (getChar): don't call size() too often...
10465 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10467 * paragraph_pimpl.C (insertChar): do not try to update tables when
10468 appending (pos == size())
10470 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10471 in order to reduce drastically the number of comparisons needed to
10472 parse a large document
10474 2002-05-29 André Pönitz <poenitz@gmx.net>
10480 * textclasslist.[Ch]:
10481 * sp_ispell.h: whitespace change
10483 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10485 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10486 lyxaction directly now.
10488 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10492 * lyxvc.C: remove unused headers
10494 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10501 * undo_funcs.C: some cleanups. Use shared_ptr
10502 and a template for the undo stacks.
10504 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10506 * BufferView_pimpl.h:
10507 * BufferView_pimpl.C:
10514 * text2.C: use key_state/mouse_state
10516 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10518 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10521 * chset.C: change include order
10522 (loadFile): use boost regex and get rid of LRegex and LSubstring
10524 * Makefile.am (BOOST_LIBS): new variable
10525 (lyx_LDADD): use it
10527 * LaTeX.C: change include order.
10528 (scanAuxFile): use boost regex and get rid of LRegex and
10532 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10537 * FontInfo.C: moved to frontends/xforms/
10540 * FontLoader.C: moved into frontends for GUIIzation
10545 * lyxfunc.C: changes from above
10547 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10549 * LColor.C: remove spurious X include
10551 * BufferView_pimpl.C:
10556 * text2.C: move font metrics to frontends/
10558 2002-05-24 Juergen Vigna <jug@sad.it>
10560 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10561 setting the undo_cursor.
10563 * ParagraphParameters.h: include local includes first.
10565 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10567 * BufferView_pimpl.C:
10568 * BufferView_pimpl.h:
10572 * screen.C: move WorkArea into frontends/
10578 * BufferView2.C: move LyXScreen into frontends/
10582 * lyx_gui.C: move lyxlookup into frontends/xforms/
10584 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10587 * BufferView_pimpl.C:
10597 * bufferview_funcs.C:
10610 * vc-backend.C: move LyX/XFormsView into frontends/
10612 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10624 * text2.C: move Painter to frontends/
10626 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10628 * buffer.C: comment out some some code that depend upon lyx_format
10631 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10632 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10634 * buffer.h (NO_COMPABILITY): turn off compability
10636 * ColorHandler.C: include scoped_array.hpp
10638 * font.C: Use more specific smart_ptr header.
10641 * ShareContainer.h: ditto
10642 * lyx_main.h: ditto
10644 * FontInfo.h: ditto
10645 * BufferView_pimpl.h: ditto
10646 * ColorHandler.h: ditto
10648 * kbmap.C (defkey): change call to shared_ptr::reset
10650 2002-05-21 Juergen Vigna <jug@sad.it>
10652 * buffer.C (insertErtContents): fix to insert ert asis if it is
10653 non empty. Skip it completely if it contains only whitespaces.
10655 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10657 * BufferView_pimpl.C:
10658 * BufferView2.C: clear selection on paste (bug 393)
10660 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10662 * DepTable.C: include ctime
10664 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10666 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10668 2002-05-14 Juergen Vigna <jug@sad.it>
10670 * text.C (breakParagraph): fixed function to honor the keepempty
10671 layout in the right maner and also to permit the right breaking
10672 algorithm on empty or non empyt keepempty paragraphs.
10674 * paragraph.C (breakParagraph): we have to check also if the par
10675 is really empty (!size()) for isempty otherwise we do the wrong
10678 2002-05-10 Juergen Vigna <jug@sad.it>
10680 * buffer.[Ch] : The following are only changes to the ert
10681 compatibility read reading old LaTeX layout and font stuff and
10682 convert it to ERTInsets.
10684 * buffer.h: added isErtInset().
10686 * buffer.C (struct ErtComp): add a fromlayout bool to check
10687 if we're inside a LaTeX layout.
10688 (isErtInset): new helper function.
10689 (insertErtContents): look for other ert insets before this one
10690 and insert the contents there, so that we don't have subsequent
10691 ERT insets with nothing between them. This way we create only one
10692 inset with multiple paragraphs. Also check if we don't insert only
10693 spaces ' ' as they are ignored anyway afterwards in the .tex file
10694 so if we have only spaces we will ignore this latex part in the
10696 (parseSingleLyXformat2Token \\layout): better compatibility when
10697 reading layout-latex stuff.
10698 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10700 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10701 stuff after reading the inset only get the information back from
10704 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10706 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10708 * LaTeXFeatures.C (getBabelOptions): New method.
10710 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10712 * BufferView_pimpl.C (Dispatch): work around missing argument for
10715 2002-05-08 Juergen Vigna <jug@sad.it>
10717 * text.C (leftMargin): handle paragraph leftindent.
10719 * paragraph.C (writeFile): write the new \\leftindent tag.
10720 (validate): handle leftindent code.
10721 (TeXEnvironment): handle paragraphleftindent code again.
10723 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10725 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10726 for paragrap_extra indent code and new token \\leftindent.
10727 (latexParagraphs): handle the leftindent as environment.
10729 * ParameterStruct.h: added leftindent support.
10731 * ParagraphParameters.C (leftIndent): added support functions for
10732 the paragraph left indent.
10734 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10737 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10739 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10742 * text.C (computeBidiTables): No bidi in insetERT.
10744 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10747 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10749 * version.C.in: pre 5
10751 2002-05-02 José Matos <jamatos@fep.up.pt>
10752 * buffer.C (makeDocBookFile): white space changes, add newline to
10754 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10756 * tabular.C (docBook): fix typo.
10758 2002-05-03 Juergen Vigna <jug@sad.it>
10760 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10761 change in LyXText as we can not be sure it was not freed.
10762 (drawOneRow): remove unused code.
10764 * text.C (drawInset): redo the calculation of the need_break_row as
10765 it could have a row which was already freed.
10766 (draw): look at the return value of drawInset and return false if
10767 it also returned false.
10768 (paintRowText): look at the return value of draw and return false if
10769 it also returned false.
10771 * lyxtext.h: added bool return type to drawInset() and draw() so that
10772 if we have a change in the row so that the rowbreak has to be redone
10773 we abort drawing as it will be called again.
10775 2002-05-02 Juergen Vigna <jug@sad.it>
10777 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10778 a change in the maintext also if we're inside an inset.
10779 (Dispatch): set the cursor again after a break line and after the
10780 screen has been updated as it could be we're in a different row.
10782 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10783 to set the cursor behind the pargraph with > size().
10784 (setCursor): check also for the same paragraph when checking where
10785 to put the cursor if we have a NFR inset.
10787 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10788 parts of layout read further up as it still was in the wrong
10791 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10793 * screen.C (drawFromTo): change sine fullRebreak always return
10796 * buffer.C (parseSingleLyXformat2Token): reindent some
10798 * BufferView_pimpl.C (update): change since fullRebreak always
10800 (Dispatch): git rid of the last hardcoded "Standard"s.
10802 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10804 * text2.[Ch] (fullRebreak): make it return void now that we always
10807 2002-04-30 Juergen Vigna <jug@sad.it>
10809 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10810 ert compatibility check for "latex" layout.
10812 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10814 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10815 minipages: use col% instead of p%, and also use the current font.
10816 (makeLaTeXFile): Fix use babel condition.
10817 (parseSingleLyXformat2Token): Correct font when reading old floats.
10819 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10821 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10822 inserting list of floats.
10824 2002-04-25 Herbert Voss <voss@lyx.org>
10826 * MenuBackend.C (expand): don't add the graphics extensions to the
10829 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10831 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10832 non-existing layout, do not complain if it was the default layout
10833 of the original class (bug #342)
10835 2002-04-24 Juergen Vigna <jug@sad.it>
10837 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10838 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10840 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10842 * buffer.C (getBibkeyList): If using \bibliography, return the
10843 option field with the reference itself. Enables us to provide natbib
10844 support when using \bibliography.
10846 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10848 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10850 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10851 natbib is provided by the LaTeX class.
10853 2002-04-23 Juergen Vigna <jug@sad.it>
10855 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10858 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10860 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10862 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10864 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10865 ensuremath around textordmasculine, textordfeminine and
10868 2002-04-19 Juergen Vigna <jug@sad.it>
10870 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10871 reinitializing the buffer otherwise row-dimensions may be wrong.
10872 (update): reset also the selection cursors if they do exits otherwise
10873 their x/y positions may be wrong.
10875 * text2.C (cursorDown): don't enter the inset if we came from a row
10876 above and are one row over the inset.
10878 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10879 really leaving an inset.
10881 2002-04-18 Juergen Vigna <jug@sad.it>
10883 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10884 of the selected paragraph does not have the selected layout also if
10887 * text2.C (setLayout): fixed bug which did not change last selected
10890 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10891 changed the read and substituted \\end_float with \\end_inset!
10893 * BufferView_pimpl.C (cursorPrevious):
10894 (cursorNext): fixed to make it work with rows heigher than the work
10895 area without moving the cursor only the draw of the row.
10896 (workAreaMotionNotify): fix jumping over high rows.
10898 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10900 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10903 2002-04-16 Juergen Vigna <jug@sad.it>
10905 * text2.C (setCursor): set also the irow().
10906 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10908 (cursorDown): support for locking an inset if the x_fix value goes
10909 inside it. That way I can transverse insets too with cursor up/down.
10911 * lyxrow.h: added irow helper function same as other (i) functions.
10913 * BufferView_pimpl.C (cursorPrevious):
10914 (cursorNext): fixed for insets!
10916 2002-04-15 Juergen Vigna <jug@sad.it>
10918 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10919 position otherwise it is wrong in some cases.
10921 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10922 inside the inset before the call.
10924 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10926 * buffer.[Ch] (getBibkeyList): make it const.
10928 2002-04-12 Juergen Vigna <jug@sad.it>
10930 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10932 * text2.C (getCursorX): new helper function
10933 (setCursor): compute also ix_
10934 (setCursorFromCoordinates): set also ix.
10936 * lyxcursor.h: added ix_ and helper functions.
10938 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10940 * buffer.C (insertStringAsLines): dont break paragraph if the this
10941 paragraph is inside an inset which does not permit it!
10943 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10944 also with no chars on this paragraph.
10945 (paintRowText): only paint stuff if it's inside the workarea!
10947 * paragraph.C (breakParagraph): honor keepempty flag and break the
10948 paragraph always below not above.
10950 * BufferView2.C (unlockInset): update the paragraph layout on inset
10951 unlock as we changed paragraph in such a case.
10953 * lyxfind.C (LyXFind): clear the former selection if not found!
10955 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10956 again called in insertChar().
10958 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10959 an inset which uses the whole row!
10960 (rightMargin): ditto.
10961 (insertChar): force a rebreak if we inserted an inset!
10963 2002-03-28 Herbert Voss <voss@lyx.org>
10965 * lyxlength.[Ch]: add inBP() to get the right PS-point
10966 units (BigPoint). With inPixels we have rounding errors
10968 2002-04-11 Juergen Vigna <jug@sad.it>
10970 * text2.C (setCursorFromCoordinates): set iy to the right value.
10971 (setCursor): add check if row->previous exists!
10973 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10974 an old float_type as this was the case in the old code!
10976 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10978 * BufferView2.C (showLockedInsetCursor): use iy
10979 (fitLockedInsetCursor): ditto
10981 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10982 locked insets as there we have the right value now.
10984 * lyxcursor.C: added iy_ variable and iy functions to set to the
10985 baseline of cursor-y of the locked inset.
10987 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10988 (setCursor): fixed for insets which need a full row.
10990 * text.C (rowLastPrintable): don't ignore the last space when before
10991 an inset which needs a full row.
10992 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10993 as last character of a row when before a inset which needs a full row.
10995 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10997 * version.C.in: update date
10999 * text2.C (fullRebreak): try to always return true and see what
11002 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11004 * MenuBackend.C (expand): use Floating::listName
11006 * FloatList.C (FloatList): add listName argument to the built-in
11009 * Floating.[Ch]: add listName member, which is the 'List of XXX'
11010 text associated with the float.
11012 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11014 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
11016 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11018 * ShareContainer.h: add a couple of missing typenames.
11020 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
11022 * lyxrc.C (getDescription): use _() correctly rather than N_().
11024 2002-03-28 Herbert Voss <voss@lyx.org>
11026 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
11027 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
11029 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11031 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11032 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11034 2002-03-29 Juergen Vigna <jug@sad.it>
11036 * lyxfunc.C (dispatch): add a missing fitCursor call.
11038 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11039 it was scrolled by a cursor move, so return the bool status.
11041 * BufferView.C (fitCursor): return the bool flag also to the outside
11042 world as this is needed.
11044 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11046 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11047 call the edit() as it is not needed (and wrong) IMO.
11048 (workAreaButtonPress): set the screen_first variable before evt.
11049 unlock the inset as this may change screen_first and then we have
11050 a wrong y position for the click!
11052 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11054 * MenuBackend.C (expand): another translation that I missed
11056 2002-03-28 Juergen Vigna <jug@sad.it>
11058 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11060 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11062 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11064 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11066 * MenuBackend.C (expand): fix export/view/update when there is no
11069 2002-03-27 Herbert Voss <voss@lyx.org>
11071 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11074 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11076 * bufferview_funcs.C (currentState): only show paragraph number
11077 for is DEVEL_VERSION is set.
11079 * lyxfunc.C (dispatch): put warning in INFO channel
11081 * MenuBackend.C (expand): translate the name of floats
11083 * FloatList.C (FloatList): mark the float names for translation
11085 * converter.C (convert): use LibScriptSearch
11087 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11089 * MenuBackend.C (defaults): fix default menu (we might as well get
11092 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11094 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11097 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11099 * lyxvc.C: reorder includes.
11101 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11103 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11106 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11108 * CutAndPaste.C: change layouts earlier on paste
11109 to avoid crashing when calling getFont()
11111 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11113 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11116 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11118 * WorkArea.C: remove 'Pending' debug message.
11120 * most files: ws cleanup
11122 * buffer.[Ch]: ws changes
11124 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11126 2002-03-21 Juergen Vigna <jug@sad.it>
11128 * tabular.C (SetMultiColumn): collapse also the contents of the
11129 cells and set the last border right. Added a Buffer const * param.
11131 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11133 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11136 2002-03-19 Juergen Vigna <jug@sad.it>
11138 * text2.C (clearSelection): reset also xsel_cache.
11140 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11141 where it needs to be called (John tells us to do so too :)
11142 (selectionLost): reset sel_cache.
11144 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11146 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11148 * text2.C (setCursorIntern): put debuging code in INSETS channel
11150 2002-03-19 André Pönitz <poenitz@gmx.net>
11152 * lyxfunc.C: tiny whitespace change
11154 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11156 * ToolbarDefaults.C (init):
11157 * LyXAction.C (init):
11159 * BufferView_pimpl.C (Dispatch):
11160 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11162 2002-03-19 Allan Rae <rae@lyx.org>
11164 * exporter.C (Export): removeAutoInsets before doing anything else.
11165 While I've just introduced a dependency on BufferView this really is
11166 the best place to clean the buffer otherwise you need to cleanup in
11167 a dozen places before calling export or cleanup in a dozen functions
11170 * converter.C (runLaTeX):
11171 (scanLog): Better handling of removeAutoInsets and screen updates.
11173 * lyxfunc.C (dispatch): small whitespace changes
11175 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11177 * WorkArea.C (C_WorkAreaEvent): return a value.
11178 (event_cb): return 1 if we handled the event, 0 otherwise.
11180 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11182 2002-03-18 Juergen Vigna <jug@sad.it>
11184 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11185 (GetAdditionalWidth): ditto.
11186 (RightLine): ditto.
11189 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11190 inset if we're there actually (probably not used right now but this
11191 is the direction to go for unifying code).
11192 (paste): disable code to clear the selection.
11194 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11195 inside an InsetText and move the check further up as it is in the
11198 * text2.C (pasteSelection): set a selection over the pasted text.
11200 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11202 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11203 and libgraphics to build on Cygwin.
11205 2002-03-15 Juergen Vigna <jug@sad.it>
11207 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11208 inserting an Inset into the paragraph. I know this is not the best
11209 fix but we already use current_view in CutAndPaste so we will remove
11210 all of it's using at the same time.
11212 * buffer.C (sgmlError): deactivated function till it is rewritten in
11213 the right mode, now it can create problems.
11215 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11216 before accessing it.
11218 2002-03-14 Juergen Vigna <jug@sad.it>
11220 * undo_funcs.C (textHandleUndo): do the right thing when updating
11221 the inset after the undo/redo.
11223 * text2.C (setCursor): just some testcode for #44 not ready yet.
11225 * undo_funcs.C (textHandleUndo): set the next() and previous()
11226 pointers of the paragraph to 0 before deleting otherwise we have
11227 problems with the Paragraph::[destructor].
11229 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11230 on a paragraph insertion.
11232 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11234 * buffer.C (asciiParagraph): use += operator for char append to
11237 * paragraph.C (getFontSettings): compare >= not just >
11238 (highestFontInRange): ditto
11241 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11243 * paragraph.C: change several algorithm to be more appripriate for
11244 the problem domain. This is lookip in FontList and in the InsetList.
11246 2002-03-13 André Pönitz <poenitz@gmx.net>
11249 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11251 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11256 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11258 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11260 * Painter.C (display): anon helper function, adjust code for this
11262 (pixmap): remove function.
11264 * Painter.h: remove private display variable.
11266 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11268 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11270 * WorkArea.[Ch]: remove figinset_canvas cruft.
11272 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11274 * lyxtextclass.C (operator): add one item cache optimization.
11276 * bufferlist.h: doxy changes
11278 * bufferlist.C: ws changes
11280 * DepTable.[Ch] (ext_exist): place const in the right spot.
11282 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11284 (workAreaExpose): call resizeInsets when the with BufferView changes.
11285 (Dispatch): adjust for protectedBlank removal
11286 (specialChar): call updateInset if the insert went ok.
11288 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11289 specialChar instead.
11291 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11293 * BufferView.h: doxy change
11295 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11297 * lyxtextclass.C (operator[]): remove non-const version
11298 (defaultLayout): remove non-const version
11300 2002-03-12 Juergen Vigna <jug@sad.it>
11302 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11303 did resize the LyXText too.
11305 * buffer.C (readLyXformat2): set layout information on newly allocated
11308 * tabular.C (OldFormatRead): set layout information on the paragraph.
11310 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11312 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11314 2002-03-11 Juergen Vigna <jug@sad.it>
11316 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11318 (resizeCurrentBuffer): force also the insets to resize themselfes.
11319 (moveCursorUpdate): fixed up for InsetText.
11321 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11324 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11325 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11326 value of Dialogs::tooltipsEnabled().
11327 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11329 2002-03-08 Juergen Vigna <jug@sad.it>
11331 * BufferView_pimpl.C (updateInset): update inset inside inset also
11332 if it isn't inside theLockingInset().
11334 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11336 * buffer.C (asciiParagraph): redo some of the word and line length
11338 (getLists): look for Caption instead of caption.
11340 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11342 * buffer.C (Buffer): initialize niceFile to true
11344 (makeLinuxDocFile):
11345 (makeDocBookFile): make sure niceFile is true on exit
11347 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11349 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11351 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11353 * LyXSendto.C: remove.
11354 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11355 * lyx_gui.C: remove now-redundant comment.
11356 * ColorHandler.h: remove forward declaration of class WorkArea.
11357 * lyxfunc.C: remove #include "WorkArea.h".
11359 2002-03-07 Juergen Vigna <jug@sad.it>
11361 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11362 got moved away with the DEPM and also set the inset_owner always
11363 right which before could have been omitted.
11365 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11367 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11368 wanted layout is not found.
11370 2002-03-07 Juergen Vigna <jug@sad.it>
11372 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11374 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11376 * paragraph.C (breakParagraph): use default layout not layout of
11378 (Paragraph): clear ParagraphParameters.
11380 2002-03-06 Juergen Vigna <jug@sad.it>
11382 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11383 otherwise it would not be a valid lenght. Fixed a special case in
11384 the minipage compatibility read where we end the document with a
11387 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11388 was set as it could be 0 for InsetTexts first entry.
11390 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11392 * paragraph.C (writeFile): if layout is empty write out
11393 defaultLayoutName().
11395 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11396 file without named layout we set layout to defaultLayoutName().
11398 2002-03-06 Juergen Vigna <jug@sad.it>
11400 * CutAndPaste.C (copySelection): set layout for new paragraph.
11402 * text.C (prepareToPrint): leave ERT inset left aligned
11403 (leftMargin): don't indent paragraphs inside ERT insets
11405 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11407 * paragraph.C (breakParagraph): dont call clear do the work manually
11409 * paragraph.[Ch] (clear): remove function
11411 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11413 * paragraph.C (Paragraph): dont call clear, the work has already
11416 * lyxtextclass.C (operator): assert if n is empty
11418 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11419 work manually instead.
11421 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11423 * BufferView_pimpl.C: protect selectionLost against text == 0
11425 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11427 * text.C (breakParagraph): fix a setting layout to '0' problem.
11429 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11431 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11432 final location of file, for the included files, and graphics.
11434 2002-03-05 Juergen Vigna <jug@sad.it>
11436 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11438 2002-03-04 Juergen Vigna <jug@sad.it>
11440 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11442 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11443 last column of multicolumn cells.
11444 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11446 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11448 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11449 file if it doesn't go to a temporary file.
11451 * buffer.C (sgmlOpenTag):
11452 (sgmlCloseTag): remove extra newline insertion.
11454 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11456 * text.C (getRowNearY): comment out debug msg
11458 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11460 * text2.C: first -> first_y
11462 * text.C (getRowNearY): add some attemts at a possible
11463 optimization, not working.
11465 * tabular.[Ch]: add BufferParams to several function so that newly
11466 created paragraph can be initialized to he default layotu for the
11469 * tabular-old.C (ReadOld): add buf->params to call of Init
11471 * screen.C: rename text->first to text->first_y
11473 * paragraph.C (breakParagraph): always set layout in the broken
11476 * lyxtextclass.C (Read): remove lowercase
11479 (delete_layout): ditto
11481 * lyxtext.h: rename first -> first_y
11483 * lyxlayout.C (Read): remove lowercase
11486 (obsoleted_by): ditto
11488 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11490 * buffer.C (insertErtContents): add params are to InsetERT
11491 (parseSingleLyXformat2Token): add code to check if a paragraphs
11492 layout really exist.
11493 (parseSingleLyXformat2Token): add params to several inset
11495 (asciiParagraph): remove lowercase, do the layout comparisons with
11498 * BufferView_pimpl.C (cursorNext): first -> first_y
11499 (resizeCurrentBuffer): first -> first_y
11500 (updateScrollbar): first -> first_y
11501 (scrollCB): first -> first_y
11502 (workAreaMotionNotify): first -> first_y
11503 (workAreaButtonPress): first -> first_y
11504 (checkInsetHit): first -> first_y
11505 (cursorPrevious): first -> first_y
11506 (cursorNext): first -> first_y
11507 (Dispatch): add buffer_->params to severl inset contructors
11509 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11511 * lyxlayout.C (Read): remove some debug info that I forgot.
11513 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11514 clean up the code slightly.
11515 (makeLinuxDocFile): ditto
11516 (makeDocBookFile): ditto
11518 * text2.C: layout as string
11520 * text.C: layout as string
11522 * paragraph_pimpl.C: layout as string
11524 * paragraph.[Ch]: layout as string
11526 * lyxtextclasslist.[Ch]: layout as string
11528 * lyxtextclass.[Ch]: layout as string
11530 * lyxtext.h: layout as string
11532 * lyxlayout.[Ch]: layout as string
11534 * lyx_cb.C: layout as string
11536 * bufferview_funcs.C: layout as string
11538 * bufferparams.C: layout as string
11540 * buffer.C: layout as string
11542 * LyXView.[Ch]: layout as string
11544 * LaTeXFeatures.[Ch]: layout as string
11546 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11548 * BufferView_pimpl.C: change current_layout to string, remove
11553 (workAreaButtonRelease): layout as string
11555 * BufferView2.C (unlockInset): adjust
11557 * vspace.C (asLatexCommand): use an explict temp variable.
11559 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11561 * Makefile.am: use FRONTEND_*
11563 2002-03-01 Juergen Vigna <jug@sad.it>
11565 * tabular.C (SetWidthOfMulticolCell): changed to something better
11566 I hope but still work in progress.
11567 (recalculateMulticolumnsOfColumn): renamed function from
11568 recalculateMulticolCells as it is more appropriate now.
11569 (SetWidthOfCell): calculate multicols better.
11571 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11573 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11575 * lyxfunc.C (processKeySym): print sequence also if it is
11576 `deleted' (complete)
11578 * kbsequence.C (print): print sequence even if it is deleted
11579 (complete would be a better word, actually).
11581 * lyxfunc.C (dispatch): print complete options after a prefix key
11583 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11585 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11587 * text2.C (setCharFont): eliminate setCharFont code duplication.
11589 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11591 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11592 LFUN_TABULAR_FEATURE (bug #177)
11594 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11596 * Makefile.am: remove figure.h
11598 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11600 * Bufferview_pimpl.C:
11612 * text2.C: remove #include "lyx_gui_misc.h".
11614 * LaTeX.C: added #include <cstdio>
11616 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11618 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11619 that the paragraph following this one can have.
11621 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11623 * vspace.C (asLatexCommand): fix bogus gcc warning
11625 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11627 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11629 * text2.C (setLayout): get rid of redundant code
11631 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11633 * text2.C (incDepth): make sure depth cannot be increased beyond
11636 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11638 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11639 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11641 * PainterBase.h (image):
11642 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11643 a LyXImage const *.
11645 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11649 * BufferView_pimpl.C:
11650 * BufferView_pimpl.h:
11670 * sp_spell.C: remove fig inset, and the crap house of
11671 cards that follows it
11673 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11678 * os2_errortable.h:
11679 * nt_defines.h: move .h into support/
11681 * vms_defines.h: remove
11683 * WorkArea.C: add space in debug output
11687 * buffer.C: add WITH_WARNINGS
11691 * bufferlist.C: s/retrive/retrieve/, add docs
11700 * chset.C: add docs
11702 * lyxgui.C: add ID to X error handler
11704 * lyxtestclass.c: fix typo
11706 2002-02-26 Juergen Vigna <jug@sad.it>
11708 * tabular_funcs.C (write_attribute): changed so that some default
11709 attributes are not written at all.
11710 (getTokenValue): set default values before trying to read the
11711 value so we have the return value always set as default if we don't
11712 find the token we search for.
11714 * tabular.C (Write): write bools as bools not as strings!
11716 2002-02-22 Juergen Vigna <jug@sad.it>
11718 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11719 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11721 * text.C (leftMargin): don't add an indent for paragraphs inside
11722 tabular cells (fix #208).
11724 2002-02-21 José Matos <jamatos@fep.up.pt>
11726 * tabular.C (docBook): fixed support for long tables.
11728 2002-02-20 Juergen Vigna <jug@sad.it>
11730 * text2.C (getFont): get the drawing font of the Inset if this
11731 paragraph is inside an inset (only important for InsetERT for now).
11733 * buffer.C (insertErtContents): use new lanugage params in ERT
11736 * CutAndPaste.C: commenting out seemingly uneeded code.
11738 2002-02-19 Allan Rae <rae@lyx.org>
11740 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11741 Iterators might be simple to use but they also get invalidated.
11742 (removeAutoInsets): renamed saved cursor tracking variables and added
11743 some comments to clarify what everything does.
11745 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11752 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11753 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11756 * vc-backend.h: remove #include "support/syscall.h"
11760 * converter.C: rearrange #includes in Lars' approved fashion.
11762 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11763 forward declare class Timeout in the header file.
11765 * XFormsView.C: changes due to the above.
11767 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11768 similar to LyXView.
11770 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11771 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11773 2002-02-18 José Matos <jamatos@fep.up.pt>
11775 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11778 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11780 * a lot of small ws changes
11781 * add a lot of using std::XXX
11782 * use std construcs some places where approp.
11783 * use some exisint stuff from lyxfunctional where approp.
11784 * Make file changes to use partial linking (lets test this now...)
11786 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11790 remove #include "support/syscontr.h" as it's redundant. Always has been.
11798 change Systemcalls::System to Systemcalls::Wait and
11799 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11800 No change of functionality, just reflects the stripped down Systemcalls
11803 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11805 * debug.[Ch]: add a GRAPHICS type to the enum.
11807 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11809 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11811 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11814 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11816 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11817 match the changes below.
11819 * text2.C (toggleInset): if there is not editable inset at cursor
11820 position, try to see if cursor is _inside_ a collapsable inset
11823 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11825 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11826 document menu has a nice checkbox
11828 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11830 * lyxlength.C (asLatexString): change PW to output as percent of
11833 * lengthcommon.C: change '%' to 't%'
11835 * lyxfunc.C (dispatch): a few comments from Martin
11837 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11841 * BufferView_pimpl.h:
11842 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11845 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11847 * vspace.C (inPixels): fix compiler warning
11849 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11851 * lyxfunc.C (getStatus): fix status message for disabled commands.
11853 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11855 * BufferView_pimpl.C: fix crash on close buffer
11856 during selection (#227)
11858 2002-01-27 Herbert Voss <voss@lyx.org>
11860 * buffer.C: link old Figure to new graphic inset
11862 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11864 * FontLoader.C (getFontinfo): Change the latex font names in order
11865 to match the names of type1inst.
11867 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11869 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11871 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11872 (extchanged): ditto
11874 (remove_files_with_extension): ditto
11875 (remove_file): ditto
11878 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11879 document is smaller than the work area height. Do not initialize
11880 static variables to 0.
11882 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11884 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11886 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11887 LFUN_LAYOUT_PARAGRAPHS.
11889 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11890 tabular. It is possible to provide a possible cell, which will
11891 typically be the actcell from the corresponding insettabular
11893 * lyxfunc.C (getStatus): small cleanup; disable
11894 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11897 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11899 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11901 * paragraph.C (startTeXParParams):
11902 (endTeXParParams): new methods. The LaTeX code to
11903 start/end paragraph formatting
11904 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11905 empty (fixes bug #200)
11907 * vspace.C (inPixels): adapt to the change below
11908 (inPixels): [later] more cleanups (remove unused variables)
11910 * lyxlength.C (inPixels): change to use a width and a height as
11913 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11915 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11916 Replaced with \paperwidth
11918 * DepTable.C (insert): add std:: qualifier
11920 2002-01-18 Allan Rae <rae@lyx.org>
11922 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11925 * text.C (drawInset): Turned out I didn't know enough about how
11926 rebreaking worked. This fixes most of the redraw problems. I see
11927 an occasional cursor trail when a line is broken now and the cursor
11928 placement can seem out by a few pixels also after a rebreak.
11930 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11932 * buffer.C (parseSingleLyXformat2Token): update because minipage
11933 width is now a LyXLength
11935 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11937 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11940 2002-01-17 Juergen Vigna <jug@sad.it>
11942 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11944 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11945 is set correctly and the inset is updated correctly.
11947 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11949 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11950 the beginning of the loop.
11952 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11954 * lyxrc.C: improve help for use_scalable_fonts
11956 2002-01-17 Allan Rae <rae@lyx.org>
11958 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11960 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11962 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11963 make sure to set their inset_owner to the right value (bug #171)
11965 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11968 * DepTable.C: Implement mtime checking to reduce time spent doing
11971 2002-01-16 Juergen Vigna <jug@sad.it>
11973 * tabular.C (GetAdditionalHeight): one of error fixed.
11975 * lyxrc.C (output): small fix in writing use_pspell.
11977 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11979 * sp_base.h: #include LString.h
11981 2002-01-16 Allan Rae <rae@lyx.org>
11983 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11984 Can someone check this please?
11986 * text.C (drawInset): It was possible that p.row would be removed by
11987 breakAgainOneRow upsetting a few other settings. There may be another
11988 small tweak possible by setting need_break_row = 0 when p.row has been
11989 removed but I don't know enough about the logic here.
11991 2002-01-15 Allan Rae <rae@lyx.org>
11993 * text.C (insertChar): removed conditional truism.
11995 * BufferView2.C (removeAutoInsets): More tweaks.
11996 cur_par_prev could be a stray pointer. Check for trailing empty line
11997 in case last line was cur_par and only had an error inset on it.
11999 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12001 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
12004 * vc-backend.C (most methods):
12005 * exporter.C (Export):
12006 * converter.C (convert):
12008 * LyXSendto.C (SendtoApplyCB):
12009 * lyxfunc.C (dispatch):
12013 * lyx_cb.C (AutoSave):
12015 * BufferView_pimpl.C (MenuInsertLyXFile):
12016 * buffer.C (runChktex): use Buffer::filePath().
12018 * buffer.h: rename filename to filename_; rename filepath to
12019 filepath_ and make it private
12020 (filePath): new method
12022 * buffer.C (writeFile): use fileName()
12025 * lyx_main.C (init): fix starting of LyX when the binary is a
12026 link from so,ewhere else.
12028 * minibuffer.C: include <cctype> for isprint
12030 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12032 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12033 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12034 name clash with InsetCollapsable's width function.
12036 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12038 * lastfiles.C: include <iterator>
12040 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12042 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12045 * buffer.C (makeLaTeXFile): ditto.
12046 Also make loop operation more transparent.
12048 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12050 * ToolbarDefaults.C: remove trailing comma closing namespace.
12052 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12054 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12057 * trans.C (Load): comment out unused variable, allowed.
12059 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12061 * minibuffer.[Ch] (append_char): new method to recieve input from the
12062 drop-down completion browser. If a key was pressed, then recieve this
12063 char and append it to the existing string.
12064 (peek_event): modify the positioning data passed to the completion
12065 browser so that it can be placed above the minibuffer rather than below.
12066 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12068 * LyXAction.C (init): alloe error-next for readonly documents.
12070 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12073 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12075 * bufferlist.C (readFile): create the buffer _after_ checking that
12078 * lyxfunc.C (verboseDispatch): fix handling of arguments
12080 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12082 * lyxrc.C: use string::erase() instead of initializing to "".
12085 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12087 * BufferView_pimpl.h:
12088 * BufferView_pimpl.C:
12091 * text2.C: tell X when we have made a selection for copying
12093 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12095 * BufferView_pimpl.C (MenuInsertLyXFile):
12096 * lyxfunc.C (menuNew):
12098 (doImport): add shortcuts to directory buttons
12100 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12103 * lyxfunc.C (setStatusMessage):
12104 (getStatusMessage): new methods
12105 (getStatus):use setStatusMessage instead of setErrorMessage
12106 (dispatch): when function is disabled, set error message here
12107 [instead of in getStatus previously]
12109 * BufferView_pimpl.C (workAreaButtonRelease): update
12110 toolbar/menubar here too.
12112 2002-01-13 Allan Rae <rae@lyx.org>
12114 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12115 Now seems indestructible. Remaining task is to audit all other
12116 code affected by deleteEmptyParagraphMechanism. One small quirk
12117 left is that an empty document with an error in the preamble can
12118 be made to report an error but no error box appears. I don't know
12120 (removeAutoInsets): Improved comments.
12122 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12125 * Thesaurus.C: update for Aiksaurus 0.14
12127 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12129 * text2.C (firstParagraph): removed member function, all uses
12130 replaces with ownerParagraph
12131 (redoParagraphs): here
12132 (updateInset): here
12133 (toggleAppendix): here
12134 * BufferView2.C (insertErrors): here
12135 (setCursorFromRow): here
12137 2002-01-13 Allan Rae <rae@lyx.org>
12139 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12140 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12141 There is still a way to segfault this although you may have to do this
12142 multiple times: Have an InsetERT with an unknown command in it.
12143 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12144 <down-arrow>, <Enter> again, View->DVI, BANG!
12146 * text2.C (setCursor):
12147 (deleteEmptyParagraphMechanism):
12148 * lyxtext.h (setCursor):
12149 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12150 Making use of the return value may help fix other bugs.
12152 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12154 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12156 * LyXView.C (updateMenubar): call MenuBar::update here
12157 (updateToolbar): but not here
12158 (showState): do not update toolbar/menubar
12160 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12161 should need to care about that.
12163 * lyxfunc.C (verboseDispatch): simplify a bit
12164 (getStatus): have a version which takes a pseudoaction, and
12165 another which requires a (kb_action,string).
12167 * LyXAction.C (retrieveActionArg): make it work also when action
12168 is not a pseudo-action.
12169 (getActionName): simplify a bit
12172 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12174 * lyxfunc.C (verboseDispatch): new families of methods with
12175 several ways to specify a command and a bool to indicate whether
12176 the command name and shortcut should be displayed in minibuffer
12177 (eventually, we could extend that to a finer bitmask like
12178 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12179 (dispatch): the pristine dispatch command which just, well,
12180 dispatchs! Note it still sets its result to minibuffer; I'm not
12183 * lyxfunc.h: remove setHintMessage
12185 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12187 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12189 * BufferView_pimpl.C (specialChar): delete new inset if we have
12190 not been able to insert it.
12192 * kbmap.C: revert to using int instead of kb_action, since all we
12193 are dealing with is pseudo-actions.
12195 * LyXAction.C (searchActionArg): change to return int instead of
12196 kb_action, since the result is a pseudoaction.
12198 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12200 * buffer.C (insertErtContents): Fix (partially) the font bug.
12202 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12204 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12205 as the other one is broken on my machine!
12207 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12210 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12212 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12214 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12215 reflect their actual use. Provide compatibility code for older lyxrc
12218 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12220 change names of popup font variables in line with the changes to lyxrc.C
12222 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12224 * buffer.C (asciiParagraph): avoid outputing a word twice after
12227 * lyxrc.C (getDescription): document that document_path and
12228 template_path can be empty.
12230 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12232 * LaTeXFeatures.C (getMacros):
12233 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12235 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12237 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12239 (getPackages): rename feature "floats" to "float". Use an array to
12240 iterate over 'simple' features (i.e. just a \usepackage). Add
12241 handling of "amsmath" (renamed from "amsstyle").
12243 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12245 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12248 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12250 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12251 FuncStaus::FuncStatus & FuncStaus::some_method().
12253 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12255 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12256 of the func_satus stuff. Edited and massaged in various ways by
12259 * lyxfunc.C (getStatus): use FuncStatus
12261 2002-01-08 Juergen Vigna <jug@sad.it>
12263 * text.C (nextBreakPoint): use function Inset::isChar().
12265 * paragraph.C (TeXOnePar): use function
12266 Inset::forceDefaultParagraphs.
12268 * buffer.C (latexParagraphs): use function
12269 Inset::forceDefaultParagraphs.
12271 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12273 * lyx_gui.C (init): set the style of the menu popups to
12274 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12276 2002-01-07 Juergen Vigna <jug@sad.it>
12278 * text.C (setHeightOfRow): small fix
12279 (prepareToPrint): don't look at alignment if we don't have the place
12282 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12284 * box.C: New file. Move the Box methods and functions out of box.h,
12285 following Lars' suggestion.
12287 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12289 * box.h: #include "support/LOstream.h", needed for inlined function.
12292 * lyxtextclasslist.C: added some using std declarations.
12294 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12296 * box.h: make signed dimensions to allow insets wider than
12297 the screen (bug #162)
12299 * BufferView_pimpl.C: add some insetHit debug
12301 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12303 * vc-backend.C: add FIXME
12305 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12307 * lyxfunc.C (getStatus): enable code for showing math font status
12310 2002-01-07 Juergen Vigna <jug@sad.it>
12312 * text.C (nextBreakPoint): removed debug output not needed anymore.
12314 2002-01-06 Juergen Vigna <jug@sad.it>
12316 * text.C (nextBreakPoint): fixed up this function we had this bug
12317 since ever but now hopefully we break row better.
12318 (insertChar): we have to check if an inset is the next char as it
12319 could now happen that a large inset is causing a break.
12321 2002-01-05 Juergen Vigna <jug@sad.it>
12323 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12324 if it doesn't like to be drawed.
12326 2002-01-04 Juergen Vigna <jug@sad.it>
12328 * BufferView2.C (lockInset): forgot to set a cursor.
12330 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12332 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12334 * FormMathsPanel.C:
12337 * form_maths_panel.C:
12338 * form_maths_panel.h:
12339 * form_maths_panel.fd: implemented sub- and super- buttons in math
12342 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12343 (or ^ space) to be used as in TeX (req'd by André).
12345 * lyxfunc.C: Allow ^ and _ again to be used both as
12346 super/subscript (mathed) and as themselves (in text).
12348 2002-01-03 Allan Rae <rae@lyx.org>
12350 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12351 "LyX" or the filename of the current buffer if it has one. This is a
12352 modified form of John Levon's patch.
12354 * XFormsView.C (setWindowTitle): also set icon title.
12356 * LyXView.h (setWindowTitle): signature changed.
12357 * XFormsView.h (setWindowTitle): ditto.
12359 2002-01-02 Juergen Vigna <jug@sad.it>
12361 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12363 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12365 * screen.C (topCursorVisible): introduce a temp var for
12366 text->cursor.row(), handle the case where this row is null. (kindo
12369 * text2.C (setCursor): add a couple of asserts.
12371 * paragraph.h (inset_iterator): add -> operator
12373 * paragraph.[Ch] (autoDeleteInsets): remove member function
12375 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12376 cursor pos correctly and handle inset deletion by itself.
12377 (insertErrors): move iterator declaration out of for expression
12379 * lyxtextclass.C: add <algorithm>
12381 * Makefile.am: added the new files to sources, removed layout.C
12383 * layout.C: removed file
12385 * layout.h: remove LYX_DUMMY_LAYOUT
12387 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12391 * lyxtextclass.[Ch]:
12392 * lyxtextclasslist.[Ch]: new files
12394 * include order changes to a lot of files, also changes because of
12397 2001-12-27 Juergen Vigna <jug@sad.it>
12399 * buffer.C (asciiParagraph): more fixes.
12401 * tabular.C (ascii): make ascii export support export of only the
12402 data separated by a column-delimiter.
12403 (ascii): better support for ascii export.
12405 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12407 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12409 * tabular_funcs.C: use a "using std::getline" instead of the
12410 previous fix from Angus (necessary for cxx + lyxstring)
12412 2001-12-24 Juergen Vigna <jug@sad.it>
12414 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12416 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12417 problems. First check a minipage also if we have some ert-contents
12418 (not only on par->size(), second set the right depth of the paragraph
12419 on the relink to the root-paragraph-list!
12421 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12422 which then did not anymore update the main paragraphs on undo/redo!
12424 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12426 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12427 code. Support all font-changing funcs (even those which are not in
12428 menu currently). Support for reporting font settings in
12429 mathed (disabled until Andre provides a function on mathed's side).
12431 * func_status.h (toggle): small helper function to set toggle
12434 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12436 * tabular_funcs.C: getline -> std::getline
12438 2001-12-21 Juergen Vigna <jug@sad.it>
12440 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12441 accessed and could be 0 (I couldn't generate this but it seems
12444 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12446 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12447 * tabular_funcs.h: here and include iosfwd
12449 2001-12-20 Juergen Vigna <jug@sad.it>
12451 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12452 inside inset but undo_par was.
12454 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12456 * Thesaurus.C: always include <config.h> in sources.
12460 * box.h: do not include <config.h> in header files
12462 * text.C (paintLastRow): remove unused variable
12464 * text.C (transformChar):
12466 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12468 * Painter.C (text):
12469 * font.C (width): rewrite to use uppercase() instead of
12472 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12474 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12476 * lyxfind.C: clean up of find failure position change
12478 2001-12-20 Juergen Vigna <jug@sad.it>
12480 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12482 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12483 (TeXRow): added to LaTeX a single tabular row.
12484 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12485 (Latex): simplified and finally good LT-h/f support.
12486 (various_functions): just small adaptions for LT-h/f support.
12488 * tabular_funcs.[hC]: added and moved here all not classfunctions
12491 2001-12-19 Juergen Vigna <jug@sad.it>
12493 * tabular.[Ch]: better support for longtabular options (not finished
12496 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12498 * text.C (paintLastRow): use the label font instead of the font of
12499 the last character to compute the size of *_BOX. This makes more
12500 sense and avoids a crash with empty paragraphs.
12501 Use Painter::rectangle to draw EMPTY_BOX.
12503 2001-12-19 Juergen Vigna <jug@sad.it>
12505 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12506 the paragraphs if the replaced paragraph is not the first one!
12507 Tried to delete not used paragraphs but does not work yet so for
12508 now it's inside #ifdef's and by default off!
12510 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12512 * MenuBackend.C: include "lyx_main.h" instead of declaring
12513 lastfiles (actually was declared as LastFiles* instead of a
12516 2001-12-17 Juergen Vigna <jug@sad.it>
12518 * tabular.C (AppendColumn): applied John's fix
12520 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12524 * BufferView_pimpl.h:
12525 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12528 * box.h: new start of class for above
12530 * lyxfunc.C: ignore space-only minibuffer dispatches.
12531 Show the command name when it doesn't exist
12533 * minibuffer.C: don't add empty lines to the history
12535 * minibuffer.C: add a space on dropdown completion
12537 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12539 * text.C: fix line above/below drawing in insets
12541 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12543 * lyxlength.C (LyXLength): Initialize private variables.
12545 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12547 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12548 when inserting error insets.
12550 2001-12-13 Juergen Vigna <jug@sad.it>
12552 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12553 actually sometimes the before-paragraph.
12554 (setUndo): don't clear the redostack if we're not actually undoing!
12556 2001-12-06 Juergen Vigna <jug@sad.it>
12558 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12559 and fixed redoing of main paragraph, so we can use it now ;)
12561 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12563 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12565 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12568 2001-12-13 André Pönitz <poenitz@gmx.net>
12571 * undo_func.C: minor cleanup
12573 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12575 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12576 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12577 font in urw-fonts package which is marked as -urw-fontspecific and
12578 does not work (incidentally, changing the encoding in the
12579 fonts.dir of this package to -adobe-fontspecific fixes the
12582 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12583 is a crash when undoing first paragraph (Juergen, please take a
12584 look). THis does not mean the undo fix is wrong, just that it
12587 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12588 the (Paragraph*) version when needed instead of duplicating the
12591 * text.C (workWidth): use Inset::parOwner to find out where the
12592 inset has been inserted. This is a huge performance gain for large
12593 documents with lots of insets. If Inset::parOwner is not set, fall
12594 back on the brute force method
12596 * paragraph_pimpl.C (insertInset):
12597 * paragraph.C (Paragraph):
12598 (cutIntoMinibuffer): set parOwner of insets when
12599 inserting/removing them
12601 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12603 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12609 * mathed/formulabase.C:
12610 * mathed/math_cursor.[Ch]:
12611 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12614 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12616 * lyxlength.[Ch] (operator!=): new function
12618 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12620 * text.C (workWidth): use Inset::parOwner to find out where the
12621 inset has been inserted. This is a huge performance gain for large
12622 documents with lots of insets. If Inset::parOwner is not set, fall
12623 back on the brute force method
12625 * paragraph_pimpl.C (insertInset):
12626 * paragraph.C (Paragraph):
12627 (cutIntoMinibuffer): set parOwner of insets when
12628 inserting/removing them
12630 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12632 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12634 * tabular-old.C (getTokenValue):
12635 * tabular.C (getTokenValue):
12636 (write_attribute): new versions for LyXLength
12637 (everywhere): adjust the use of widths
12639 * tabular.h: change the type of widths from string to LyXLength
12641 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12643 * paragraph.C: fixed missing line number count when exporting
12644 Environments to LaTeX file
12646 * buffer.C: added informational message for checking line numbers.
12648 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12650 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12651 paragraph, do the 'double space' part, but not the 'empty
12654 * text.C (workWidth): small optimization
12655 (getLengthMarkerHeight): use minimal size for negative lengths.
12657 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12659 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12661 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12663 2001-12-11 André Pönitz <poenitz@gmx.net>
12666 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12668 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12670 * text2.C: keep selection on a setFont()
12672 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12674 * lyx_cb.C: another bv->text misuse, from insert label
12676 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12679 * kbsequence.C: re-instate nmodifier mask
12681 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12683 * lyx_main.h: make lyxGUI private.
12685 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12687 * lyxfind.C: place the cursor correctly on failed search
12689 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12691 * text.C (getLengthMarkerHeight): for small heights, the arrows
12692 are not always on top/bottom of the text
12693 (drawLengthMarker): smaller arrows; take the left margin in
12694 account; draw also vfills.
12696 (paintLastRow): remove special code for vfill and standard spaces,
12697 since everything is handled in drawLengthMarker now.
12699 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12701 * buffer.C (insertErtContents): try to handle font and language
12702 interaction a bit better.g
12704 * ColorHandler.C (updateColor): change the hash to cover the whole
12705 LColor enum, ws cleanup
12706 (getGCLinepars): ditto
12707 (getGCLinepars): only lookup in the linecache once.
12709 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12711 * iterators.C (operator++): Make the iterator more robust
12713 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12715 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12717 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12720 * text.C: better added space drawing
12722 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12725 * BufferView2.C: fix layout combo update on inset unlock
12727 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12729 * Makefile.am: don't compile unused files
12731 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12735 * LyXAction.C: remove old LFUN_LAYOUTNO
12737 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12739 * paragraph_pimpl.h:
12740 * paragraph_pimpl.C: isTextAt() doesn't need font param
12742 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12745 * lyxlex.C: little cleanup
12747 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12749 * BufferView_pimpl.C: fix insertAscii for insets
12751 2001-12-05 Juergen Vigna <jug@sad.it>
12753 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12754 set the right font on the "multi" paragraph paste!
12756 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12762 * lyxlength.C: remove out-commented code.
12764 * BufferView_pimpl:
12778 * vc-backend.C: change "while(" to "while ("
12780 * lyxlength.[Ch]: add zero function to check if length is zero or
12782 * lyxgluelength.C: use it
12784 2001-12-05 Allan Rae <rae@lyx.org>
12786 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12787 Works for 2.95.3, from what I understand of Garst's reports this should
12788 work for other g++ versions. We're screwed if the abs(int) definition
12789 changed between bugfix releases of gcc.
12791 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12793 * text.C: fix chapter label offset !
12795 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12798 * text.C: fix hfill at end of line, clean up
12800 2001-12-04 Juergen Vigna <jug@sad.it>
12802 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12803 that we force an update of the inset and it's owners if neccessary.
12805 2001-12-03 Juergen Vigna <jug@sad.it>
12807 * text.C (rowLast): simplified code
12809 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12811 * lyxfunc.C: fix show options on timeout
12813 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12815 * screen.C (topCursorVisible): scroll half a page when the cursor
12816 reached top of bottom of screen
12818 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12820 * minibuffer.C: deactivate on loss of focus
12822 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12824 * vspace.[Ch] (operator!=): add operator.
12826 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12828 * BufferView_pimpl.C: refuse to open an inset when
12829 there's a selection.
12831 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12833 * BufferView_pimpl.C: allow to click on RHS of full row insets
12835 2001-11-30 Juergen Vigna <jug@sad.it>
12837 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12838 insets for undo reasons.
12840 2001-11-28 André Pönitz <poenitz@gmx.net>
12842 * vspace.[Ch]: cosmetical changes
12844 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12854 * kbsequence.C: part re-write of old kb code
12857 * WorkArea.C: remove Lgb_bug_find_hack
12859 2001-11-30 José Matos <jamatos@fep.up.pt>
12861 * buffer.C (makeDocBookFile): add a comment to point a hack.
12862 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12863 Fixed a double write of labels.
12865 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12868 * LaTeX.h Fixed bug in LaTeX class where it would not
12869 re-run latex if no depfiles were changed, but the .dvi was removed.
12871 2001-11-28 André Pönitz <poenitz@gmx.net>
12873 * all the files from the change on 2001/11/26:
12874 use lyx::layout_type instead of LyXTextClass::size_type
12875 use lyx::textclass_type instead of LyXTextClassList::size_type
12877 2001-11-29 Juergen Vigna <jug@sad.it>
12879 * text.C: added support for paragraph::isFreeSpacing()
12881 * buffer.C: same as above
12883 * paragraph.h: inserted isFreeSpacing() function to enable
12884 FreeSpacing inside InsetERT.
12886 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12887 of the paragraph's in the cut/copy buffer to 0!
12889 * text2.C (removeRow): remove the assert as it can!
12891 * lyxtext.h: added helper function firstRow returning firstrow and
12892 made firstrow private again.
12894 * BufferView2.C (lockInset): don't relock if we're already locked!
12896 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12897 the only paragraph.
12898 (removeRow): added Assert::(firstrow)
12900 * debug.C: forgot to add INSETTEXT here.
12902 2001-11-28 Juergen Vigna <jug@sad.it>
12904 * sp_spell.C (initialize): changed error text to more general
12905 spellchecker command use (not only ispell!)
12907 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12909 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12911 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12913 * vspace.C: initialise lyxgluelength on failure
12915 2001-11-28 Allan Rae <rae@lyx.org>
12917 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12918 declaration & definition that looks like a function declaration.
12920 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12922 * BufferView2.C (copy):
12923 (copyEnvironment): do not clear the selection when doing a copy.
12925 * text.C (paintFirstRow): compilation fix
12927 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12929 * tabular.C (Latex): correct line count when writing latex.
12931 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12933 * paragraph_pimpl.h:
12934 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12937 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12941 * LColor.C: change vfillline->added_space
12943 * text.C: add markers and text for added space
12945 * vspace.C: fix comment
12947 2001-11-28 André Pönitz <poenitz@gmx.net>
12949 * paragraph.C: whitespace changes
12950 * all the other files from the change on 2001/11/26:
12951 change *::pos_type into lyx::pos_type
12953 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12955 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12956 language of the document when inserting error insets.
12958 2001-11-26 André Pönitz <poenitz@gmx.net>
12960 * BufferView_pimpl.[Ch]:
12968 * paragraph_pimpl.[Ch]:
12971 * text2.C: reduce header dependencies, introduce type for positions
12973 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12975 * <various>: change to use Alert.h
12977 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12979 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12980 when encountering an unknown token.
12981 (readLyXformat2): Show an error message if there were unknown tokens.
12983 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12986 * BufferView_pimpl.C:
12990 * text2.C: use par->isInset()
12992 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12994 * paragraph_pimpl.h:
12995 * paragraph_pimpl.C: cleanup
12997 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12999 * text2.C (removeRow):
13000 * text.C (setHeightOfRow): remove useless (and costly) call to
13003 2001-11-20 Allan Rae <rae@lyx.org>
13005 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
13006 Now need Inset*::checkInsertChar() to return true for appropriate
13007 cases so that the characters in the minibuffer will actually be
13010 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
13012 * text.C: change the order of the includes.
13013 (workWidth): initialize it at once.
13014 (workWidth): make maxw unsigned
13015 (setHeightOfRow): remove unused variable (inset)
13016 (selectSelectedWord): remove unused variable (inset)
13017 (paintRowText): fix drawing of hfill characters, and clean up a bit.
13019 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13021 * lyxserver.C (emergencyCleanup): do not try to close pipes if
13022 server is not running.
13024 (closeConnection): add debug info when server is disabled.
13026 * ColorHandler.C (getGCForeground): send debug message to GUI
13029 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13031 * kbmap.C (bind): modify because return conventions of
13032 kb_sequence::parse have changed.
13034 * kbsequence.C (parse): only ignore spaces and not any stupid
13035 control character. This avoids tests like s[i] <= ' ', which are
13036 guaranteed to fail with 8bit characters and signed chars.
13037 Change return code to string::npos when there have been no error
13038 (0 was a bad idea when error is at first character)
13040 2001-11-14 José Matos <jamatos@fep.up.pt>
13043 * buffer.C (simpleDocBookOnePar): removed unused argument.
13045 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13047 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13048 insets which are part of a word. Paragraph::isLetter takes care of
13049 that now. Use Paragraph::isInset to identify insets.
13050 (selectSelectedWord): do not test for hyphenation break.
13052 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13053 that protected spaces are considered as spaces.
13055 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13058 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13061 * lyxserver.C: fix it. and small cleanup.
13063 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13065 * BufferView_pimpl.C: use inline helpers
13068 * LaTeXFeatures.C: fix typos
13071 * Spacing.C: move spacing_string into class
13073 * ToolbarDefaults.C: move stuff into namespace anon
13075 * layout.h: update enum
13077 * lyxfunc.C: use better debug
13079 * minibuffer.h: fix typo
13083 * WorkArea.C: add and use Debug::WORKAREA
13087 * text2.C: code re-organisation, inline helpers
13089 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13091 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13092 std::vector.empty().
13094 2001-11-09 Allan Rae <rae@lyx.org>
13096 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13097 '\n's after tables. Tabular and ERT inset work now makes this no
13100 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13103 * minibuffer.C: fix crash, improve drop-down completion
13105 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13108 * lyxserver.C: invalidate fd's when doing endPipe()
13110 2001-11-08 José Matos <jamatos@fep.up.pt>
13112 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13113 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13116 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13118 2001-11-07 José Matos <jamatos@fep.up.pt>
13121 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13124 * buffer.C (sgmlOpenTag):
13125 * buffer.C (sgmlCloseTag): removed debug info.
13127 * buffer.h (sgmlOpenTag):
13128 * buffer.h (sgmlCloseTag): made public.
13130 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13132 * buffer.C (saveParamsAsDefaults):
13133 * lyx_cb.C (MenuLayoutSave): remove
13135 * LyXAction.C (init):
13137 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13139 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13141 * buffer.C (setPaperStuff): removed from here...
13143 * bufferparams.C (setPaperStuff): ... and moved there.
13145 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13149 * XFormsView.C: add support for drop-down completion
13151 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13153 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13156 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13158 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13161 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13163 * lyx_main.C: change ref to known bugs
13165 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13167 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13168 to work around older babel problems.
13170 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13172 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13174 2001-10-24 Juergen Vigna <jug@sad.it>
13176 * tabular-old.C (ReadOld): below variable changes reflected.
13178 * tabular.[Ch]: added ltType struct for longtable header/footer
13179 defines and changed all instances where they are used. Added
13180 future support for double top/bottom rows.
13182 2001-10-24 José Matos <jamatos@fep.up.pt>
13184 * buffer.h (docbookHandleCaption):
13185 * buffer.C (docbookHandleCaption): removed unused function.
13186 (makeDocBookFile): moved docbook supported version to v4.1.
13188 2001-10-24 José Matos <jamatos@fep.up.pt>
13191 * tabular.C (docbookRow): new function to export docbook code of a row.
13192 (DocBook): now honors the longtable flags.
13194 2001-10-23 José Matos <jamatos@fep.up.pt>
13197 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13198 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13200 * buffer.C (makeLinuxDocFile):
13201 (makeDocBookFile): reworked the preamble, more clean, and with
13202 support for lyx defined entities. Changed the document declaration
13203 to be more XML friendly.
13205 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13206 if we need to output XML that should be done with a filter.
13208 2001-10-22 Juergen Vigna <jug@sad.it>
13210 * sp_pspell.h (class PSpell): add alive function needed in the
13211 controller to see if the spellchecker could be started.
13213 2001-10-22 Juergen Vigna <jug@sad.it>
13215 * buffer.C (insertStringAsLines): modify the font for inserting
13216 chars in certain conditions by calling checkInsertChar(font).
13218 2001-10-19 Juergen Vigna <jug@sad.it>
13220 * text.C (workWidth): use getRow instead of wrong algorithm.
13221 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13223 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13228 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13230 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13232 * text.C (workWidth): do not search for the exact row when
13233 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13234 optimization for big documents.
13236 2001-10-18 Juergen Vigna <jug@sad.it>
13238 * text.C (workWidth): new function with added Inset * parameter.
13240 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13242 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13244 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13245 change return type of getColumnNearX.
13248 * text.C (changeRegionCase): use uppercase/lowercase instead of
13251 (rightMargin): simplify code by factoring out the uses of
13256 (appendParagraph): use Paragraph::size_type
13258 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13260 * vspace.C (asLatexString): add a missing break
13262 2001-10-15 Herbert Voss <voss@perce.de>
13264 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13266 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13268 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13271 2001-10-10 André Pönitz <poenitz@gmx.net>
13273 * lyxfunc.C: removed greek_kb_flag.
13275 2001-10-10 Herbert Voss <voss@perce.de>
13277 * lyx_main.C: delete global string help_lyxdir.
13279 2001-10-09 Herbert Voss <voss@perce.de>
13281 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13283 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13285 * lyx_main.C: added global string help_lyxdir.
13287 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13289 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13291 * lyxrc.C (set_font_norm_type): support iso8859-4
13293 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13295 * LaTeX.C (deplog): add another regex for MikTeX
13297 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13299 * lyxrc.C (set_font_norm_type): support iso8859-3
13301 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13303 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13305 * LaTeXFeatures.C: remove special case of french and index
13307 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13308 before \begin{document}). This solves several incompatibilities.
13310 2001-10-03 Garst Reese <reese@isn.net>
13312 * lyx_cb.C: change CheckTex error msg.
13314 2001-10-03 José Matos <jamatos@fep.up.pt>
13316 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13318 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13320 * .cvsignore: update
13322 * lyx_main.C (commandLineVersionInfo): use new style version info.
13324 * buffer.C (writeFile):
13326 (makeLinuxDocFile):
13327 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13329 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13331 * version.h: update to use stuff in version.C
13333 * version.C.in: new file. Contains version information determined
13334 at compile time. This is a merging of version.h and
13337 2001-10-03 Juergen Vigna <jug@sad.it>
13339 * BufferView_pimpl.C (update): don't change "dirty" status in
13342 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13344 * WorkArea.C (c-tor): re-position version string slightly.
13346 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13348 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13349 revert to previous code.
13351 WorkArea.[Ch]: (show, destroySplash): methods removed.
13353 WorkArea.C: rework code so that it's an amalgam of the codes before and
13354 after the splash screen was moved to WorkArea.
13356 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13359 * vspace.C (inPixels):
13362 * buffer.C (insertStringAsLines):
13363 (asciiParagraph): fix types to be large enough
13365 * lyxlex_pimpl.h: change member status from short to int
13367 * layout.h: fix type of endlabeltype
13370 * kbsequence.C (parse): change return type to string::size_type
13372 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13375 * Bullet.C (bulletSize):
13376 (bulletEntry): do not use short ints as parameters
13378 * BufferView2.C (insertLyXFile): change a char to an int.
13380 * WorkArea.C (WorkArea): remove unneeded floats in computation
13382 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13384 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13386 * paragraph.C (asString): Do not ignore newline/hfill chars when
13387 copying to the clipboard.
13389 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13391 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13392 after a multi-line inset.
13394 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13396 * paragraph.C (validate): Set NeedLyXFootnoteCode
13398 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13400 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13401 and decrease-error to decrease.
13403 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13405 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13406 it more readable (should be equivalent)
13408 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13410 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13412 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13414 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13415 of a cursor (row, etc.) after a character has been deleted
13416 (deleteEmptyParagraphMechanism): call the method above on _all_
13417 cursors held by the LyXText when a double space has been
13420 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13422 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13424 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13426 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13427 background. Use greyOut() and the new show() methods to toggle between
13428 the foreground and background. Add code to remove the splash after
13429 its initial showing.
13431 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13432 (create_forms): no longer call Dialogs::showSplash.
13434 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13436 * .cvsignore: add version_info.h
13438 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13440 * version_info.h.in: new file
13442 * Makefile.am: add version_info.h.in
13444 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13445 version_info.h instead of VERSION_INFO
13447 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13449 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13450 The ERT inset now returns string().
13452 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13454 * lyxtext.h, text.C (selectNextWord): renamed as
13455 selectNextWordToSpellcheck.
13457 * text.C (selectNextWordToSpellcheck): Modified to not select
13458 words inside an ERT inset.
13460 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13462 * lyx_cb.C (MenuLayoutSave): change a bit the question
13464 * sp_base.h: include <sys/types.h>
13466 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13468 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13470 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13472 * several files: fix typos in user-visible strings
13474 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13476 * text2.C (pasteSelection): do not set the selection, since it
13477 will be cleared later. Actually, the intent was to fix the way the
13478 selection was set, but I figured rmoving the code was just as good.
13480 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13482 * FontLoader.C (available): Check if font is available without
13485 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13487 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13489 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13491 * lyxrc.[Ch]: added display_graphics variable and associated code.
13493 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13495 * bufferparams.C (hasClassDefaults): new method. Returns true if
13496 the buffer parameters correspond to known class defaults
13498 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13500 * XFormsView.C (show): set minimum size to the main window.
13502 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13504 * text2.C (copySelection):
13506 * lyxfind.C (LyXReplace):
13507 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13508 LyXText::selectionAsString.
13510 * paragraph.C (asString): add "label" argument to the second form
13512 * text2.C (selectionAsString): add "label" argument and pass it to
13513 Paragraph::asString.
13515 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13517 * lyx_main.C (commandLineHelp): remove version information
13519 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13521 * lyx_main.C: add -version commandline option
13523 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13525 * paragraph.h: make the optional constructor arg required instead.
13526 some modifications to other files because of this.
13528 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13530 * lyxserver.C (C_LyXComm_callback): make it static
13532 * lyx_main.C (error_handler): make it static
13534 * lyx_gui.C (LyX_XErrHandler): make it static
13536 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13538 * WorkArea.C: make the extern "C" methods static.
13540 * Makefile.am (lyx_LDADD): simplify
13542 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13544 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13545 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13547 * LyXAction.C (init):
13548 * lyxfunc.C (dispatch): associated code removal.
13550 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13552 * lyxfont.h (isSymbolFont): shut off warning
13554 * text.C (setHeightOfRow):
13555 (getVisibleRow): fix crash with empty paragraphs which have a
13558 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13560 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13563 2001-09-04 José Matos <jamatos@fep.up.pt>
13566 * tabular.C (docbook): rename docBook method to docbook.
13568 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13570 * Makefile.am: add dependencies to main.o.
13572 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13574 * FontLoader.C (available): Return false if !lyxrc.use_gui
13576 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13578 * FontInfo.C (query):
13579 * converter.C (view):
13580 * importer.C (Import):
13581 * exporter.C (Export): Can not -> cannot.
13583 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13585 * BufferView_pimpl.C: allow to create index inset even if
13588 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13590 * buffer.C (getLists): replace boost::tie code with an explicit pair
13591 as boost::tie can break some compilers.
13593 * iterators.h: Added a std:: declaration to the return type of
13596 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13598 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13601 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13603 * iterators.[Ch]: New files. Provide paragraph iterators.
13605 * buffer.C (changeLanguage): Use paragraph iterators.
13606 (isMultiLingual): ditto
13608 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13610 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13612 * FontLoader.C: Support for cmr font.
13614 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13616 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13617 (available): New method.
13619 * FontInfo.C (getFontname): Use scalable fonts even when
13620 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13623 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13625 * converter.C (Formats::view): reverted! Incorrect fix.
13627 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13629 * converter.C (Formats::view): only output the -paper option
13630 if the dvi viewer is xdvi, thereby fixing bug #233429.
13632 2001-08-23 Herbert Voss <voss@perce>
13634 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13636 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13638 * Spacing.h (Spacing): Set space to Default on in the default
13641 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13643 * vc-backend.h (RCS::versionString): add RCS to version
13644 (CVS::versionString): add CVS to version
13646 * vc-backend.C (scanMaster): do not add CVS to version.
13647 (scanMaster): do not add RCS to version
13649 * lyxvc.C (versionString): new method
13651 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13653 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13655 * Spacing.C (set): initialize fval
13657 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13659 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13662 2001-08-16 Juergen Vigna <jug@sad.it>
13664 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13666 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13668 * BufferView_pimpl.C:
13671 * text2.C: setParagraph takes linespacing now
13673 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13675 * LyxAction.C: add internal LFUN_CITATION_INSERT
13677 * LyXView.C: actually apply fix
13679 * bufferlist.C: fix open non-existent file
13681 * lyxfind.C: fix indentation
13683 * lyxfunc.C: remove unneeded assert, fix typo
13685 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13687 * MenuBackend.C: use "Floatname List"
13689 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13691 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13692 when converting LaTeX layout to insetERT.
13693 Generate a non-collapsed float when reading old float
13695 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13697 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13700 2001-08-13 Juergen Vigna <jug@sad.it>
13702 * text.C (fill): return 0 instead of 20 as this seems to be the more
13705 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13707 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13710 2001-08-13 Juergen Vigna <jug@sad.it>
13712 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13714 (SearchBackward): comment out the unlocking of the inset_owner this
13715 should not be needed!
13717 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13719 * Many files: Remove inherit_language, and add latex_language
13721 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13722 collapsible insets.
13724 2001-08-10 Juergen Vigna <jug@sad.it>
13726 * text.C (prepareToPrint): fixed hfill-width in draw!
13728 * BufferView2.C (selectLastWord): save the selection cursor as this
13729 now is cleared in the function LyXText::clearSelection!
13731 2001-08-08 Juergen Vigna <jug@sad.it>
13733 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13734 BACKSPACE type functions.
13736 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13737 is only cutted from the document but not put in the cut-buffer, where
13738 still the old stuff should be.
13740 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13742 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13744 * tabular.C (SetWidthOfCell): fixed special case where the width
13746 (LeftLine): handle '|' in align_special.
13748 (LeftAlreadyDrawed): ditto
13749 (SetWidthOfCell): ditto
13751 2001-08-07 Juergen Vigna <jug@sad.it>
13753 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13755 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13757 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13758 * lyxlex.[hC]: ditto
13760 2001-08-06 Juergen Vigna <jug@sad.it>
13762 * text.C (getVisibleRow): fix up row clearing a bit.
13764 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13766 * minibuffer.C: make sure the X server sees the changes in the input.
13768 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13770 * paragraph.C (getFont): split into...
13771 (getLabelFont): this
13772 (getLayoutFont): and this
13773 * paragraph_pimpl.C (realizeFont): calling this
13775 * text2.C (getFont): split into...
13776 (getLayoutFont): this
13777 (getLabelFont): and this
13778 (realizeFont): all three calling this
13780 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13783 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13785 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13787 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13789 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13790 layouts from the Quote inset insertion.
13792 2001-08-03 Juergen Vigna <jug@sad.it>
13794 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13796 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13797 only if status not is already CHANGED_IN_DRAW (second level).
13799 * text.C (draw): don't set the need_break_row when inside an
13802 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13804 * buffer.C (parseSingleLyXformat2Token): handle more latex
13807 * bufferview_funcs.[hC]: change function names to
13808 begin with small char, adjust other files.
13810 2001-08-02 André Pönitz <poenitz@gmx.net>
13813 BufferView_pimpl.C: remove broken special code for math-greek
13815 2001-08-02 Juergen Vigna <jug@sad.it>
13817 * BufferView_pimpl.C (update): redone this function so that we
13818 update the text again if there was a CHANGE_IN_DRAW.
13820 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13821 (drawFromTo): added a new internal bool which is used by draw() and
13823 (general): some cursor drawing problems fixed.
13825 2001-08-01 Juergen Vigna <jug@sad.it>
13827 * lyxfind.C (LyXFind): fixed
13828 (SearchForward): ditto
13829 (SearchBackward): ditto
13831 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13832 spurius drawing of the cursor in the main area.
13834 * text2.C (status): small fix which could lead to a segfault!
13835 (clearSelection): remove unneeded BufferView param.
13837 2001-08-01 André Pönitz <poenitz@gmx.net>
13839 * lyxfunc.C: small change due to changed mathed interface
13841 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13843 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13845 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13847 * lyxfunc.c: fail gracefully if file doesn't exist
13852 * BufferView_pimpl.C: IsDirWriteable() proto changed
13854 * LyXView.C: fix updateWindowTitle() to store the last title
13856 2001-07-31 Juergen Vigna <jug@sad.it>
13858 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13859 the font (wrong since using of Paragraph::highestFontInRange).
13861 * paragraph.C (highestFontInRange): added a default_size parameter.
13863 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13864 (setHeightOfRow): reformat
13866 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13868 * converter.[hC] + affected files: move to (inital-char)lowercase
13871 * ParagraphParameters.C (ParagraphParameters): remove commented code
13873 * PainterBase.[Ch]: remove commented code
13875 * LaTeXFeatures.h: add "bool floats" for float.sty
13877 * LaTeXFeatures.C (LaTeXFeatures): init floats
13878 (require): handle float
13879 (getPackages): do it with floats
13881 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13883 * BufferView_pimpl.C (Dispatch): improve handling of
13884 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13886 * commandtags.h: #include lyxfont.h here temporarily to avoid
13889 * bufferlist.h: include LString.h here.
13891 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13893 * text2.C (getStringToIndex): new method.
13895 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13897 * *: Reduced header file dependencies all over.
13899 2001-07-30 Baruch Even <baruch@lyx.org>
13901 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13903 2001-07-29 Baruch Even <baruch@lyx.org>
13905 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13907 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13909 * ParameterStruct.h (endif): add a default constructor to make
13910 sure that all variables is initialized.
13912 * ParagraphParameters.C (ParagraphParameters): adjust
13914 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13916 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13917 index; also, check that there is something to index, and that it
13918 does not span over several paragraphs.
13919 (doubleClick): use WHOLE_WORD_STRICT for double click.
13921 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13923 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13926 2001-07-26 Baruch Even <baruch@lyx.org>
13928 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13929 an InsetFig figure, backwards compatible reading of old figure code.
13931 2001-07-27 Juergen Vigna <jug@sad.it>
13933 * text2.C: font.realize function adaption.
13935 * text.C (draw): add a warnings lyxerr text if needed.
13937 * layout.C: font.realize function adaption.
13939 * language.C: add inherit_language and implement it's handlings
13941 * bufferview_funcs.C (StyleReset): remove language parameter from
13942 font creation (should be language_inherit now).
13944 * bufferparams.C (writeFile): handle ignore_language.
13946 * paragraph.C (getFontSettings): the language has to be resolved
13947 otherwise we have problems in LyXFont!
13949 * lyxfont.C (lyxWriteChanges): added document_language parameter
13950 (update): removed unneeded language parameter
13952 * paragraph.C (validate): fixed wrong output of color-package when
13953 using interface colors for certain fonts in certain environments,
13954 which should not seen as that on the final output.
13956 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13958 * BufferView_pimpl.C:
13963 * LyXAction.C: add thesaurus support
13966 * lyxfind.C: add "once" parameter, for thesaurus, to not
13967 move to the next match
13969 2001-07-26 Juergen Vigna <jug@sad.it>
13971 * lyxfont.C (realize): honor ignore_language too!
13974 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13976 * text.C (draw): one place more for ignore_language to not draw
13979 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13981 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13983 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13985 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13986 the minipage conversion problem.
13988 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13990 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13993 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13995 * BufferView.h: don't forward declare WorkArea
13997 * BufferView.C: don't include WorkArea.h
13999 2001-07-25 André Pönitz <poenitz@gmx.net>
14003 * lyxfunc.C: new LFUN 'math-space'
14005 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
14007 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14009 * text2.C (toggleInset): call open/close
14011 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14013 * lyxfunc.C (dispatch): add debug for the disabled case
14015 * font.C (buttonText): make similar to rectText
14017 * buffer.C (readInset): comment out parsing of insetlist and
14020 * PainterBase.C (rectText): small correction
14022 * BufferView_pimpl.C: comment out insettheorem and insetlist
14023 * LyXAction.C: ditto
14024 * commandtags.h: ditto
14026 2001-07-24 Juergen Vigna <jug@sad.it>
14028 * text.C (draw): honor the ignore_language.
14030 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14032 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14034 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14037 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14039 * lyxtext.h: remove unused (and unimplemented) methods
14041 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14043 * text.C (getVisibleRow): honor background color
14046 * Painter.h: remove default color argument for fillRectangle
14048 * text.C (backgroundColor): new method
14050 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14052 * text.C (getVisibleRow): adjust
14054 * font.[Ch] (rectText): new method, metrics
14055 (buttonText): new method, metrics
14057 * PainterBase.[hC]: make rectText and buttonText always draw and take
14060 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14062 * ToolbarDefaults.C (read):
14063 * MenuBackend.C (read): allow escaping in all strings
14065 * BufferView_pimpl.C (insertAndEditInset): new method.
14066 (Dispatch): use insertAndEditInset whenever appropriate.
14068 * BufferView_pimpl.C (insertNote): removed
14070 * BufferView_pimpl.C (smartQuote): new method, moved from
14071 BufferView; if an insetquote cannot be inserted, insert a '"'
14074 * BufferView2.C: remove insertCorrectQuote();
14076 * lyxfunc.C (getStatus): Add support for all remaingin
14077 inset-insert lfuns.
14079 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14081 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14082 command (necessary to pass " as parameter of self-insert.
14084 * text.C (selectWordWhenUnderCursor):
14085 (selectWord): add word_location parameter
14086 (selectWordWhenUnderCursor): same + remove special code for word
14088 (selectNextWord): use kind() to guess type of insetspecialchar,
14091 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14092 (insertErtContents): create ert insets as collapsed.
14093 (readInset): better compatibility code for Info inset.
14095 2001-07-20 Juergen Vigna <jug@sad.it>
14097 * lyxfunc.C (dispatch): use always LyXFind now!
14099 * text2.C (init): add a reinit flag so that the LyXText can be
14100 reinited instead of deleted and reallocated (used in InsetText).
14102 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14108 2001-07-18 Juergen Vigna <jug@sad.it>
14110 * text.C (selectNextWord): handle insets inside inset by calling
14111 always the bv->text functions so that we can go up the_locking_inset!
14113 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14114 in strange locations when inside an inset!
14116 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14117 handling to include insets.
14119 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14121 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14123 * LyXAction.C (init):
14125 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14126 LIGATURE_BREAK, since the name is so stupid.
14128 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14130 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14133 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14135 * sp_form.[Ch]: remove.
14137 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14139 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14142 * src/buffer.C (readInset): ditto.
14144 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14146 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14147 menuSeparator(), endOfSentenceDot(), ldots() and
14148 hyphenationPoint(), which are therefore removed.
14149 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14151 * LyXAction.C (init):
14152 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14154 * paragraph.C (getWord): removed.
14156 * BufferView_pimpl.C (Dispatch): use last word or selection for
14157 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14159 * lyx_main.C (queryUserLyXDir): do not ask before creating
14160 user_dir, except if it has been named explicitely.
14162 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14164 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14165 a document of zero size.
14167 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14169 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14170 approriately in the c-tor and in require().
14171 (getPackages): output the appropriate LaTeX for natbib support.
14173 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14174 variables "use_natbib" and "use_numerical_citations" when reading the
14176 (readInset): read the various natbib cite commands.
14177 (validate): white-space change.
14179 * bufferparams.[Ch]: new variables "bool use_natbib" and
14180 "bool use_numerical_citations".
14181 (writeFile): output them in the LyX file.
14183 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14185 * lyxfunc.C (getStatus): add support for all the inset insertion
14188 * text2.C (insertInset):
14189 * paragraph.C (insetAllowed):
14190 * BufferView_pimpl.C (insertInset): update to take in account the
14191 renaming of insertInsetAllowed
14193 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14195 * text2.C (getInset): new method. returns inset at cursor position.
14197 * BufferView_pimpl.C (Dispatch): changes because of this.
14199 * LyXAction.C (init): rename open-stuff to inset-toggle.
14201 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14203 * text2.C (toggleInset): renamed from openStuff; use
14206 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14208 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14210 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14212 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14214 * buffer.C (readLyXformat2): Add filename to the error dialog
14216 2001-07-18 Juergen Vigna <jug@sad.it>
14218 * tabular.C (GetCellNumber): put an assert here instead of the check!
14220 2001-07-17 Juergen Vigna <jug@sad.it>
14222 * BufferView_pimpl.C (toggleSelection): adapted too.
14224 * text.C (selectNextWord): adapted for use with insets.
14225 (selectSelectedWord): ditto
14227 2001-07-17 Juergen Vigna <jug@sad.it>
14229 * sp_spell.C (PSpell): fix initialitation order.
14231 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14233 * paragraph.C: spacing
14235 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14237 * sp_spell.C: repair language selection for pspell
14239 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14241 * lyxfunc.h: change more methods to begin with lower char.
14243 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14245 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14246 for unknown layouts.
14248 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14250 * buffer.C (readLyXformat2): Generate an error dialog if there are
14253 2001-07-16 Juergen Vigna <jug@sad.it>
14255 * sp_spell.C: always compile ISpell part.
14257 * lyxrc.C: added use_pspell entry and it's handling.
14259 2001-07-13 Juergen Vigna <jug@sad.it>
14261 * sp_spell.C: removed double includes.
14263 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14265 Consistent use of Lsstream.h:
14266 * Lsstream.h: added using std::stringstream for consistencies sake.
14268 * buffer.C: removed using std::stringstream
14270 * lyxfont.C (stateText):
14271 * paragraph.C (asString):
14272 * text.C (selectNextWord, selectSelectedWord):
14273 * text2.C (setCounter):
14274 * vspace.C (asString, asLatexString):
14275 std::ostringstream -> ostringstream.
14277 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14279 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14280 * commandtags.h: add LFUN_HELP_ABOUTLYX
14281 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14283 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14285 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14287 * lyx_gui_misc.C: remove spellchecker
14288 * lyxfunc.C: showSpellchecker
14290 * sp_ispell.h: added
14291 * sp_pspell.h: added
14292 * sp_spell.C: added
14293 * sp_form.[Ch]: removed
14294 * spellchecker.[Ch]: removed
14296 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14298 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14300 (simpleTeXSpecialChars): Simply print the input character without
14301 any special translation if pass_thru is set.
14303 * layout.h: Added bool pass_thru to layout class for being able to
14304 implement pass through of a paragraph for Literate Programming.
14306 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14307 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14308 * layout.C (Read): add "passthru" to list of layout tags and add
14309 code to set the pass_thru boolean when it is read.
14311 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14313 * trans_decl.h: remove allowed from KmodInfo
14315 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14316 remove allowed code
14319 * paragraph_pimpl.C (erase): use boost::prior
14321 * Painter.C (text): use data() instead of c_str() when length is
14323 * WorkArea.C (putClipboard): ditto
14324 * font.h (width): ditto
14326 * BufferView2.C: use it-> instead of (*it). for iterators
14328 * paragraph_pimpl.C: ditto
14329 * paragraph.C: ditto
14330 * minibuffer.C: ditto
14331 * language.C: ditto
14333 * encoding.C: ditto
14334 * counters.C: ditto
14335 * converter.C: ditto
14337 * Variables.C: ditto
14338 * TextCache.C: ditto
14339 * MenuBackend.C: ditto
14340 * LyXAction.C: ditto
14342 * FloatList.C: ditto
14343 * DepTable.C: ditto
14344 * ColorHandler.C (LyXColorHandler): ditto
14346 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14348 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14350 * text2.C (openStuff): reintroduce this method (which had been
14351 nuked in NEW_INSETS frenzy).
14353 * lyxfunc.C (Dispatch): when an action has not been handled, use
14354 its name in the error message, not its number.
14356 * paragraph.C (inInset): change method name to begin with lowercase.
14359 * text2.C: updates because of this.
14361 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14363 * ToolbarDefaults.C (add): add spaces in error message
14365 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14367 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14368 (readLyXformat2): rename return_par to first_par, use lyxlex's
14369 pushToken and remove the manual push handling.
14370 (parseSingleLyXformat2Token): add another ert comp. variable:
14371 in_tabular, rename return_par to first_par. handle newlines better
14373 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14375 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14377 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14379 * text2.C (getParFromID): removed
14381 * buffer.C (getParFromID): new method moved form lyxtext.
14382 * BufferView2.C (insertErrors): adjust
14383 (setCursorFromRow): adjust
14384 * BufferView_pimpl.C (restorePosition): adjust
14385 * lyxfunc.C (Dispatch): adjust
14386 * undo_funcs.C (textUndo): adjust
14388 (textHandleUndo): adjust
14389 (textHandleUndo): adjust
14391 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14393 * buffer.C: up' the LYX_FORMAT
14395 * lyxfont.h: turn NO_LATEX on as default
14397 * buffer.C (insertErtContents): new methods of tex style compability.
14398 (parseSingleLyXformat2Token): use it several places.
14399 * tabular.C (OldFormatRead): and here
14401 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14403 * text2.C: remove some commented code.
14406 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14407 * trans.C: changes because of the above.
14409 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14411 * text2.C (setCounter): Fix counters bug with bibliography layout.
14413 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14415 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14416 own member functions
14417 (simpleTeXSpecialChars): ditto
14419 2001-07-06 Juergen Vigna <jug@sad.it>
14421 * a lot of files: changed the access to LyXText::status and the
14422 call of undo-functions.
14424 * undo.[Ch]: added a inset_id to the undo informations.
14426 * undo_funcs.[Ch]: added and moved here all undo functions.
14428 * lyxtext.h: give the status enum a weight, made status_ a private
14429 variable and made accessor functions for it, removed the whole bunch
14430 of undo-functions as they are now in their own file, make some
14431 functions publically available. Added function ownerParagraph with
14434 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14435 made InInset() a const function, added getParFromID() function.
14437 * buffer.[Ch]: added const version for inset_iterator functions,
14438 added getInsetFromID() function.
14440 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14441 changed undo functions for new version.
14443 2001-07-05 Juergen Vigna <jug@sad.it>
14445 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14446 unknow mechanism does not call the proper constructor but only this
14447 one also if I request the other!?
14449 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14451 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14453 * text2.C (LyXText): use initialization lists.
14455 * lyxtext.h (Selection): initialize set_ and mark_
14456 (init): remove method
14458 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14460 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14462 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14464 * screen.[Ch]: change method names to begin with lowercase
14466 * BufferView_pimpl.C (updateScrollbar): simplify further and
14467 hopefully make it a bit faster.
14469 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14471 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14472 calling directly xforms functions.
14474 * Painter.C (Painter):
14475 * lyx_cb.C (MenuWrite):
14476 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14479 * lyx_gui.C: remove bogus guiruntime extern declaration.
14481 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14483 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14485 (redoDrawingOfParagraph): ditto
14486 (redoParagraphs): ditto
14487 (cutSelection): don't create a object for CutAndPaste use the
14488 static method directly
14489 (pasteSelection): ditto
14491 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14494 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14496 * modifications to some other files because of this.
14498 * Makefile.am (lyx_SOURCES): add XFormsView
14500 * XFormsView.[Ch]: new files
14502 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14503 the main window. Move the gui dependent stuff to XFormsView
14505 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14507 * tabular.C (GetCellInset): update cur_cell also in the row/col
14508 version of this function.
14510 * lyxfunc.C: no need to include figure_form.h here.
14516 * lyxvc.C: no need to include forms.h here.
14518 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14520 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14522 * lyxfunc.C (Dispatch):
14524 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14525 constructor argument.
14527 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14529 * paragraph.C (Paragraph): dont't clear, and just set layout.
14530 (makeSameLayout): use params's copy contructor.
14532 * ParagraphParameters.[Ch] (makeSame): delete method
14534 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14536 * Variables.[Ch]: fix indentation, rename set to isSet
14538 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14540 * lyxfunc.C (Dispatch): fix typo
14542 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14544 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14547 * bufferlist.C: include assert.h for emergencyWrite().
14549 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14551 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14552 give up at last (bug #425202) !
14554 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14560 * spellchecker.C: strip spellchecker options and bring up
14561 preferences tab instead
14563 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14565 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14566 the istringstream constructor
14568 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14570 * paragraph.C (getLayout): fix return value
14572 * paragraph.h: do not declare getLayout as inline.
14574 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14576 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14578 * lyxcursor.h (operator<): new func
14579 (operator>): new func
14580 (operator>=): new func
14581 (operator<=): new func
14583 * text.C (changeCase): use selection.start and selection.end
14584 (changeRegionCase): require from to be <= to. Require par to be a
14587 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14589 2001-06-27 Juergen Vigna <jug@sad.it>
14591 * text.C (cursorLeftOneWord): changed to return the cursor and added
14592 overlay with BufferView * parameter which calls this one.
14594 (selectWord): use new getWord function.
14595 (changeCase): renamed from changeWordCase as and extended to work
14596 also on selections.
14598 * lyxtext.h: added enum word_location
14600 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14601 changeCase as this operates now also on selections.
14603 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14605 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14607 * many files: send debug output to Debug::INFO instead of
14610 * converter.C (View):
14612 (Move): send debug output to Debug::FILES instead of console.
14614 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14616 * lyxfunc.C (getStatus): use func_status
14618 * func_status.h: new header, describing the results of
14619 LyXFunc::getStatus;
14621 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14624 2001-06-25 The LyX Project <jug@sad.it>
14626 * buffer.C (sgmlOpenTag):
14628 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14630 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14632 * text2.C: remove some dead code
14634 * tabular.C (GetCellInset): store the last cell checked (gotten)
14636 * tabular.h: add the helper for the speedup
14638 * lyxtext.h: remove some dead code
14640 2001-06-26 The LyX Project <Asger>
14642 * paragraph.C: Change export to LaTeX of alignment to
14643 \begin{center} and family for better roundtrip work with reLyX.
14645 * Tune the math drawing a bit.
14647 2001-06-25 The LyX Project <Asger>
14649 * LColor.C (LColor): New color for math background. New color
14652 2001-06-25 The LyX Project <jug@sad.it>
14654 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14656 * lyxfunc.C (Open):
14657 * bufferlist.C (newFile): do not restrict to files ending with
14660 * BufferView_pimpl.C (MenuInsertLyXFile):
14662 2001-06-24 The LyX Project <jug@sad.it>
14664 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14667 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14669 * lyxtext.h: rename most methods to begin with a small char.
14670 Lots of changes because of this.
14672 * paragraph.C (Paragraph): do not call fitToSize
14673 (erase): call Pimpl::erase
14674 (insertChar): call Pimpl::insertChar
14675 (insertInset): call Pipl::insertInset
14676 (breakParagraph): do not call fitToSize
14677 (breakParagraphConservative): do not call fitToSize
14678 (fitToSize): remove method
14680 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14682 2001-06-24 The LyX Project <Asger>
14684 * Fix Qt compilation^2
14686 2001-06-24 The LyX Project <jug@sad.it>
14688 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14689 depthHook(getDepth()-1).
14692 * ParagraphParameters.h:
14693 * ParameterStruct.h: change type of depth to unsigned int ==
14694 depth_type. Many adaptations to other files before of that.
14696 2001-06-24 The LyX Project <Asger>
14698 * Fix Qt compilation.
14700 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14702 * paragraph.h: renamed several methods to begin with small letter.
14703 several changes to many parts of the code because of this.
14705 2001-06-23 The LyX Project <jug@sad.it>
14707 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14708 rewritten to discard all double spaces when KeepEmpty is off
14709 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14710 to only handle newlines but not fiddle with spaces and friends.
14712 * lyxfunc.C (MenuNew): when doing 'new from template', use
14713 template_path as default directory
14715 2001-06-23 The LyX Project <Asger>
14717 * Clean-up of header file includes all over
14718 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14720 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14722 * paragraph.h: renamed from lyxparagraph.h
14724 2001-06-23 Asger <lyx@violet.home.sad.it>
14726 * Buffer.h: Removed Buffer::resize
14727 * BufferList.h: Removed BufferList::resize
14728 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14729 the document lazily when we change the width, or the font settings.
14731 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14733 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14735 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14737 * buffer.h: remove out of date comment
14739 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14742 * screen.C: fix "theoretical" GC leak
14744 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14746 * LaTeX.C (scanAuxFile):
14747 (deplog): remove trailing \r when reading stream (useful under
14750 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14752 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14753 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14754 and BufferView::theLockingInset(Inset*), so should use them and not
14755 access bv_->text->the_locking_inset directly.
14757 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14759 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14762 * tex-defs.h: remove old unused file
14764 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14766 * BufferView_pimpl.C: fix typo, remove minibuffer message
14767 when buffer has loaded
14769 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14771 * lyxfunc.C (Dispatch): use stringstream
14772 (MenuNew): use stringstream
14773 (Open): use stringstream
14775 * importer.C (Import): use stringstream
14777 * bufferview_funcs.C (CurrentState): use stringstream
14779 * LaTeX.C (run): use stringstream
14781 * BufferView_pimpl.C (savePosition): use stringstream
14782 (restorePosition): use stringstream
14783 (MenuInsertLyXFile): use stringstream
14785 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14798 * vspace.C: removed // -*- C++ -*- as first line.
14801 * version.h: added // -*- C++ -*- as first line.
14803 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14805 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14807 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14810 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14812 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14815 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14817 * gettext.C: include LString.h even when --disable-nls is on.
14819 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14821 * converter.h (Get): changed argument type from int to
14822 FormatList::size_type to avoid unnecessary conversion.
14824 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14827 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14829 * gettext.h: include LString.h even when --disable-nls is on.
14831 2001-06-07 Juergen Vigna <jug@sad.it>
14833 * text.C (BreakAgain): subst spaces with tabs.
14835 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14836 (resizeInsetsLyXText): set force on resizeLyXText.
14838 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14840 * gettext.h (gettext_init):
14841 (locale_init): use a real definition instead of a macro
14843 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14845 * Bufferview_pimpl.C:
14847 * LColor.C: further lcolor tidies
14849 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14851 * BufferView_pimpl.C (updateScrollbar): simplify.
14853 * BufferView2.C: don't include insets/insetinfo.h, change
14854 prototype for insertInset and call the Pimpl version. let
14855 updateInset call Pimpl version.
14857 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14858 gotoInset to BufferView::Pimpl
14860 2001-06-01 Juergen Vigna <jug@sad.it>
14862 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14863 inside a LockingInset (is the update needed at all?).
14865 2001-05-31 Juergen Vigna <jug@sad.it>
14867 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14868 here not the old one otherwise how should we compare it afterwards
14871 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14876 * FontInfo.C: bring C functions into global namespace when
14879 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14881 * LString.h: make sure config.h has been loaded before LString.h.
14883 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14884 (one for each char read by EatLine!).
14886 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14889 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14891 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14892 to the same as the par we break from
14894 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14896 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14898 * MenuBackend.C (expand): also create menu entries for wide
14899 versions of the floats.
14901 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14903 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14905 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14906 frontends/Makefile.am
14912 * tabular.C (getTokenValue): add std::
14914 * tabular-old.C (getTokenValue): add std::
14915 (getTokenValue): ditto
14916 (getTokenValue): ditto
14918 * screen.C (ToggleSelection): adjust
14920 * lyxtext.h: put selection cursors inside a Selection struct.
14922 * lyxfunc.C (moveCursorUpdate): adjust
14924 * lyxfont.C (latexWriteStartChanges): add std::
14926 * lyxfind.C: adjust
14928 * font.h: delete with(char const *, LyXFont const &)
14930 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14932 * FontInfo.C (getFontname): add std::
14934 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14935 (workAreaButtonPress): adjust
14936 (tripleClick): adjust
14938 (moveCursorUpdate): adjust
14941 * BufferView2.C (gotoInset): adjust
14943 2001-05-30 Juergen Vigna <jug@sad.it>
14945 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14946 to check pspell I add this as default as I now have new pspell
14947 libraries and they seem to use this.
14949 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14951 * text2.C (CutSelection): make the cursor valid before the call to
14954 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14956 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14957 relied on 0 terminated strings and other horrors. Bug found due to
14958 the new assert in lyxstring!
14960 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14963 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14965 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14968 * lyxfunc.C (processKeySym): change method of getting to the
14971 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14972 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14973 * BufferView_pimpl.[Ch]: here as private methods.
14975 2001-05-28 Juergen Vigna <jug@sad.it>
14977 * text.C (SetHeightOfRow): added the update() call again as it is
14978 needed to initialize inset dimensions!
14980 2001-05-16 Juergen Vigna <jug@sad.it>
14982 * text2.C (SetCharFont): Add new function with BufferView * and
14983 bool toggleall parameters for setting insets internal fonts.
14984 (SetFont): Freeze the undo as we may change fonts in Insets and
14985 all this change should be inside only one Undo!
14987 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14988 setting font's in insets as for them we have the SetFont function!
14990 2001-05-15 Juergen Vigna <jug@sad.it>
14992 * text2.C (ClearSelection): to be sure we REALLY don't have any
14995 * tabular.C (TeXCellPreamble): fixed the left border problem for
14998 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
15000 * LaTeX.C (deplog): Make sure that the main .tex file is in the
15003 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
15005 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
15006 LFUN_BREAKPARAGRAPH.
15008 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
15009 help test to "internal only", similar for LFUN_INSERT_URL
15011 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
15012 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
15013 auto_region_delete and deadkeys.
15015 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
15018 * LColor.C: remove some dead entries, tidy a little
15020 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
15022 * lyxfunc.C (processKeySym): comment the Escape handling, remove
15024 (Dispatch): implement LFUN_ESCAPE
15026 * commandtags.h: add LFUN_ESCAPE
15028 * LyXAction.C (init): add entry for LFUN_ESCAPE
15030 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15031 Remove commented code.
15032 (insertNote): moved here
15033 (open_new_inset): moved here
15035 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15038 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15040 * kbmap.C (findbinding): clean it up and make it work correctly.
15042 * lyx_main.C (init): do not pass argc and argv as parameters
15044 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15046 * buffer.C: fix path for OS/2 & Win32
15050 * lyx_main.C: Added os:: class.
15052 * os2_defines.h: update
15054 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15056 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15057 better by trying again with reduced state.
15059 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15061 * lyxrc.C (read): print error about invalid key sequence only when
15062 debugging (because not all latinX keysyms are known to some X
15065 * kbsequence.C (getiso): add a few std:: qualifiers
15066 (getiso): comment out extra return statement.
15068 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15070 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15072 (Dispatch): enhance the accent inset a bit. (not perfect)
15074 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15076 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15078 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15080 * bufferlist.C (emergencyWrite): fix assert() call
15082 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15084 * text.C (InsertChar): Added trivial patch to only send the "you
15085 can not do multiple spaces this way" message once during a
15088 2001-05-08 Baruch Even <baruch@lyx.org>
15090 * Makefile.am: Changed order of libraries to get LyX to link properly
15091 with the gnome frontend.
15093 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15095 * LaTeXFeatures.h: add a std:: qualifier
15097 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15099 * paragraph.C (String): use stringstream
15101 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15103 * paragraph.C (writeFile): remove footflag arg
15105 * buffer.C (makeLaTeXFile): use stringstream
15106 (latexParagraphs): remove footnot gurba
15108 * LaTeXFeatures.C (getPackages): use stringstream
15109 (getMacros): likewise
15110 (getTClassPreamble): likewise
15111 (getFloatDefinitions): new method
15113 * paragraph.C (writeFile): reindent
15116 * WorkArea.h: revert the xpos + etc changes.
15118 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15120 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15122 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15123 (pasteSelection): likewise
15124 * text2.C (CreateUndo): likewise
15126 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15128 * minibuffer.C (peek_event): temporarily reduce the functionality
15129 of the minibuffer (to allow args on lfuns)
15131 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15132 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15134 * buffer.C (readInset): add compability reading of old float
15135 lists, add reading of new style float list.
15136 (readInset): avoid reevaluation of inscmd.getCmdName()
15137 (getLists): reindent
15139 * MenuBackend.C (MenuItem): implement parsing of
15140 md_floatlistinsert and md_floatinsert.
15141 (expand::LastFiles): move initalizaton of iterators out of loop,
15142 avoid reevaluation.
15143 (expand::Documents): introduce typdedef vector<string> Strings,
15145 (expand::ExportFormats): introduce typedef vector<Format const *>
15146 Formats, and use it.
15147 (expand): implement FloatListInsert and FloatInsert.
15149 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15150 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15151 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15153 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15155 (Dispatch::LFUN_FLOAT_LIST): implement
15157 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15159 * LaTeX.C (run): Fix problem with --export code.
15161 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15163 * BufferView.[Ch] (workarea): removed.
15164 (getClipboard) new method; wrapper for workarea()->getClipboard()
15166 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15169 * WorkArea.h (width, height, xpos, ypos): These methods all
15170 returned the dimensions of the work_area sub-area of WorkArea,
15171 resulting in a position error if the WorkArea were resized. Now
15172 return the dimensions of the entire WorkArea.
15174 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15176 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15178 * LaTeX.C (deplog): correct the syntax of regex reg1
15180 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15182 * undo.C: remove !NEW_INSETS cruft
15184 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15186 * text2.C: remove !NEW_INSETS cruft
15188 * text.C: remove !NEW_INSETS cruft
15190 * tabular.C: remove !NEW_INSETS cruft
15192 * spellchecker.C: remove !NEW_INSETS cruft
15194 * lyxtext.h: remove !NEW_INSETS cruft
15196 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15198 * lyxfunc.C: remove !NEW_INSETS cruft
15200 * lyxfind.C: remove !NEW_INSETS cruft
15202 * lyx_cb.C: remove !NEW_INSETS cruft
15204 * figureForm.C: remove !NEW_INSETS cruft
15206 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15208 * buffer.[Ch]: remove !NEW_INSETS cruft
15210 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15212 * CutAndPaste.C: remove !NEW_INSETS cruft
15214 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15216 * BufferView2.C: remove !NEW_INSETS cruft
15218 * BufferView.h: remove !NEW_INSETS cruft
15220 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15222 * Lsstream.h: include LString.h before the sstream headers to
15223 fix problem with gcc 2.95.3 and lyxstring
15225 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15227 * lyx_main.C: add using directives when needed for C functions
15228 declared in std:: namespace.
15230 2001-04-27 Juergen Vigna <jug@sad.it>
15232 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15233 (SetHeightOfRow): comment out the update call should not be needed!
15235 2001-04-13 Juergen Vigna <jug@sad.it>
15237 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15238 (LyXTabular): tried to minimize operator= operations (and realized
15239 hopfully Lars wish).
15241 2001-04-27 Juergen Vigna <jug@sad.it>
15243 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15245 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15247 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15249 * buffer.C (readInset): hack to make listof algorithm work
15251 * BufferView_pimpl.C: hack to make listof algorithm work
15253 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15255 * LyXAction.C: removed all !NEW_INSETS cruft
15256 (init): moved lfun_item in method
15258 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15260 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15262 * BufferView2.C (theLockingInset): white space.
15264 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15266 * minibuffer.C: include <iostream>
15268 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15270 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15272 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15274 * text.[Ch] (TransposeChars): new method
15276 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15278 * call message directly through LyXView instead of through LyXFunc
15279 * BufferView2.C: adjust
15280 * BufferView_pimpl.C: adjust
15281 * FontLoader.C: adjust
15283 * bufferview_funcs.C: adjust
15284 * converter.C: adjust
15285 * figureForm.C: adjust
15286 * importer.C: adjust
15288 * lyx_gui_misc.C: adjust
15289 * lyxfunc.C: adjust
15292 + more files in subdirs
15294 * lyxparagraph.h (size): move up int file
15297 * adjust all uses of Assert to lyx::Assert.
15299 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15300 lyxfunctional in namespace lyx
15301 * layout.C (hasLayout): ditto
15304 (delete_layout): ditto
15305 (NumberOfClass): ditto
15306 * converter.C (GetFormat): ditto
15311 * bufferlist.C (getFileNames): ditto
15312 (emergencyWriteAll): ditto
15315 * MenuBackend.C (hasSubmenu): ditto
15318 * BufferView_pimpl.C (getInsetByCode): ditto
15320 2001-04-18 Juergen Vigna <jug@sad.it>
15322 * vspace.C (asLatexString): fixed the 100% problem.
15324 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15326 * lyxfunc.C (Dispatch):
15328 * minibuffer.h: add a few std:: qualifiers
15330 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15332 * minibuffer.[Ch]: reimplement so that commands is initiated and
15333 run from lyxfunc, simplified som handling, and made the completion
15334 and history code for complete. wip.
15336 * lyxfunc.C (processKeySym): call message
15337 (miniDispatch): new temporary method
15338 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15339 (LFUN_MESSAGE): implement
15340 (LFUN_MESSAGE_PUSH): implement
15341 (LFUN_MESSAGE_POP): implement
15342 (initMiniBuffer): the initial/defualt minibuffer message.
15344 * lyxfont.[Ch]: inline some more getters
15346 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15348 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15350 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15351 (AutoSave): use LFUN_MESSAGE
15352 (Reconfigure): ditto
15354 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15356 * figureForm.C: use LFUN_MESSAGE
15358 * converter.C (runLaTeX): use LFUN_MESSAGE
15360 * bufferview_funcs.C: use LFUN_MESSAGE
15362 (changeDepth): ditto
15364 * bufferparams.h: use boost::
15366 * bufferlist.h: inherit privately from noncopyable
15368 * bufferlist.C (loadLyXFile): remove some commented code.
15370 * buffer.C (runChktex): use LFUN_MESSAGE
15372 * ShareContainer.h: inherit privately from noncopyable
15374 * ParagraphParameters.[hC] (depth): inline it.
15376 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15378 (message): new method
15379 (messagePush): ditto
15380 (messagePop): ditto
15381 (show): init minibuffer
15382 (showState): direct call
15384 * LaTeX.[Ch]: inherit privately from noncopyable
15385 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15386 instead of WriteStatus.
15388 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15390 * BufferView_pimpl.C (buffer): don't init minibuffer
15391 (workAreaButtonPress): use LFUN_MESSAGE
15392 (workAreaButtonRelease): ditto
15393 (savePosition): ditto
15394 (restorePosition): ditto
15395 (MenuInsertLyXFile): ditto
15396 (workAreaExpose): don't init minibuffer
15397 (update): remove commented code, simplify
15399 * BufferView2.C (openStuff): use LFUN_MESSAGE
15400 (toggleFloat): ditto
15403 (copyEnvironment): ditto
15404 (pasteEnvironment): ditto
15409 (updateInset): remove some commented code
15411 * lastfiles.h: inherit privately from noncopyable
15414 * lyx_main.h: ditto
15416 * lyxlex_pimpl.h: ditto
15418 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15419 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15420 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15422 * LyXAction.h: inherit privately from noncopyable, add methods
15423 func_begin, func_end, returning iterators to the func map.
15425 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15426 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15427 (func_begin): new method
15428 (func_end): new method
15430 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15432 (copySelection): ditto
15433 (pasteSelection): ditto
15435 * BufferView.C: whitespace change
15436 * BufferView.h: inherit privately from noncopyable
15438 2001-04-16 Allan Rae <rae@lyx.org>
15440 * tabular-old.C (l_getline):
15441 * spellchecker.C (sc_check_word):
15442 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15443 an unrecognised preprocessor directive. So ensure they're wrapped.
15445 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15447 * src/exporter.C (Export): Give an error message when path to file
15450 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15452 * LaTeX.C (deplog): Always check that foundfile exists.
15454 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15457 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15459 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15461 * tabular.[Ch] (getLabelList): implement new method
15463 * minibuffer.h: comment ouf setTiimer
15465 * minibuffer.C (ExecutingCB): constify res
15466 (peek_event): constify s
15467 (Set): constify ntext
15468 (Init): constify nicename
15470 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15472 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15473 (savePosition): use two params to Minibuffer::Set
15474 (restorePosition): ditto
15476 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15478 * lyx_main.C: include language.h
15480 * Makefile.am (lyx_main.o): add language.h
15482 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15488 * CutAndPaste.C: include gettext.h
15490 * lyxfont.h: remove old hack with ON and OFF.
15493 * lyxfont.h: do not include language.h...
15498 * bufferview_funcs.C:
15504 * paragraph.C: ... but do it here instead
15506 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15508 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15510 * tabular.C: small reformat
15512 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15515 (BreakParagraph): ditto
15516 (SetOnlyLayout): ditto
15519 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15522 * lastfiles.C: removed most using decl, add std:: where needed
15524 * buffer.C: ws changes
15526 * MenuBackend.C (class compare_format): put into anon namespace
15527 (expand): constify label, names, action, action2
15530 * text.C (SingleWidth): constify font
15531 (IsBoundary): constify rtl2
15532 (GetVisibleRow): constify ww
15534 * LaTeX.C (deplog): constify logfile
15536 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15538 (workAreaExpose): constify widthChange, heightChange
15540 * lyxrow.C (par): moved
15543 * lyxrow.h: as inlines here
15545 * lyxfont.h (shape): moved from lyxfont.C
15546 (emph): moved from lyxfont.C
15548 * lyxfont.C (LyXFont): use initialization list for all
15550 (shape): move to lyxfont.h as inline
15551 (emph): move to lyxfont.h as inline
15554 2001-04-04 Juergen Vigna <jug@sad.it>
15556 * vspace.C: had to include stdio.h for use of sscanf
15558 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15561 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15562 independent of xforms.
15564 2001-04-02 Juergen Vigna <jug@sad.it>
15566 * spellchecker.C: fixed namespace placing!
15568 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15570 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15571 the LyXParagraph * is 0.
15573 2001-03-29 Juergen Vigna <jug@sad.it>
15575 * vspace.C: added support for %, c%, p%, l%.
15576 (stringFromUnit): added helper function.
15577 (asLatexString): changed to give right results for the %-values.
15579 * buffer.C: convert the widthp in a width%.
15581 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15583 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15586 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15587 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15589 * lyx_cb.[Ch]: see above.
15591 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15595 * lyx.[Ch]: replaced by figure_form.[Ch].
15599 * lyxfunc.C: changed headers associated with above changes.
15601 2001-03-27 Juergen Vigna <jug@sad.it>
15603 * BufferView_pimpl.C: set the temporary cursor right!
15605 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15607 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15609 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15611 * LString.h: removed "using std::getline"!
15613 * BufferView_pimpl.C (Dispatch): changes due to changes in
15614 InsetInclude::Params.
15616 * buffer.C (tag_name): removed redundant break statements as they were
15617 producing lots of warnings with my compiler.
15619 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15621 * LString.h: add "using std::getline" when using the real <string>.
15623 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15625 * buffer.C: removed bitset usage.
15626 PAR_TAG moved to an anonymous name space.
15627 (tag_name): new funtion, also in the anonymous namespace.
15628 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15629 (makeDocBookFile): clean code. Completed transition from string arrays
15631 (SimpleDocBookOnePar): code clean.
15633 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15635 * tabular.C: add some comments.
15637 2001-03-22 Juergen Vigna <jug@sad.it>
15639 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15640 compatibility read a bit and fixed bug with minipage in different
15643 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15645 * buffer.C (pop_tag): removed.
15646 (push_tag): removed.
15647 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15648 array replaced with vector. Added support for CDATA sections.
15649 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15651 (makeDocBookFile): XML conformant declaration of CDATA section,
15652 fixed bug related to <emphasis> in the first paragraph char.
15653 (sgmlOpenTag): exclude empty tags.
15654 (sgmlCloseTag): ditto.
15656 * buffer.h (pop_tag): removed.
15657 (push_tag): removed.
15659 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15661 * language.h (Languages): added size_type and size().
15663 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15665 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15666 response on compability reading of minipages. One probliem is that
15667 the old usage of minipages was «flertydig»
15669 * several files here and in subdirs: don't use static at file
15670 scope use anon namespaces instead.
15672 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15674 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15675 LaTeX output. This is necessary for Literate document
15678 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15680 * buffer.C: insert hfill when needed.
15682 * tabular.C (l_getline): use string::erase, small whitespace change.
15684 * BufferView_pimpl.C: try the anon namespace.
15685 * WorkArea.C: ditto
15687 2001-03-16 Juergen Vigna <jug@sad.it>
15689 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15690 otherwise it won't open options-dialogs.
15692 * buffer.C: honor pextraWidth(p) on converting minipages.
15694 * tabular.C (l_getline): changed the functions to strip trailing \r.
15696 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15698 * BufferView_pimpl.C:
15699 * minibuffer..C: added "using SigC::slot" declaration.
15701 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15703 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15709 * paragraph.C: ditto
15711 * lyxtext.h: NO_PEXTRA
15713 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15715 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15716 * ParameterStruct.h: ditto
15717 * ParagraphParameters.h: ditto
15718 * lyxparagraph.h: ditto
15720 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15722 * buffer.C: add compability for minipage alignment.
15723 (latexParagraphs): remove unwanted pextra check.
15725 * several files: remove CXX_WORKING_NAMESPACES
15727 * buffer.C (pop_tag): tie is in namespace boost
15729 * BufferView.h: noncopyable is in namespace boost
15731 * lyx_main.h: ditto
15734 * lastfiles.h: ditto
15735 * bufferlist.h: ditto
15736 * ShareContainer.h: ditto
15738 * LyXAction.h: ditto
15741 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15743 * Merging changes from BRANCH_MVC back into HEAD.
15745 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15747 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15749 * BufferView_pimpl.C: change from intl.C
15753 * Makefile.am: move combox.*
15759 * intl.C: remove dialog (covered by prefs)
15761 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15763 * lyxfunc.C (Dispatch): removed redundant break statement.
15765 2001-03-14 Juergen Vigna <jug@sad.it>
15767 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15769 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15771 * buffer.C: add hack to fix compability reading of minipages.
15773 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15775 * buffer.C (getLists): Cleanup.
15777 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15779 * lyxfont.C (update): don't honor toggleall on font size.
15781 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15785 * Makefile.am: moved to frontends/xforms/
15789 * BufferView_pimpl.C: changes for moved mathpanel
15791 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15793 * gettext.h: fix gettext_init() in --disable-nls
15795 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15797 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15799 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15802 * lyx.h: strip external form
15804 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15806 * BufferView_pimpl.C: add comment, destroySplash()
15808 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15810 * BufferView_pimpl.C:
15814 * lyxfunc.C: use re-worked insetinclude
15816 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15818 * buffer.C: add using std::stringstream.
15820 * lyx_cb.C: readd using std::ios.
15822 * buffer.C: add using std::map.
15824 * BufferView_pimpl.C: add using std::vector.
15826 * ShareContainer.h: add std:: to swap.
15828 * buffer.h: add some typedefs
15829 * buffer.C (getLists): use them
15830 (getLists): renamed from getTocList.
15831 add a counter for the different float types and use it in the
15833 (getLists): use the same counter for the NEW_INSETS and the "non"
15836 * lyx_cb.h: remove unused items, includes, using etc.
15838 * ShareContainer.h: remove some commented code, add more comments
15839 and "documentation".
15841 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15843 * buffer.C (getTocList): make the list also when NEW_INSETS is
15846 * buffer.h: remove TocType
15848 * buffer.C (getTocList): change to return a map<string,
15849 vector<TocItem> >, implement for dynamic number of list.
15851 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15852 * text2.C (PasteSelection): adjust
15853 * CutAndPaste.C (pasteSelection): adjust
15855 * FloatList.C (FloatList): update from the new_insets branch.
15856 * Floating.[Ch]: ditto
15857 * LaTeXFeatures.C: ditto
15859 * lyxlex_pimpl.C: ditto
15861 * paragraph.C (Last): remove when NEW_INSETS is defined.
15863 * other file: changes because of the above.
15865 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15867 * lyxparagraph.h: rename next to next_, previous to previous_,
15868 make them private for NEW_INSETS. Rename Next() to next(),
15869 Previous() to previous().
15871 * other files: changes because of the above.
15873 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15876 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15879 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15881 * main.C (main): pass lyx_localedir to gettext_init().
15883 * gettext.h: remove locale_init and gettext_init macros
15885 * gettext.C (locale_init): new function
15886 (gettext_init): new function
15888 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15891 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15893 * Moved credits to frontends:
15894 * credits.[Ch]: removed
15895 * credits_form.[Ch]: removed
15896 * lyx_gui_misc.C: remove credits stuff
15899 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15901 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15903 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15904 unneeded destructor.
15906 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15907 a standalone pointer again.
15909 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15911 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15917 * ToolbarDefaults.C:
15926 * BufferView_pimpl.C: use new file dialog in GUII
15929 * lyx_cb.C: remove LayoutsCB to Toolbar
15931 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15933 * ShareContainer.h (get): add std:: qualifier
15935 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15937 * ShareContainer.h: define a proper ShareContainer::value_type
15938 type (and use typename to please compaq cxx)
15940 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15942 * lyxparagraph.h: move serveral local vars to
15943 ParameterStruct/ParagraphParameters., use ShareContainer in
15944 FontTable., make vars in FontTable private and add getter and
15947 * paragraph.C: changes because of the above.
15949 * lyxfont.h: remove copy constructor and copy assignment. (the
15950 default ones is ok), move number inside FontBits. move inlines to
15953 * lyxfont.C: add number to initializaton of statics, move several
15954 inlines here. constify several local vars. some whitespace
15955 cleanup. Dont hide outerscope variables.
15957 * Spacing.h: add two new constructors to match the set methods.
15959 * ShareContainer.h: new file, will perhaps be moved to support
15961 * ParameterStruct.h: new file
15963 * ParagraphParameters.h: new file
15965 * ParagraphParameters.C: new file
15967 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15968 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15970 * BufferView_pimpl.C: ParagraphParameter changes.
15971 * buffer.C: Likewise.
15972 * bufferview_funcs.C: Likewise.
15973 * text.C: Likewise.
15974 * text2.C: Likewise.
15976 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15978 * lyxfind.C (LyXReplace): do not redefine default argument in
15980 (IsStringInText): ditto
15981 (SearchForward): ditto
15982 (SearchBackward): ditto
15984 2001-03-06 Juergen Vigna <jug@sad.it>
15986 * lyxfind.C (IsStringInText): put parentes around expressions.
15988 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15990 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15992 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15994 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15996 * stl_string_fwd.h: add comment
15998 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
16001 * tabular.C: remove unused DocBook methods
16007 killed DO_USE_DEFAULT_LANGUAGE
16009 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16011 * lyx_gui.C: do not include language.h.
16013 * bufferview_funcs.C (ToggleAndShow): do not provide optional
16014 arguments in function implementation.
16016 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16018 * BufferView_pimpl.C: add <ctime>
16020 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16022 * BufferView_pimpl.C: add using std::find_if
16024 2001-02-27 José Matos <jamatos@fep.up.pt>
16026 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
16029 2001-02-11 José Matos <jamatos@fep.up.pt>
16031 * buffer.C (makeDocBookFile): command styles now have a parameter as
16032 "title" by default.
16034 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16036 * layout_forms.[Ch]: removed
16037 * lyx_cb.[Ch]: out character
16038 * lyx_gui.C: out character
16039 * lyx_gui_misc.C: out character
16040 * bufferview_funcs.C: : out character,
16041 added toggleall as parameter in ToggleAndShow
16043 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16045 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16047 * text2.C (SetCurrentFont): Disable number property at boundary.
16049 2001-02-26 Juergen Vigna <jug@sad.it>
16051 * lyxfunc.C (getStatus): added a string argument override function so
16052 that this is correctly called from LyXFunc::Dispatch if it contains a
16053 do_not_use_argument which is used!
16054 (Dispatch): added check for "custom" export and call appropriate func.
16056 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16058 * lyxrc.C: Add language_command_local, language_use_babel and
16059 language_global_options.
16061 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16063 * buffer.C (makeLaTeXFile): Use language_use_babel and
16064 language_global_options.
16066 2001-02-23 Juergen Vigna <jug@sad.it>
16068 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16069 which works with LyXText and putted it inside BufferView. Here now we
16070 only call for that part the BufferView::Dispatch() function.
16072 * BufferView.C (Dispatch): added.
16074 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16075 functions which needs to use a LyXText over from LyXFunc.
16076 (MenuInsertLyXFile): added
16077 (getInsetByCode): added
16078 (moveCursorUpdate): added
16079 (static TEXT): added
16081 2001-02-22 Juergen Vigna <jug@sad.it>
16083 * BufferView_pimpl.C (update): call a status update to see if LyXText
16086 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16088 * vc-backend.C (revert): implement for CVS
16089 (getLog): implement for CVS
16091 2001-02-20 Juergen Vigna <jug@sad.it>
16093 * text2.C (ClearSelection): added BufferView param for inset_owner call
16095 * lyxfunc.C (TEXT): added this function and use it instead of
16096 directly owner->view()-text of getLyXText().
16098 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16100 * src/layout_forms.C: out preamble
16101 * src/layout_forms.h: out preamble
16102 * src/lyx_cb.C: out preamble
16103 * src/lyx_cb.h: out preamble
16104 * src/lyx_gui.C: out preamble
16105 * src/lyx_gui_misc.C: out preamble
16106 * src/lyxfunc.C: connect with guii preamble
16108 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16110 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16112 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16114 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16115 whether to run bibtex.
16117 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16119 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16121 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16123 * Makefile.am (lyx_SOURCES): removed bibforms.h
16125 * vspace.h: doxygen
16127 * text.C (GetVisibleRow): make several local vars const
16129 * tabular.C: small cleanup.
16131 * lyxserver.C (callback): use compare instead of strncmp
16133 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16134 inlines to after class or to paragraph.C
16136 * lyxfont.h: remove friend operator!=
16138 * converter.h: move friend bool operator< to non friend and after
16141 * combox.h: small cleanup
16143 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16144 to inlines after class def.
16146 * buffer.C (pop_tag): use string operations instead of strcmp
16148 * bmtable.c: doxygen, small cleanup
16150 * LaTeX.h: remove friend operator==
16152 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16164 * BufferView_pimpl.C:
16165 * BufferView.[Ch]: remove cruft
16167 2001-02-14 Juergen Vigna <jug@sad.it>
16169 * lyxfunc.C: removed #if 0 unused code
16171 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16173 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16175 * text2.C (SetSelection): added a BufferView * parameter
16177 2001-02-13 Juergen Vigna <jug@sad.it>
16179 * lyxfunc.C (Dispatch): fixed protected blank problem.
16180 * BufferView2.C (protectedBlank): added LyxText * parameter.
16182 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16183 (AppendColumn): same as above for column_info.
16185 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16186 (moveCursorUpdate): use a LyXText param for support of InsetText.
16188 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16189 (tripleClick): ditto
16191 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16193 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16195 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16197 * text2.C (SetSelection): set correct update status if inset_owner
16198 (ToggleFree): ditto
16200 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16202 * tabular.C: remove some commented code.
16204 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16206 * BufferView_pimpl.C: call hideSplash()
16208 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16211 * bibforms.h: remove
16214 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16215 add LFUN_CHILD_CREATE
16217 * counters.h: fix tiny typo
16222 * lyx.C: move splash to frontends/xforms/
16224 * lyx_gui_misc.C: move Include and Bibform to frontends
16226 * lyxvc.h: clarify comment
16228 * vspace.C: tiny housekeeping
16230 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16232 * text.C (PrepareToPrint): RTL Fix.
16234 * paragraph.C (GetUChar): New method.
16235 (String): Use GetUChar.
16237 * buffer.C (asciiParagraph): Use GetUChar.
16239 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16241 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16243 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16246 * buffer.C: rename to getLogName(), handle
16247 build log / latex log nicely
16249 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16252 * MenuBackend.h: remove support for reference menuitem type.
16254 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16256 * BufferView_pimpl.C: housekeeping
16257 * BufferView_pimpl.h:
16262 * minibuffer.h: move Timeout GUI-I
16264 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16266 * lyxrc.C (read): Update converters data-structures.
16268 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16270 * LaTeX.h (operator!=): add operator != for Aux_Info
16272 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16274 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16276 * LaTeXLog.C: deleted, useful code moved to Buffer
16279 * buffer.C: new function getLatexLogName()
16285 * lyxfunc.C: use frontends for LaTeX and VC logs
16287 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16289 * LaTeX.h: yet another std:: that Allan forgot.
16291 * Variables.C (set): renamed from isset(), because this clashes
16292 with some HP-UX macros (grr).
16294 2001-02-06 Allan Rae <rae@lyx.org>
16296 * LaTeX.h: Another bug fix. Missing std:: this time.
16298 2001-02-04 Allan Rae <rae@lyx.org>
16300 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16301 floats problem. I've left it commented out because it's not quite
16302 correct. It should also test that the current object is a table or
16303 figure inset. But I haven't gotten around to figuring out how to do
16304 that. I *think* it'll be something like: "table" == inset.type()
16306 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16309 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16311 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16312 all the citation/databases/styles in the auxilary file.
16313 (run): Rerun latex if there was a babel language error.
16315 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16317 * text.C (Backspace): Preserve the font when changing newline char
16319 (BreakParagraph): If the cursor is before a space, delete the space.
16321 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16323 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16325 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16326 new argument (code).
16327 (ChangeCitationsIfUnique): New method.
16329 * paragraph.C (GetPositionOfInset): Handle bibkey.
16331 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16333 * BufferView_pimpl.h: change type of Position::par_pos to
16334 LyXParagraph::size_type.
16336 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16338 * BufferView_pimpl.C (savePosition, restorePosition): Write
16339 messages to minibuffer.
16341 2001-01-28 José Matos <jamatos@fep.up.pt>
16343 * buffer.C (makeDocBookFile): adds support for document language.
16344 A silly restriction on the name of LatexCommand types where removed.
16345 Added support for CDATA sections, allows to chars unescaped, used
16346 among others in code, to avoid escape < and >.
16348 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16350 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16351 saved positions instrad of a stack. Furthermore, a position is
16352 stored using paragraph id/paragraph position.
16354 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16355 Remove LFUN_REF_BACK.
16357 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16359 * converter.C (dvipdfm_options): New method.
16361 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16363 * vspace.C (isValidLength): Fix for empty input string.
16365 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16367 * LyXAction.C (init): change description of LFUN_FIGURE to
16370 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16372 * LaTeX.C: add using directive
16374 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16376 * MenuBackend.C (expand): Fix the sorting of the formats.
16378 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16380 * lyx_main.C: tiny error message fix
16382 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16384 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16385 calling fl_initialize(). This fixes the problem with ',' as
16386 decimal separator in text files.
16388 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16390 * trans.C (process): Fix the keymap bug.
16392 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16394 * LaTeX.C (scanAuxFiles): New method. Provides support for
16395 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16396 (scanLogFile) Scan for "run BibTeX" messages.
16398 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16399 OT1 font encoding. Also, load the aecompl package if the ae
16402 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16404 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16406 * texrow.C (increasePos): turn two error messages into debug
16409 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16411 * LaTeX.C (scanAux): Handle the \@input macro.
16412 (runBibTeX): Use scanAux().
16414 * language.C (latex_options_): New field.
16416 * LaTeXFeatures.C (getMacros): Add language macros.
16418 * buffer.C (makeLaTeXFile): Small fix.
16420 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16422 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16424 * text2.C: add a using directive.
16426 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16431 * lyxfunc.C: kill LyXBell.
16433 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16435 * text.C (IsBoundary): Remove the error message
16437 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16439 * lyxrc.C (setDefaults): Correct initialization value for
16442 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16444 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16447 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16448 and GotoNextNote().
16450 * src/LyXAction.C: Added reference-next.
16452 * text.C (InsertChar): Use contains instead of strchr.
16454 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16456 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16458 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16459 alignment commands (when needed).
16461 * text.C (InsertChar): Add ':' to number separator chars.