1 2004-11-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * output_latex.C (TeXOnePar): override runparams.moving_arg
4 according to the needprotect value of the current paragraph (bug 1739)
6 * paragraph.C (simpleTeXOnePar): no need to override
7 runparams.moving_args here
9 2004-11-14 John Spray <spray_john@users.sourceforge.net>
11 * vspace.C: fix off-by-one-error, related to fix #1682
13 2004-11-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
15 * lengthcommon.C: a more general fix for bug 1682
17 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
19 * text.C (backspace): fix crash
21 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
23 * format.[Ch] (getFormatFromFile): new method
24 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
26 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
28 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
30 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
32 * lyxfunc.C (dispatch): remove the verbose argument
33 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
36 * kbmap.C (defkey): set the origin of func to KEYBOARD
38 * MenuBackend.C (MenuItem):
39 * ToolbarBackend.C (add): set the origin of func to UI
41 * funcrequest.[Ch]: add origin member, which indicates which part
42 of LyX requests an action
44 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
46 * converter.C (move): don't lie in the error message
47 * converter.h (isReachable, move): document
49 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
51 * buffer.C: remove unused using lyx::support::atoi
52 * paragraph_funcs.C: ditto
54 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
56 * bufferlist.C (exists): use bind and equal_to instead of
59 * lyxtextclasslist.C (NumberOfClass): ditto
61 * cursor.C (insert): use for_each instead of explicit for loop
63 * bufferlist.C (getFileNames): use std::transform and
64 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
66 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
69 * buffer.C (changeLanguage): use for_each instead of explicit for
71 (hasParWithID): implement using getParFromID
73 * LaTeXFeatures.C: ws change only
75 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
78 * BufferView_pimpl.C (trackChanges): use for_each instead of
81 2004-11-04 André Pönitz <poenitz@gmx.net>
84 * undo.C (textUndoOrRedo): fix crash when creating undo information.
86 * dociterator.C (asDocIterator): use hard assert again.
88 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
90 * lyxlength.C (asLatexString): rewrite so that it does not use
93 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
95 * text3.C (specialChar, dispatch): make sure cursor moves to the
96 right after inserting an inset
98 2004-11-02 José Matos <jamatos@lyx.org>
100 * output_docbook.C (docbook):
101 * paragraph.C (getID):
102 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
103 garantee that the output is always legal.
105 * tabular.C (docbook):
106 * outputprams.[Ch]: remove mixed contents.
108 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
110 * text2.C (setCounter): prevent endless loop
112 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
114 * exporter.C (copyFile): use the mover instead of support::copy()
115 * exporter.C (Export): pass format and latex name to copyFile()
116 * exporter.h (addExternalFile): document
117 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
119 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
121 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
123 2004-10-30 José Matos <jamatos@lyx.org>
125 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
126 text and no inset or font change. This allows to use CDATA
127 sections just for the whole paragraph.
129 2004-10-30 José Matos <jamatos@lyx.org>
131 * paragraph.C (getFirstWord): remove unused variable.
133 2004-10-30 José Matos <jamatos@lyx.org>
135 * paragraph.C (getFirstWord): the content should always be escaped
137 (simpleDocBookOnePar):
138 * output_docbook.C (makeEnvironment): replace reference to CDATA
141 2004-10-30 José Matos <jamatos@lyx.org>
143 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
145 2004-10-30 José Matos <jamatos@lyx.org>
147 * output_docbook.C (makeParagraphs):
148 * paragraph.[Ch] (emptyTag): for docbook and company, if the
149 standard paragraph has only a given type of content drop the wrapper.
151 2004-10-29 José Matos <jamatos@lyx.org>
153 * output_docbook.C (makeEnvironment):
155 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
157 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
159 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
160 (cleanID): sanitize any id.
162 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
164 * buffer.C, lyxlex_pimpl.C:
165 * lyxlex_pimpl.C (setFile):
166 s/getExtFromContents/getFormatFromContents/
168 2004-10-28 José Matos <jamatos@lyx.org>
170 * output_docbook.C (makeEnvironment): move id to broadest possible
173 * sgml.C (openTag): apply substitution of <> for all attributes.
175 2004-10-28 José Matos <jamatos@lyx.org>
177 * buffer.C (makeLinuxDocFile, makeDocBookFile):
178 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
179 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
181 * sgml.[Ch]: new version for open and closeTag for paragraph and
182 for strings. Now they handle the ids of paragraphs.
184 2004-10-26 Angus Leeming <leeming@lyx.org>
186 * Makefile.am: add mover.[Ch].
188 * converter.C (convert, move): use the new Movers to move external
189 files to the temp directory.
191 * lyx_main.C (init): ensure that the global system_movers data
194 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
197 * mover.[Ch]: new files, defining a Mover as a utility to move an
198 external file between directories and, if necessary, manipulate this
199 file using a helper script.
201 2004-10-25 José Matos <jamatos@lyx.org>
203 * output_docbook.C (makeCommand): merge two if's that tested the
206 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * sgml.C (escapeString): fix warning in a better way
210 2004-10-25 José Matos <jamatos@lyx.org>
212 * sgml.C (escapeString): import the require boosts header file for
213 tie, and avoid a signed unsigned comparison.
215 2004-10-25 José Matos <jamatos@lyx.org>
217 * sgml.h: add #include <string>
219 2004-10-25 José Matos <jamatos@lyx.org>
221 * sgml.[Ch] (escapeString): new function to escape all the string.
223 2004-10-24 José Matos <jamatos@lyx.org>
225 * paragraph.[Ch] (getFirstWord): new function to get the first
226 word. Useful for description.
227 (simpleDocBookOnePar): remove depth argument, add another that
228 says where to start the paragraph.
230 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
231 use the new functions to fix cleanly the support for descriptions.
233 2004-10-24 José Matos <jamatos@lyx.org>
235 * buffer.C (makeLinuxDocFile, makeDocBookFile):
236 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
237 * output_linuxdoc.C (linuxdocParagraphs):
238 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
239 add buffer as argument.
241 2004-10-24 José Matos <jamatos@lyx.org>
243 * output_docbook.C (makeEnvironment, searchEnvironment): place
244 CDATA inside paragraphs and fix scope for listitems.
246 2004-10-24 José Matos <jamatos@lyx.org>
248 * output_docbook.C: remove using statement for stack.
250 2004-10-23 José Matos <jamatos@lyx.org>
252 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
253 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
254 docbook. The new scheme is recursive and makes use of iterators, the
255 same as latex export works.
256 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
257 directly with the paragraph contents. This code was moved up to
258 output_docbook.C (docbookParagraphs).
259 * sgml.C (openTag, closeTag): removed unneeded newlines.
260 (closeEnvTags) removed.
262 2004-10-23 André Pönitz <poenitz@gmx.net>
264 * undo.C (textUndoOrRedo):
265 * dociterator.C (asDocIterator): work around crash
267 * cursor.C (getStatus): replace ASSERT by more verbose error message
268 and manual correction of the problem. Should increase stability
269 while providing more sensible information.
271 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
273 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
275 * bufferlist.C (previous, next): new methods
278 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
280 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
282 * buffer.C (makeDocBookFile): add dsssl stylesheet control
283 entities to preamble.
285 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
287 * messages.C (Pimpl): strip off translation context information
289 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
292 the cursor is correct (bug 1694)
294 2004-10-13 José Matos <jamatos@lyx.org>
296 * output_docbook.C (docbookParagraphs): fix closing tags in the
299 2004-10-09 José Matos <jamatos@lyx.org>
301 * buffer.C: format up to 237.
302 * bufferparams.C (write): use tostr to convert booleans to strings.
304 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
306 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
308 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
310 * LaTeX.C: implement use of babel language in xindy.
312 2004-10-05 José Matos <jamatos@lyx.org>
314 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
315 Add new translators to help reading and writing the lyx file.
317 2004-10-05 José Matos <jamatos@lyx.org>
319 * ParagraphParameters.C (read):
320 * text.C (readParToken): replace nexToken by more appropriate lex
323 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
325 * LaTeX.C (runMakeIndex):
326 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
327 (usually 'makeindex') configurable.
329 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
330 with a variable rather than with a number.
332 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
334 * output_latex.C (TeXOnePar): make sure font setting is the first
335 thing that gets output (and the last at the end). Should fix bug
338 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
340 * pch.h: use proper signal include
342 * LaTeX.h: Use preferred calling of Boost.Signal
345 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
347 * pch.h: dont include <boost/function/function0.hpp>
349 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
351 * paragraph_pimpl.h: remove usage of ShareContainer
353 * paragraph_pimpl.C: remove initialization of ShareContainer.
355 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
359 * BufferView.C (putSelectionAt): change the semantics when
360 backwards == true: now, this just swaps cursor and anchor wrt the
363 * BufferView.h (putSelectionAt): add some documentation
365 * lyxfind.C (findBackwards): rewrite using while(). In particular,
366 make sure backwardChar is done at least once (to avoid getting
368 (findNextChange): use putSelectionAt in the forward direction
369 (operator()): use Paragraph::isWord
371 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
373 * Spacing.C (set): c_str fix
375 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
377 * lyx_cb.C (Reconfigure): quote the name of configure script in
378 case it contains spaces
380 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
384 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
385 (BOOST_LIBS): use top_buildir when looking for the file
387 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
389 * pch.h: do not use include boost/format.hpp, multiple symbols
390 will result (gcc bug)
393 2004-08-23 José Matos <jamatos@lyx.org>
395 * bufferparams.C (readToken): fix reading of the author field.
397 2004-08-20 José Matos <jamatos@lyx.org>
399 * lyxrc.C: remove support/translator.h inclusion since it is not used.
401 2004-08-20 José Matos <jamatos@lyx.org>
403 * lyxlex.[Ch] (findToken): remove function.
405 * ParagraphParameters.C (findToken):
406 * bufferparams.C (findToken): replace call for previous function
407 with local copy. This local function has one more argument, the
408 read string argument.
410 2004-08-16 José Matos <jamatos@lyx.org>
412 * ParagraphParameters.C (write):
413 * Spacing.C (writeFile):
414 * bufferparams.C (writeLaTeX):
415 * lyx_cb.C (Reconfigure):
416 * paragraph.C (write):
417 * tabular.C (write): remove unnecessary space at end of line.
420 2004-08-16 José Matos <jamatos@lyx.org>
422 * text.C (readParagraph): remove debug message.
424 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
426 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
429 * output_plaintext.C (asciiParagraph): set depth correctly
431 * outputparams.h: add member depth
433 * paragraph_funcs.C (ownerPar): remove.
435 * text2.C (setCounter): remove first_pit; comment out some
436 non-working code that uses ownerPar
438 * BufferView.C (getParentLanguage): remove. Not used anymore, and
441 2004-08-16 José Matos <jamatos@lyx.org>
443 * text.C (readParToken, readParagraph, read): report all unknown tokens.
444 For the same level of importance use the same chanel to report problems.
445 (read): add code to deal with \begin_body and \end_body.
448 2004-08-15 José Matos <jamatos@lyx.org>
450 * lyxlex.C (getString): fix comment, buffer::readBody is now
453 * tex-strings.C (string_papersize): Default -> default,
454 Custom -> custom, for consistency with other options.
456 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
460 * Makefile.am: support pch
462 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
464 * text.C (readParToken): remove the static LyXFont variable and
465 pass it as a parameter instead. This fixes a nasty bug where an
466 inset will be inserted with a bad font in some situations
467 (readParagraph): adapt
469 * text2.C (setCounter): reduce number of calls to pars_[pit]
471 * text.C (singleWidth): add an assert, fix a test
473 * rowpainter.C (paintText): reduce number of calls to singleWidth
475 * paragraph.C (isHfill):
478 2004-08-14 André Pönitz <poenitz@gmx.net>
483 * lyxtext.h (several functions): use a Paragraph & argument
486 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
488 * metricsinfo.h: add a new field ltr_pos to PainterInfo
490 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
492 * text.C (singleWidth): remove useless test
494 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
496 * tabular.h: remove bogus comments
498 * tabular.C (getDescentOfRow):
499 (isPartOfMultiColumn): add assertions
501 * lyxlength.C (inPixels): remove #warning
503 2004-08-14 André Pönitz <poenitz@gmx.net>
505 * paragraph.h: inline getChar()
507 * BufferView.h: remove unused declarations
509 2004-08-14 José Matos <jamatos@lyx.org>
511 * Buffer.[Ch] (readDocument): new name for old readBody.
512 * Buffer.C: new file format, new keywords: \begin_document,
513 \begin_header, \begin_body, \end_body.
515 * bufferparams.C (readToken): replace all calls to lex.nextToken
516 by lex.next(). Do the same to eatLine except where really needed.
518 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
519 line when writing to the lyx file.
521 * output_plaintext.C (asciiParagraph): fix Bibliography style
524 * text.C (read): fix end of file handling.
526 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
528 * MenuBackend.C (Menu::operator[]): new method to access
529 individual menu items
530 (Menu::hasFunc): new method. search for an item that corresponds
532 (MenuBackend::specialMenu): new method
533 (MenuBackend::expand): if a special menu has been set, skip
534 entries whose func() appears in this menu
536 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
538 * text3.C: use Debug::DEBUG a bit more
540 * text.C (leftMargin): try to simplify a tiny bit change var x to
541 l_margin. Dont output the wide margins always.
542 (rightMargin): no margin in inner texts
544 * rowpainter.h (nestMargin): new func
545 (changebarMargin): new func
546 (rightMargin): new func
548 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
552 * factory.C (createInset): modify setDrawFrame
554 * cursor.C: use Debug::DEBUG a bit more
556 2004-08-14 André Pönitz <poenitz@gmx.net>
559 * Makefile.am: new files to accomodate an 'external' (x,y)-position
560 cache for all insets in (at least partially) visible (top-level)
563 * BufferView_pimpl.C: reset external coord cache before every update.
564 This means the coord cache only contains valid entries.
566 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
569 * BufferView_pimpl.C (getInsetByCode): move function out of class
570 and change in to a template in anon namespace. Also fix to do what
573 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
576 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
578 (breakParagraph): rename par to par_offset and use a local
579 reference. Add code to keep the language over a rebreak.
580 (breakParagraphConservative): rename par to par_offset, use a
582 (mergeParagraph): ditto
584 (isFirstInSequence): ditto
585 (outerFont): rename pit to par_offset
587 * paragraph.C: ws change
592 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
594 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
597 * paragraph.C (simpleTeXOnePar): when we have a \item with
598 optional argument, enclose the argument with curly brackets (in
599 case it contains a closing square bracket)
603 * text3.C (checkInsetHit): constify
605 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
607 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
610 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
612 Fix toggling of collapsable insets with the mouse (bug 1558)
614 * lyxfunc.C (dispatch): adapt to LCursor changes
616 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
617 make sure that dispatch is not invoked twice
619 * cursor.C (needsUpdate): new method
620 (dispatch): return void
621 (result): new method, to access the DispatchResult of the cursor.
623 2004-08-13 José Matos <jamatos@lyx.org>
625 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
627 2004-08-13 André Pönitz <poenitz@gmx.net>
629 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
631 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
634 2004-08-12 André Pönitz <poenitz@gmx.net>
636 * text3.C: take out the 'cursor right' form insertInset and only
637 do it in those places when it is really needed. Fixes crash on
640 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
642 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
644 * BufferView_pimpl.C (setBuffer): initialize the current font of
645 the underlying LyXText
647 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
649 * kbsequence.C (print): use UI native formatting for menu
652 * text.C (insertChar): call Paragraph::insertChar with a font
655 * paragraph.C (insertInset, insertChar): the version that takes a
656 LyXFont argument is now a wrapper around the other one (the
657 opposite used to be true).
659 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
660 argument. Font setting is done in Paragraph now.
662 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
664 * outputparams.h: add new members intitle and lang.
666 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
667 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
669 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
671 * text3.C (dispatch): remove special handling of button 4 and 5,
672 it is now taken care of in the frontend code.
674 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
676 * Spacing.h: add <string> (STLPort compile fix)
678 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
680 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
682 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
684 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
687 * converter.C (showMessage): inherit from unary_function, make
690 * buffer.C (writeFile): initialize retval
692 * InsetList.h: rename private variable list to list_
693 * InsetList.[Ch]: adjust accordingly.
695 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
697 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
698 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
699 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
700 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
701 * ParagraphParameters.C, LaTeXFeatures.C: replace
702 "support/std_sstream.h" with <sstream>
704 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
706 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
707 * lyxsocket.C (LyXServerSocket): ditto
708 (serverCallback): ditto
710 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
712 * LaTeXFeatures.C: check release date when loading jurabib.
714 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
716 * lyxserver.C (startPipe): call register_socket_callback
717 (endPipe): call unregister_socket_callback
719 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
721 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
722 (LyXServerSocket): register the callback
723 (LyXServerSocket): unregister the callback
724 (fd): delete function
725 (serverCallback): improve error checking and setup the callbacks.
726 (dataCallback): change arg to fd.
727 (writeln): new func (copied fro the client socket) used for server
729 (LyXDataSocket): simplify
730 (~LyXDataSocket): close ann unregiser callback
731 (server): delete function
732 (fd): delete function
733 (readln): small changes, improve some std::string usage
734 (writeln): constify a bit
736 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
738 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
741 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
743 * BufferView_pimpl.C (setBuffer): set the layout combox value only
744 after it has been populated
746 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
748 * text2.C (insertInset): move cursor when inserting inset.
750 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
752 * kbmap.C (findbindings): a couple of new methods. returns a
753 container of kb_sequence objects. The real work is done by the
754 private recursive version
755 (printbindings): uses findbindings to print out a bracketed list
756 of bindings (renamed from findbinding).
758 * MenuBackend.C (binding): use kb_keymap::findbindings
760 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
762 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
764 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
766 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
768 * paragraph.C (isWord): return true on insets that report
771 * text.C (getWord): use Paragraph::isWord to decide what is in a
772 word and what is not; fix bug 1609.
774 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
776 * tex-strings.C: add "none" to string_paperpackages[], fixes
777 off-by-one-error in the paperpackage selection.
780 * tex-strings.[Ch]: char const * string[n]
781 -> char const * const string[]
783 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
785 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
786 command, return early.
788 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
790 * debug.h: add DEBUG to enum and fix size of ANY.
792 * debug.C: add support for Debug::DEBUG
793 (showTags): cast errorTags.level to unsigned int
795 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
796 (redoCurrentBuffer): ditto
797 (updateScrollbar): ditto
798 * cursor.C (dispatch): ditto
799 * text2.C (setLayout): ditto
801 (updateCounters): ditto
803 (deleteEmptyParagraphMechanism): ditto
805 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
807 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
808 annotations to cleanup the Makefile slightly.
810 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
812 * lyxrc.C: do not set user_email to a default value but use empty
813 instead. The entry used to be translated, which does not work
814 since at the point where lyxrc is constructed there is no
815 translation service available
817 * messages.C (getLocaleDir): remove and use directly
818 lyx_localedir() instead
820 2004-06-02 Angus Leeming <leeming@lyx.org>
822 Fix crash caused by dereferencing null pointer 'exportdata' in
823 OutputParams by creating a new ExportData variable on the heap,
824 storing it in a boost::shared_ptr.
825 The crash was triggered when generating an Instant Preview
826 of an external inset.
828 * Makefile.am: add outputparams.C
830 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
831 (c-tor): allocate memory to it.
833 * exporter.C (c-tor): associated changes.
835 2004-06-01 Angus Leeming <leeming@lyx.org>
837 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
838 contains data before calling isInset(0). (Bug 1513.)
840 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
842 * exporter.C (checkOverwrite): new method
843 * exporter.C (copyFile): new method
844 * exporter.C (Export): copy referenced files to the document dir
845 * exporter.[Ch]: new class ExportedFile
846 * exporter.[Ch]: new class ExportData. Contains currently the
847 names of referenced external files
848 * outputparams.h: add exportdata member.
850 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
852 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
855 2004-05-19 Angus Leeming <leeming@lyx.org>
860 * lyxfunc.C: small changes due to the introduction of namespace
861 lyx::frontend and the moving of namespace biblio to lyx::biblio.
863 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
865 * text3.C (dispatch): supress update when only moving the cursor
866 * cursor.C (selHandle): remove commented code
868 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
870 * paragraph.C (startTeXParParams): correct column count
871 * CutAndPaste.C (pasteSelection): remove const_cast
872 * output_docbook.C (docbookParagraphs): remove const_cast
873 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
874 const_cast and return ParagraphList::const_iterator
875 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
876 * output_plaintext.C (writeFileAscii): remove const_cast
877 * paragraph.[Ch] (simpleTeXOnePar): make const
878 * paragraph_funcs.C (outerPar): use const iterators
879 * paragraph_pimpl.C (validate): use const iterators
880 * text.C (setHeightOfRow): use const iterators
882 2004-05-17 Angus Leeming <leeming@lyx.org>
885 * LyXAction.C (init): new LFUN_INSET_REFRESH.
887 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
888 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
889 if the citation engine has changed.
891 2004-05-14 José Matos <jamatos@lyx.org>
893 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
894 if the textclass does not provide it. Have it different for sgml and
896 support the language of document.
897 * output_docbook.C (docbookParagraphs):
898 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
899 first anchor as the id of the paragraph, remove special case code.
900 * sgml.C (escapeChar): escape only < & >.
902 2004-05-14 Angus Leeming <leeming@lyx.org>
904 * bufferparams.h: move biblio::CiteEngine enum here to minimize
905 dependencies on src/frontends/controllers/biblio.h. Define a
906 CiteEngine_enum wrapper class to enable the enum to be forward
909 2004-05-12 Angus Leeming <leeming@lyx.org>
911 * buffer.C: up LYX_FORMAT to 234.
912 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
913 use_numerical_citations with a single biblio::CiteEngine cite_engine
915 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
917 2004-05-13 José Matos <jamatos@lyx.org>
920 * converter.C (Converter, readFlags): add xml member.
921 * outputparams.h: add XML flavor.
922 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
924 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
926 * lyxfunc.C (dispatch):
927 (getStatus): fix handling of LFUN_SEQUENCE
929 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
931 * debug.C (showLevel): do not forget the end-of-line marker
933 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
935 * kbmap.C (read): do not stop parsing a bind file when an error
938 2004-04-29 Angus Leeming <leeming@lyx.org>
943 * text2.C: wrap a bunch of #warning statements
944 inside #ifdef WITH_WARNINGS blocks.
946 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
948 * buffer.C: increment format to 233.
950 2004-04-28 Angus Leeming <leeming@lyx.org>
952 * BufferView_pimpl.C:
955 s/updateToolbar()/updateToolbars()/
956 s/Toolbar.h/Toolbars.h/
958 2004-04-28 Angus Leeming <leeming@lyx.org>
960 * BufferView.[Ch] (c-tor):
961 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
962 No longer passes these data to the WorkArea generator.
964 2004-04-28 Angus Leeming <leeming@lyx.org>
966 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
968 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
970 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
972 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
974 * output_latex.C (TeXEnvironment): make sure that there is a line
975 break before \end{foo} for the last paragraph of a document
976 (TeXOnePar): if the paragraph is at the end of the document (or
977 inset) and the language has to be reset, then make sure that the
978 line break is _before_ the language command, not after (fixes bug
979 1225); also make sure that the language reset command is the first
980 thing after the paragraph (to ensure proper nesting of
981 environments and thus fix bug 1404)
983 2004-04-21 John Levon <levon@movementarian.org>
986 * ToolbarBackend.C: make "name" be a programmatic name
987 and a gui_name field.
989 * lyxfunc.C: display the minibuffer on M-x
991 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
993 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
996 2004-04-19 Angus Leeming <leeming@lyx.org>
998 * BufferView_pimpl.C (setBuffer): changed preview interface.
1000 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
1003 2004-04-19 John Levon <levon@movementarian.org>
1005 * BufferView_pimpl.C:
1006 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
1008 2004-04-05 Angus Leeming <leeming@lyx.org>
1010 * text.C (redoParagraphs): add call to updateCounters(), thereby
1011 fixing the missing "Figure #:" label from the caption of a
1014 2004-04-13 Angus Leeming <leeming@lyx.org>
1016 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1017 cursor is clicked out of an inset.
1019 2004-04-13 Angus Leeming <leeming@lyx.org>
1021 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1022 than an InsetOld one.
1024 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1026 * format.[Ch]: add editor to Format
1027 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1028 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1030 2004-04-08 André Pönitz <poenitz@gmx.net>
1032 * metricsinfo.h: remove PainterInfo::width member
1034 2004-04-08 Angus Leeming <leeming@lyx.org>
1036 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1037 "\providecommand" rather than "\newcommand", thereby preventing
1038 clashes with packages that define "\boldsymbol" themselves.
1041 2004-04-08 Angus Leeming <leeming@lyx.org>
1043 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1044 thereby squashing an unnecessary warning.
1046 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1048 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1051 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1053 * BufferView.C (setCursor): call redoParagraph (some insets could
1055 (putSelectionAt): remove the 'double update' trick
1057 * BufferView_pimpl.C (fitCursor): call refreshPar
1058 (workAreaDispatch): remove an uneeded update call
1059 (dispatch): remove some manual update calls
1061 * cursor.[Ch]: remove cached_y_, updatePos
1062 (selHandle): set noUpdate when appropriate
1064 * lyxfunc.C (dispatch): track if we need an update
1066 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1068 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1069 (paintSelection): cheap optimization, do not call cursorX when not
1071 (paintPars): change signature
1074 (paintTextInset): adjust
1078 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1080 * lengthcommon.C: compilation fix: remove explicit array size from
1081 unit_name[] and friends
1083 2004-04-05 Angus Leeming <leeming@lyx.org>
1085 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1087 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1088 present only for the preferences dialog.
1089 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1091 2004-04-05 Angus Leeming <leeming@lyx.org>
1093 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1094 to enable the frontends to export changes to lyxrc correctly.
1096 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1098 2004-04-07 André Pönitz <poenitz@gmx.net>
1100 * cursor.[Ch] (selClear, adjust): remove math
1102 * cursor_slice.C: more agressive assert
1105 * BufferView_pimpl.C: rework mouse event dispatch
1112 2004-04-05 André Pönitz <poenitz@gmx.net>
1114 * cursor.[Ch] (valign, halign...): remove unneeded functions
1116 2004-04-05 Angus Leeming <leeming@lyx.org>
1118 * lyxlength.[Ch] (unit_name et al.): const-correct.
1120 2004-04-05 Angus Leeming <leeming@lyx.org>
1122 * BufferView_pimpl.C:
1131 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1133 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1135 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1137 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1139 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1140 * BufferView_pimpl.[Ch] (getStatus)
1141 * BufferView.[Ch] (getStatus): add
1142 * lyxfunc.C (getStatus): move lfuns handled in
1143 BufferView::dispatch to te function above
1144 * Cursor.C (setSelection): set selection() = true
1146 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1148 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1150 2004-03-31 Angus Leeming <leeming@lyx.org>
1152 * lyxfunc.C (dispatch): Fall through to the generic
1153 Dialogs::show("preamble").
1155 2004-03-31 Angus Leeming <leeming@lyx.org>
1157 * lyxfunc.C (dispatch): Fall through to the generic
1158 Dialogs::show("spellchecker").
1160 2004-03-31 Angus Leeming <leeming@lyx.org>
1162 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1165 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1170 * insetiterator.[Ch]:
1175 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1177 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1179 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1180 insets where we are putting the cursor.
1182 2004-03-31 Angus Leeming <leeming@lyx.org>
1185 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1187 * lyxrc.[Ch] (read, write): overloaded member functions taking
1188 a std::[io]stream arguments.
1190 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1192 2004-03-31 Angus Leeming <leeming@lyx.org>
1194 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1195 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1197 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1198 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1200 2004-03-31 Angus Leeming <leeming@lyx.org>
1202 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1203 the LFUN_ALL_INSETS_TOGGLE code.
1205 2004-03-30 Angus Leeming <leeming@lyx.org>
1207 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1208 has died. Fall through to the generic Dialogs::show("document").
1210 2004-03-30 Angus Leeming <leeming@lyx.org>
1213 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1214 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1216 * lyxfunc.C (getStatus, dispatch): define the actions for these
1217 lfuns. Little more than a cut and pste job from ControlDocument.C
1219 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1221 2004-03-30 Angus Leeming <leeming@lyx.org>
1224 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1225 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1227 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1228 open/closed state of ollapsable insets. Usage:
1230 all-inset-toggle <state> <name>, where
1231 <state> == "open" || "closed" || "toggle" and
1232 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1234 * lyxtext.h, text2.C (toggleInset): removed.
1236 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1237 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1238 now passes LFUN_INSET_TOGGLE to the found inset.
1240 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1241 is now invoked as "all-insets-toggle toggle branch".
1243 2004-03-30 Angus Leeming <leeming@lyx.org>
1247 * pariterator.[Ch]: added/corrected header blurb.
1249 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1251 * dociterator.[Ch]: add an inset_ member
1252 (backwardPos): implemented
1253 (backwardPos, forwardPos): use inset_ when the stack is empty.
1254 (doc_iterator_begin, doc_iterator_end): implemented
1255 * pariterator.[Ch]: adjust, add begin, end
1256 * insetiterator.[Ch]: adjust, add begin, end
1260 * BufferView_pimpl.C:
1261 * CutAndPaste.C: adjust
1263 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1265 * buffer.C: increment file format to 232.
1266 * LaTeXFeatures.C: add bibtopic package.
1267 * bufferparams.[Ch]: param \use_bibtopic.
1269 * lyxrc.[Ch]: add lyxrc bibtex_command
1270 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1272 * buffer.C: increment file format to 231.
1274 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1276 * dociterator.C: implement forwardPar
1277 * iterators.[Ch]: remove, replaced by
1278 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1280 * BufferView_pimpl.C:
1283 * bufferview_funcs.C:
1289 * Makefile.am: adjust
1291 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1293 * CutAndPaste.C (pasteSelection): fix 2 crashes
1294 (eraseSelection): fix a crash
1295 * paragraph_funcs.C: remove a warning
1297 2004-03-28 Angus Leeming <leeming@lyx.org>
1300 * LyXAction.C (init): new LFUN_PRINT.
1302 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1304 2004-03-27 Angus Leeming <leeming@lyx.org>
1307 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1309 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1311 2004-03-27 Angus Leeming <leeming@lyx.org>
1313 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1314 insetlist always contains non-null pointers to insets.
1316 2004-03-26 Angus Leeming <leeming@lyx.org>
1318 * src/BufferView_pimpl.C:
1319 * src/CutAndPaste.C:
1322 * src/output_plaintext.C:
1323 * src/outputparams.h:
1324 * src/paragraph_funcs.C:
1328 * src/frontends/controllers/ControlErrorList.C:
1329 * src/frontends/gtk/FileDialogPrivate.C:
1330 * src/frontends/gtk/GPainter.C:
1331 * src/frontends/gtk/GToolbar.C:
1332 * src/frontends/qt2/QRef.C:
1333 * src/mathed/math_scriptinset.C: squash compiler warnings.
1335 2004-03-26 Angus Leeming <leeming@lyx.org>
1337 * ispell.C (LaunchIspell::start):
1338 * lyx_cb.C (AutoSaveBuffer::start):
1339 invoke run(DontWait) rather than runNonBlocking().
1341 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1343 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1345 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1347 * kbsequence.C (print): adjust
1349 * kbmap.C (printKeySym): rename and change signature
1350 (printKey): use LyXKeySym::print()
1352 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1354 * undo.C: add using std::advance to compile for stlport
1356 2004-03-24 Angus Leeming <leeming@lyx.org>
1358 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1359 it leads to a crash when no buffer is present.
1361 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1362 Martin Vermeer <martin.vermeer@hut.fi>
1364 * lyxfunc.C (dispatch):
1365 * bufferparams.C (readToken): use the new LColor::setColor
1367 * LColor.[Ch] (setColor): new version that takes two strings as
1368 argument and creates a new color entry if necessary
1370 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1372 * buffer.C (makeLaTeXFile): if the main latex file that is
1373 processed is usually a subdocument of some master, then pretend
1374 for a while that it is actually the master
1376 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1378 * buffer.C (getLabelList):
1379 (getBibkeyList): use getMasterBuffer()
1380 (getMasterBuffer): new method. Returns the main document in the
1381 case where one is using included documents.
1383 2004-03-25 André Pönitz <poenitz@gmx.net>
1387 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1389 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1391 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1392 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1394 * ParameterStruct.h: merge with ParagraphParameters
1396 * lyxtext.h: remove LyXText::parOffset() and getPar()
1398 * text3.C: Remove all 'manual' update calls. We do now one per user
1399 interaction which is completely sufficient.
1403 * BufferView_pimpl.C:
1404 * FontIterator.[Ch]:
1406 * ParagraphParameters.[Ch]:
1411 * cursor_slice.[Ch]:
1418 * output_docbook.[Ch]:
1419 * output_latex.[Ch]:
1420 * output_linuxdoc.[Ch]:
1421 * output_plaintext.[Ch]:
1423 * paragraph_funcs.[Ch]:
1424 * paragraph_pimpl.[Ch]:
1432 * frontends/controllers/ControlDocument.C:
1433 * frontends/controllers/ControlErrorList.C:
1434 * frontends/controllers/ControlSpellchecker.C:
1437 * insets/insetbase.h:
1438 * insets/insetbibitem.C:
1439 * insets/insetbox.C:
1440 * insets/insetbranch.C:
1441 * insets/insetcaption.C:
1442 * insets/insetcharstyle.C:
1443 * insets/insetcharstyle.h:
1444 * insets/insetcollapsable.C:
1445 * insets/insetcollapsable.h:
1446 * insets/insetert.C:
1447 * insets/insetfloat.C:
1448 * insets/insetfoot.C:
1449 * insets/insetmarginal.C:
1450 * insets/insetnote.C:
1451 * insets/insetoptarg.C:
1452 * insets/insettabular.C:
1453 * insets/insettext.C:
1454 * insets/insettext.h:
1455 * insets/insetwrap.C:
1456 * mathed/math_mboxinset.C:
1457 * mathed/math_nestinset.C:
1458 * mathed/math_scriptinset.C:
1459 * mathed/math_scriptinset.h:
1462 2004-03-24 Angus Leeming <leeming@lyx.org>
1464 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1465 deal with any child processes that have finished but are waiting to
1466 communicate this fact to the rest of LyX.
1468 2004-03-24 Angus Leeming <leeming@lyx.org>
1470 64-bit compile fixes.
1472 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1473 (c-tor): pass lyx::pos_types rather than ints.
1475 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1478 * text.C (Delete): compile fix.
1479 (getPar): ensure that function declaration is the same as that in
1482 2004-03-23 Angus Leeming <leeming@lyx.org>
1484 * ispell.C (LaunchIspell):
1485 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1486 a boost::shred_ptr rather than a std::auto_ptr.
1488 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1490 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1491 handle LFUN_FILE_INSERT_*
1493 * lyxrc.C (setDefaults, getDescription, output, read):
1494 * lyxrc.h: remove ps_command
1496 2004-03-22 Angus Leeming <leeming@lyx.org>
1498 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1499 Ensure that error_handler is processed once only and that all data
1500 is saved before attempting to output any warning messages.
1502 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1504 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1506 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1508 2004-03-19 André Pönitz <poenitz@gmx.net>
1510 * cursor.[Ch] (reset): take main text inset as argument
1512 * BufferView: adjust
1513 * BufferView_pimpl.C: adjust
1515 * paragraph.[Ch]: fix completely broken operator=()
1517 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1519 * LColor.C (getFromLyXName): make sure that the color name is used
1522 2004-03-17 Angus Leeming <leeming@lyx.org>
1525 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1527 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1528 dialog and to kill a forked process.
1530 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1532 * text2.C (setCursorFromCoordinates): fix font problem
1534 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1536 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1537 bogus "rebuild cursor" code
1539 2004-03-11 André Pönitz <poenitz@gmx.net>
1541 * buffer.[Ch]: use InsetText instead of LyXText as container for
1544 * dociterator.[Ch]: drop the BufferView * member which is not needed
1545 anymore after the change to buffer.C
1547 * paragraph_funcs.C:
1551 * BufferView_pimpl.[Ch]:
1553 * cursor_slice.[Ch]: adjust
1555 * text3.C: fix bug in mathDispatch
1557 2004-03-08 André Pönitz <poenitz@gmx.net>
1559 * undo.[Ch]: use 'StableDocumentIterator' as base for
1562 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1565 * bufferparams.[Ch]: add jurabib support and param.
1567 * LaTeX.C: add FIXME/comment.
1569 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1571 * buffer.C: increment file format to 230.
1573 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1575 * cursor.C (dispatch): avoid infinite loops
1577 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1579 * rowpainter.C (paintSelection): fix x coordinates
1581 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1583 * text.C (rowBreakPoint): fix breaking before displayed insets
1585 2004-03-01 André Pönitz <poenitz@gmx.net>
1587 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1589 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1593 * BufferView_pimpl.C:
1601 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1607 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1608 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1610 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1612 * Bidi.[Ch] (computeTables): const correctness
1613 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1614 fill_hfill, fill_label_hfill and x from Row
1615 * lyxtext.h: prepareToPrint returns a RowMetrics
1616 * rowPainter.C: adjust
1617 * text.C (prepareToPrint): use width, not textWidth. adjust
1618 (redoParagraphInternal, cursorX): adjust
1619 * text2.C (getColumnNearX): adjust
1620 (init): put a default value to the top LyXText::width
1622 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1624 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1626 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1628 * lyxtext.h: add FontIterator class
1630 * text.C (FontIterator, operator*, operator->, operator++): add
1631 (rowBreakPoint, setRowWidth): adjust (fixing a
1634 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1636 * BufferView_pimpl.C (workAreaDispatch): allow also
1637 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1639 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1641 * text.C (rowBreakPoint): fix a bug showing with very large insets
1643 2004-02-25 André Pönitz <poenitz@gmx.net>
1646 * cursor.[Ch]: move some mathed specific code to mathed
1648 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1650 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1651 use_tempdir in preferences
1652 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1654 * lyx_main.C: ensure that tempdir is valid
1655 * lyxlex.h: correct typo
1656 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1657 * paragraph.[Ch] (isMultiLingual): make const
1658 * cursor.[Ch] (openable): make const
1660 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1662 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1664 2004-02-20 André Pönitz <poenitz@gmx.net>
1666 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1668 * cursor.[Ch]: prepare for localized getStatus()
1674 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1676 2004-02-20 André Pönitz <poenitz@gmx.net>
1678 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1680 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1682 * text2.C (setCursorFromCoordinates): switch to absolute coords
1684 (cursorDown): adjust
1685 * text3.C (dispatch): adjust
1687 2004-02-16 André Pönitz <poenitz@gmx.net>
1689 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1692 * cursor_slice.[Ch]: remove unneeded acessor function
1694 * lyxtext.h: rename rtl() to isRTL()
1702 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1704 * rowpainter.C (paintSelection): coord fix
1706 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1708 * Spacing.C: compile fix
1710 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1712 * cursor.C (dispatch): restore current_ before returning
1714 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1716 * text2.C (cursorUp, cursorDown): fix coords
1719 2004-02-12 André Pönitz <poenitz@gmx.net>
1724 * text3.C: add LCursor & parameter to most cursor movement functions
1725 remove usage of LyXText::cursorRow() and cursorPar()
1727 * cursor.[Ch]: add textRow() needed members
1730 * BufferView_pimpl.C:
1733 * BufferView_pimpl.C: adjust
1735 2004-02-11 André Pönitz <poenitz@gmx.net>
1739 * BufferView_pimpl.C: shift undo/redo handling
1741 * cursor.[Ch]: fix mathed crash
1744 * lyxtext.h: move selectionAsText to LCursor
1752 * rowpainter.C: fix excessive drawing
1754 2004-02-06 André Pönitz <poenitz@gmx.net>
1757 * BufferView_pimpl.[Ch]:
1758 * text3.C: move some text specific LFUN handling
1760 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1762 * text3.C (checkInsetHit): adjust coords
1763 * text2.C (getColumnNearX): adjust coords
1764 (edit): adjust coords
1765 * text.C (getRowNearY): add two asserts
1767 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1770 * format.C: add using std::distance to compile on gcc 2.95/stlport
1772 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1774 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1776 2004-02-04 André Pönitz <poenitz@gmx.net>
1778 * BufferView.[Ch] (insertInset):
1779 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1784 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1786 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1787 on the default clause of the switch
1788 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1789 wasn't catched by LCursor::dispatch
1791 2004-02-03 André Pönitz <poenitz@gmx.net>
1794 * cursor.[Ch]: some additional asserts
1796 * undo.[Ch]: remove LyXText dependency in interface
1800 * lyxtext.h (firstPar, lastPar): remove dead functions
1805 * paragraph.[Ch]: adjust
1807 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1809 * lyxfind.C (find): fix argument order in call to ::find
1811 2004-02-02 André Pönitz <poenitz@gmx.net>
1813 * cursor.[Ch]: remove direct access to anchor
1815 * text.C: remove findText() hack
1817 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1819 * iterators.[Ch] (lockPath): remove in favour of...
1820 * BufferView.[Ch] (setCursor): this addition
1821 * BufferView.C (putSelectionAt): adjust
1822 * undo.C (performUndoOrRedo): adjust
1823 * lyxfunc.C (dispatch): adjust
1825 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1827 * iterators.C (lockPath): add a missing slice
1828 * undo.C (performUndoOrRedo): remove redundant positioning code
1830 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1832 * vc-backend.C (scanMaster): ";" -> ';'
1834 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1836 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1837 std::binary_function
1839 * lyxtextclass.C (compare_name): rename to...
1840 (LayoutNamesEqual): ...this
1842 * lyxlex_pimpl.C (compare_tags): inherit from
1843 std::binary_function, put back into anon namespace
1845 * lyxfind.C (MatchString): inherig from std::binary_function
1846 (findChange): use empty() istead of !size()
1848 * format.C (FormatNamesEqual): new functor
1855 * converter.C (compare_Converter): rename to...
1856 (ConverterEqual): ...this, and fixup a bit.
1857 (getConverter): use it, and make function const
1858 (getNumber): use it, and make function const
1862 * bufferlist.C: add using boost::bind
1864 * MenuBackend.C (MenuNamesEqual): new functor
1865 (hasMenu): use it, and make function const
1866 (hasSubmenu): use nested bind to get rid of compare_memfun.
1868 2004-01-30 André Pönitz <poenitz@gmx.net>
1870 * BufferView_pimpl.C:
1873 * cursor_slice.[Ch]:
1876 * paragraph_funcs.C:
1877 * paragraph_funcs.h:
1881 * text3.C: move some of the edit(x,y) handling to the insets
1882 some coordinate changes.
1884 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1886 * text.C: add using statements for std::advance and std::distance
1888 * paragraph.C: add using statement for std::distance
1890 * lyxfind.C: add using statement for std::advance
1892 * cursor.C (region): remove std:: from swap
1893 (openable): use nucleus in stead of operator->
1895 * BufferView.C: add using statements for std::distance and std::swap
1897 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1899 * iterators.C: Remove the pimple, move the needed structures to
1900 the header file. Create accessor for the positions stack.
1901 (asPosIterator): remove function
1903 * PosIterator.C (PosIterator): move constructors to top of file
1904 (PosIterator): reimplement the constructor taking a ParIterator in
1906 (setFrom): new function
1907 (operator!=): inline it
1909 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1911 * lyxfind.C (replaceAll): use std::advance
1913 * iterators.h: inherit from std::iterator.
1915 * PosIterator.C (advance, distance): remove
1916 * PosIterator.h: interit from std::iterator.
1918 2004-01-26 André Pönitz <poenitz@gmx.net>
1921 * BufferView_pimpl.[Ch]:
1925 * bufferview_funcs.C:
1935 * output_linuxdoc.C:
1936 * output_plaintext.C:
1938 * paragraph_funcs.[Ch]:
1939 * paragraph_pimpl.[Ch]:
1945 * text3.C: more IU: dumps most of the rest of the mathcursor
1946 implementation into cursor.[Ch]; "globalize" a bit of it.
1948 2004-01-25 Angus Leeming <leeming@lyx.org>
1950 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1952 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1954 * LaTeXFeatures.h: add nice_ and nice() const
1955 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1957 2004-01-20 André Pönitz <poenitz@gmx.net>
1960 * BufferView_pimpl.C:
1962 * bufferview_funcs.C:
1964 * cursor_slice.[Ch]:
1975 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1976 LCursor and mathcursor parts to LCursor and InsetBase.
1978 2004-01-15 André Pönitz <poenitz@gmx.net>
1980 * cursor_slice.[Ch]: add a few covienience functions
1982 * funcrequest.[Ch]: remove BufferView * member
1984 * BufferView_pimpl.C:
1991 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1993 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1995 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1996 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1998 2004-01-13 André Pönitz <poenitz@gmx.net>
2001 * lyxtext.h: hide cursor and selection anchor behind accessor function
2004 * BufferView_pimpl.[Ch]:
2006 * bufferview_funcs.C:
2016 * cursor_slice.[Ch]: some integer type changes for inset unification
2018 * lyxcursor.[hC]: remove, it's CursorSlice now.
2021 * BufferView_pimpl.[Ch]:
2022 * bufferview_funcs.C:
2028 * textcursor.[Ch]: adjust
2030 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2032 * text2.C (undoSpan): add and use
2033 * text.C (breakParagraph): use undoSpan (fix bug 578)
2036 2004-01-08 Angus Leeming <leeming@lyx.org>
2038 * BufferView_pimpl.C (MenuInsertLyXFile):
2039 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2040 * lyxfunc.C (menuNew, open, doImport):
2041 FileFilterList change to the FileDialog open and save functions.
2043 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2045 * ShareContainer.h: make isEqual and isUnique adaptable
2047 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2049 2004-01-07 Angus Leeming <leeming@lyx.org>
2052 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2054 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2056 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2057 functions replacing find, replace and replaceAll.
2059 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2060 LFUN_WORDFIND(FORWARD|BACKWARD).
2062 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2064 * text.C (breakParagraph): remove an outdated #warning
2066 2004-01-07 André Pönitz <poenitz@gmx.net>
2068 * lyxfind.C: somewhat clearer logic
2070 * text.C: prevent crash in cursorX on unitialized row cache
2072 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2074 * lyxcursor.[Ch] (operator>): add
2075 * textcursor.C (selStart, selEnd): use std::min and std::max
2077 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2079 * Chktex.C: include boost/format.hpp
2081 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2083 * InsetList.C: replace functor MathcIt with adaptable functor
2085 (insetIterator): modify accordingly
2087 * BranchList.h: move the BranchNamesEqual functor here from...
2088 * BranchList.C: ... to here
2090 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2092 (add): replace a finding loop with std::find_if.
2094 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2096 * output_docbook.C: moving LatexParam functionality into
2099 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2101 * buffer.C: increment format to 229.
2103 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2106 * lyx_sty.[Ch]: remove minipageindent_def
2112 * text3.C: remove LFUN_INSET_MINIPAGE
2114 2003-12-28 Angus Leeming <leeming@lyx.org>
2116 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2118 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2120 * text2.C (setParagraph): fix off-by-one crash
2122 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2124 * output_docbook.C: header stuff for AGU
2126 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2128 * text2.C (redoCursor): remove
2131 * BufferView_pimpl.C: remove calls to redoCursor and
2132 setCursor(cursor.par(), cursor.pos()) all around
2134 2003-12-15 Angus Leeming <leeming@lyx.org>
2136 * buffer.C: up the format to 228.
2138 2003-12-15 André Pönitz <poenitz@gmx.net>
2140 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2145 * BufferView_pimpl.C:
2154 2003-12-15 Angus Leeming <leeming@lyx.org>
2156 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2157 than getFromGUIName to manipulate the color.
2159 2003-12-14 Angus Leeming <leeming@lyx.org>
2161 * BranchList.[Ch]: minimize the API.
2162 (Branch::getBranch, getColor): now return a 'const &'.
2163 (Branch::setSelected) now returns a bool set to true if the
2164 selection status changes.
2165 (BranchList::clear, size, getColor, setColor, setSelected,
2166 allBranches, allSelected, separator): removed.
2167 (BranchList::find): new functions, returning the Branch with
2169 (BranchList::add, remove): return a bool indicating that
2170 the operation was successful.
2172 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2173 new InsetBranch::isBranchSlected member function.
2175 * LColor.[Ch]: mimimize the API.
2176 (fill): renamed as addColor and made private.
2177 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2178 versions of these functions taking a string arg have been removed.
2180 * bufferparams.C (readToken):
2181 * lyxfunc.C (dispatch):
2182 * lyxrc.C (read): changes due to the altered BranchList and
2185 * factory.C (createInset, readInset): changes due to altered
2188 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2191 * lyxfunc.C: remove insetminipage. "minipage-insert"
2192 now produces a frameless minipage box inset.
2194 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2196 * textcursor.[Ch] (selStart,selEnd): add new methods
2197 remove selection::start, end, use LyXCursor::operator<
2198 * lyxcursor.[Ch] (operator<): add
2199 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2200 * BufferView.[Ch] (unsetXSel): add
2201 * text2.C (clearSelection): use unsetXSel,adjust
2204 * rowpainter.C: adjust
2205 * bufferview_funcs.C (put_selection_at): adjust
2207 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2209 * BufferView_pimpl.C: small coord. correction
2211 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2213 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2214 dragging over the splash screen.
2216 2003-12-11 Angus Leeming <leeming@lyx.org>
2218 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2219 as it is now handled in LyXText::dispatch.
2221 * text3.C (doInsertInset): remove a level of nesting.
2223 2003-12-11 Angus Leeming <leeming@lyx.org>
2225 * factory.C (createInset): changes due to the changed interface to
2226 InsetCommandMailer::string2params.
2228 2003-12-10 Angus Leeming <leeming@lyx.org>
2230 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2231 'dialog-show-new-inset <inset name>'
2233 2003-12-10 Angus Leeming <leeming@lyx.org>
2235 * buffer.C: up the format to 227.
2237 * factory.C: the box inset is now identified simply by 'Box'.
2239 2003-12-10 Angus Leeming <leeming@lyx.org>
2241 * buffer.C: up the format to 226.
2243 * factory.C: the note inset is now identified simply by 'Note'.
2245 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2247 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2248 when a pit is enough. Standarize a couple of loops.
2250 2003-12-05 Angus Leeming <leeming@lyx.org>
2252 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2253 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2254 data to the re-worked "log" dialog.
2256 2003-12-03 André Pönitz <poenitz@gmx.net>
2262 * paragraph_funcs.C:
2264 * text2.C: use Inset::getText instead of Inset::getParagraph
2266 2003-12-03 André Pönitz <poenitz@gmx.net>
2270 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2271 InsetText::read() as LyXText::read()
2273 2003-12-02 Angus Leeming <leeming@lyx.org>
2275 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2276 type. Add a comment in the implementation that the function uses
2277 the stream's bad() function rather than fail() as the std::streams
2280 2003-12-02 André Pönitz <poenitz@gmx.net>
2282 * lyxlex.[Ch]: make interface more similar to std::stream
2284 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2286 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2288 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2290 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2292 * vspace.[Ch]: remove VSpace::NONE
2294 2003-12-01 André Pönitz <poenitz@gmx.net>
2297 * lyxtext.h: move ParagraphList member to LyXText
2298 rename LyXText::ownerParagraphs to LyXText::paragraph
2301 * bufferview_funcs.C:
2311 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2313 * undo.C: fix cursor positioning
2315 2003-12-01 John Levon <levon@movementarian.org>
2317 * BufferView_pimpl.C: fix a crash on exit with
2320 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2322 * BranchList.C: fix setSelected() method.
2324 2003-11-28 André Pönitz <poenitz@gmx.net>
2326 * ParagraphParameters.[Ch]:
2327 * ParameterStruct.h: remove space above/below from Paragraph to
2330 * BufferView_pimpl.C:
2336 * paragraph_funcs.C:
2342 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2344 * factory.C: Syntax change for CharStyles
2346 2003-11-28 André Pönitz <poenitz@gmx.net>
2351 * buffer.[Ch]: move LyXText member
2353 2003-11-28 André Pönitz <poenitz@gmx.net>
2355 * BufferView.[Ch]: make LyXText * text a private member
2357 * BufferView_pimpl.C:
2368 * output_plaintext.C: cleanup
2370 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2373 * lyxtextclass.[Ch]: parametrize SGML document header
2375 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2378 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2381 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2383 * text2.C (setFont): rework using PosIterator (no more recursive)
2384 (setCharFont): no more needed
2385 (setLayout): no more selection cursors fiddling (done by redoCursor)
2386 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2387 destroy remaining ones)
2389 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2391 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2393 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2396 * text3.C: adjust + re-allow multi par depth changes
2397 * textcursor.C: simplify a bit
2399 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2405 * src/output_docbook.C:
2406 * src/output_latex.C:
2411 * src/text2.C: Introducing a number of tags parametrizing various
2412 XML formats that we may want to support
2414 2003-11-25 André Pönitz <poenitz@gmx.net>
2416 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2418 * lyxtext.h (leftMargin/rightMargin): simplify interface
2425 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2427 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2428 master file to any child files. Fixes bug 546.
2430 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2432 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2434 2003-11-24 André Pönitz <poenitz@gmx.net>
2436 * rowpainter.C: simplification
2438 * text2.C (updateCounters): remove call to redoParagraph on
2439 changed labels as this is far too expensive.
2441 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2443 * converter.C (convert): fix a crash: this function gets
2444 called with buffer == 0 from importer code.
2446 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2448 * text3.C (cursorPrevious): make sure that we do not compare
2449 iterators form different containers.
2452 * rowpainter.C (paintSelection): make sure that we do not compare
2453 iterators from different containers.
2455 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2456 iterators from different ParagraphList containers.
2459 * text2.C (LyXText): change order of initialization slightly
2460 (operator=): new function. copy all variables except cache_par_
2461 (moveUp): make sure that we do not compare iterators from
2462 different ParagraphList constainers.
2465 * text.C (firstPar): new function
2466 (lastPar): new function
2467 (endPar): new function
2469 * lyxtext.h: move things around and group public functions, public
2470 variables, private functions, private variables
2472 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2474 * factory.C: change call to InsetERT constructor to avoid
2475 additional invocation of method status
2476 * text2.C (toggleInset): remove redundant update() call
2477 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2478 instead of a Bufferview pointer
2480 2003-11-21 André Pönitz <poenitz@gmx.net>
2482 * rowpainter.C: simplification
2484 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2486 * text3.C (dispatch): make possible to extend a word/row selection
2489 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2491 * lyxtext.h: x0_,y0_ -> xo_,yo_
2492 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2493 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2494 * rowpainter.C (paintRows): paint full paragraphs
2496 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2498 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2501 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2503 * lyxtext.h: add x0_, y0_
2504 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2505 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2507 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2509 * text2.C (setCursorIntern): move the x_target update here *
2510 * text3.C: change some bv() to true/false in calls to
2511 cursorUp/Down/Right/Left
2512 * cursor.C: use helper function.
2514 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2516 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2517 * paragraph_funcs.[Ch]: correct comment
2518 * rowpainter.C: do not paint selections away from bv->cursor()
2519 Fix a long standing selection painting bug.
2520 * text3.C: generalize mouse-selection code to LyXTexts other that
2522 * textcursor.C: do not use y coords if we can use par offsets
2524 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2526 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2527 cursor position after e.g. inset insert)
2529 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2531 * lyxfind.C (replace): adjust to locking removal + some
2534 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2536 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2539 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2542 * output_docbook.C: XML sanitation: new layout
2543 parameters InnerTag and CommandDepth
2545 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2547 * BufferView_pimpl.C:
2549 * text3.C: Fix the insertion and modification of button-style
2552 2003-11-13 André Pönitz <poenitz@gmx.net>
2554 * InsetList.[Ch]: remove deleteLyXText
2556 * paragraph.[Ch]: cache beginOfBody position
2561 * text3.C: remove superfluous update() calls
2565 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2567 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2568 * BufferView.C (fitLockedInsetCursor): remove
2569 * cursor.[Ch] (getDim): add
2570 * text.C (getRowNearY): add faster version
2571 * text3.C: remove some update calls
2573 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2585 * text3.C: The Character Style /XML short element patch.
2587 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2590 * factory.C: Small step to solving 'unable to insert some insets'
2593 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2595 * cursor.[Ch] (updatePos): new function for updating the y
2596 position of the tip inset
2597 * bufferview_funcs.C (put_selection_at):
2598 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2600 2003-11-11 André Pönitz <poenitz@gmx.net>
2602 * text.C: remove big comment on invalid Paragraph pointers as it is
2605 2003-11-11 André Pönitz <poenitz@gmx.net>
2607 * text_funcs.[Ch]: merge with ...
2615 * Makefile.am: remove text_funcs.[Ch]
2617 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2619 * cursor.C (getPos): return absolute cached y coord
2621 * BufferView_pimpl.C (fitCursor): new simplistic code
2622 (workAreaDispatch): add a fitCursor call
2624 2003-11-10 André Pönitz <poenitz@gmx.net>
2627 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2629 2003-11-10 André Pönitz <poenitz@gmx.net>
2631 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2632 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2633 indicate that the cursor needs to leave an inset
2635 * lyxtext.h: remove inset locking
2637 * cursor.[Ch]: re-implement functionality provided by inset locking
2640 * BufferView_pimpl.[Ch]:
2642 * bufferview_funcs.[Ch]:
2654 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2656 * PosIterator.[Ch]: replace the stack with a vector, add inset
2658 * iterators.[C]: adjust
2660 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2662 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2664 * paragraph_funcs.C (readParToken): put the correct id in the
2665 error item, not the id of the top paragraph
2667 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2669 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2670 * bufferview_funcs.C (put_selection_at): use the above
2672 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2674 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2676 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2678 * output_linuxdoc.h:
2679 * output_plaintext.h:
2681 * output_docbook.h: add #include statements
2683 2003-11-05 José Matos <jamatos@lyx.org>
2685 * output_docbook.[Ch]:
2686 * output_latex.[Ch]:
2687 * output_linuxdoc.[Ch]:
2688 * output_plaintext.[Ch]: New files for output formats.
2689 * output.[Ch]: New file for helper functions.
2692 * paragraph_funcs.[Ch]: output functions moved to new files.
2694 * outputparams.h: rename of latexrunparams.h
2702 * paragraph_funcs.[Ch]:
2703 * paragraph_pimpl.[Ch]:
2704 * tabular.[Ch]: rename ascii to plaintext
2705 and LatexRunParams to OutputParams.
2707 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2709 * iterators.[Ch] (text): require bv argument
2710 * undo.C (recordUndo):
2711 * lyxfunc.C (dispatch):
2712 * bufferview_funcs.C (put_selection_at): adjust
2714 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2716 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2718 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2720 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2723 2003-11-04 André Pönitz <poenitz@gmx.net>
2725 * cursor.[Ch]: restructure
2728 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2730 * iterators.[Ch] (asCursor): remove
2732 * lfuns.h: remove LFUN_INSET_EDIT
2738 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2740 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2742 * lyxfind.[Ch]: complete overhaul
2743 * BufferView_pimpl.C:
2745 * paragraph.[Ch] (insert): add
2747 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2751 * text.C: remove dead spellcheck code
2753 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2755 * dispatchresult.h: add a val setter
2757 * cursor.C (dispatch): use a tempvar for data_[i]
2759 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2761 * PosIterator.[Ch]: compile fix
2763 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2765 * text.C (cursorPar): deactivate the cursor cache
2767 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2769 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2771 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2773 * text3.C (dispatch): adjust for new DisptchResult semantics.
2775 * lyxfunc.C (dispatch): handle update when return from
2776 Cursor::dispatch, adjust for new DispatchResult semantics.
2778 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2779 DispatchResult(true) mean to not update. Add class functions for
2780 setting dispatched and update, as well as reading.
2782 * cursor.C (dispatch): don't handle update here
2784 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2786 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2787 * trans_mgr.C: adjust
2789 * paragraph_funcs.C (readParToken): exception safety
2791 * lyxvc.h: store the vcs pointer in a scoped_ptr
2794 * lyxsocket.C (serverCallback): exception safety
2796 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2798 * ispell.C (clone): make it return a auto_ptr
2800 * factory.C (createInset): exception safety
2801 (readInset): exception safety
2803 * bufferlist.C (newBuffer): exception safety
2805 * Thesaurus.C (Thesaurus): use initialization for aik_
2807 * MenuBackend.C (expandToc): exception safety.
2809 2003-11-03 André Pönitz <poenitz@gmx.net>
2813 * bufferview_funcs.C: remove getInsetFromId()
2816 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2822 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2824 * PosIterator.C (distance, advance): new
2825 * bufferview_funcs.[Ch] (put_selection_at): new
2826 * iterators.[Ch] (lockPath): new
2828 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2830 * iterators.[Ch] (asPosIterator): added
2831 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2832 * PosIterator.[Ch]: added
2834 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2838 * cursor.C (dispatch):
2839 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2841 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2842 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2843 contructor, add a class function dispatched. Remove operator>=
2845 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2847 * debug.C: only use the default constructor for debugstream
2850 * main.C (main): include debug.h and setup the lyxerr streambuf
2853 2003-10-31 José Matos <jamatos@lyx.org>
2855 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2857 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2858 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2859 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2860 * paragraph_pimpl.C (simpleTeXSpecialC):
2861 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2862 add LatexRunParams argument.
2864 * exporter.C (Export): change call accordingly.
2866 * latexrunparams.h: add new member to take care of the other backends.
2867 2003-10-30 José Matos <jamatos@lyx.org>
2869 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2870 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2871 factorise code for paragraph output.
2873 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2876 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2878 * text3.C (dispatch):
2879 * lyxfunc.C (dispatch):
2880 * cursor.C (dispatch):
2881 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2883 * dispatchresult.h: make the dispatch_result_t ctor explicit
2885 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2888 * buffer.C: small refactoring of docbook stuff
2890 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2892 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2895 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2897 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2898 operator dispatch_result_t, and operators for == != and >=
2900 * cursor.C (dispatch): adjust for operator dispatch_result_t
2901 removal. comment out call to update
2903 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2905 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2913 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2916 * dispatchresult.h: new file, DispatchResult broken out of
2919 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2921 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2923 * text.C (rowBreakPoint): put a hack inside #if 0
2925 2003-10-28 André Pönitz <poenitz@gmx.net>
2929 * paragraph_funcs.C:
2932 * text2.C: general cleanup (lots of small stuff)
2934 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2936 * text2.C (cursorEnd): simple fix to the "end key goes to one
2937 before the end on last row" bug
2939 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2941 * text.C (backspace): fix the "zombie characters"
2943 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2945 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2947 2003-10-27 André Pönitz <poenitz@gmx.net>
2949 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2951 * factory.C: handle new InsetPagebreak, InsetLine
2953 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2954 and move handling into new InsetPagebreak, InsetLine
2956 * BufferView_pimpl.C:
2958 * ParagraphParameters.C:
2959 * ParameterStruct.h:
2964 * paragraph_funcs.C:
2965 * paragraph_pimpl.C:
2971 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2974 * lyxrow_funcs.[Ch]:
2980 * text3.C: remove lastPos uses in favour of Row::endpos
2982 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2984 * undo.C (performUndoOrRedo): fix two crashes by setting a
2985 cursor by hand and reordering some calls. Use bv->lockInset instead
2986 of inset->edit because the latter loses cursor information
2988 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2990 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2992 (rowBreakPoint): fix width. change point to point + 1.
2993 Add a missing check.
2995 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2998 * lyxfunc.C: fix (at least partly) the problems
2999 with the Nav menu and headers inside branch insets
3002 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
3004 * paragraph.C (getChar): add strong asserts
3006 * lyxrow_funcs.C (lastPos): remove hideous hack
3008 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
3009 (fill): adjust to that (avoid an infinite loop)
3011 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3013 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3015 2003-10-23 André Pönitz <poenitz@gmx.net>
3017 * RowList_fwd.h: change list<> to vector<> to gain speed
3018 after suggestion from Alfredo
3020 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3022 * lyxtext.h: move the bidi stuff from here...
3025 * Bidi.[Ch]: ... to here
3027 2003-10-23 André Pönitz <poenitz@gmx.net>
3030 * text.C (isLastRow, isFirstRow): new functions
3032 * paragraph.h: new width cache member
3034 * rowpainter.C: replace RowList::iterator with Row & where possible
3036 * lyxfunc.C: replace several view()->text with a single call
3038 * toc.C: fix 'unused' warning
3040 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3042 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3043 when woring with stream::pos_type
3044 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3046 2003-10-22 André Pönitz <poenitz@gmx.net>
3049 * text.C: use Row & instead of RowList::iterator
3051 * lyxrow.h: rename end() to endpos()
3057 2003-10-22 Angus Leeming <leeming@lyx.org>
3059 * buffer.[Ch] (fully_loaded): new member function, returning true
3060 only when the file has been loaded fully.
3061 Used to prevent the premature generation of previews and by the
3062 citation inset to prevent computation of the natbib-style label.
3064 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3065 templates are all set up.
3067 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3069 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3071 * text.C: fixed an "oops" in the "is a bit silly"
3074 2003-10-21 André Pönitz <poenitz@gmx.net>
3076 * FuncStatus.[Ch]: small stuff, whitespace
3078 * lyxfont.[Ch]: operator<<() for debug reasons
3082 * lyxtext.h: whitespace, spelling
3084 * paragraph.C: naming of variables
3087 * text2.C: small stuff
3090 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3092 * text.C: (1) finish off the inset display() work;
3093 (2) fix the "is a bit silly" bug (accessing char
3096 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3098 * text.C: re-introduce display() for insets, fixing the
3099 various bugs (stretch of line above, math inset
3102 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3104 * text.C (rightMargin): remove spurious semicolon
3106 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3109 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3111 * text3.C: fix one crash due to wrong cursor def
3113 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3115 * vc-backend.C (scanMaster): make the regex static
3117 * LaTeX.C (scanAuxFile): make the regexs static
3119 * text3.C (doInsertInset, dispatch, dispatch):
3120 * text2.C (cursorUp, cursorDown):
3121 * text.C (selectNextWordToSpellcheck):
3122 * BufferView_pimpl.C (dispatch):
3123 * lyxfunc.C (dispatch): localDispatch -> dispatch
3125 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3127 * lyxsocket.C: include <cerrno>
3129 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3131 * lyxfunc.C (dispatch): remove textcache stuff
3133 * bufferlist.C (release): remove textcache stuff
3136 * TextCache.C: delete file
3137 * TextCache.h: delete file
3139 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3141 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3142 delete of the bv_->text.
3143 (resizeCurrentBuffer): remove texcache stuff
3144 (workAreaResize): ditto
3146 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3148 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3151 2003-10-16 André Pönitz <poenitz@gmx.net>
3158 * text3.C: speed up by storing y positions per paragraph plus per-row
3159 offset instead of having a 'full' y position in the row.
3161 2003-10-15 André Pönitz <poenitz@gmx.net>
3165 * undo.[Ch]: make undo aware of inner insets
3167 2003-10-14 Angus Leeming <leeming@lyx.org>
3169 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3170 static member functions LyX::ref() and LyX::cref.
3171 (lastfiles): new accessor functions for the new lastfiles_ member var.
3172 (addLyXView, views_): add a new LyXView to the list of views_.
3173 (updateInset): loop over all LyXViews to call their own updateInset
3174 member function, returning a pointer to the Buffer owning the inset.
3176 * BufferView_pimpl.C (loadLyXFile):
3177 * MenuBackend.C (expandLastfiles):
3178 * bufferlist.C (MenuWrite, QuitLyX):
3179 lastfiles is no longer a global variable.
3180 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3182 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3183 static function. Access through LyX::cref().emergencyCleanup().
3185 2003-10-14 André Pönitz <poenitz@gmx.net>
3187 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3189 * undo.[Ch]: restoring part of 'undo in insets'
3192 * undo_funcs.[Ch]: merge with undo.[Ch]
3194 * tabular.C: small cleansing stuff
3196 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3198 * paragraph_funcs.C (readParToken): report unknown insets as error
3199 boxes. Use the outer paragraph as location (also for unknown
3202 * factory.C (readInset): do not abort on reading an unknown inset.
3203 Eat it and return 0.
3205 2003-10-13 Angus Leeming <leeming@lyx.org>
3207 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3209 * lyxrc.C: displayTranslator is now a function,
3210 declared in GraphicsTypes.h.
3212 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3214 * format.C: new placeholder $$a to pass the socket address.
3216 * bufferlist.[Ch]: new function getBufferFromTmp.
3218 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3219 files in the temporary dir.
3221 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3223 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3225 * Makefile.am: add lyxsocket.[Ch].
3227 * lyx_main.C (error_handler): handle SIGPIPE.
3229 2003-10-13 André Pönitz <poenitz@gmx.net>
3231 * BufferView_pimpl.C:
3236 * undo_funcs.[Ch]: use paroffset_type instead of
3237 ParagraphList::iterators to prevent multiple conversion
3238 (and get a more robust interface)
3240 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3242 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3244 * text3.C (dispatch): ditto
3246 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3248 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3249 move the onlyfile, use onlyfile instead of foundfile in a couple
3252 * DepTable.C (update): flush the error stream a bit more
3254 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3256 * lyxserver.C (callback): adjust
3258 * lyxfunc.C (getStatus): add a missing brace in commented code
3259 (ensureBufferClean): reindent
3260 (dispatch): delete version taking a string
3262 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3264 * LaTeX.C (deplog): move found file handlig from here...
3265 (handleFoundFile): .. to new function here.
3266 (deplog): make sure to discover several files mentioned on the
3269 2003-10-10 André Pönitz <poenitz@gmx.net>
3276 * text3.C: fix some of the tabular crashes
3278 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3280 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3282 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3284 2003-10-09 André Pönitz <poenitz@gmx.net>
3286 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3289 * BufferView_pimpl.C:
3290 * bufferview_funcs.C:
3301 * undo_funcs.C: adjust
3303 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3305 * text2.C (incrementItemDepth): new function, use a backtracking
3306 algorithm to discover the correct item depth.
3307 (resetEnumCounterIfNeeded): new function, use a backtracking
3308 algorithm to discover if counter reset is needed.
3309 (setCounter): use them. Simplify a bit. Add different labels for
3310 different item depths for itemize.
3312 * paragraph.C (Paragraph): remove initialization of enumdepth
3315 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3316 enumerate and itemize. Change the type of itemdepth to signed char.
3318 2003-10-08 André Pönitz <poenitz@gmx.net>
3320 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3325 * tabular.[Ch]: fix crash after 'row-insert'
3327 2003-10-08 Angus Leeming <leeming@lyx.org>
3329 Fix doxygen warnings.
3331 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3332 Remove CutAndPaste:: prefix from header file declaration.
3334 * LColor.h (fill): remove LColor:: prefix from declaration.
3336 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3337 use lyx::depth_type rather than Paragraph::depth_type so that
3338 header file and .C file match.
3340 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3342 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3343 * aspell.C: \file aspell_local.C -> \file aspell.C
3344 * gettext.C: \file gettext.C -> \file src/gettext.C
3345 * gettext.h: \file gettext.h -> \file src/gettext.h
3346 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3347 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3348 * text.C: \file text.C -> \file src/text.C
3350 * toc.C: move comment so that doxygen is not confused.
3352 2003-10-07 Angus Leeming <leeming@lyx.org>
3354 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3356 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3359 * aspell_local.h: add forgotten std::string's.
3361 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3368 * text3.C: The Box patch. Fancybox support, minipage, parbox
3370 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3376 * ParagraphParameters.h:
3386 * lyxtextclasslist.h:
3389 * paragraph_pimpl.C:
3390 * textcursor.h: add <string> and other small fixes to make Lars'
3391 std::string patch compile with STLport.
3393 2003-10-06 Angus Leeming <leeming@lyx.org>
3395 * LColor.h: Add missing #include <string>.
3397 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3399 * All most all file in all subdirs: Make <string> be the prefered
3400 way of getting to std::string, add using declarations.
3402 2003-10-06 André Pönitz <poenitz@gmx.net>
3404 * metricsinfo.C: initialize LyXFont before changing attribute.
3405 (fixes the 'math in \emph is upright' bug)
3407 2003-10-06 André Pönitz <poenitz@gmx.net>
3409 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3411 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3414 * paragraph_pimpl.C: Small fixes to build using STLport
3416 2003-10-02 André Pönitz <poenitz@gmx.net>
3419 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3421 2003-10-01 André Pönitz <poenitz@gmx.net>
3423 * factory.C: assert early
3425 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3427 * lyx_main.C: remove the global debug object
3429 * debug.h: adjust for new debugstream
3431 * debug.C: adjust for new debugstream and keep the global debug
3434 2003-09-22 Angus Leeming <leeming@lyx.org>
3436 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3437 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3438 an incomplete class LyXFont.
3440 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3442 * factory.C: bug fix in branches
3444 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3446 * lyxfunc.C (processKeySym): adjust
3448 (dispatch): change arg name from ev to func, adjust
3449 (sendDispatchMessage): ditto
3451 * lyx_main.C (defaultKeyBindings): adjust keybindings
3452 (deadKeyBindings): ditto
3454 * kbsequence.C (addkey): return a FuncRequest
3456 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3458 * kbmap.C (bind): take a FuncRequest as arg, adjust
3461 (defkey): change to take a FuncRequest as arg, adjust
3462 (findbinding): take a FuncRequest as arg, adjust.
3464 * funcrequest.h (operator=): added
3466 * funcrequest.C (FuncRequest): default kb_action changed from
3467 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3469 * buffer.C (dispatch): simplify
3470 (dispatch): adjust to take a FuncRequest as arg, adjust
3472 * boost.C (assertion_failed): change assertion message slightly
3474 * ToolbarBackend.C (read): simplify
3476 * MenuBackend.C (binding): adjust call to findbinding, add a
3477 message if no binding is found.
3479 (expandToc): correct by adding a empty FuncRequest
3481 * LyXAction.C: include <boost/assert.hpp>
3482 (isPseudoAction): delete function
3483 (LookupFunc): change name to...
3484 (lookupFunc): this. change return type to FuncRequest.
3485 (getActionName): take kb_action as arg, simplify
3486 (funcHasFlag): add an assert, simplify.
3488 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3490 * toc.C (action): return a FuncRequest, simplify
3492 * lyxfunc.C (processKeySym): adjust
3493 (getStatus): delete version that takes an int.
3495 (dispatch): delete version that takes action as int
3497 (sendDispatchMessage): simplify and adjust
3499 * funcrequest.C (getArg): take unsigned int as arg
3501 * ToolbarBackend.C (read): adjust
3502 (add): delete version that takes func as a string.
3503 (getIton): take a FuncRequest as arg
3505 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3508 * MenuBackend.C (MenuItem): add a new construct that only takes a
3509 Kind, simplify the constructor use for submenus.
3511 (expandLastfiles): adjust
3512 (expandDocuments): adjust
3513 (expandFormats): adjust
3514 (expandFloatListInsert): adjust
3515 (expandFloatInsert): adjust
3516 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3518 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3519 Remove class variables lyx_pseudo_map and lyx_arg_map
3521 * LyXAction.C (searchActionArg): delete function
3522 (getPseudoAction): delete function
3523 (retrieveActionArg): delete function
3524 (LookupFunc): make it return kb_action, simplify.
3525 (getActionName): simplify
3527 * factory.C (createInset): fix new bug
3529 2003-09-19 Angus Leeming <leeming@lyx.org>
3531 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3532 masterFilename_ parameter in the include inset.
3534 * factory.C (createInset): changes due to the changes to InsetInclude.
3536 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3538 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3540 2003-09-18 Angus Leeming <leeming@lyx.org>
3543 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3544 Inset::fillWithBibKeys.
3545 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3547 2003-09-18 Angus Leeming <leeming@lyx.org>
3549 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3551 (ctor): pass and store a 'Buffer const &'
3552 (buffer): new member function.
3554 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3555 '*this' to the LaTeXFeatures ctor.
3557 2003-09-18 Angus Leeming <leeming@lyx.org>
3563 * text.C: rename EnumLColor as LColor_color.
3565 2003-09-18 Angus Leeming <leeming@lyx.org>
3567 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3568 remove #include "insets/insetbase.h" from cursor.h.
3570 2003-09-18 Angus Leeming <leeming@lyx.org>
3572 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3573 InsetOld_code to remove #include "inset.h".
3575 * iterators.C: add #include "insets/inset.h"
3577 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3579 * BufferView.C: remove more locking stuff that apparently doesn't
3580 do anything sensible.
3582 2003-09-16 André Pönitz <poenitz@gmx.net>
3585 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3588 2003-09-16 Angus Leeming <leeming@lyx.org>
3590 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3592 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3595 * paragraph.h: remove #include "lyxfont.h". Forward declare
3598 2003-09-16 Angus Leeming <leeming@lyx.org>
3600 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3601 of support/textutils.h.
3602 (isWord): move the contents of support/textutils.h's IsWordChar here.
3608 * text2.C: add #include "paragraph.h".
3611 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3613 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3619 * LaTeX.C: use namespace alias for lyx::support::os
3621 2003-09-16 Angus Leeming <leeming@lyx.org>
3624 * bufferview_funcs.C:
3627 * paragraph_pimpl.C:
3629 * text.C: add #include "LColor.h".
3631 2003-09-16 Angus Leeming <leeming@lyx.org>
3633 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3634 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3636 Store the FontBits::color variable as an int rather than as an
3637 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3640 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3641 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3642 string calls together.
3644 * lyxrc.C: add #include "LColor.h".
3646 2003-09-15 Angus Leeming <leeming@lyx.org>
3648 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3651 2003-09-15 Angus Leeming <leeming@lyx.org>
3653 * LColor.h: add an EnumLColor wrapper for LColor::color.
3655 * lyxfont.[Ch] (color, setColor, realColor):
3656 * lyxtext.h, text.C (backgroundColor):
3657 pass EnumLColor args to/from the functions, rather than LColor::color
3661 * lyxtext.h: forward declare EnumLColor.
3663 * lyx_main.C: add #include "LColor.h".
3665 2003-09-15 Angus Leeming <leeming@lyx.org>
3667 * .cvsignore: add lyx-gtk.
3669 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3674 * ParagraphParameters.C
3678 * bufferview_funcs.C
3688 * vc-backend.C: remove usage of STRCONV
3690 2003-09-15 Angus Leeming <leeming@lyx.org>
3692 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3693 explicitly define the color passed to the painter.
3695 2003-09-15 Angus Leeming <leeming@lyx.org>
3697 * bufferparams.C (BufferParams): reorder member initializers to avoid
3700 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3702 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3703 * text.C (updateRowPositions): remove an unusual nop
3705 2003-09-12 André Pönitz <poenitz@gmx.net>
3707 * BufferView_pimpl.C:
3716 * Counters.[Ch]: finish the 'automatic counters' job
3718 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3720 * aspell.C: include <boost/assert.cpp> (compile fix)
3722 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3724 * boost.C (assertion_failed): use lyx::support::abort instead of
3727 2003-09-10 Angus Leeming <leeming@lyx.org>
3729 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3730 with their _fwd progeny.
3732 2003-09-09 Angus Leeming <leeming@lyx.org>
3734 134 files throughtout the source tree: replace 'using namespace abc;'
3735 directives with the appropriate 'using abc::xyz;' declarations.
3737 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3739 * boost.C (emergencyCleanup): moved here from LAssert.c
3740 (assertion_failed): new function, called by BOOST_ASSERT
3742 * several files: change Assert to BOOST_ASSERT
3744 2003-09-09 Angus Leeming <leeming@lyx.org>
3746 * buffer.[Ch]: Add an Impl class and move Buffer's member
3747 variables into it. As a result move several header files out of
3750 Add header files to lots of .C files all over the tree as a result.
3752 2003-09-09 Angus Leeming <leeming@lyx.org>
3754 * buffer.[Ch]: make Buffer's member variables private. Add
3757 Lots of changes all over the tree as a result.
3759 2003-09-08 Angus Leeming <leeming@lyx.org>
3761 * graph.C: #include <config.h>.
3763 2003-09-08 Angus Leeming <leeming@lyx.org>
3767 * BufferView_pimpl.C:
3796 * toc.C: remove redundant using directives.
3798 2003-09-07 Angus Leeming <leeming@lyx.org>
3800 * LaTeXFeatures.h: remove #include "support/types.h".
3801 * ToolbarBackend.h: remove #include <algorithm>.
3802 * changes.h: remove #include <ctime>.
3803 * debug.h: remove #include <iosfwd>.
3804 * graph.h: remove #include "support/std_string.h".
3805 * lyx_main.h: remove #include <csignal>.
3806 * lyxlex_pimpl.h: remove #include <fstream>.
3807 * sgml.h: remove #include <algorithm>, <utility>.
3808 * toc.h: remove #include "support/std_ostream.h".
3809 Add #include <iosfwd>.
3811 2003-09-07 Angus Leeming <leeming@lyx.org>
3813 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3815 * converter.h: forward declare LatexRunParams.
3816 * encoding.h: remove #include "lyxrc.h".
3817 * lyxtext.h: remove #include "LColor.h".
3818 * lyxtextclass.h: remove #include "support/types.h".
3819 * trans.h: remove #include "tex-accent.h".
3820 * trans_mgr.h: remove #include "tex-accent.h".
3821 * insets/inset.h: remove #include "support/types.h", <vector>.
3822 * insets/insetcollapsable.h: remove #include "LColor.h".
3823 * insets/insetinclude.h: remove #include "dimension.h".
3824 * insets/insetlatexaccent.h: remove #include "dimension.h".
3825 * insets/insetoptarg.h:: remove #include "insettext.h".
3826 * insets/insettext.h: remove #include "dimension.h",
3827 <boost/shared_ptr.hpp>
3829 * insets/renderers.h: add #include "dimension.h".
3830 * insets/updatableinset.h: add #include "support/types.h".
3832 * many .C files: Associated changes.
3834 2003-09-06 Angus Leeming <leeming@lyx.org>
3836 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3837 one, inside testInvariant.
3839 * PrinterParams.C: new file.
3840 * PrinterParams.[Ch]: move the function bodies out of line.
3842 2003-09-06 Angus Leeming <leeming@lyx.org>
3844 * ParagraphParameters.h: forward declare ParameterStruct rather than
3845 including its header file.
3846 (depth): moved out-of-line.
3848 2003-09-06 Angus Leeming <leeming@lyx.org>
3850 * BufferView_pimpl.h:
3853 * lyxfunc.h: forward declare LyXKeySym rather than
3854 #include "frontends/LyXKeySym.h".
3856 * BufferView_pimpl.C:
3859 * lyxfunc.C: associated changes.
3861 2003-09-06 Angus Leeming <leeming@lyx.org>
3863 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3864 As a result, can remove the #include "insets/inset.h" from BufferView.h
3866 2003-09-06 Angus Leeming <leeming@lyx.org>
3868 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3869 As a result, can remove the #include "insets/inset.h" from BufferView.h
3871 2003-09-06 Angus Leeming <leeming@lyx.org>
3877 * bufferview_funcs.C:
3878 * BufferView_pimpl.C:
3883 * ParagraphParameters.C:
3888 * frontends/controllers/ControlDocument.C:
3889 * insets/insetcaption.C: rearrange the #includes into some sort of
3892 * buffer.h: remove #includes ErrorList.h, undo.h
3894 2003-09-06 Angus Leeming <leeming@lyx.org>
3896 * support/types.h: add a 'depth_type' typedef, used to store the
3897 nesting depth of a paragraph.
3900 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3901 defining explicitly.
3904 * paragraph_funcs.h:
3905 * ParagraphParameters.h:
3906 * sgml.h: use lyx::depth_type rather than Paragraph or
3907 ParameterStruct's depth_type.
3910 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3913 * BufferView_pimpl.C:
3915 * ParagraphParameters.C:
3918 * bufferview_funcs.C:
3925 * frontends/LyXView.C:
3926 * frontends/controllers/ControlDocument.C:
3927 * frontends/controllers/ControlErrorList.C:
3928 * insets/insetbibitem.C:
3929 * insets/insetbranch.C:
3930 * insets/insetcaption.C:
3931 * insets/insetcollapsable.C:
3932 * insets/insetenv.C:
3933 * insets/insetert.C:
3934 * insets/insetfloat.C:
3935 * insets/insetfoot.C:
3936 * insets/insetfootlike.C:
3937 * insets/insetnewline.C:
3938 * insets/insetquotes.C:
3939 * insets/insettabular.C:
3940 * insets/insettext.C:
3941 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3943 * frontends/controllers/ControlChanges.C: #include "changes.h".
3945 2003-09-06 Angus Leeming <leeming@lyx.org>
3947 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3948 than #including paragraph.h.
3951 * RowList.h: deleted. Superfluous.
3961 * insets/insettext.h: use ParagraphList_fwd.h rather than
3964 * paragraph.h: don't forward declare ParagraphList.
3967 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3968 rather than ParagraphList.h. paragraph.h is still needed for the
3969 Paragraph::depth_type parameters.
3971 * textcursor.h: enable it to compile stand-alone in light of the
3974 * bufferview_funcs.C:
3986 * frontends/controllers/ControlParagraph.C:
3987 * frontends/controllers/ControlTabular.C:
3988 * insets/insetmarginal.C:
3989 * insets/insetminipage.C:
3990 * insets/insetnote.C:
3991 * insets/insetoptarg.C: add header files needed to compile again.
3993 2003-09-06 Angus Leeming <leeming@lyx.org>
3995 * RowList_fwd.h: new file, forward-declaring Row rather than
3996 #including lyxrow.h.
4001 * insets/insettext.h: use it instead of RowList.h
4003 * bufferview_funcs.C:
4010 * text3.C: #include "RowList.h".
4012 2003-09-05 Angus Leeming <leeming@lyx.org>
4014 * factory.C (createInset):
4015 * vspace.C (c-tor): replace sscanf call with an istringstream.
4016 * ispell.C: re-add missing HP/UX headers.
4017 * lyxserver.C: re-add missing os2 headers.
4019 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4028 * text3.C: re-add missing system headers, needed for 2.95.2.
4030 2003-09-05 Angus Leeming <leeming@lyx.org>
4032 Changes most place everywhere due to the removal of using directives
4033 from support/std_sstream.h.
4035 2003-09-05 Angus Leeming <leeming@lyx.org>
4037 Replace LString.h with support/std_string.h,
4038 Lsstream.h with support/std_sstream.h,
4039 support/LIstream.h with support/std_istream.h,
4040 support/LOstream.h with support/std_ostream.h.
4042 Changes resulting throughout the tree.
4044 2003-09-05 Angus Leeming <leeming@lyx.org>
4046 * sgml.h: ensure that the header file can be compiled stand-alone.
4047 * *.C: strip out redundant #includes. (320 in total.)
4049 2003-09-04 Angus Leeming <leeming@lyx.org>
4051 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4052 here (from getPackages).
4054 * debug.[Ch]: add a new EXTERNAL tag.
4056 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4058 * text2.C (cursorEnd): simplify
4060 (getColumnNearX): adjust
4062 * text.C (computeBidiTables): adjust
4065 * rowpainter.C (paintChars): adjust
4066 (paintSelection): adjust
4067 (paintChangeBar): adjust
4070 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4072 (numberOfSeparators): adjust
4074 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4080 * text3.C: Restricts the mouse click functionality
4081 of insets like bibtex, include, toc and floatlist to the visible
4082 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4083 up the dialogs. Cursor has to be in front of the inset (i.e.
4084 start of row) for this to function.
4086 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4088 * bufferview_funcs.C (currentState): output row information
4090 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4092 * bufferview_funcs.C (currentState): output paragraph position
4094 2003-09-04 Angus Leeming <leeming@lyx.org>
4096 * FloatList.h: move out #include "Floating.h".
4097 * LaTeX.h: move out #include "DepTable.h".
4098 * LyXAction.h: move out #include "funcrequest.h".
4099 * buffer.h: move out #include "author.h", "iterators.h".
4100 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4101 * lyx_main.h: move out #include "errorlist.h".
4102 * lyxfunc.h: move out #include "FuncStatus.h".
4103 * lyxtext: move out #include "lyxcursor.h".
4104 * paragraph_pimpl.h: move out #include "counters.h".
4106 2003-09-03 Angus Leeming <leeming@lyx.org>
4108 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4109 preamble_snippets list, enabling us to add snippets to the preamble
4110 only if the snippet was not there already.
4112 2003-09-04 Angus Leeming <leeming@lyx.org>
4114 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4116 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4118 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4121 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4123 * BranchList.C: point fix, earlier forgotten
4125 2003-09-02 Angus Leeming <leeming@lyx.org>
4127 * box.C (contains): renamed from 'contained' after a fantastic
4130 2003-09-02 John Levon <levon@movementarian.org>
4136 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4138 2003-09-02 John Levon <levon@movementarian.org>
4140 * text2.C: simplification of cursorEnd(), including partial
4143 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4145 * buffer.C (readFile): add a space
4147 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4149 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4151 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4153 * buffer.C (readFile): new function, take a filename and a
4154 ParagraphList::iterator
4156 (readFile): adjust, make it private. don't use setStream, make
4157 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4158 always contain the filename.
4160 * BufferView.C (insertLyXFile): simplify and make it work for
4163 2003-08-30 John Levon <levon@movementarian.org>
4165 * Makefile.am: fix dist (from Kayvan)
4167 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4169 * most files: change to use const Buffer refs
4171 2003-08-27 André Pönitz <poenitz@gmx.net>
4173 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4174 on top of ownerPar().
4176 2003-08-27 John Levon <levon@movementarian.org>
4178 * funcrequest.C: properly initialise POD members
4180 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4182 * lyxtext.h (top_y): move top_y from here
4187 * BufferView_pimpl.[Ch]: to here
4188 * frontends/screen.C:
4189 * insets/insettabular.C:
4190 * insets/insettext.C: adjust
4191 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4193 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4196 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4198 2003-08-26 André Pönitz <poenitz@gmx.net>
4200 * paragraph_func.[Ch] (outerPar): new function
4203 * paragraph_funcs.C:
4204 * paragraph_funcs.h:
4205 * paragraph_pimpl.C:
4206 * text2.C: remove Inset::par_owner
4208 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4213 * text2.C: eliminates the needFullRow/display() stuff
4214 altogether, putting the logic in metrics/draw in the insets.
4216 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4218 * text2.C (redoParagraphInternal, redoParagraphs):
4219 * text.C (redoParagraph): add a call to updateRowPositions at the
4220 end of each 'metrics-like' call. Remove all others.
4221 (getRow): remove the 'y-computing' version.
4222 (getRowNearY): do not compute nor return the real y. Solve the
4223 'y < 0' problem and simplify.
4225 2003-08-22 Angus Leeming <leeming@lyx.org>
4227 * *.[Ch]: clean-up of licence and author blurbs.
4228 Also move config.h out of a few .h files and into a few .C files.
4230 2003-08-22 André Pönitz <poenitz@gmx.net>
4232 * lyxrow.[Ch]: add x_ and *fill_ members
4237 * text2.C: adjust/remove prepareToPrint() calls
4239 2003-08-22 André Pönitz <poenitz@gmx.net>
4241 * lyxrow.[Ch]: add end_ member
4243 * lyxrow_funcs.C: use LyXRow::end_
4245 * lyxtext.h (singleWidth): add LyXFont parameter
4248 * text2.C: adjust LyXText::singleWidth() calls
4250 * text.C (redoParagraph): simplify row breaking logic
4253 2003-08-19 André Pönitz <poenitz@gmx.net>
4255 * funcrequest.C: initialize button_ member
4258 * rowpainter.[Ch]: interface consolidation
4260 2003-08-18 André Pönitz <poenitz@gmx.net>
4263 * BufferView_pimpl.C:
4265 * paragraph_funcs.C:
4267 * text3.C: remove LyXScreen::draw() and fitCursor calls
4269 * BranchList.h: remove spurious semicolons
4271 * MenuBackend.C: fix branchlist related crash
4273 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4281 * bufferparams.[Ch]:
4285 * text3.C: implements the 'branch inset'
4286 idea. This allows the output of various versions of a document
4287 from a single source version, selectively outputing or suppressing
4288 output of parts of the text.
4289 This implementation contains a 'branch list editor' in a separate
4290 tab of the document settings dialog. Branches are user definable
4291 and have a "display colour" to distinguish them on-screen.
4293 ColorHandler was somewhat cleaned up.
4294 (1) make possible a dynamically growing LColor list by allowing
4295 the graphic context cache to grow along (vector);
4296 (2) eliminate an IMHO unnecessary step in colour allocation.
4298 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4300 * BufferView_pimpl.C: compile fix
4302 2003-08-15 André Pönitz <poenitz@gmx.net>
4304 * rowpainter.C: remove extra metrics calls
4306 * lyxtext.h: merge the two constructors into a single one,
4307 pass reference to owner's par list
4309 * BufferView_pimpl.C:
4313 2003-08-15 André Pönitz <poenitz@gmx.net>
4315 * lyxrow_funcs.[Ch]:
4318 * paragraph_funcs.C:
4323 * text_funcs.C: split LyXText::rowlist_ into individual
4324 Paragraph::rows_ chunks
4327 * BufferView_pimpl.[Ch]:
4330 * text3.C: remove toggleSelection()
4332 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4334 * bufferlist.C: beautify two alerts (shorter text of buttons)
4335 * buffer.C: Remove redundant ' ' from message
4337 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4338 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4339 rename VALIGN_CENTER to VALIGN_MIDDLE
4341 2003-08-11 André Pönitz <poenitz@gmx.net>
4343 * lyxtext.h (getPar):
4344 * text.C: new function
4346 2003-08-11 André Pönitz <poenitz@gmx.net>
4349 * tracer.[Ch]: remove unneeded files
4351 * InsetList.[Ch]: remove resizeInsetsLyXText()
4356 * text3.C: merge insertParagraphs() and appendParagraph()
4357 remove breakAgain(), update()
4359 * BufferView_pimpl.[Ch]:
4360 * bufferview_funcs.[Ch]:
4364 * tabular.C: adjust after text & InsetList changes.
4366 2003-08-08 André Pönitz <poenitz@gmx.net>
4368 * text.C (insertChar, backspace): replace rowlist fiddling
4369 with rebreak of full par
4372 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4373 checkParagraph, updateInset): removed
4375 2003-08-07 André Pönitz <poenitz@gmx.net>
4378 * text3.C: merge some LFUN handlers, remove dead code
4380 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4382 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4384 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4386 * text2.C (DEPM): fix part of bug 1255 and 1256
4388 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4390 * BufferView_pimpl.C (workAreaDispatch): change to use
4391 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4392 that are no mouse related.
4394 2003-08-05 André Pönitz <poenitz@gmx.net>
4397 * BufferView_pimpl.[Ch]:
4398 * bufferview_funcs.C:
4400 * text3.C: rip out "deep update"
4402 * textcursor.[Ch] (last_sel_cursor): remove unused member
4404 2003-08-04 André Pönitz <poenitz@gmx.net>
4407 * BufferView_pimpl.[Ch]:
4408 * ParagraphParameters.C:
4409 * bufferview_funcs.C:
4415 * text3.C: replace "complicated" BufferView::update(...) calls with
4418 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4420 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4422 * Makefile.am (lyx_SOURCES): add paper.h
4424 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4426 * Makefile.am: move things around so that both lyx-qt and
4427 lyx-xforms can be built (according to --with-frontend). Then lyx
4428 is a symbolic link to lyx-[firstfrontend]
4430 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4432 * Always use std::endl with lyxerr
4434 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4436 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4438 2003-08-01 André Pönitz <poenitz@gmx.net>
4441 * BufferView_pimpl.[Ch]:
4443 * text3.C: merge BufferView::repaint() and BufferView::update()
4445 2003-08-01 José Matos <jamatos@lyx.org>
4447 * buffer.[Ch]: file_format is no longer a buffer data element.
4449 2003-08-01 André Pönitz <poenitz@gmx.net>
4454 * text2.C: make redoParagraph more independent of current cursor
4456 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4458 * text2.C: remove unneeded members
4460 2003-07-30 André Pönitz <poenitz@gmx.net>
4462 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4464 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4465 create a single function...
4467 * paragraph_funcs.C (moveItem): ... here.
4470 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4472 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4474 * LColor.[Ch]: Add comment and greyedout logical colors.
4476 2003-07-30 André Pönitz <poenitz@gmx.net>
4478 * tabular.C: don't use Assert too heavily. This crashes where it
4481 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4483 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4484 is disabled (bug 1232)
4486 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4488 * factory.C: limited 'arg' scope
4490 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4492 * factory.C: fixed Note submenu issues
4494 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4496 * factory.C: submenu for Note/Comment/Greyedout
4498 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4501 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4503 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4506 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4507 greyedout. Patch provided by Jürgen Spitzmüller.
4509 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4511 * kbmap.C (read): fix error message when reading bind files
4513 2003-07-29 Angus Leeming <leeming@lyx.org>
4515 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4516 certainly does not do what it purports to do. I am doing it, and
4517 us, a favour by killing it.
4519 2003-07-28 José Matos <jamatos@lyx.org>
4521 * buffer.C (readBody, do_writeFile):
4522 * paragraph.C(readParagraph): \end_document replaces \the_end.
4524 2003-07-29 André Pönitz <poenitz@gmx.net>
4527 * BufferView_pimpl.[Ch]:
4531 * textcursor.[Ch]: remove toggleToggle & Co
4533 2003-07-28 José Matos <jamatos@fep.up.pt>
4535 * buffer.C (readParagraph):
4536 * params_func (readParToken, readParagraph):
4537 * paragraph.C (write): \layout -> \begin_layout.
4539 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4541 * lyxlex_pimpl.C (setFile): clean up slightly.
4543 * bufferparams.h: add compressed var
4545 * buffer_funcs.C (readFile): adjust for LyXLex change
4546 (newFile): ditto + simplify
4548 * buffer.C (writeFile): handle writing of compressed files
4550 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4551 Check if the file is compressed and set a bufferparm if so.
4553 * Makefile.am (lyx_LDADD): remove explicit -lz
4555 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4557 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4558 makeDocBookFile): put the real LyX version in the first line of
4562 * version.C.in: remove lyx_docversion
4564 * tabular.C (write_attribute): add a template-based version to
4565 write enums properly
4567 2003-07-28 André Pönitz <poenitz@gmx.net>
4572 * text3.C: use doubles again for x-coordinates. They are needed.
4574 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4576 * messages.C (getLocaleDir): use lyx_localedir()
4578 * lyxlex_pimpl.C (setFile): compress stuff
4580 * buffer.C (writeFile): add some compression stuff
4581 (do_writeFile): new func, dont call expliti close... will this
4584 * Makefile.am (lyx_LDADD): add -lz
4586 2003-07-28 José Matos <jamatos@fep.up.pt>
4588 * buffer.C: increment file format.
4589 * paragraph_funcs (readParagraph, readParToken):
4590 * paragraph.C (readParagraph): add \end_layout.
4592 2003-07-27 Angus Leeming <leeming@lyx.org>
4594 * Makefile.am: remove special casing for configure-time setting of
4595 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4597 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4598 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4600 2003-07-26 André Pönitz <poenitz@gmx.net>
4602 * paragraph_func.[Ch]:
4603 * paragraph.C (realizeFont): inline it whereever it is used
4608 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4611 2003-07-26 André Pönitz <poenitz@gmx.net>
4615 * text2.C: get rid of LyXText::need_break_row
4617 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4619 * toc.[Ch]: put namespace toc inside namespace lyx
4621 * MenuBackend.C (expandToc2): adjust for lyx::toc
4624 * lyxfunc.C (dispatch): adjust for lyx::find
4626 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4627 lyx::find instead. Reorganize a bit.
4628 (LyXReplace): rename to replace
4629 (LyXFind): rename to find
4631 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4634 2003-07-26 André Pönitz <poenitz@gmx.net>
4636 * text.C (setHeightOfRow): restrict scope of temporary variable
4638 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4639 code (never has been used?)
4641 2003-07-27 Asger Alstrup <alstrup@local>
4643 * text.C (fill): Optimise algorithm to exploit that we can reuse
4644 the LyXFont for many characters.
4645 (setHeightOfRow): Same thing.
4646 (rowBreakPoint): Same thing.
4648 2003-07-26 Asger Alstrup <alstrup@local>
4650 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4652 * text.C (singleWidth): Spurious font copying in hot-spot
4653 singleWidth avoided. Reorder tests for arabic for efficiency.
4655 * text.C (fill): handle empty paragraphs better.
4657 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4660 * encoding.h: add includes
4662 * lyxrc.C: remove reading of bind files
4664 * lyx_main.C (init): setup bindings and menus only if we have a
4667 * kbmap.C (read): new method. Do the actual reading of bind
4670 * converter.C (dvipdfm_options):
4673 (output): adapt PAPER_* enums.
4675 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4677 * bufferparams.h: remove paper-related enums from there
4679 * paper.h: New file. A trivial header file to hold paper-related
4680 enums. It should later expand to contain many paper-related
4683 * lyxrc.C: declare extern displayTranslator
4685 2003-07-27 José Matos <jamatos@fep.up.pt>
4687 * tabular.[Ch] (linuxdoc): add support for tables and figures
4690 2003-07-27 José Matos <jamatos@fep.up.pt>
4692 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4693 consistency in both functions.
4694 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4696 2003-07-26 Asger Alstrup <alstrup@local>
4698 * rowpainter.C (paintRows): Change algorithm to work directly on
4699 the insets rather than asking every character in the document
4700 whether its an inset.
4702 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4704 * buffer.C (openFileWrite): factorize some code
4706 2003-07-26 Angus Leeming <leeming@lyx.org>
4709 * lyx_main.[Ch]: replace occurances of system_tempdir with
4712 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4714 * rename Inset to InsetOld
4716 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4718 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4719 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4720 which I think is a bit clearer. EDIT is gone, since it was
4721 premature optimisation, and broken for mathed anyway.
4722 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4723 with cursor positioning in insets as well (math insets still do not
4724 work, but that's a different story anyway.) It mysteriously
4725 crashes sometimes with undo in the first paragraph, but I'm fairly
4726 confident that this is a compiler bug.
4728 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4730 * paragraph.C (Paragraph): adjust for new clone return type
4732 (copyIntoMinibuffer): ditto
4734 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4736 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4737 by not having a special case, and always doing a full rebreak of
4738 the document after undo.
4740 2003-07-23 Angus Leeming <leeming@lyx.org>
4742 * factory.C (createInset): InsetExternal::setParams now takes a
4745 2003-07-23 Angus Leeming <leeming@lyx.org>
4747 * factory.C (createInset): changed interface to the external and
4748 graphics mailers' string2params functions.
4750 2003-07-23 Angus Leeming <leeming@lyx.org>
4752 * factory.C (createInset): pass a
4753 Buffer const * parameter to InsetExternalMailer's string2params.
4755 2003-07-22 John Levon <levon@movementarian.org>
4757 * Thesaurus.h: include the right aiksaurus header
4759 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4761 * MenuBackend.C (expand): check menu shortcuts unconditionally
4763 2003-07-21 Angus Leeming <leeming@lyx.org>
4765 * factory.C (createInset): pass a
4766 buffer_path parameter to InsetGraphicsMailer's string2params.
4768 2003-07-21 Angus Leeming <leeming@lyx.org>
4770 * BufferView_pimpl.C (buffer):
4773 * lyxfunc.C (dispatch):
4774 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4775 rather than the grfx shortcut.
4777 2003-07-21 André Pönitz <poenitz@gmx.net>
4779 * rowpainter.C: remove unused variables
4782 * tabular_funcs.h: move to tabular.C
4783 * Makefile.am: adjust
4785 * tabular.[Ch]: basic optical cleaning
4787 * author.h: pass references, not values
4789 2003-07-18 André Pönitz <poenitz@gmx.net>
4797 * text3.C: two-phase drawing for InsetText and InsetTabular
4798 some float -> int changes.
4800 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4802 * lyx_main.C: fix the fix
4804 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4806 * lyx_main.C: fix a crash in batch mode if no files specified
4809 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4811 * format.[Ch] (papersize): moved to BufferParams
4812 * converter.[Ch] (dvips_options): moved to BufferParams
4813 (dvipdfm_options): moved to anon namespace
4814 * bufferparams.[Ch]: added above functions.
4816 2003-07-17 André Pönitz <poenitz@gmx.net>
4820 * text2.C: don't call inset->update() anymore
4822 * metricsinfo.[Ch]: add convenience constructor
4824 2003-07-16 André Pönitz <poenitz@gmx.net>
4829 * text2.C: replace the LyXCursor::irow_ member with
4830 on-demand computation of the value
4832 2003-07-16 John Levon <levon@movementarian.org>
4834 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4836 2003-07-15 André Pönitz <poenitz@gmx.net>
4839 * text2.C: remove no more needed refresh_row
4841 2003-07-15 André Pönitz <poenitz@gmx.net>
4846 * text3.C: refresh_status tristate -> need_update bool
4848 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4850 * lyxtext.h (init): remove reinit argument (act as if always true)
4851 * text2.C: adjust to that
4853 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4855 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4856 * text3.C: use it to delete selections in some cases
4857 (bugs 441, 673, 702, 954).
4859 2003-07-14 André Pönitz <poenitz@gmx.net>
4861 * rowpainter.[Ch]: reduce interface
4863 2003-07-14 André Pönitz <poenitz@gmx.net>
4865 * BufferView_pimpl.C:
4866 * text2.C: adjust after removing unused BufferView * argument
4868 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4870 * text2.C (init): fix a crash fired on resize
4872 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4874 * buffer.[Ch]: added new closing signal
4875 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4876 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4877 BufferView::Pimpl via the closing the signal
4879 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4881 * buffer.[Ch]: take out all bv-related from buffer
4883 * BufferView_pimpl.[Ch]: connect to new signals
4884 * CutAndPaste.C: removed useless asserts
4885 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4888 * lyxfunc.C: moved view-related funciontality from vc here
4889 * paragraph.C: removed outdated comments
4892 2003-07-10 André Pönitz <poenitz@gmx.net>
4894 * BufferView_pimpl.C:
4898 * text2.C: remove InsetText::InnerCache, clean up consequences
4900 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4902 * ispell.C: fix two typos in error messages
4904 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4906 * Extend Note inset to other forms of annotation like Comment
4907 and Greyedout. Right button click gives dialog.
4909 Files modified or added (+):
4913 * ControlNote.[Ch] +
4915 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4916 frontends/controllers
4920 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4922 * aspell.C: add missing namespace lyx::support
4924 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4926 * BufferView.[Ch] (newFile): Add
4927 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4928 * LaTeX.[Ch] (message): added this signal and use it
4929 * buffer.[Ch] (busy, message): added these signals and use them
4930 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4934 * importer.C: use buffer signals instead of direct bv calling
4935 * lyx_cb.[Ch] (ShowMessage): removed
4938 * paragraph_funcs.C:
4939 * text2.C: use buffer signals
4941 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4943 * introduce namespace lyx::graphics
4945 2003-07-02 André Pönitz <poenitz@gmx.net>
4947 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4949 2003-07-01 André Pönitz <poenitz@gmx.net>
4956 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4957 text*.C to text_func.C
4959 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4961 * introduce namespace lyx::support
4963 2003-06-30 André Pönitz <poenitz@gmx.net>
4968 * text.C: re-enable --with-included-string
4970 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4972 * textcursor.C: add <config.h>
4974 * text.C (getWord): remove const from word_location arg
4976 * lyxvc.C (getLogFile): fix const type order
4978 * lyxtext.h: remove const from word_location arg, add arg name
4980 * lyxlayout.h: currect type on labeltype.
4982 * importer.C: correct \file
4984 * converter.C (intToFormat): use std:: on ret val, ws changes
4986 * bufferlist.h: correct \file
4988 * buffer.C (makeLinuxDocFile): fix const type order
4989 (makeDocBookFile): ditto
4990 (fillWithBibKeys): use std:: on stdlib args.
4992 * CutAndPaste.C: fix authors.
4993 (availableSelections): use std:: on return vector
4995 2003-06-27 André Pönitz <poenitz@gmx.net>
4997 * BufferView_pimpl.C:
4998 * bufferview_funcs.C:
5006 * text3.C: remove LyXCursor::row_ member
5009 * text.C: rename fullRebreak() to partialRebreak() and implement
5010 a fullRebreak() that really bereks fully
5012 * textcursor.h: new struct for cursor-related data
5014 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5016 * lyx_main.C (LyX): get full path of document loaded on the
5019 2003-06-26 André Pönitz <poenitz@gmx.net>
5021 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5022 remove unused/broken operator>,<,>=.
5024 * text.C: remove only use of broken operator<= in an Assert().
5026 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5028 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5029 moved errorlist_.clear to showErrorList
5031 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5033 * converter.C (scanLog, runLaTeX):
5034 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5035 move the bv->showErrorList call to the callers
5036 * lyxfunc.C: i.e. here...
5038 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5039 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5040 namespace, the second to...
5041 * buffer_funcs (BufferFormat, parseErrors): added
5042 * errorlist.C (ErrorList(TeXErrors const &)): removed
5044 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5046 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5048 2003-06-24 "Garst R. Reese" <reese@isn.net>
5052 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5054 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5056 * version.C.in: change docversion to 1.4
5058 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5060 * buffer.C: fix a bug just introduced
5062 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5064 * buffer.[Ch]: added the parseError signal and use it, removed
5066 * BufferView.[Ch] (addError): moved to ...
5067 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5068 to the Buffer::parseError signal to catch (guess what) parse errors
5069 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5071 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5073 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5074 ability to create a buffer and to return an existing one from
5075 the list. Moved these functions to...
5076 * buffer_funcs.[Ch]: added
5077 * BufferView.[Ch] (loadLyXFile): added
5078 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5079 job removed from bufferlist::loadLyXFile.
5080 * buffer.C (setReadOnly): make it work without view
5081 (i.e added an if (users))
5083 2003-06-19 Angus Leeming <leeming@lyx.org>
5086 * LyXAction.C (init):
5087 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5088 with LFUN_DIALOG_SHOW <name> <data>.
5090 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5092 * CutAndPaste.C (availableSelections): small compilation fix for
5093 ancient (gcc 2.9x) compilers
5095 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5097 * text3.C (cursorNext): add tmp var
5099 * text2.C (updateCounters): for function calling out of for clause
5100 (replaceSelectionWithString): ditto
5101 (insertStringAsParagraphs): ditto
5102 (getColumnNearX): add tmp var
5103 (setCursorFromCoordinates): add tmp var
5104 (cursorDownParagraph): add tmp var
5105 (deleteEmptyParagraphMechanism): add tmp var
5107 * text.C (insertChar): add tmp var
5109 * rowpainter.C (paintDepthBar): add tmp var
5111 * CutAndPaste.C (availableSelections): potentially check all
5112 paragraphs in a cut to fill the shown strings.
5114 2003-06-18 André Pönitz <poenitz@gmx.net>
5116 * kbmap.[Ch]: use vector<> instead of list<>
5118 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5120 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5121 pasteSelection with index
5123 * text2.C (pasteSelection): modify, call pasteSelection with index
5125 * paragraph.C (asString): reimplement version with no interval to
5126 call the one with interval.
5128 * lyxtext.h: add index arg to pasteSelection
5130 * MenuBackend.C (MenuItem): handle PasteRecent
5131 (Menu::read::Menutags): add md_pasterecent
5133 (expandPasteRecent): new function
5136 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5138 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5140 (availableSelections): new function
5142 2003-06-17 Angus Leeming <leeming@lyx.org>
5144 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5146 2003-06-17 Angus Leeming <leeming@lyx.org>
5149 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5151 * lyxfunc.C (dispatch): invoke it.
5153 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5155 * iterators.C (operator++, ParPosition): reintroduce some
5156 const_cast for the benefit of older compilers.
5158 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5160 * text3.C (dispatch): do not modify clipboard when doing
5161 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5162 LFUN_DELETE_SKIP on a selection selection
5164 2003-06-16 André Pönitz <poenitz@gmx.net>
5170 * tabular.[Ch]: IU of clone() and getLabelList();
5172 2003-06-13 André Pönitz <poenitz@gmx.net>
5174 * tabular.h: compactification
5176 2003-06-12 André Pönitz <poenitz@gmx.net>
5180 * tabular_funcs.h: some renaming plus whitespace
5182 2003-06-12 André Pönitz <poenitz@gmx.net>
5185 * BufferView_pimpl.C:
5191 * toc.C: Return a Paragraph & for ParIterator::operator*()
5193 2003-06-11 John Levon <levon@movementarian.org>
5197 * ToolbarBackend.C: add "Toolbars" section and
5200 2003-06-10 Angus Leeming <leeming@lyx.org>
5203 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5205 * lyxfunc.C (dispatch): invoke it.
5207 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5209 * main.C: protect <ios> with HAVE_IOS
5210 (main): protect sync_with_stdio with HAVE_IOS
5212 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5214 * text2.C (cutSelection): adjust
5215 (pasteSelection): adjust
5217 * messages.C: handle get of empty string
5219 * main.C (main): use sync_with_stdio(false)
5221 * lyxfunc.C (dispatch): adjust
5223 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5224 (WriteAs): remove unneeded BufferView arg.
5226 * bufferparams.h: use correct types on papersize, papersize2 and
5229 * bufferparams.C (readToken): adjust for type
5230 (writeLaTeX): add missing cases to switch.
5232 * bufferlist.C (quitWriteBuffer): adjust
5235 * buffer.C (asciiParagraph): remove some commented code.
5237 * CutAndPaste.C: remove current_view extern variable.
5238 (cutSelection): add BufferParams arg.
5239 (eraseSelection): add BufferParams arg.
5240 (pasteSelection): add Buffer const & arg
5242 2003-06-07 John Levon <levon@movementarian.org>
5245 * paragraph_funcs.C:
5246 * paragraph_pimpl.C:
5250 * paragraph.C: allow InsetERT to freely space lines,
5251 and some consolidation of code
5253 2003-06-06 José Matos <jamatos@fep.up.pt>
5255 * buffer.C (makeDocBookFile): fix bug #821
5257 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5259 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5261 2003-06-04 Angus Leeming <leeming@lyx.org>
5263 * buffer.C: bump format to 224.
5265 2003-06-05 André Pönitz <poenitz@gmx.net>
5267 * text2.C (redoParagraphs): remove two const_cast<>
5269 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5271 * ParagraphList.h: remove last remnants of NO_STD_LIST
5273 2003-06-03 Angus Leeming <leeming@lyx.org>
5275 * factory.C (createInset): small change to the way InsetExternal's params
5278 2003-06-04 André Pönitz <poenitz@gmx.net>
5280 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5282 * paragraph_pimpl.h:
5283 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5285 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5287 * undo_funcs.C: make some simple cases of undo work again
5289 2003-06-03 John Levon <levon@movementarian.org>
5291 * ispell.C: HPUX doesn't have sys/select.h
5294 2003-06-03 John Levon <levon@movementarian.org>
5296 * CutAndPaste.C: update tabular and include inset
5301 * paragraph.C: remove owningBuffer(), don't pass Buffer
5304 * factory.C: insetGraphicsParams changed
5306 2003-06-02 John Levon <levon@movementarian.org>
5312 * text3.C: remove insetparent
5314 2003-06-02 John Levon <levon@movementarian.org>
5317 * buffer.C: fix inset_iterator.end(), move out of line
5320 2003-06-01 John Levon <levon@movementarian.org>
5322 * text3.C: use a proper cut/paste when doing inset
5323 insert (from Jürgen Spitzmüller)
5325 2003-06-01 John Levon <levon@movementarian.org>
5327 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5329 2003-05-30 André Pönitz <poenitz@gmx.net>
5331 * rowpainter.C: unify second drawing phase
5333 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5335 * trans_mgr.C: remove one case of current_view
5337 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5339 * paragraph_funcs.h: remove paragraph.h include
5341 * paragraph.h: delete NO_STD_LIST stuff
5343 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5345 * buffer.h: remove paragraph.h include
5347 * ParagraphList.C: delete file
5349 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5351 * toc.C (getTocList): adjust
5353 * paragraph_pimpl.C (validate): adjust
5355 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5357 * paragraph.C (Paragraph): adjust
5358 (getPositionOfInset): use const_iterator, adjust
5359 (bibitem): use const_iterator, adjust
5360 (setInsetOwner): adjust
5362 * iterators.C (operator++): adjust
5364 * InsetList.[Ch]: Replace selfmade iterator with standard
5365 vector::iterator also introduce const_iterator. Remove getPos,
5366 getInset and setInset from InsetTable. Adjust accordingly.
5368 * BufferView.C (lockInset): adjust
5369 (ChangeInsets): adjust
5371 * tabular.[Ch]: delete commented same_id functions
5373 2003-05-28 John Levon <levon@movementarian.org>
5375 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5377 2003-05-28 André Pönitz <poenitz@gmx.net>
5379 * metricsinfo.[Ch]: remove 'fullredraw' member
5381 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5383 * lyxtextclass.C (operator): remove caching.
5385 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5389 * text2.C (cursorBottom): adjust
5390 (setCounter): use ParagraphList::find, adjust
5392 * text.C (workWidth): use ParagraphList::find, adjust
5394 * lyxcursor.C (LyXCursor): adjust
5396 * buffer.C (inset_iterator): adjust
5398 * ParagraphList.h: make iterator(value_type) private, make
5399 ParagraphList a friend of iterator.
5401 * ParagraphList.C (find): new function
5403 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5405 2003-05-27 André Pönitz <poenitz@gmx.net>
5407 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5409 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5411 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5413 2003-05-26 John Levon <levon@movementarian.org>
5415 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5417 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5419 * remove same_id from function signatures, adjust.
5421 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5423 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5425 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5427 * paragraph.C (Paragraph): get rid of same_ids parameter
5429 * ParagraphList.C (insert): adjust
5432 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5434 * paragraph_funcs.C (breakParagraph): adjust
5435 (breakParagraphConservative): adjust
5437 * buffer.C (readParagraph): adjust
5439 * ParagraphList.C (insert): take a reference instead of a pointer
5442 * paragraph.[Ch] (id): new function
5444 * bufferlist.C (newFile): adjust
5446 * ParagraphList.C (ParagraphList): adjust
5448 (push_back): take a reference instead of a pointer.
5450 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5452 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5455 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5456 set else use old code.
5458 * ParagraphList.C: remove all NO_NEXT code and only compile this
5459 code of NO_STD_LIST is set.
5461 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5463 * BufferView_pimpl.C:
5473 * graphics/GraphicsConverter.C:
5474 * graphics/PreviewLoader.C: header adjustment
5476 2003-05-23 Angus Leeming <leeming@lyx.org>
5478 * LaTeXFeatures.[Ch] (useBabel): new method.
5479 * bufferparams.C (writeLaTeX): use it.
5481 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5483 * ParagraphList.h (set): remove unused function.
5485 2003-05-23 André Pönitz <poenitz@gmx.net>
5488 * BufferView_pimpl.C:
5492 * undo_funcs.C: setUndo reworked
5494 * iterators.[Ch]: add access to topmost ParagraphList
5496 * lyxtext.[Ch] (workWidth): add a const
5498 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5500 * texrow.[Ch] (increasePos): remove function
5501 * exporter.C (export): removed unused var and outdated comment
5503 2003-05-23 Angus Leeming <leeming@lyx.org>
5505 * latexrunparams.h: rename fragile as moving_arg.
5506 * paragraph.C (simpleTeXOnePar): ditto.
5507 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5509 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5511 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5513 (textUndoOrRedo): comment out a currently unused var.
5515 * paragraph.h (NO_NEXT): enable NO_NEXT
5517 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5519 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5521 * exporter.C (Export): adjust for removeAutoInsets removal.
5523 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5525 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5527 * BufferView.[Ch] (removeAutoInsets): delete function
5529 2003-05-22 Angus Leeming <leeming@lyx.org>
5531 * latexrunparams.h: add a free_spacing variable.
5533 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5534 to pass moving_arg, as the data is stored in runparams.fragile.
5536 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5537 to Inset::latexOptional or to simpleTeXOnePar.
5539 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5540 free_spacing arg to Inset::latexOptional.
5542 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5545 2003-05-22 Angus Leeming <leeming@lyx.org>
5547 * latexrunparams.h: add fragile and use_babel variables.
5549 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5550 * buffer.C (makeLaTeXFile): store this returned value in
5551 runparams.use_babel, thus passing it to the inset::latex methods.
5553 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5554 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5556 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5557 longer has a fragile arg, as it is stored in runparams.fragile.
5559 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5560 moving_arg parameter as the data is stored in runparams.fragile.
5562 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5563 a fragile parameter as the data is stored in runparams.fragile.
5565 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5567 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5569 2003-05-22 Angus Leeming <leeming@lyx.org>
5571 * latexrunparams.h: add a 'bool nice' which defaults to false.
5573 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5574 now encapsulated within runparams.
5576 * bufferlist.C (updateIncludedTeXfiles):
5577 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5579 2003-05-22 Angus Leeming <leeming@lyx.org>
5581 * latexrunparams.h: new file containing struct LatexRunParams.
5582 * Makefile.am: add new file.
5584 * LaTeX.[Ch] (c-tor, run):
5585 * buffer.[Ch] (makeLaTeXFile):
5586 * bufferlist.[Ch] (updateIncludedTeXfiles):
5587 * converter.C (convert, scanLog):
5588 * converter.[Ch] (runLaTeX):
5589 * exporter.C (Export):
5590 * paragraph.[Ch] (simpleTeXOnePar):
5591 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5592 * paragraph_funcs.[Ch] (latexParagraphs):
5593 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5594 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5595 pass around a LatexRunParams parameter.
5597 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5599 * paragraph.[Ch]: remove unused constructor
5601 * ParagraphList.C (erase): new function, taking two iterators
5603 2003-05-22 André Pönitz <poenitz@gmx.net>
5605 * undo_funcs.C: remove duplicated code
5607 * iterator.[Ch]: operator=
5609 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5611 * tabular.C (SetMultiColumn): ws changes
5613 * rowpainter.C (paintFirst): get rid of a ->previous
5615 * lyx_cb.C (getPossibleLabel): parlist simplification
5617 * BufferView.C (ChangeInsets): simplify slightly.
5619 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5621 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5622 * lfuns.h: new LFUN_SPACE
5623 * lyxfunc.C: protected space has a new lfun
5624 * paragraph_funcs.C: read new space insets
5626 * factory.C: handle new space insets
5628 2003-05-22 André Pönitz <poenitz@gmx.net>
5631 * BufferView_pimpl.C:
5634 * undo_funcs.C: return a ParIterator from getParFromID.
5636 * iterators.[Ch]: add two const's
5638 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5640 * toc.C (getTocList): adjust
5642 * iterators.[Ch]: rework for parlist
5644 * buffer.C (par_iterator_begin): adjust
5645 (par_iterator_end): adjust
5647 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5649 * BufferView.C (removeAutoInsets): adjust
5650 (ChangeInsets): adjust
5652 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5654 * text.C (top_y): fix bug 1110
5656 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5658 * errorlist.[Ch]: added
5661 * BufferView_pimpl.C:
5662 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5665 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * Makefile.am: ensure that lyx is relinked upon changes to the
5668 various "convenience" libs.
5670 2003-05-20 Angus Leeming <leeming@lyx.org>
5672 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5673 files are compiled in alphabetical order again.
5675 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5677 2003-05-19 Angus Leeming <leeming@lyx.org>
5679 * gettext.[Ch]: remove "char const * _(char const *)".
5681 2003-05-19 André Pönitz <poenitz@gmx.net>
5683 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5692 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5694 2003-05-19 André Pönitz <poenitz@gmx.net>
5698 * lyxtextclass.[Ch]:
5700 * paragraph_funcs.[Ch]:
5702 * text3.C: more insetenv work
5704 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5706 * ParagraphParameters.C (params2string): small bug fixed
5708 2003-05-16 André Pönitz <poenitz@gmx.net>
5711 * bufferview_funcs.C: patch from Kornel Benko to prevent
5712 crash when _(...) is called twice in a statement
5714 2003-05-16 André Pönitz <poenitz@gmx.net>
5721 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5723 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5725 * lyx_main.C (init): remove spurious static_cast
5727 2003-05-14 André Pönitz <poenitz@gmx.net>
5729 * BufferView.C: fix format string
5731 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5733 * BufferView.[Ch] (insertErrors): removed
5734 * BufferView.[Ch] (showErrorList): added
5735 * buffer.C (runChkTeX):
5736 * converter.C (scanLog): call showErrorList instead of inserterrors
5738 2003-05-13 André Pönitz <poenitz@gmx.net>
5740 * BufferView_pimpl.C:
5742 * bufferview_func.C:
5749 * tabular_funcs.h: tostr() from its own header
5751 * ParagraphParameters.C:
5756 * text3.C: STRCONV()
5758 2003-05-12 André Pönitz <poenitz@gmx.net>
5761 * BufferView_pimpl.C:
5765 * ParagraphParameters.C:
5769 * bufferview_funcs.C:
5782 * paragraph_funcs.C:
5786 * text3.C: boost::format -> bformat all over the place
5789 2003-05-09 André Pönitz <poenitz@gmx.net>
5791 * LColor.[Ch]: Pimpl the #include <map> away
5793 2003-05-09 John Levon <levon@movementarian.org>
5795 * bufferlist.C: never remove emergency saves
5797 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5799 * Makefile.am: better lib building
5801 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5803 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5805 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5806 (simpleTeXSpecialChars): adjust
5807 (simpleTeXSpecialChars): adjust
5808 * paragraph.C (simpleTeXOnePar): adjust
5809 * buffer.C (makeLaTeXFile): adjust
5811 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5813 * text2.C (changeDepth): parlist cleanup
5814 (getColumnNearX): ditto
5816 * rowpainter.C (getLabelFont): parlist cleanup
5818 * bufferlist.C (newFile): parlist cleanup
5820 * CutAndPaste.C (eraseSelection): parlist cleanup
5822 * BufferView_pimpl.C (trackChanges): parlist cleanup
5825 * BufferView.C (lockInset): parlist cleanup.
5826 (ChangeInsets): ditto
5828 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5830 * CutAndPaste.h: Update file header.
5832 * CutAndPaste.C: Update file header.
5833 Store the parts cut out of the Document in a limited_stack.
5834 (copySelection): adjust
5835 (pasteSelection): new function, takes the index in the limited stack.
5836 (nrOfParagraphs): adjust
5837 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5838 simplify error inset insertion.
5839 (checkPastePossible): adjust
5841 2003-05-06 John Levon <levon@movementarian.org>
5843 * text2.C: don't cast wrap inset to float
5845 2003-05-05 André Pönitz <poenitz@gmx.net>
5848 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5850 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5851 few naked Paragraph *.
5853 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5855 * bufferparams.C: Output warning if a document with missing
5856 TeX document class is loaded
5857 * exporter.C: Disable TeX exports if the document class is missing
5860 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5861 isTeXClassAvailable()
5863 2003-05-03 John Levon <levon@movementarian.org>
5866 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5867 explicit cursor show/hide
5869 * BufferView_pimpl.h:
5870 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5871 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5873 * lyxfunc.C: hide cursor before dispatching.
5878 * text3.C: remove explicit cursor hides
5880 2003-05-02 André Pönitz <poenitz@gmx.net>
5882 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5885 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5888 * text2.C: tiny whitespace
5890 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5892 * undo_funcs.C: almost only ws changes.
5894 * ParagraphList.C (splice): just return if pl is empty.
5896 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5898 * ParagraphList.C (splice): new function.
5900 * CutAndPaste.C (pasteSelection): use it
5902 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5904 * CutAndPaste.C (pasteSelection): remove the last next and
5905 previous from this file.
5907 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5909 * CutAndPaste.C (pasteSelection): more clean up, user proper
5910 ParagraphList functions for pasteing.
5912 * ParagraphList.C (insert): new function, three arg insert
5914 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5916 * ParagraphList.C (insert): new function, three arg insert
5918 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5921 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5923 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5925 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5927 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5929 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5931 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5932 (copySelection): clean up a bit.
5933 (pasteSelection): use make_pair
5935 * ParagraphList.C (ParagraphList): implement copy constructor
5936 (operator=): implement, base on copy constructor.
5939 * paragraph.C (erase): return a bool
5941 * paragraph_pimpl.C (erasePos): remove function, move contents...
5942 (erase): ... here. Return a bool.
5943 (erase): call erase instead of erasePos.
5945 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5947 * ParagraphList.h: define PitPosPair
5948 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5949 ParagraphList, fix a bug on pasting multiple pars
5950 * text2.C: change interface to C&P
5952 2003-04-30 André Pönitz <poenitz@gmx.net>
5954 * undo_func.C: revert part of yesterday's patch 2
5956 2003-04-30 John Levon <levon@movementarian.org>
5958 * LColor.C: s/tabular/table/
5960 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5962 * text3.C (dispatch): do not convert iterator -> pointer
5963 * undo_funcs.C (setCursorParUndo): ditto
5964 * text_funcs.C (transposeChars): ditto
5966 * text2.C (setLayout): ws changes only
5968 * text.C (breakParagraph): do not convert iterator -> pointer
5970 (acceptChange): ditto
5971 (rejectChange): ditto
5976 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5979 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5981 * text3.C (gotoInset): YABG (yet another bad getChar)
5983 2003-04-29 André Pönitz <poenitz@gmx.net>
5985 * paragraph.h: make operator= private unimplemented as long as
5988 * ParagraphList.C: whitespace
5991 * paragraph_pimpl.[Ch]:
5992 * paragraph_funcs.C:
5994 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5997 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5999 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
6001 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
6002 * paragraph.[Ch] (erase):
6003 * paragraph_pimpl.[Ch] (erase): change return type and value
6004 * text2.C (cutSelection): some rework
6006 2003-04-28 John Levon <levon@movementarian.org>
6008 * bufferlist.C: changes for unsaved changes dialog
6010 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6012 * bufferlist.C (newFile): set language (messages_) for new
6015 * buffer.C (readFile): ws changes only.
6017 2003-04-28 André Pönitz <poenitz@gmx.net>
6022 * BufferView_pimpl.C:
6023 * BufferView.C: getParFromID related ParagraphList::iterator changes
6025 2003-04-28 André Pönitz <poenitz@gmx.net>
6027 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6030 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6032 * messages.C: remove one more localedir class variable.
6034 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6036 * messages.C (getLocaleDir): singleton generation function
6038 (Messages): add a default constructor.
6040 * main.C (main): do not setup localedir here, do not call
6043 * gettext.C (_): use it.
6044 (gettext_init): delete funciton
6046 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6048 * gettext.C (getLyXMessages): new singleton generating function.
6050 * buffer.C (updateDocLang): adjust
6052 * Makefile.am (messages.o): add target
6053 (main.o): remove target
6055 2003-04-27 John Levon <levon@movementarian.org>
6060 * lyxvc.C: specify cancel button in Alert::prompt
6062 2003-04-26 John Levon <levon@movementarian.org>
6067 * LyXAction.C: add LFUN_INSET_SETTINGS
6069 * lyxfunc.C: don't enable tabular-feature when there's
6070 just any locking inset
6072 2003-04-26 John Levon <levon@movementarian.org>
6074 * bufferlist.C: re-add Cancel to buffer close question
6076 * lyxfunc.C: fix import UI a bit
6078 2003-04-25 John Levon <levon@movementarian.org>
6080 * gettext.C: remove the broken asserts for now
6082 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6084 * messages.C: make case where setlocale cannot comply work better.
6086 * buffer.C (updateDocLang): new function
6087 (changeLanguage): use it
6090 * text2.C (setCounter): use B_ a bit.
6092 * lyxlayout.C (Read): be sure to trim the label strings.
6094 * messages.C (Messages): fix typo in comment
6096 * buffer.C (readFile): set message_ after file is loaded.
6097 (makeDocBookFile): remove double return
6098 (changeLanguage): reset message_ upon language change.
6099 (B_): new func, use this to get translated buffer strings.
6101 * main.C: add myself and Jean Marc as authors.
6103 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6105 * messages.[hC]: pimplify Messages, and three different pimpls to be
6106 used in different circumstances.
6108 * gettext.[Ch]: change for use with new message code.
6110 2003-04-24 André Pönitz <poenitz@gmx.net>
6112 * factory.C: support for eqref
6114 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6116 * messages.[Ch]: add missing char
6118 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6120 * messages.[Ch]: New files
6122 2003-04-18 John Levon <levon@movementarian.org>
6126 * BufferView_pimpl.C:
6130 * text2.C: remove layout-copy/paste (bug 778)
6132 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6134 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6136 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6138 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6139 if they succeed. Act accordingly.
6141 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6143 * text2.C (setCharFont): adjust
6144 (setCounter): adjust
6145 (insertStringAsLines): adjust
6147 * text.C (leftMargin): adjust
6148 (setHeightOfRow): adjust
6150 * rowpainter.C (paintFirst): adjust
6153 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6155 (isFirstInSequence): ditto
6156 (getEndLabel): ditto
6159 * paragraph.C (getParLanguage): comment out some hard stuff.
6161 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6163 (simpleDocBookOnePar): ditto
6164 (makeDocBookFile): use ParagraphList::iterator
6166 * CutAndPaste.C (pasteSelection): adjust
6168 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6170 * text2.C (getFont): adjust
6171 (getLayoutFont): adjust
6172 (getLabelFont): adjust
6174 * paragraph_funcs.C (TeXOnePar): adjust
6176 * buffer.C (simpleLinuxDocOnePar): adjust
6177 (simpleDocBookOnePar): adjust
6179 * CutAndPaste.C (pasteSelection): adjust
6181 * BufferView.C (getEncoding): adjust
6183 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6185 2003-04-16 John Levon <levon@movementarian.org>
6187 * lyxfind.C: use parlist stuff for search/changes
6189 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6191 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6193 * text2.C (deleteEmptyParagraphMechanism): adjust
6195 * text2.[Ch] (ownerParagraph): delete func (both of them
6197 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6199 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6201 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6203 * ParagraphList.C: prepare for NO_NEXT
6205 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6207 * text2.C (getFont): adjust
6208 (getLayoutFont): adjust
6209 (getLabelFont): adjust
6211 * paragraph.C (getFont): adjust
6212 (getLabelFont): adjust
6213 (getLayoutFont): adjust
6215 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6217 2003-04-15 John Levon <levon@movementarian.org>
6221 * lyx_main.C: handle Include in .ui files
6223 2003-04-15 John Levon <levon@movementarian.org>
6225 * MenuBackend.C: make the doc files length shorter
6228 * ToolbarBackend.C: handle toolbar placement flags,
6231 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6233 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6236 * paragraph_funcs.C (TeXOnePar): adjust
6238 * paragraph.C (getLabelFont): add outerfont arg, adjust
6239 (getLayoutFont): ditto
6240 (simpleTeXOnePar): adjust
6242 * paragraph_pimpl.C (realizeFont): delete func
6244 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6246 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6247 row argument, constify cur argument.
6249 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6251 * text2.C (getFont): adjust
6252 (getLayoutFont): adjust
6253 (getLabelFont): adjust
6255 * paragraph_funcs.C (TeXOnePar): adjust
6256 (outerFont): new func...
6257 (realizeFont): ...moved out from here, changed this to facilitate
6260 * paragraph.C (getFont): take outerfont as arg, adjust
6261 (simpleTeXOnePar): add outerfont arg, adjust
6263 * buffer.C (simpleLinuxDocOnePar): adjust
6264 (simpleDocBookOnePar): adjust
6266 * CutAndPaste.C (pasteSelection): adjust
6268 * BufferView.C (getEncoding): adjust
6270 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6272 * text2.C (setCharFont): adjust
6273 (setCounter): adjust
6275 * text.C (leftMargin): adjust
6276 (setHeightOfRow): adjust
6278 * rowpainter.C (paintFirst): adjust
6281 * paragraph_pimpl.C (realizeFont): adjust
6283 * paragraph.C (isFirstInSequence): move from here...
6284 * paragraph_funcs.C (isFirstInSequence): ...to here
6286 * paragraph.C (outerHook): move from here...
6287 * paragraph_funcs.C (outerHook): ...to here
6289 * paragraph.C (depthHook): move from here...
6290 * paragraph_funcs.C (depthHook): ...to here
6292 * paragraph.C (getEndLabel): move from here...
6293 * paragraph_funcs.C (getEndLabel): ...to here
6295 * text2.C (realizeFont): move from here...
6296 * paragraph_funcs.C (realizeFont): ...to here
6298 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6302 2003-04-14 Angus Leeming <leeming@lyx.org>
6304 * LColor.[Ch]: scrap LColor mathcursor.
6306 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6308 * lyxlex.[Ch] (text): delete function
6309 * trans.C (Load): adjust
6310 * paragraph_funcs.C (readParToken): adjust
6312 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6314 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6315 vector<char> instead of a char[].
6317 * lyxlex_pimpl.C (getString): adjust
6319 (lex): use getString
6323 * lyxlex.C (text): use pimpl_->getString()
6327 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6329 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6330 (makeFontEntriesLayoutSpecific): temp var for par.size()
6331 (setLayout): temp var for ownerParagraphs().end()
6332 (fullRebreak): temp var for rows().end()
6333 (selectionAsString): temp var for boost::next(startpit), realize
6334 that the while really is a regular for loop.
6335 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6336 setCursor in one place.
6337 (setParagraph): temp vr for ownerParagraphs().end()
6338 (updateCounters): make the while loop a for loop
6339 (cutSelection): temp var for ownerParagraphs().end()
6340 (updateInset): make the do {} while() a regular for loop
6341 (getCursorX): use temp vars
6342 (setCurrentFont): use temp vars
6343 (getColumnNearX): use temp vars
6345 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6347 * text.C (transformChar): use temp var for getChar
6348 (computeBidiTables): use temp var for row->par()
6349 (fill): move temp vars for row->par() and pit->layout() earlier in
6351 (labelFill): use temp var for row->par()
6352 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6353 asc and desc, realize that pit never changes and that firstpit is
6354 just a duplicate and not needed. Exchange rit->par() with pit in a
6356 (breakAgain): use a temp var for boost::next(rit)
6357 (breakAgainOneRow): ditto
6358 (breakParagraph): use a temp var for rows().begin()
6359 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6360 (cursorRightOneWord): use temp var for cursor.par() and
6361 cursor.pos(), remove usage of tmpcursor.
6362 (cursorLeftOneWord): use temp var for cursor.par() and
6363 cursor.pos() only set cur at end of function.
6365 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6367 * text.C, text2.C: exchange all usage of Paragraph::next with
6368 boost::next(ParagraphList::iterator)
6370 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6372 * text2.C (cursorTop): simplify implementation
6373 (cursorBottom): ditto
6374 (setParagraph): use ParagraphList::iterator
6375 (setCurrentFont): adjust
6376 (getColumnNearX): adjust
6377 (cursorRight): adjust
6378 (cursorLeft): remove usage of Paragraph::previous
6379 (cursorUpParagraph): ditto
6380 (deleteEmptyParagraphMechanism): slight cleanup
6382 * text.C (isBoundary): take a Paragraph const & instead of a
6384 (addressBreakPoint): ditto
6385 (leftMargin): remove usage of Paragraph::previous.
6386 (setHeightOfRow): ditto
6387 (cursorLeftOneWord): ditto
6388 (selectNextWordToSpellcheck): ditto
6391 (breakParagraph): remove one usage of Paragraph::next
6392 (redoParagraph): ditto
6393 (acceptChange): ditto
6394 (insertChar): adjust
6395 (rowBreakPoint): adjust
6397 * bufferview_funcs.C (toggleAndShow): adjust
6399 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6401 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6402 methods to access it.
6404 * text.C: Added updateRowPositions to compute all row positions.
6405 Make top_y and getRowNearY() to use the cached y position
6407 2003-04-11 John Levon <levon@movementarian.org>
6409 * text.C (rowBreakPoint): reintroduce the labelEnd
6410 checks, code copied from the row fill stuff. Deep voodoo.
6412 * text.C (fill): add a comment and debugging for the
6415 2003-04-11 John Levon <levon@movementarian.org>
6417 * text.C: make sure fullrow insets get wrapped to the next line,
6418 even when they're in a manual label
6420 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6422 * text2.C (insertParagraph): make it take ParagraphList::iterator
6424 (setLayout): make it return ParagraphList::iterator
6425 (redoParagraphs): ditto
6427 (checkParagraph): ditto
6429 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6431 * text2.C: adjust several funcs.
6432 (realizeFont): take a ParagraphList::iterator as arg.
6433 (getLayoutFont): ditto
6434 (getLabelFont): ditto
6435 (setCharFont): ditto
6437 * text.C: adjust several funcs.
6439 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6441 * text.C (selectNextWordToSpellcheck): don't accidentally
6444 2003-04-10 John Levon <levon@movementarian.org>
6446 * ToolbarBackend.C (getIcon): special handling for
6449 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6451 * text2.C (cursorRight): a getChar assert fixed
6453 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6455 * text2.C (getFont): change to take a ParagraphList::iterator
6456 instead of Paragraph*
6457 Adjust several functions.
6459 * text.C (transformChar): change to take a ParagraphList::iterator
6460 instead of Paragraph*
6461 (singleWidth): ditto
6462 Adjust several functions.
6464 * rowpainter.C: adjust several functions
6465 * rowpainter.h:store a ParagraphList::iterator and not a
6469 2003-04-09 John Levon <levon@movementarian.org>
6474 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6475 and the "help" bits as well
6477 2003-04-09 John Levon <levon@movementarian.org>
6480 * ToolbarBackend.C: allow multiple toolbars
6482 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6484 * undo_funcs.C (setCursorParUndo): adjust
6486 * text_funcs.C (transposeChars): adjust
6488 * text3.C (gotoNextInset): adjust
6491 * text2.C (setLayout): adjust
6492 (changeDepth): adjust
6494 (redoParagraphs): adjust
6495 (selectionAsString): adjust
6496 (setParagraph): adjust
6497 (insertInset): adjust
6498 (cutSelection): adjust
6499 (copySelection): adjust
6500 (pasteSelection): adjust
6501 (insertStringAsLines): adjust
6502 (updateInset): adjust
6503 (setCursor): change to take a ParagraphList::iterator parameter
6504 (setCursorIntern): change to take a ParagraphList::iterator parameter
6505 (setCurrentFont): adjust
6506 (cursorLeft): adjust
6507 (cursorRight): adjust
6508 (deleteEmptyParagraphMechanism): adjust
6510 * text.C (breakParagraph): adjust
6511 (insertChar): adjust
6512 (acceptChange): adjust
6513 (rejectChange): adjust
6514 (selectNextWordToSpellcheck): adjust
6515 (changeCase): adjust
6519 * lyxfind.C (SearchForward): adjust
6520 (SearchBackward): adjust
6521 (nextChange): adjust
6523 * lyxcursor.C (par): adjust
6525 * lyxcursor.h: store a ParagraphList::iterator instead of a
6528 * lyx_cb.C (getPossibleLabel): adjust
6530 * bufferview_funcs.C (toggleAndShow): adjust
6532 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6535 * BufferView.C (removeAutoInsets): adjust
6536 (lockedInsetStoreUndo): adjust
6538 2003-04-09 John Levon <levon@movementarian.org>
6540 * ToolbarBackend.C: try icon without argument
6541 if with argument fails
6543 2003-04-08 John Levon <levon@movementarian.org>
6546 * ToolbarBackend.C: add getIcon(), handle tooltip,
6547 and change from "Icon" to "Item".
6549 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6551 * BufferView.C (lockInset): another bad getchar crunched
6553 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6555 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6558 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6560 * lyxfind.C (searchForward, searchBackwards): bug 782
6562 2003-04-07 John Levon <levon@movementarian.org>
6564 * paragraph.C: remove dead comment
6566 * text.C: remove troublesome depth-fiddling code
6567 in leftMargin() and rightMargin() (bug 1017)
6569 * text.C: fix breaking of rows in nested lists
6572 * text2.C (updateCounters): fix up depth values
6575 2003-04-07 John Levon <levon@movementarian.org>
6577 * BufferView_pimpl.C: clear message when doc finishes resizing,
6578 and after a mouse event
6580 * lyxfunc.C: clear message after exiting inset
6582 2003-04-07 John Levon <levon@movementarian.org>
6584 * bufferview_funcs.C: show math status not outside
6585 status in the statusbar
6587 2003-04-07 John Levon <levon@movementarian.org>
6589 * lyxfunc.C: note status changed after a depth change
6591 2003-04-04 Angus Leeming <leeming@lyx.org>
6593 * LaTeX.h: move AuxInfo operator==, != out of line.
6594 Remove LaTeX virtual destructor; nothing derives from it.
6595 Move operator()() out of public area and rename it startscript().
6596 Change protected for private.
6598 2003-04-04 Angus Leeming <leeming@lyx.org>
6601 * text2.C: remove unneeded #includes.
6603 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6605 * text2.C (dEPM): fix the heigth of the next row
6607 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6609 * text.C: squashed an invalid getChar requester + some ws changes
6611 2003-04-03 John Levon <levon@movementarian.org>
6613 * bufferview_funcs.h:
6614 * bufferview_funcs.C:
6617 * text2.C: make getStatus work for the env depth lfuns
6619 2003-04-03 John Levon <levon@movementarian.org>
6621 * bufferview_funcs.h:
6622 * bufferview_funcs.C:
6625 * text2.C: parlistize decDepth(), by merging it with incDepth()
6627 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6629 * lyxrow.h: store a ParagraphList::iterator instead of a
6630 Paragraph* and adjust other class functions to suit.
6632 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6635 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6637 * text2.C (setCursor): do not anchor to cursor row for the time being
6639 2003-04-02 John Levon <levon@movementarian.org>
6646 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6648 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6650 * paragraph.h: make ParagraphList and ParagraphList::iterator
6651 friends of Paragraph.
6653 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6655 * ParagraphList.C: Use the private next_ and previous_ from
6658 2003-04-01 John Levon <levon@movementarian.org>
6662 * Makefile.am: rename, remove defaults gunk
6665 * MenuBackend.C: remove defaults gunk
6668 * Languages.C: remove defaults gunk
6671 * lyx_main.C: error out if files couldn't be found.
6673 2003-04-02 John Levon <levon@movementarian.org>
6675 * text2.C: make incDepth() use parlist
6677 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6679 * undo_funcs.C (firstUndoParagraph): adjust
6681 * text3.C (gotoInset): adjust
6682 (dispatch): adjust, and rewrite loop.
6684 * text2.C (init): adjust, and rewrite loop.
6685 (redoParagraphs): adjust
6686 (updateInset): adjust, and rewrite loop.
6687 (deleteEmptyParagraphMechanism): adjust
6689 * tabular.C (LyXTabular): adjust
6690 (SetMultiColumn): adjust
6693 * lyxtext.[Ch] (ownerParagraph): delete function
6694 (ownerParagraphs): new function returns a ParagraphList.
6696 * BufferView.C (removeAutoInsets): adjust
6697 (insertErrors): adjust
6698 (setCursorFromRow): adjust
6700 2003-04-01 Angus Leeming <leeming@lyx.org>
6702 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6705 2003-04-02 John Levon <levon@movementarian.org>
6711 * text_funcs.C: make transposeChars a free function
6713 * lyxrow_funcs.C: remove wrong comment
6715 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6718 * rowpainter.C: adjust
6723 * lyxrow_funcs. [Ch]: new files
6725 * lyxrow.[Ch]: remove next and previous pointers
6726 (next,previous): remove accessor functions
6727 (isParEnd): move to lyxrow_funcs
6728 (lastPos): move to lyxrow_funcs
6729 (nextRowIsAllInset): move to lyxrow_funcs
6730 (lastPrintablePos): move to lyxrow_funcs
6731 (numberOfSeparators): move to lyxrow_funcs
6732 (numberOfHfills): move to lyxrow_funcs
6733 (numberOfLabelHfills): move to lyxrow_funcs
6734 (hfillExpansion): move to lyxrow_funcs
6738 * bufferview_funcs.C (toggleAndShow): adjust
6740 * RowList.h: Remove class RowList from file leave just a
6743 * RowList.C: delete file
6745 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6748 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6750 * text3.C (cursorPrevious): adjust
6751 (cursorNext): adjust
6754 * text2.C (redoHeightOfParagraph): adjust
6755 (redoDrawingOfParagraph): adjust
6758 * text.C (breakParagraph): adjust
6759 (insertChar): adjust
6762 * rowpainter.C (RowPainter): adjust
6763 (leftMargin): simplify and adjust
6764 (most rowpainter functions): adjust.
6766 * rowpainter.h: store the row as RowList::iterator not as Row*
6768 * lyxcursor.C (row): taka RowList::iterator as arg
6771 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6774 2003-04-01 Angus Leeming <leeming@lyx.org>
6776 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6777 stuff like bool Bool.
6779 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6781 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6784 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6786 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6789 * lyxtext.h (rows): drop one version and leve a const variant that
6790 returns a RowList::iterator.
6792 2003-03-31 Angus Leeming <leeming@lyx.org>
6794 * text.C (fill): ensure that the signature is the same as that in the
6797 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6799 * text2.C (redoParagraphs): adjust
6800 (updateCounters): adjust
6801 (checkParagraph): adjust
6802 (getColumnNearX): adjust and reformat a bit.
6804 * text.C (top_y): adjust
6806 (leftMargin): adjust
6807 (prepareToPrint): adjust
6809 (getRowNearY): adjust
6811 * lyxtext.h: make rowlist_ mutable.
6813 * RowList.h: add const_iterator
6814 * RowList.C: adjust for RowList::const_iterator.
6816 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6819 2003-03-31 John Levon <levon@movementarian.org>
6822 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6824 * lyx_main.C: set default fonts from using lyx_gui funcs
6826 * exporter.C: pdf_mode moved from lyxrc
6829 * lyxfunc.C: changes from above
6831 2003-03-31 John Levon <levon@movementarian.org>
6833 * lyx_main.C: fix to the last fix
6835 2003-03-31 John Levon <levon@movementarian.org>
6837 * bufferlist.C: "Load original" -> "Load Original"
6843 * format.C: more Alert cleanups
6845 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6847 * text2.C (removeParagraph): make it take a RowList::iterator as
6849 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6850 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6852 * text.C (anchor_row): make it take a RowList::iterator as arg,
6854 (computeBidiTables): make it take a const reference to Row instead
6855 of Row pointer, adjust.
6856 (leftMargin): make it take a RowList::iterator as arg, adjust.
6857 (rowBreakPoint): adjust
6858 (breakAgainOneRow): make it take a RowList::iterator as arg,
6860 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6862 * bufferview_funcs.C (toggleAndShow): adjust
6864 2003-03-30 John Levon <levon@movementarian.org>
6868 * boost-inst.C: moved to support
6870 * several files: changes as a result
6872 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6874 * text2.C (LyXText): adjust.
6876 (removeRow): make it take a RowList::iterator as arg, adjust.
6877 (fullRebreak): adjust
6878 (deleteEmptyParagraphMechanism): adjust
6879 (clearPaint): adjust
6882 * text.C (top_y): adjust
6883 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6884 (breakAgain): make it take a RowList::iterator as arg, adjust.
6885 (breakParagraph): adjust
6886 (insertChar): adjust
6889 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6890 need_break_row, and refresh_row.
6892 * text3.C (dispatch): adjust
6894 * text2.C (checkParagraph): adjust
6896 (setCursorFromCoordinates): adjust
6898 * text.C (top_y): adjust
6900 (getRow): make it return a RowList::iterator, adjust
6901 (getRowNearY): make it return a RowList::iterator, adjust
6903 * text2.C (init): adjust
6904 (insertRow): remove function
6905 (insertParagraph): adjust
6906 (redoParagraphs): adjust
6907 (fullRebreak): adjust
6908 (updateCounters): adjust
6910 * text.C (top_y): rewrite to use RowList iterators.
6912 (setHeightOfRow): rewrite to sue RowList iterators.
6913 (appendParagraph): adjust
6914 (breakAgain): adjust
6915 (breakAgainOneRow): adjust
6916 (breakParagraph): adjust
6918 (getRowNearY): adjust, and remove commented code.
6920 * lyxtext.h (firstRow): delete function
6921 (lastRow): delete function
6922 (rows): new function (const and non-const versions.)
6923 (insertRow): delete function
6925 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6927 2003-03-29 John Levon <levon@movementarian.org>
6929 * BufferView_pimpl.C: always update scrollbar top
6930 because pasting text when we're anchored could mean we
6931 miss an update altogether
6933 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6935 * text2.C (init): use rowlist_.end() and not 0.
6936 (insertRow): change to take a RowList::iterator as arg, adjust
6938 (insertParagraph): change to take a RowList::iterator as arg,
6940 (redoParagraphs): remove some debug msgs.
6942 * text.C (appendParagraph): change to take a RowList::iterator
6943 arg, adjust for this.
6944 (breakAgain): add an assert
6945 (breakAgainOneRow): ditto
6947 2003-03-29 John Levon <levon@movementarian.org>
6949 * text2.C: do not clear selection after inc/decDepth
6952 2003-03-29 John Levon <levon@movementarian.org>
6955 * buffer.C: fix broken strerrors according to Lars
6957 2003-03-29 John Levon <levon@movementarian.org>
6959 * converters.C: more Alert cleanups
6961 2003-03-29 John Levon <levon@movementarian.org>
6963 * bufferview_funcs.C: remove pointless Alert
6965 * buffer.C: fix confusing error message when
6966 a template is chmoded 000
6968 2003-03-29 John Levon <levon@movementarian.org>
6972 * BufferView_pimpl.C: Alert fixes
6976 * tabular-old.C: remove unused table compat reading
6978 2003-03-29 John Levon <levon@movementarian.org>
6983 * lyx_cb.C: more Alert cleanups
6985 * lyxfunc.C: don't allow chktex if not latex document
6987 2003-03-29 John Levon <levon@movementarian.org>
6991 * buffer.C: warnings pushed down from support/,
6994 2003-03-29 John Levon <levon@movementarian.org>
6996 * lyxfunc.C: safety check for C-r (revert)
6998 2003-03-29 John Levon <levon@movementarian.org>
7001 * bufferlist.C: several UI fixes using Alert::prompt.
7002 Fix the pointless looping quit code. Fix stupid revert
7007 * lyx_cb.C: use Alert::prompt
7009 * lyx_main.C: remove a silly question
7011 * lyxfunc.C: remove a couple of silly questions,
7014 2003-03-28 John Levon <levon@movementarian.org>
7016 * text2.C: fix bug 974 (End on empty par)
7018 2003-03-28 John Levon <levon@movementarian.org>
7020 * BufferView_pimpl.C:
7022 * lfuns.h: remove do-nothing math greek lfuns
7024 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7026 * lyxgluelength.h (isValidGlueLength): add default arg on
7027 parameter 2. Remove default arg from friend in class.
7029 * lyxlength.h (isValidLength): add default arg on parameter 2.
7030 Remove default arg from friend in class.
7032 * text2.C (LyXText): adjust, initialize refresh_row.
7036 (insertParagraph): adjst
7037 (redoParagraphs): adjust
7038 (fullRebreak): adjust
7039 (updateCounters): adjust
7040 (deleteEmptyParagraphMechanism): first attempt at fixing a
7043 * text.C (top_y): adjust
7044 (setHeightOfRow): adjust
7046 (getRowNearY): adjust
7048 * lyxtext.h: include RowList.h
7049 (~LyXText): not needed anymore, deleted.
7050 (firstRow): modify for RowList
7051 (lastRow): new function
7052 Delete firstrow and lastrow class variables, add a Rowlist
7053 rowlist_ class variable.
7055 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7058 * RowList.C (insert): fix case where it == begin().
7060 2003-03-26 Angus Leeming <leeming@lyx.org>
7062 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7063 the thesaurus dialog.
7065 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7067 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7069 * RowList.[Ch]: new files
7071 * ParagraphList.C (erase): handle the case where it == begin
7074 2003-03-25 John Levon <levon@movementarian.org>
7078 * aspell.C: add new aspell support
7081 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7084 2003-03-25 Angus Leeming <leeming@lyx.org>
7087 * LyXAction.C (init): new LFUN_INSET_INSERT.
7089 * BufferView_pimpl.C (dispatch): split out part of the
7090 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7092 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7095 2003-03-25 Angus Leeming <leeming@lyx.org>
7097 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7099 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7102 * text3.C: remove useless row->height(0)
7104 2003-03-25 John Levon <levon@movementarian.org>
7108 * text3.C: rename the refreshing stuff to better names
7110 2003-03-24 John Levon <levon@movementarian.org>
7112 * BufferView_pimpl.h:
7113 * BufferView_pimpl.C: update layout choice on a mouse
7116 2003-03-23 John Levon <levon@movementarian.org>
7118 * Makefile.am: fix commandtags.h reference
7120 2003-03-22 John Levon <levon@movementarian.org>
7122 * BufferView_pimpl.C:
7127 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7129 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7132 * text.C: take the rtl methods out of line
7134 2003-03-21 André Pönitz <poenitz@gmx.net>
7136 * metricsinfo.[Ch]: new files containing structures to be passed around
7137 during the two-phase-drawing...
7139 2003-03-21 André Pönitz <poenitz@gmx.net>
7141 * lyxtextclass.C: read 'environment' tag.
7143 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7145 * text2.C (removeRow): fix bug 964
7147 2003-03-20 John Levon <levon@movementarian.org>
7151 * text2.C: paint cleanups. Inset::update() dropped font
7154 2003-03-19 John Levon <levon@movementarian.org>
7156 * lyxfunc.C: only fitcursor/markDirty if available()
7158 2003-03-19 John Levon <levon@movementarian.org>
7160 * commandtags.h: rename to ...
7162 * lfuns.h: ... this, and renumber / cleanup
7164 2003-03-19 John Levon <levon@movementarian.org>
7166 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7167 fit the cursor after an lfun
7171 * BufferView_pimpl.h:
7172 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7174 * LyXAction.C: layout-character should have ReadOnly
7176 * ParagraphParameters.C:
7178 * bufferview_funcs.C:
7185 * undo_funcs.C: changes from above
7187 2003-03-18 John Levon <levon@movementarian.org>
7189 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7190 remove it from update()
7192 * lyxfunc.C: update layout choice after an lfun
7194 * text3.C: remove extra updateLayoutChoice()s
7196 2003-03-18 John Levon <levon@movementarian.org>
7198 * text.C: top_y change means full repaint, fix
7199 a drawing bug with cursor movement
7201 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7205 * text2.C: anchor row on setCursor
7207 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7209 * lyxtext.h: remove almost all mutable keywords
7212 * text3.C: remove const keywords accordingly
7214 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7216 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7218 (TeXEnvironment): ditto
7221 2003-03-17 John Levon <levon@movementarian.org>
7223 * text.C (rowBreakPoint): remove attempt to fix displayed
7224 math insets inside a manual label
7226 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7228 * lyxtext.h: remove BufferView* as first arg from almost all class
7230 * other files: adjust.
7232 2003-03-17 John Levon <levon@movementarian.org>
7236 * text2.C: more paint cleanups
7238 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7241 * rowpainter.C: remove "smart" background painting code
7243 2003-03-16 John Levon <levon@movementarian.org>
7248 * text3.C: add helper functions for setting refresh_row/y
7250 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7252 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7253 newline inset which *can* get inserted in the pass_thru layouts.
7254 This is primarily for literate documents.
7256 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7258 * buffer.C: increment LYX_FORMAT to 223
7260 2003-03-14 André Pönitz <poenitz@gmx.net>
7262 * textclass.h: prepare for environment handling, ws changes
7263 * lyxlayout.C: read latexheader and latexfooter tags
7265 2003-03-14 John Levon <levon@movementarian.org>
7267 * text2.C: rewrite ::status() a bit
7269 2003-03-13 John Levon <levon@movementarian.org>
7271 * lyxtext.h: add some docs
7273 2003-03-13 John Levon <levon@movementarian.org>
7278 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7280 2003-03-13 John Levon <levon@movementarian.org>
7282 * text3.C: fix appendix redrawing
7284 2003-03-13 John Levon <levon@movementarian.org>
7286 * text.C (setHeightOfRow):
7288 * rowpainter.C: make appendix mark have the text
7289 "Appendix" so the user knows what it is
7292 * LColor.C: s/appendixline/appendix/ from above
7294 2003-03-13 John Levon <levon@movementarian.org>
7296 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7298 * text.C: fix a getChar(pos) bug properly
7300 2003-03-13 Angus Leeming <leeming@lyx.org>
7303 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7304 Probably only temporary. Let's see how things pan out.
7306 * BufferView.C (unlockInset):
7307 * BufferView_pimpl.C (fitCursor):
7308 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7310 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7311 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7313 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7314 new functions that convert ParagraphParameters to and from a string.
7316 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7317 BufferView::Pimpl's dispatch.
7318 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7320 2003-03-13 André Pönitz <poenitz@gmx.net>
7324 * factory.C: make it aware of InsetEnv
7326 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7328 * text2.C (setCursor): never ask for one past last
7329 (setCursor): add some debugging messages.
7331 * text.C (singleWidth): never ask for one past last
7332 (singleWidth): ditto
7334 (rightMargin): ditto
7335 (rowBreakPoint): ditto
7336 (setHeightOfRow): ditto
7337 (prepareToPrint): ditto
7339 * rowpainter.C (paintBackground): never ask for one past last
7340 (paintText): never ask for one past last
7342 * paragraph_pimpl.C (getChar): make the assert stricter, never
7343 allow the one past last pos to be taken
7345 * paragraph.C (getChar): ws changes only
7347 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7348 (numberOfSeparators): ditto
7349 (numberOfHfills): ditto
7351 2003-03-12 John Levon <levon@movementarian.org>
7357 * paragraph_funcs.C: fix per-buffer authorlists
7359 2003-03-12 John Levon <levon@movementarian.org>
7361 * text.C: fix newline in right address
7363 2003-03-12 Angus Leeming <leeming@lyx.org>
7365 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7366 duplicate those in LyXFunc::dispatch.
7370 * ToolbarDefaults.C:
7371 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7372 Add LFUN_FONTFREE_UPDATE.
7374 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7375 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7377 * bufferview_func.[Ch]: several new functions to facilliate
7378 transfer of data to and from the character dialog.
7380 2003-03-12 John Levon <levon@movementarian.org>
7385 * paragraph_funcs.C:
7386 * paragraph_pimpl.C:
7390 * text3.C: remove META_NEWLINE in favour of an inset
7393 * rowpainter.C: remove paintNewline (done by inset)
7395 2003-03-12 John Levon <levon@movementarian.org>
7397 * paragraph_pimpl.C: complain about bad getChar()s
7398 for a while at least
7400 2003-03-12 John Levon <levon@movementarian.org>
7403 * buffer.C: move paragraph read into a separate function,
7404 a little renaming to reflect that.
7407 * bufferparams.C: remove the author_ids map, not necessary now
7410 * factory.C: moved Buffer::readInset to here
7412 * paragraph_funcs.h:
7413 * paragraph_funcs.C: readParagraph free function moved from
7416 * tabular.C: name change
7418 2003-03-12 John Levon <levon@movementarian.org>
7421 * ParagraphParameters.C: move par params input to
7424 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7425 behave like a normal read from the stream wrt reading
7426 a line vs. a \\token
7428 2003-03-12 John Levon <levon@movementarian.org>
7431 * ParagraphParameters.h:
7432 * ParagraphParameters.C: move output code to a
7435 2003-03-12 John Levon <levon@movementarian.org>
7437 * BufferView.C (insertLyXFile):
7440 * tabular.C: use a parlist iterator for creating the
7443 2003-03-12 John Levon <levon@movementarian.org>
7445 * buffer.C: make current_change static local not
7448 2003-03-12 John Levon <levon@movementarian.org>
7450 * buffer.C: fix insertStringAsLines for change tracking
7452 2003-03-12 John Levon <levon@movementarian.org>
7459 * bufferparams.C: move author list into params. Rename some
7460 functions. Move the header reading into a separate token
7461 loop. Move the header token reading into BufferParams.
7463 2003-03-12 John Levon <levon@movementarian.org>
7465 * changes.C: put debug inside lyxerr.debugging() checks
7467 2003-03-11 André Pönitz <poenitz@gmx.net>
7469 * factory.C: make it aware of InsetHFill
7471 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7473 * buffer.C (latexParagraphs): move function from here...
7474 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7477 2003-03-10 Angus Leeming <leeming@lyx.org>
7479 * LyXAction.C (init): fix bug in poplating array with multiple entries
7480 with the same LFUN (spotted by JMarc).
7482 2003-03-10 John Levon <levon@movementarian.org>
7485 * text2.C: move getColumnNearX() near its
7488 2003-03-10 John Levon <levon@movementarian.org>
7490 * text.C: fix break before a minipage
7492 2003-03-10 John Levon <levon@movementarian.org>
7494 * text.C: fix the last commit
7496 2003-03-09 John Levon <levon@movementarian.org>
7500 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7501 bug 365 (don't break before insets unless needed). Don't
7502 return a value > last under any circumstances.
7504 2003-03-09 Angus Leeming <leeming@lyx.org>
7506 * BufferView_pimpl.C (trackChanges, dispatch): call
7507 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7509 2003-03-09 Angus Leeming <leeming@lyx.org>
7511 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7512 than Dialogs::showAboutlyx().
7514 2003-03-09 Angus Leeming <leeming@lyx.org>
7516 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7517 than Dialogs::showTabularCreate().
7519 2003-03-09 John Levon <levon@movementarian.org>
7523 * text2.C: 3rd arg to nextBreakPoint was always the same.
7526 2003-03-08 John Levon <levon@movementarian.org>
7533 * text2.C: Remove the "main" bit from the "main body"
7536 2003-03-08 John Levon <levon@movementarian.org>
7538 * text.C (leftMargin): The left margin of an empty
7539 manual label paragraph should not include the label width
7542 * text.C (prepareToPrint): don't attempt to measure hfills
7543 for empty manual label paragraphs - the answer should be 0
7545 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7547 * CutAndPaste.C: remove commented code and reindent.
7549 2003-03-08 John Levon <levon@movementarian.org>
7552 * lyxfunc.C: move reloadBuffer()
7555 * BufferView.C: to here
7557 * lyxvc.C: add comment
7560 * vc-backend.C: call bv->reload() to avoid
7561 getStatus() check on MENURELOAD
7563 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7565 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7566 to an old format .dep file.
7568 2003-03-07 Angus Leeming <leeming@lyx.org>
7570 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7571 when the LFUN_MOUSE_RELEASE should have been handled by
7572 inset->localDispatch.
7574 2003-03-07 Angus Leeming <leeming@lyx.org>
7576 * BufferView_pimpl.C (dispatch):
7577 * LyXAction.C (init):
7578 * ToolbarDefaults.C (init):
7580 * lyxfunc.C (getStatus):
7581 remove LFUN_INSET_GRAPHICS.
7583 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7585 2003-03-07 Angus Leeming <leeming@lyx.org>
7588 * LyXAction.C (init):
7589 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7591 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7594 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7596 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7597 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7599 2003-03-07 Angus Leeming <leeming@lyx.org>
7601 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7604 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7606 * ParagraphList.C (front): new function
7609 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7611 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7612 and top_row_offset_. removed var first_y.
7614 * text2.C (LyXText, removeRow):
7616 * BufferView_pimpl.C:
7617 use these methods instead of using first_y
7619 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7621 * text2.C (pasteSelection): adjust for checkPastePossible
7623 * CutAndPaste.C: remove Paragraph * buf and replace with
7624 ParagraphList paragraphs.
7625 (DeleteBuffer): delete
7626 (cutSelection): change the tc type to textclass_type
7627 (copySelection): change the tc type to textclass_type
7628 (copySelection): adjust for ParagraphList
7629 (pasteSelection): change the tc type to textclass_type
7630 (pasteSelection): adjust for Paragraphlist
7631 (nrOfParagraphs): simplify for ParagraphList
7632 (checkPastePossible): simplify for ParagraphList
7633 (checkPastePossible): remove unused arg
7635 * ParagraphList.C (insert): handle the case where there are no
7638 * CutAndPaste.h: make CutAndPaste a namespace.
7640 * text3.C (dispatch): adjust
7642 * text.C (breakParagraph): add a ParagraphList as arg
7644 * paragraph_funcs.C (breakParagraph): change to take a
7645 BufferParams and a ParagraphList as args.
7646 (breakParagraphConservative): ditto
7647 (mergeParagraph): ditto
7648 (TeXDeeper): add a ParagraphList arg
7649 (TeXEnvironment): ditto
7652 * buffer.C (readLyXformat2): adjust
7653 (insertStringAsLines): adjust
7654 (latexParagraphs): adjust
7656 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7657 (cutSelection): adjust
7658 (pasteSelection): adjust
7660 * BufferView_pimpl.C (insertInset): adjust
7662 2003-03-05 Angus Leeming <leeming@lyx.org>
7665 * LyXAction.C (init):
7666 * BufferView_pimpl.C (dispatch):
7667 * lyxfunc.C (getStatus):
7668 remove LFUN_CHILD_INSERT.
7670 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7672 2003-03-05 Angus Leeming <leeming@lyx.org>
7675 * LyXAction.C (init):
7676 * src/factory.C (createInset):
7677 * lyxfunc.C (getStatus):
7678 * text3.C (dispatch):
7679 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7681 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7683 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7685 * ParagraphList.C (insert): handle insert right before end()
7686 (erase): fix cases where it can be first or last paragraph.
7688 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7690 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7691 Paragraph::next and Paragraph::previous
7694 * text.C (breakParagraph): adjust
7696 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7697 BufferParams& as arg.
7698 (breakParagraph): use ParagraphList::insert
7699 (breakParagraphConservative): take a Buffer* instead of a
7700 BufferParams& as arg.
7701 (breakParagraphConservative): use ParagraphList::insert.
7703 * buffer.C (insertStringAsLines): un-const it
7704 (insertStringAsLines): adjust
7706 * ParagraphList.C (insert): new function
7708 * CutAndPaste.C (pasteSelection): adjust
7710 * text.C (backspace): adjust
7712 * tabular.C (SetMultiColumn): adjust
7714 * CutAndPaste.C (cutSelection): adjust
7715 (pasteSelection): adjust
7717 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7718 Buffer const * as arg
7720 * ParagraphList.C (erase): new function
7721 * paragraph_funcs.C (mergeParagraph): use it
7722 (mergeParagraph): make it take a Buffer* instead of a
7723 BufferParams* as arg
7725 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7727 (breakParagraphConservative): ditto
7729 * paragraph.h: remove the breakParagraph friend
7731 * paragraph.C (eraseIntern): new function
7732 (setChange): new function
7734 * paragraph_funcs.C (mergeParagraph): make it take a
7735 ParagraphList::iterator instead of a Paragraph *, adjust
7738 * paragraph.h: move an #endif so that the change tracking stuff
7739 also works in the NO_NEXT case.
7741 2003-03-04 Angus Leeming <leeming@lyx.org>
7744 * LyXAction.C: new LFUN_INSET_MODIFY.
7746 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7747 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7749 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7751 * several files: ws changes only
7753 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7754 (TeXEnvironment): ditto
7757 * buffer.C (makeLaTeXFile): adjust
7758 (latexParagraphs): make it take ParagraphList::iterator as args
7760 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7762 * buffer.C (latexParagraphs): adjust
7764 * paragraph.C (TeXOnePar): move function...
7765 (optArgInset): move function...
7766 (TeXEnvironment): move function...
7767 * paragraph_pimpl.C (TeXDeeper): move function...
7768 * paragraph_funcs.C: ...here
7770 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7772 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7774 * buffer.C (readInset): remove compability code for old Figure and
7777 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7779 * buffer.C: ws changes
7782 * BufferView_pimpl.C: ditto
7785 * bufferlist.h: ditto
7789 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7791 * converter.[Ch]: split into itself +
7794 * Makefile.am: += graph.[Ch] + format.[Ch]
7801 * lyxrc.C: added #include "format.h"
7803 2003-02-27 Angus Leeming <leeming@lyx.org>
7805 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7808 * factory.C (createInset): add "label" to the factory.
7810 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7811 string and do no more.
7813 2003-02-27 Angus Leeming <leeming@lyx.org>
7816 * LyXAction.C (init):
7817 * factory.C (createInset):
7818 * BufferView_pimpl.C (dispatch):
7819 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7821 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7823 * lyxfunc.C (dispatch):
7824 * text3.C (dispatch): pass name to params2string.
7826 2003-02-26 Angus Leeming <leeming@lyx.org>
7828 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7830 Rearrange the ~includes. Strip out the unnecessary ones.
7832 * factory.C (createInset): reformat.
7833 create new insets for the various LFUN_XYZ_APPLY lfuns.
7835 2003-02-26 John Levon <levon@movementarian.org>
7838 * lyxrow.C: add isParStart,isParEnd helpers
7840 * paragraph.h: make isInserted/DeletedText take refs
7842 * paragraph_funcs.h:
7843 * paragraph_funcs.C: remove #if 0'd code
7848 * text.C: use lyxrow helpers above.
7849 Move draw and paint routines to RowPainter.
7850 Make several methods use refs not pointers.
7851 Make backgroundColor() const.
7852 Add markChangeInDraw(), isInInset().
7853 Merge changeRegionCase into changeCase.
7854 Make workWidth() shouldn't-happen code into an Assert.
7857 * rowpainter.C: new class for painting a row.
7860 * vspace.C: make inPixels take a ref
7862 2003-02-26 Angus Leeming <leeming@lyx.org>
7864 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7867 2003-02-25 John Levon <levon@movementarian.org>
7869 * ispell.C: give the forked command a more accurate name
7871 2003-02-22 John Levon <levon@movementarian.org>
7874 * toc.C: make TocItem store an id not a Paragraph *
7877 2003-02-21 Angus Leeming <leeming@lyx.org>
7879 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7880 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7881 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7882 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7883 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7884 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7886 * BufferView_pimpl.C (dispatch):
7887 * LyXAction.C (init):
7888 * factory.C (createInset):
7889 * lyxfunc.C (getStatus, dispatch):
7890 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7892 2003-02-21 Angus Leeming <leeming@lyx.org>
7894 * BufferView_pimpl.C (MenuInsertLyXFile):
7895 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7896 * lyxfunc.C (menuNew, open, doImport):
7897 no longer pass a LyXView & to fileDlg.
7899 2003-02-21 Angus Leeming <leeming@lyx.org>
7901 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7902 * LyXAction.C: change, BIBKEY to BIBITEM.
7903 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7904 Change InsetBibKey to InsetBibitem.
7905 Change BIBKEY_CODE to BIBITEM_CODE.
7906 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7907 * factory.C: replace insetbib.h with insetbibitem.h.
7908 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7909 * paragraph.C: replace insetbib.h with insetbibitem.h.
7910 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7911 Change bibkey() to bibitem().
7912 * text.C: remove insetbib.h.
7913 * text2.C: replace insetbib.h with insetbibitem.h.
7914 change bibkey() to bibitem().
7915 * text3.C: remove insetbib.h.
7916 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7918 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7920 * lyxrc.C (output): enclose user email in quotes (in case there are
7923 2003-02-18 John Levon <levon@movementarian.org>
7925 * buffer.h: add std::
7927 2003-02-17 John Levon <levon@movementarian.org>
7933 * pspell.C: reworking. Especially in ispell, a large
7934 number of clean ups and bug fixes.
7936 * lyxfunc.C: fix revert to behave sensibly
7938 2003-02-17 André Pönitz <poenitz@gmx.net>
7941 * commandtags.h: new LFUN_INSERT_BIBKEY
7951 * paragraph_func.C: remove special bibkey handling
7953 2003-02-17 John Levon <levon@movementarian.org>
7955 * text.C (Delete): fix case where delete at the end of
7956 the very first paragraph would not merge the pars
7958 2003-02-17 John Levon <levon@movementarian.org>
7960 * lyxrow.C: fix lastPrintablePos()
7962 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7964 * bufferparams.C (writeLaTeX): add a std:here
7966 * buffer.C: and remove a using directive there
7968 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7970 * buffer.C (makeLaTeXFile): move the code that generates the
7973 * bufferparams.C (writeLaTeX): ... in this new method
7975 * LaTeXFeatures.C (getEncodingSet): make const
7976 (getLanguages): make const
7978 * MenuBackend.C (binding): returns the binding associated to this
7980 (add): sets the status of each item by calling getStatus. Adds
7982 (read): add support for OptSubMenu
7983 (expand): remove extra separator at the end of expanded menu
7985 2003-02-15 John Levon <levon@movementarian.org>
7988 * BufferView_pimpl.C:
7990 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7991 inset code that had no actual effect. Remove unneeded status
7994 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7996 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7999 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
8001 * text.C (drawLengthMarker): also draw an arrow marker for
8002 symbolic lengths (medskip...)
8004 2003-02-14 John Levon <levon@movementarian.org>
8007 * tabular.C: better method names
8009 2003-02-14 John Levon <levon@movementarian.org>
8011 * BufferView_pimpl.C:
8016 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8017 it's a more accurate name. Remove some pointless uses.
8019 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8021 * text2.C (LyXText): change order of initilizers to shut off
8024 2003-02-14 John Levon <levon@movementarian.org>
8026 * buffer.C: use ParIterator for getParFromID()
8030 * paragraph_pimpl.h:
8031 * paragraph_pimpl.C: remove unused getParFromID()
8033 2003-02-14 John Levon <levon@movementarian.org>
8035 * buffer.C: remove some very old #if 0'd parse code
8037 2003-02-13 John Levon <levon@movementarian.org>
8041 * text2.C: move hfillExpansion(), numberOfSeparators(),
8042 rowLast(), rowLastPrintable(), numberofHfills(),
8043 numberOfLabelHfills() ...
8046 * lyxrow.C: ... to member functions here.
8051 * text.C: remove LyXText::beginningOfMainBody(), and call
8052 p->beginningOfMainBody() directly. Move the check for
8053 LABEL_MANUAL into the latter.
8060 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8066 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8067 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8069 2003-02-13 John Levon <levon@movementarian.org>
8071 * CutAndPaste.C: remove debug
8073 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8075 * paragraph.C (asString): remove two unused variables
8077 * lyxtextclass.C (readTitleType):
8079 (LyXTextClass): handle new members titletype_ and titlename_
8081 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8083 2003-02-09 John Levon <levon@movementarian.org>
8086 * buffer.C: replace hand-coded list with a map for the dep clean
8088 2003-02-08 John Levon <levon@movementarian.org>
8090 * LaTeX.C: consolidate code into showRunMessage() helper
8092 2003-02-08 John Levon <levon@movementarian.org>
8097 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8098 and pass the size in explicitly
8100 * BufferView_pimpl.h:
8101 * BufferView_pimpl.C:
8103 * BufferView.C: add getCurrentChange()
8105 * BufferView_pimpl.h:
8106 * BufferView_pimpl.C: handle change lfuns
8108 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8109 for changes. Mark pasted paragraphs as new.
8111 * support/lyxtime.h:
8112 * support/lyxtime.C:
8113 * DepTable.C: abstract time_t as lyx::time_type
8116 * LColor.C: add colours for new text, deleted text, changebars
8118 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8119 package use "usenames" option.
8123 * LyXAction.C: add change lfuns
8127 * author.C: author handling
8130 * buffer.C: add a per-buffer author list, with first entry as
8131 current author. Handle new .lyx tokens for change tracking. Output
8132 author list to .lyx file. Output dvipost stuff to .tex preamble.
8133 Bump lyx format to 222.
8136 * bufferlist.C: add setCurrentAuthor() to reset current author details
8140 * bufferparams.C: add param for tracking
8142 * bufferview_funcs.C: output change info in minibuffer
8146 * changes.C: add change-tracking structure
8149 * debug.C: add CHANGES debug flag
8152 * lyxfind.C: add code for finding the next change piece
8155 * lyxrc.C: add user_name and user_email
8158 * lyxrow.C: add a metric for the top of the text line
8161 * text.C: implement accept/rejectChange()
8164 * text.C: paint changebars. Paint new/deleted text in the chosen
8165 colours. Strike through deleted text.
8169 * paragraph_pimpl.h:
8170 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8171 in the current change to the insert functions. Rework erase to
8172 mark text as deleted, adding an eraseIntern() and a range-based
8173 erase(). Implement per-paragraph change lookup and
8176 * paragraph_funcs.C: Fixup paste for change tracking.
8178 * tabular.C: mark added row/columns as new.
8180 * text.C: fix rowLast() to never return -1. Don't allow
8181 spellchecking of deleted text. Track transpose changes. Don't
8182 allow paragraph break or merge where appropriate.
8184 * text2.C: leave cursor at end of selection after a cut.
8186 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8188 * text.C (getLengthMarkerHeight):
8189 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8190 visible on screen too.
8192 2003-02-07 John Levon <levon@movementarian.org>
8194 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8196 2003-02-05 Angus Leeming <leeming@lyx.org>
8198 * lyxserver.C (read_ready): revert my patch of 11 September last year
8199 as it sends PC cpu through the roof. Presumably this means that
8200 the lyxserver will no longer run on an Alpha...
8202 2003-01-30 Angus Leeming <leeming@lyx.org>
8204 * factory.C (createInset): create an InsetCommandParam of type "index"
8205 and use it to 'do the right thing'.
8207 * text2.C (getStringToIndex): ensure that cursor position is always
8208 reset to the reset_cursor position.
8210 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8212 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8215 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8219 * lyxfunc.C: Output messages with identical spelling, punctuation,
8222 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8224 * MenuBackend.C (expandFormats): List only viewable export formats
8227 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8230 * lyxfunc.C (getStatus): Make sure that formats other than
8231 "fax" can also be disabled
8233 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8235 * text3.C (dispatch): put the lfuns that insert insets in 3
8236 groups, and call doInsertInset with appropriate arguments.
8237 (doInsertInset): new function, that creates an inset and inserts
8238 it according to some boolean parameters.
8240 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8242 * buffer.C (readFile): remember to pass on 'par' when calling
8243 readFile recursively.
8245 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8247 * MenuBackend.C (expandFormats): add "..." to import formats.
8249 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8251 * paragraph.C (asString): Remove XForms RTL hacks.
8253 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8254 * buffer.C: fix typo
8256 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8258 * Makefile.am (LIBS): delete var
8259 (lyx_LDADD): add @LIBS@ here instead.
8261 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8263 * Clarify the meaning of "wheel mouse jump"
8265 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8267 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8270 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8272 * importer.C (Loaders): do not preallocate 3 elements in the
8273 vector, since one ends up with 6 elements otherwise
8275 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8277 * DepTable.C (write): write the file name as last element of the
8278 .dep file (because it may contain spaces)
8279 (read): read info in the right order
8281 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8283 * paragraph_pimpl.C (simpleTeXBlanks):
8284 (simpleTeXSpecialChars):
8285 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8287 * tabular.C (latex): add some missing case statements. Reindent.
8289 * MenuBackend.C (expandToc): remove unused variable.
8291 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8300 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8303 2003-01-05 John Levon <levon@movementarian.org>
8306 * BufferView.C: add getEncoding()
8309 * kbsequence.C: do not store last keypress
8312 * lyxfunc.C: store last keypress here instead. Pass encoding
8315 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8317 * lyx_main.C (init): remove annoying error message when following
8318 symbolic links (bug #780)
8320 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8322 * text.C (insertChar):
8323 * lyxrc.C (getDescription): remove extra spaces
8325 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8327 * lyxrc.C (getDescription): remove extra spaces
8329 2002-12-20 John Levon <levon@movementarian.org>
8331 * text3.C: hack fix for page up/down across tall rows
8333 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8335 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8338 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8340 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8341 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8342 thesaurus is not compiled in
8344 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8346 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8348 2002-12-16 Angus Leeming <leeming@lyx.org>
8351 * lyx_main.C (init): remove override_x_deadkeys stuff.
8353 2002-12-12 John Levon <levon@movementarian.org>
8355 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8356 insert. Only remove shift modifier under strict
8359 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8361 * MenuBackend.C (expandToc): fix crash.
8363 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8365 * MenuBackend.C (expandToc): gettext on float names.
8367 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8369 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8370 implement bool empty() [bug 490]
8372 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8374 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8376 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8378 * several files: ws changes
8380 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8382 * text2.C (setCounter): clean up a bit, use boost.format.
8383 (updateCounters): initialize par upon declaration.
8385 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8386 if the layout exists. We do not just store the layout any more.
8387 (SwitchLayoutsBetweenClasses): use boost.format
8389 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8391 * converter.C (convert): if from and to files are the same, use a
8392 temporary files as intermediary
8394 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8397 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8399 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8401 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8403 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8405 * tabular.C (asciiPrintCell): use string(size, char) instead of
8408 * sgml.C (openTag): fix order of arguments to string constructor
8411 * lyxfunc.C (dispatch): use boost.format
8413 * lots of files: change "c" -> 'c'
8415 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8417 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8419 2002-11-25 Angus Leeming <leeming@lyx.org>
8421 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8423 * lyx_main.C (init): compile fix.
8425 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8427 * lyx_cb.C (start): boost.formatify
8428 do not include <iostream>
8430 * lengthcommon.C: ws only
8432 * boost-inst.C,BoostFormat.h: add more explict instantations
8434 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8436 * lots of files: handle USE_BOOST_FORMAT
8438 2002-11-21 John Levon <levon@movementarian.org>
8440 * pspell.C: fix compile
8442 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8444 * lyxfunc.C (dispatch): use boost::format
8448 * lyxfont.C (stateText): use boost::format
8450 * lyx_main.C (LyX): use boost::format
8452 (queryUserLyXDir): ditto
8455 (typedef boost::function): use the recommened syntax.
8457 * importer.C (Import): use boost::format
8459 * debug.C (showLevel): use boost::format
8461 * converter.C (view): use boost::format
8466 * bufferview_funcs.C (currentState): use boost::format
8468 * bufferlist.C (emergencyWrite): use boost::format
8470 * buffer.C (readLyXformat2): use boost::format
8471 (parseSingleLyXformat2Token): ditto
8473 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8475 * LaTeX.C (run): use boost::format
8477 * Chktex.C (scanLogFile): use boost::format
8479 * BufferView_pimpl.C (savePosition): use boost::format
8480 (restorePosition): ditto
8481 (MenuInsertLyXFile): ditto
8483 * BoostFormat.h: help file for explicit instation.
8485 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8487 * tabular.C (latex): Support for block alignment in fixed width
8490 2002-11-17 John Levon <levon@movementarian.org>
8492 * BufferView_pimpl.C:
8494 * lyxfunc.C: split filedialog into open/save
8496 2002-11-08 Juergen Vigna <jug@sad.it>
8498 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8499 by my last patch (hopefully).
8501 2002-11-08 John Levon <levon@movementarian.org>
8510 * toc.C: ParConstIterator, and use it (from Lars)
8512 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8514 * lyxtextclass.[Ch]: revise and add doxygen comments
8516 2002-11-07 John Levon <levon@movementarian.org>
8518 * text.C: fix progress value for spellchecker
8520 * toc.C: fix navigate menu for insetwrap inside minipage
8522 * paragraph_funcs.C: added FIXME for suspect code
8524 2002-11-07 John Levon <levon@movementarian.org>
8526 * BufferView_pimpl.C: fix redrawing of insets
8529 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8531 * text2.C (updateCounters): fix bug 668
8533 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8535 * text3.C (dispatch): Do not make the buffer dirty when moving the
8538 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8540 * vc-backend.C: STRCONV
8543 * text2.C (setCounter): STRCONV
8545 * paragraph.C (asString): STRCONV
8547 * lyxlength.C (asString): STRCONV
8548 (asLatexString): ditto
8550 * lyxgluelength.C (asString): STRCONV
8551 (asLatexString): ditto
8553 * lyxfunc.C (dispatch): STRCONV
8556 * lyxfont.C (stateText): STRCONV
8558 * importer.C (Import): STRCONV
8560 * counters.C (labelItem): STRCONV
8561 (numberLabel): ditto
8562 (numberLabel): remove unused ostringstream o
8567 * bufferview_funcs.C (currentState): STRCONV
8569 * buffer.C (readFile): STRCONV
8570 (asciiParagraph): ditto
8571 (makeLaTeXFile): ditto
8573 * Spacing.C (writeEnvirBegin): STRCONV
8575 * LaTeXFeatures.C (getLanguages): STRCONV
8576 (getPackages): ditto
8578 (getBabelOptions): ditto
8579 (getTClassPreamble): ditto
8580 (getLyXSGMLEntities): ditto
8581 (getIncludedFiles): ditto
8585 (scanAuxFile): ditto
8588 * LString.h: add the STRCONV macros
8590 * BufferView_pimpl.C (savePosition): STRCONV
8591 (restorePosition): ditto
8592 (MenuInsertLyXFile): ditto
8594 * vc-backend.C (scanMaster): change from submatch[...] to
8597 * funcrequest.C: include config.h
8599 * factory.C: include config.h
8601 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8603 * box.C: include config.h
8605 * LaTeX.C (scanAuxFile): change from submatch[...] to
8609 2002-10-25 Angus Leeming <leeming@lyx.org>
8611 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8613 * ispell.[Ch] (setError): new method.
8614 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8615 Use setError() insetead of goto END.
8617 * lyx_cb.C (AutoSave): move out child process into new class
8620 2002-10-30 John Levon <levon@movementarian.org>
8622 * text3.C: make start appendix undoable
8624 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8626 * lyxlength.C (inPixels): Fix returned value.
8628 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8631 2002-10-24 Angus Leeming <leeming@lyx.org>
8633 * lyxgluelength.h: no need to forward declare BufferParams
8634 or BufferView, so don't.
8636 2002-10-21 John Levon <levon@movementarian.org>
8638 * BufferView.C: menuUndo ->undo, redo
8640 * BufferView.h: document, remove dead, make some methods private
8642 * paragraph_funcs.h:
8643 * paragraph_funcs.C:
8644 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8649 * sgml.C: move sgml open/close tag into sgml.C
8651 * bufferview_funcs.h: unused prototype
8654 * lyxfunc.C: remove unused
8657 * text.C: remove unused
8659 2002-10-21 John Levon <levon@movementarian.org>
8663 * BufferView_pimpl.h:
8664 * BufferView_pimpl.C: fix mouse wheel handling based on
8665 patch from Darren Freeman
8667 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8669 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8671 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8673 * lyxlength.C (inPixels): Fix hanfling of negative length.
8674 Fix LyXLength::MU case.
8676 2002-10-16 John Levon <levon@movementarian.org>
8678 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8680 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8682 * converter.C (view): add support for $$i (file name) and $$p
8683 (file path) for the viewer command. If $$i is not specified, then
8684 it is appended to the command (for compatibility with old syntax)
8686 2002-10-14 Juergen Vigna <jug@sad.it>
8688 * undo_funcs.C (textHandleUndo): alter the order in which the
8689 new undopar is added to the LyXText, as we have to set first
8690 the right prev/next and then add it as otherwise the rebuild of
8691 LyXText is not correct. Also reset the cursor to the right paragraph,
8692 with this IMO we could remove the hack in "redoParagraphs()".
8694 2002-10-09 Angus Leeming <leeming@lyx.org>
8696 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8697 to turn off an optimisation if a new inset is to be inserted.
8699 2002-10-11 André Pönitz <poenitz@gmx.net>
8701 * lyxtext.h: make some functions public to allow access
8702 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8704 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8706 * text3.C (dispatch): when changing layout, avoid an infinite loop
8709 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8711 * lyxrc.C (read): treat a viewer or converter command of "none" as
8714 * MenuBackend.C (expandFormats): for an update, also allow the
8715 formats that are not viewable
8717 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8718 script if it is newer than the lyxrc.defaults in user directory
8720 2002-10-07 André Pönitz <poenitz@gmx.net>
8722 * text.C: Vitaly Lipatov's small i18n fix
8724 2002-09-25 Angus Leeming <leeming@lyx.org>
8726 * ispell.h: doxygen fix.
8728 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8730 * buffer.h (readFile): Add a new argument to the method, to allow
8731 reading of old-format templates.
8733 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8735 * toc.C (getTocList): Get TOC from InsetWrap.
8737 2002-09-16 John Levon <levon@movementarian.org>
8739 * lyxfunc.C: check tabular for cut/copy too
8741 2002-09-12 John Levon <levon@movementarian.org>
8746 * factory.C: add header
8748 * paragraph_funcs.h:
8749 * paragraph_funcs.C: cleanup
8751 2002-09-11 John Levon <levon@movementarian.org>
8753 * PrinterParams.h: odd/even default to true
8755 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8757 * PrinterParams.h: update printer parameters for new xforms dialog
8759 2002-09-11 Angus Leeming <leeming@lyx.org>
8761 * lyxserver.C (read_ready): re-write to make it more transparent
8762 and to make it work in coherent fashion under Tru64 Unix.
8764 2002-09-11 André Pönitz <poenitz@gmx.net>
8768 * text3.C: implement LFUN_WORDSEL
8770 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8772 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8773 make floatlist_ a boost::shared_ptr<FloatList>
8775 * lyxtextclass.C: include FloatList.h
8776 (LyXTextClass): initialize floatlist_
8777 (TextClassTags): add TC_NOFLOAT
8778 (Read): match "nofloat" to TC_NOFLOAT and use it.
8779 (readFloat): modify call to floatlist_
8783 * FloatList.[Ch] (FloatList): remove commented out float
8785 (erase): new function
8787 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8789 * MenuBackend.C (expandToc): fix crash when there is no document
8792 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8794 * many files: Add insetwrap.
8796 2002-09-09 John Levon <levon@movementarian.org>
8798 * text2.C: remove confusing and awkward depth wraparound
8800 2002-09-09 John Levon <levon@movementarian.org>
8802 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8805 * buffer.C: remove getIncludeonlyList()
8808 * lyxfunc.C: remove headers
8810 2002-09-09 Juergen Vigna <jug@sad.it>
8812 * text.C (getColumnNearX): fix form Michael this is most
8813 probably a cut&paste bug.
8815 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8817 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8819 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8820 references, ws changes.
8822 * text2.C (init): update counters after init
8823 (insertParagraph): no need to set counter on idividual paragraphs.
8824 (setCounter): access the counters object in the textclass object
8825 on in the buffer object.
8826 (updateCounters): ditto
8828 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8829 shared_ptr<Counters> to avoid loading counters.h in all
8831 (LyXTextClass): initialize ctrs_
8832 (TextClassTags): add TC_COUNTER, and ...
8833 (Read): use it here.
8834 (CounterTags): new tags
8835 (readCounter): new function
8836 (counters): new funtion
8837 (defaultLayoutName): return a const reference
8839 * counters.C (Counters): remove contructor
8840 (newCounter): remove a couple of unneeded statements.
8841 (newCounter): simplify a bit.
8842 (numberLabel): some small formatting changes.
8844 * buffer.[Ch]: remove all traces of counters, move the Counters
8845 object to the LyXTextClass.
8847 2002-09-06 Alain Castera <castera@in2p3.fr>
8849 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8850 package to set the horizontal alignment on fixed width columns.
8853 * lyx_sty.h: added tabularnewline macro def.
8855 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8857 2002-09-06 John Levon <levon@movementarian.org>
8859 * LyXAction.C: tooltips for sub/superscript
8861 * MenuBackend.C: a bit more verbose
8863 * lyxfunc.C: tiny clean
8865 * undo_funcs.C: document undo_frozen
8867 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8869 * counters.C (Counters): add missing algorithm counter.
8871 * text2.C (setCounter): lookup the counter with layouts latexname
8872 instead of by section number.
8873 (setCounter): use a hackish way to lookup the correct enum
8875 a float name->type change
8876 reset enum couners with counter name directly instead of depth value.
8878 * counters.C (Counters): remove the push_backs, change to use the
8879 float type not the float name.
8880 (labelItem): remove unused string, float name->type change
8882 * counters.h: don't include vector, loose the enums and sects vectors
8884 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8886 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8887 (Read): add float->TC_FLOAT to textclassTags
8888 (Read): and handle it in the switch
8889 (readFloat): new function
8891 * FloatList.C (FloatList): comment out the hardcoded float
8894 * lyxlayout.h: ws change.
8896 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8898 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8900 2002-09-03 Angus Leeming <leeming@lyx.org>
8902 * BufferView_pimpl.h: qualified name is not allowed in member
8903 declaration: WorkArea & Pimpl::workarea() const;
8905 * factory.C: added using std::endl directive.
8907 * text3.C: added using std::find and std::vector directives.
8909 2002-08-29 André Pönitz <poenitz@gmx.net>
8912 * text2.C: remove unused member number_of_rows
8915 * BufferView2.C: remove file, move contents to...
8916 * BufferView.C: ... here
8918 * BufferView_pimpl.C:
8919 * factory.C: move more inset creation to factory
8921 * vspace.C: avoid direct usage of LyXText, ws changes
8924 don't provide direct access to WorkArea, use two simple
8925 acessors haveSelction() and workHeight() instead
8928 2002-08-29 John Levon <levon@movementarian.org>
8930 * BufferView_pimpl.C (dispatch): do not continue when
8933 2002-08-28 André Pönitz <poenitz@gmx.net>
8935 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8938 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8940 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8942 * buffer.C: increment LYX_FORMAT to 221
8944 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8945 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8947 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8949 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8951 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8953 * factory.C (createInset): use LyXTextClass::floats
8955 * MenuBackend.C (expandFloatListInsert):
8956 (expandFloatInsert):
8959 * text2.C (setCounter):
8961 * LaTeXFeatures.C (useFloat):
8962 (getFloatDefinitions):
8964 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8966 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8967 floatlist_, with accessor floats().
8969 * FloatList.h: remove global FloatList
8971 2002-08-26 André Pönitz <poenitz@gmx.net>
8973 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8977 * BufferView_pimpl.C:
8978 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8980 2002-08-25 John Levon <levon@movementarian.org>
8982 * LyXAction.C: fix margin note description
8984 2002-08-24 John Levon <levon@movementarian.org>
8988 * bufferview_funcs.C:
8990 * undo_funcs.C: cleanups
8992 * lyxfunc.C: disable CUT/COPY when no selection
8994 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8996 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8997 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8999 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
9000 Add backward compatibility to "mono", "gray" and "no".
9002 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
9004 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
9005 (and file_format >= 200).
9007 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9009 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
9011 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9013 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9015 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9017 * BufferView_pimpl.C:
9024 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9025 inset and code to make it work with the paragraph code. The inset
9026 can be anywhere in the paragraph, but will only do the expected
9027 thing in LaTeX if the layout file contains the parameter line
9029 (or more generally, a nonzero value) for that layout.
9031 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9033 * paragraph.h: remove the declaration of undefined counters class
9036 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9038 * text2.C (setCounter): fixed enumeration mis-count as reported by
9039 Dr. Richard Hawkins.
9041 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9043 * paragraph_funcs.h: remove some unneeded includes
9045 * text.C (backspace): pasteParagraph now in global scipe
9047 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9048 (pasteSelection): ditto
9050 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9051 * paragraph_funcs.C (pasteParagraph): ... here
9053 2002-08-20 André Pönitz <poenitz@gmx.net>
9055 * commandtags.h: new LFUNs for swapping/copying table row/colums
9058 * lyxfunc.C: support for new lfuns
9060 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9063 * buffer.[Ch]: remove NO_COMPABILITY stuff
9065 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9067 * boost.C (throw_exception): new file, with helper function for
9068 boost compiled without exceptions.
9073 * ParameterStruct.h:
9074 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9076 * bufferlist.C (emergencyWriteAll): use boost bind
9078 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9080 * text.C: include paragraph_funcs.h
9081 (breakParagraph): breakParagraph is now in global scope
9083 * paragraph_funcs.[Ch]: new files
9085 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9088 * buffer.C: include paragraph_funcs.h
9089 (insertStringAsLines): breakParagraph is now in global scope
9091 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9094 * CutAndPaste.C: include paragraph_funcs.h
9095 (cutSelection): breakParagraphConservative is now in global scope
9096 (pasteSelection): ditto
9098 * buffer.h: declare oprator== and operator!= for
9099 Buffer::inset_iterator
9101 * bufferlist.C (emergencyWrite): don't use fmt(...)
9103 * text3.C: add using std::endl
9105 * BufferView.C (moveCursorUpdate): remove default arg
9107 2002-08-20 André Pönitz <poenitz@gmx.net>
9109 * buffer.[Ch]: move inline functions to .C
9112 * BufferView_pimpl.C:
9114 * buffer.[Ch]: use improved inset_iterator
9117 * paragraph.[Ch]: write one paragraph at a time
9119 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9121 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9122 style if style is not specified.
9124 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9126 * text2.C (setCounter): when searching for right label for a
9127 caption, make sure to recurse to parent insets (so that a caption
9128 in a minipage in a figure float works) (bug #568)
9130 2002-08-20 André Pönitz <poenitz@gmx.net>
9132 * text3.C: new file for LyXText::dispatch() and helpers
9134 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9136 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9138 2002-08-19 André Pönitz <poenitz@gmx.net>
9141 * text.C: new LyXText::dispatch()
9143 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9145 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9147 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9149 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9152 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9154 * Makefile.am: use $(variables) instead of @substitutions@
9156 2002-08-15 André Pönitz <poenitz@gmx.net>
9159 * BufferView_pimpl.C: streamlining mathed <-> outer world
9163 * LyXAction.C: remove unused LFUN_MATH
9165 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9167 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9169 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9171 * paragraph.C (Paragraph): reformat a bit
9172 (cutIntoMinibuffer): use builtin InsetList function instad of
9176 * buffer.C: include boost/bind.hpp, add using std::for_each
9177 (writeFileAscii): use ParagraphList iterators
9178 (validate): use for_each for validate traversal of paragraphs
9179 (getBibkeyList): use ParagraphList iterators
9180 (resizeInsets): use for_each to resizeInsetsLyXText for all
9182 (getParFromID): use ParagraphList iterators
9184 * BufferView2.C (lockInset): use paragraph list and iterators
9186 2002-08-14 John Levon <levon@movementarian.org>
9188 * lyxserver.C: remove spurious xforms include
9190 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9192 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9194 2002-08-13 André Pönitz <poenitz@gmx.net>
9197 * lyxfunc.C: further cleaning
9199 2002-08-13 André Pönitz <poenitz@gmx.net>
9201 * funcrequest.h: new constructor
9203 * funcrequest.C: move stuff here from .h
9206 * BufferView_pimpl.C:
9209 * lyxfunc.C: subsequent changes
9211 * lyxfunc.h: new view() member function
9213 * lyxfunc.C: subsequent changes
9215 2002-08-13 Angus Leeming <leeming@lyx.org>
9218 * BufferView_pimpl.C:
9226 changes due to the changed LyXView interface that now returns references
9227 to member variables not pointers.
9229 2002-08-13 Angus Leeming <leeming@lyx.org>
9231 * WordLangTuple (word, lang_code): return references to strings,
9236 * lyxtext.h: forward-declare WordLangTuple.
9241 * text.C: #include "WordLangTuple.h".
9244 * text.C: (selectNextWordToSpellcheck): constify return type.
9246 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9252 * paragraph_pimpl.h:
9255 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9257 Made updateCounter always count from start of buffer, and removed
9258 second argument (par).
9259 Reverted floats number display to '#'. Perhaps I'll try again when the
9260 code base is sanitized a bit.
9262 2002-08-12 Angus Leeming <leeming@lyx.org>
9264 * buffer.[Ch] (getLabelList): constify.
9266 2002-08-07 André Pönitz <poenitz@gmx.net>
9268 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9270 * funcrequest.h: extension to keep mouse (x,y) position
9272 2002-08-12 Juergen Vigna <jug@sad.it>
9274 * BufferView2.C (insertErrors): forbid undo when inserting error
9277 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9279 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9281 * ParagraphList.[Ch]: new files
9283 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9285 * BufferView2.C (lockInset): ParagraphList changes
9288 * bufferlist.C: ditto
9292 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9294 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9295 unused class variable counter_,
9297 * paragraph.[Ch] (getFirstCounter): delete unused function
9299 * counters.C: include LAssert.h
9300 (reset): add a new function with no arg, change other version to
9301 not have def. arg and to not allow empty arg.
9303 * text2.C (setCounter): remove empty arg from call to Counters::reset
9305 2002-08-11 John Levon <levon@movementarian.org>
9307 * Makefile.am: add WordLangTuple.h
9309 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9311 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9312 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9314 * insets/insettext.C: InsetList changes
9316 * graphics/GraphicsSupport.C (operator()): InsetList changes
9318 * toc.C (getTocList): InsetList changes
9320 * paragraph_pimpl.[Ch]: InsetList changes
9322 * paragraph.[Ch]: InsetList changes
9324 * buffer.C (inset_iterator): InsetList changes
9325 (setParagraph): ditto
9326 * buffer.h (inset_iterator): ditto
9327 * iterators.C (operator++): ditto
9328 * iterators.h: ditto
9330 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9332 * InsetList.[Ch]: new files, most InsetList handling moved out of
9335 * BufferView2.C (removeAutoInsets): InsetList changes
9337 (ChangeInsets): ditto
9339 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9341 * paragraph_pimpl.h (empty): new function
9343 * paragraph.[Ch] (empty): new function
9345 * other files: use the new Paragraph::empty function
9347 2002-08-09 John Levon <levon@movementarian.org>
9349 * lyxtext.h: remove unused refresh_height
9351 2002-08-09 John Levon <levon@movementarian.org>
9358 * paragraph.C: move sgml char escaping out of paragraph
9361 * paragraph.C: remove id setter
9365 * paragraph_pimpl.C: remove dead tex_code_break_column
9367 * bufferview_funcs.C: small cleanup
9369 * lyxfunc.C: remove dead proto
9371 * lyxtext.h: make some stuff private. Remove some dead stuff.
9373 * lyxgluelength.C: make as[LyX]String() readable
9375 2002-08-08 John Levon <levon@movementarian.org>
9380 * ToolbarDefaults.C:
9383 * toc.C: lyxaction cleanup
9385 2002-08-08 John Levon <levon@movementarian.org>
9387 * BufferView2.C: small cleanup
9390 * lyxfind.C: move unnecessary header into the .C
9392 2002-08-08 John Levon <levon@movementarian.org>
9394 * funcrequest.h: just tedious nonsense
9397 * lyx_main.C: cleanups
9400 * vspace.C: remove dead header lyx_main.h
9402 2002-08-07 Angus Leeming <leeming@lyx.org>
9405 * paragraph_pimpl.h:
9406 Forward declare class Counters in paragraph.h by moving the ctrs member
9407 variable into Paragraph::Pimpl.
9408 (counters): new method, returning a reference to pimpl_->ctrs.
9410 * text2.C: ensuing changes.
9412 2002-08-07 John Levon <levon@movementarian.org>
9414 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9416 * BufferView_pimpl.C: announce X selection on double/triple
9419 * lyx_main.C: use correct bool in batch dispatch
9421 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9423 2002-08-07 André Pönitz <poenitz@gmx.net>
9425 * funcrequest.h: new class to wrap a kb_action and its argument
9428 * BufferView_pimpl[Ch]:
9432 * lyxrc.C: subsequent changes
9435 2002-08-07 John Levon <levon@movementarian.org>
9437 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9438 document options change.
9440 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9445 * makefile.am: move counters functionality over from
9446 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9448 2002-08-06 John Levon <levon@movementarian.org>
9450 * WordLangTuple.h: new file for word + language code tuple
9461 * BufferView2.C: use WordLangTuple
9464 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9466 2002-08-06 John Levon <levon@movementarian.org>
9468 * lyx_main.C: fix cmdline batch handling
9470 2002-08-06 André Pönitz <poenitz@gmx.net>
9472 * lyxrc.C: set default for show_banner to true
9474 2002-08-06 John Levon <levon@movementarian.org>
9476 * pspell.C: fix a crash, and allow new aspell to work
9478 2002-08-06 John Levon <levon@movementarian.org>
9481 * kbmap.C: small cleanup
9484 * vspace.C: add const
9486 2002-08-05 John Levon <levon@movementarian.org>
9488 * LyXAction.C: back to tabular-insert
9490 2002-08-04 John Levon <levon@movementarian.org>
9493 * BufferView.C: cosmetic change
9495 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9505 * BufferView2.C: purge all "Lyx" not "LyX" strings
9508 * lyxcursor.C: attempt to add some documentation
9513 * ToolbarDefaults.C:
9514 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9515 merge with LFUN_TABULAR_INSERT
9522 * pspell.C: split up i/pspell implementations into separate
9523 files, many cleanups
9525 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9527 * text2.C: some cleanup
9529 * lyxfunc.C: don't check for isp_command == "none" any more, it
9530 didn't make any sense
9532 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9537 * makefile.am: move counters functionality over
9538 from text2.C/paragraph.[Ch] to counters.[Ch], and
9540 2002-08-02 John Levon <levon@movementarian.org>
9542 * buffer.C: s/lyxconvert/lyx2lyx/
9544 2002-08-02 Angus Leeming <leeming@lyx.org>
9546 * lyxlex.C: revert John's change as it breaks reading of the user
9549 2002-08-02 Angus Leeming <leeming@lyx.org>
9551 * importer.C (Import):
9552 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9553 changes due to LyXView::view() now returning a boost::shared_ptr.
9555 2002-08-02 John Levon <levon@movementarian.org>
9557 * lyxlex.C: small cleanup
9559 2002-08-02 John Levon <levon@movementarian.org>
9561 * text2.C (status): small cleanup, no logic change
9563 2002-08-01 John Levon <levon@movementarian.org>
9566 * buffer.C (writeFile): don't output alerts, caller
9570 * lyx_cb.C: from above
9572 * lyxfunc.C: allow to open non-existent files
9574 2002-07-31 John Levon <levon@movementarian.org>
9576 * lyxserver.C: don't let incidental errors get
9579 2002-07-30 John Levon <levon@movementarian.org>
9581 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9583 2002-07-30 John Levon <levon@movementarian.org>
9586 * lyxserver.C: remove I/O callback too
9588 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9590 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9593 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9595 * many files: strip,frontStrip -> trim,ltrim,rtrim
9597 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9599 * PrinterParams.h: remove extern containsOnly, and include
9600 support/lstrings.h instead.
9602 * LaTeX.C (scanAuxFile): modify because of strip changes
9604 * buffer.C (makeLaTeXFile): ditto
9605 * bufferparams.C (writeFile): ditt
9606 * lyxfont.C (stateText): ditto
9607 * lyxserver.C (read_ready): ditto
9608 * vc-backend.C (scanMaster): ditto
9610 * BufferView_pimpl.h: ws changes
9612 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9614 2002-07-26 André Pönitz <poenitz@gmx.net>
9616 * kb_sequence.C: remove unnedred usings
9618 2002-07-26 Juergen Vigna <jug@sad.it>
9620 * lyxfind.C (LyXReplace): we have to check better if the returned
9621 text is not of theLockingInset()->getLockingInset().
9623 2002-07-25 Juergen Vigna <jug@sad.it>
9625 * lyxfind.C (LyXReplace): don't replace if we don't get the
9628 * undo_funcs.C (createUndo): remove debugging code.
9630 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9632 * buffer.C (parseSingleLyXformat2Token): Use default placement
9633 when reading old floats.
9635 * FloatList.C (FloatList): Change the default placement of figure
9636 and tables to "tbp".
9638 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9640 * MenuBackend.C: using std::max
9642 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9644 * MenuBackend.C (expandToc):
9645 (expandToc2): code moved from xforms menu frontend. It is now
9646 generic and TOCs are transparent to menu frontends.
9648 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9650 * toc.C (getTocList): protect against buf=0
9652 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9653 Menu as first parameter. Now, this calls itself recursively to
9654 expand a whole tree (this will be useful for TOC handling)
9655 (expandFloatInsert): remove 'wide' version of floats
9657 * MenuBackend.h (submenuname): returns the name of the submenu.
9658 (submenu): returns the submenu itself, provided it has been
9659 created by MenuBackend::expand
9661 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9663 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9664 insets which have noFontChange == true. (bug #172)
9666 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9668 * BufferView_pimpl.C: add connection objects and use them...
9671 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9673 * MenuBackend.C (expandLastfiles):
9676 (expandFloatListInsert):
9677 (expandFloatInsert):
9678 (expand): split expand in parts
9680 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9682 * lyx_gui.C: use lyx_gui::exit()
9684 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9686 * LyXAction.C: show the failing pseudo action
9688 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9690 * buffer.C (readFile): Run the lyxconvert script in order to read
9693 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9697 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9699 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9703 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9705 2002-07-22 Herbert Voss <voss@lyx.org>
9708 * lyxlength.[Ch]: add support for the vertical lengths
9710 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9712 * toc.[Ch]: std:: fixes
9714 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9716 * lyxrc.C: do not include lyx_main.h
9718 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9724 * BufferView2.C: include "lyxlex.h"
9727 * bufferparams.h: do not #include "lyxlex.h"
9729 * lyxtextclasslist.C (Add): remove method
9730 (classlist): renamed to classlist_
9732 * paragraph_pimpl.C:
9736 * bufferview_funcs.C:
9741 * toc.C (getTocList): use BufferParams::getLyXTextClass
9743 * toc.C (getTocList): use InsetFloat::addToToc
9745 * toc.[Ch]: new files, containing helper functions to handle table
9748 * lyxfunc.C (dispatch): no need to remove spaces around command
9750 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9751 first command of the sequence; it is not very clever, but I do not
9752 have a better idea, actually
9754 * LyXAction.C (LookupFunc): make sure to remove space at the
9755 beginning and end of the command
9757 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9759 * MenuBackend.C (getMenubar): new method: return the menubar of
9761 (read): treat differently reading of menu and menubar (in
9762 particular, the menubar has no name now)
9763 (Menu::menubar): remove
9765 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9768 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9770 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9771 a bibitem inset in a RTL paragraph.
9773 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9775 * paragraph_pimpl.C: constify
9777 * BufferView_pimpl.C:
9779 * lyxfunc.C: fix dispatch in a nicer way
9781 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9783 * lyxfunc.C (dispatch):
9784 * BufferView_pimpl.C:
9785 * BufferView_pimpl.h:
9787 * BufferView.h: rename Dispatch() to dispatch()
9789 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9791 * lyxlayout.C (Read): honor DependsOn tag
9793 * lyxlayout.[Ch] (depends_on): new method
9795 * version.C.in: update lyx_docversion
9797 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9799 * paragraph.C (validate): remove from here...
9800 * paragraph_pimpl.C (validate): ... and move here
9801 (isTextAt): make it const
9803 * buffer.C (getLists): ws cleanup
9805 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9807 * language.C (read): Use iso8859-1 encoding in latex_lang
9808 (this prevents LyX from crashing when using iso10646-1 encoding).
9810 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9812 * text2.C (toggleInset): if cursor is inside an inset, close the
9813 inset and leave cursor _after_ it
9815 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9817 * lyxfunc.C: move minibuffer completion handling out of here
9819 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9821 * BufferView_pimpl.C:
9822 * LaTeX.C: fix dispatch calls
9824 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9826 * text.C (drawChars): Fix Arabic text rendering.
9828 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9832 * lyxfunc.C: remove message-push/pop
9836 * lyxfunc.C: rationalise some code by removing verboseDispatch
9837 in favour of a bool argument to dispatch()
9839 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9841 * lyx_main.C (init): make sure to read symlinks as absolute paths
9843 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9846 * lyxfunc.C: no need for commandshortcut to be a member
9848 2002-07-15 André Pönitz <poenitz@gmx.net>
9850 * converter.C: add support for $$s (scripts from lib/scripts dir)
9851 * lyx_main.C: white space
9853 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9857 * lyxrc.C: remove second exit confirmation
9859 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9864 * BufferView_pimpl.h:
9865 * BufferView_pimpl.C:
9866 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9868 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9870 * MenuBackend.C (expand): add numeric shortcuts to document menu
9872 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9874 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9876 * lyxfont.C (setLyXFamily):
9883 * buffer.C (asciiParagraph): use ascii_lowercase
9885 2002-07-15 Mike Fabian <mfabian@suse.de>
9887 * lyxlex_pimpl.C (search_kw):
9888 * lyxlex.C (getLongString):
9889 * converter.h (operator<):
9890 * converter.C (operator<):
9891 * buffer.C (parseSingleLyXformat2Token):
9893 * ToolbarDefaults.C (read):
9894 * MenuBackend.C (checkShortcuts):
9896 * LColor.C (getFromGUIName):
9897 (getFromLyXName): use the compare_ascii_no_case instead of
9898 compare_no_case, because in turkish, 'i' is not the lowercase
9899 version of 'I', and thus turkish locale breaks parsing of tags.
9901 2002-07-16 Angus Leeming <leeming@lyx.org>
9903 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9904 now takes a Buffer const & argument.
9906 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9908 * BufferView.C (resize): check there's a buffer to resize
9910 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9912 * lyxfunc.C: remove dead code
9915 * lyxserver.C: use lyx_guii::set_read_callback
9917 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9919 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9920 an inset in a RTL paragraph.
9922 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9924 * lyxfunc.C: repaint after a font size update
9926 2002-07-15 André Pönitz <poenitz@gmx.net>
9928 * lyxlength.C: inBP should be able to return negative values
9930 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9932 * lyxfunc.C: use lyx_gui::update_fonts()
9934 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9936 * lyxfunc.C: use lyx_gui::update_color()
9938 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9944 * lyxrc.C: remove file->new asks for name option, and let
9945 buffer-new take an argument
9947 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9949 * BufferView_pimpl.C: remove unneeded extra repaint()
9951 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9953 * LyXAction.C: allow command-sequence with NoBuffer
9955 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9957 2002-07-10 Angus Leeming <leeming@lyx.org>
9959 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9961 2002-07-09 Angus Leeming <leeming@lyx.org>
9963 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9965 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9967 * lengthcommon.h: whitespace
9969 * lyxfunc.C: update scrollbar after goto paragraph
9971 * lyxtext.h: factor out page break drawing, and fix it so
9972 page break/added space paints as selected nicely
9974 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9976 * BufferView_pimpl.C: add FIXMEs, clean up a little
9978 2002-07-09 André Pönitz <poenitz@gmx.net>
9980 * lyxfont.[Ch]: support for wasy symbols
9982 2002-07-08 André Pönitz <poenitz@gmx.net>
9984 * BufferView_pimpl.C: apply John's patch for #93.
9986 2002-07-05 Angus Leeming <leeming@lyx.org>
9988 * BufferView_pimpl.C (buffer): generate previews if desired.
9990 * LColor.h: add "preview" to the color enum.
9992 * LColor.C (LColor): add a corresponding entry to the items array.
9994 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9997 2002-07-05 Angus Leeming <leeming@lyx.org>
9999 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
10000 The body of the code is now in the method that is passed an ostream &
10001 rather than a file name.
10002 Pass an additional only_preamble parameter, useful for the forthcoming
10005 2002-07-03 André Pönitz <poenitz@gmx.net>
10007 * lyxfunc.C: simplify getStatus() a bit for math stuff
10009 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10011 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
10013 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10015 * text.C (changeRegionCase): do not change case of all the
10016 document when region ends at paragraph end (bug #461)
10018 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10020 * paragraph.C (startTeXParParams):
10021 (endTeXParParams): add \protect when necessary
10023 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10025 * BufferView_pimpl.C (workAreaExpose): remove warning
10027 2002-06-27 Angus Leeming <leeming@lyx.org>
10029 * Makefile.am: add lyxlayout_ptr_fwd.h.
10031 2002-06-26 André Pönitz <poenitz@gmx.net>
10033 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10035 2002-06-25 Angus Leeming <leeming@lyx.org>
10037 * lyxfunc.C (dispatch): Comment out the call to
10038 grfx::GCache::changeDisplay. The method no longer exists now that the
10039 pixmap generation part of the graphics loader has been moved into
10042 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10044 * text2.C: layout as layout
10046 * text.C: layout as layout
10048 * tabular.C (OldFormatRead): layout as layout
10050 * paragraph_pimpl.C (TeXDeeper): layout as layout
10051 (realizeFont): layout as layout
10053 * paragraph.C (writeFile): layout as layout
10054 (validate): layout as layout
10055 (getFont): layout as layout
10056 (getLabelFont): layout as layout
10057 (getLayoutFont): layout as layout
10058 (breakParagraph): layout as layout
10059 (stripLeadingSpaces): layout as layout
10060 (getEndLabel): layout as layout
10061 (getMaxDepthAfter): layout as layout
10062 (applyLayout): layout as layout
10063 (TeXOnePar): layout as layout
10064 (simpleTeXOnePar): layout as layout
10065 (TeXEnvironment): layout as layout
10066 (layout): layout as layout
10067 (layout): layout as layout
10069 * lyxtextclass.C (compare_name): new functor to work with
10070 shared_ptr, layout as layout
10071 (Read): layout as layout
10072 (hasLayout): layout as layout
10073 (operator): layout as layout
10074 (delete_layout): layout as layout
10075 (defaultLayout): layout as layout
10077 * lyxlayout_ptr_fwd.h: new file
10079 * lyxlayout.C (Read): layout as layout
10081 * lyx_cb.C (MenuInsertLabel): layout as layout
10083 * bufferlist.C (newFile): layout as layout
10085 * buffer.C (readLyXformat2): layout as layout
10086 (parseSingleLyXformat2Token): layout as layout
10087 (insertStringAsLines): layout as layout
10088 (asciiParagraph): layout as layout
10089 (latexParagraphs): layout as layout
10090 (makeLinuxDocFile): layout as layout
10091 (simpleLinuxDocOnePar): layout as layout
10092 (makeDocBookFile): layout as layout
10093 (simpleDocBookOnePar): layout as layout
10094 (getLists): layout as layout
10096 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10098 * CutAndPaste.C (cutSelection): layout as layout
10099 (pasteSelection): layout as layout
10100 (SwitchLayoutsBetweenClasses): layout as layout
10102 * BufferView_pimpl.C (Dispatch): layout as layout
10103 (smartQuote): layout as layout
10105 * BufferView2.C (unlockInset): layout as layout
10107 2002-06-24 André Pönitz <poenitz@gmx.net>
10109 * lyxfunc.C: fix #487
10111 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10115 * lyxfunc.C: remove display_shortcuts, show_banner
10117 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10119 * Buffer_pimpl.C: oops, update on resize
10121 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10128 * BufferView.C: use repaint()
10130 * BufferView_pimpl.h:
10131 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10132 as it's a clearer description. Remove superfluous
10135 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10137 * text.C: fix bug 488. Not ideal, but getting
10138 getWord() to work properly for the insets that
10139 matter is more difficult ...
10141 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10143 * BufferView_pimpl.C:
10146 * lyxfunc.C: remove the six million index lyxfuncs to just
10147 one, and DTRT (bug 458)
10149 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10153 * BufferView_pimpl.h:
10154 * BufferView_pimpl.C: clean up resize() stuff,
10155 and unnecessary updateScreen()s
10157 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10161 * BufferView_pimpl.h:
10162 * BufferView_pimpl.C:
10165 * minibuffer.C: remove focus management of workarea,
10166 not needed. Use screen's greyOut()
10168 2002-06-17 Herbert Voss <voss@lyx.org>
10170 * converter.C: (convert) do not post a message, when converting
10171 fails, let the calling function decide what to do in this case
10173 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10175 * lyxfunc.C: tidy up a little
10177 2002-06-16 <alstrup@diku.dk>
10179 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10180 Got rid of FORMS_H_LOCATION include. Now we are
10183 2002-06-15 LyX Development team <lyx@rilke>
10185 * buffer.[Ch] (sgmlOpenTag):
10186 (sgmlCloseTag): Added support for avoiding pernicious mixed
10187 content. Return number of lines written.
10189 (makeLinuxDocFile):
10190 (makeDocBookFile): Fixed calls to sgml*Tag.
10191 Simple white space clean.
10193 (simpleDocBookOnePar): Simple white space clean.
10195 * tabular.[Ch] (docBook): Renamed to docbook and got another
10196 argument to related with the pernicious mixed content.
10198 (docbookRow): Fixed calls for docbook inset method.
10200 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10202 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10203 so it's X11 independent.
10207 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10209 2002-06-15 Lyx Development team <lyx@electronia>
10211 * intl.h: Renamed getTrans to getTransManager.
10213 2002-06-14 Angus Leeming <leeming@lyx.org>
10215 * Makefile.am: nuke forgotten stl_string_fwd.h.
10217 2002-06-12 Angus Leeming <leeming@lyx.org>
10219 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10221 2002-06-13 Angus Leeming <leeming@lyx.org>
10224 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10226 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10228 * kbmap.C (getiso): add support for cyrillic and greek
10230 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10234 * BufferView_pimpl.h:
10235 * BufferView_pimpl.C: move bogus scrolling logic
10238 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10241 * BufferView_pimpl.C: view->resize() change
10243 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10245 * BufferView_pimpl.C: topCursorVisible
10248 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10252 * lyx_gui.C: move to frontends/
10256 * lyx_main.C: changes from above
10258 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10265 * lyx_main.C: minor tidy
10267 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10269 * BufferView_pimpl.h:
10270 * BufferView_pimpl.C:
10272 * BufferView.C: make painter() const,
10275 * BufferView2.C: use screen() accessor
10278 * lyx_main.C: some minor cleanup
10280 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10282 * BufferView_pimpl.h:
10283 * BufferView_pimpl.C: remove enter/leaveView,
10286 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10291 * BufferView_pimpl.h:
10292 * BufferView_pimpl.C: only construct screen once,
10295 * lyxrc.C: remove pointless comment
10297 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10300 * BufferView.C: remove active() and belowMouse()
10302 * BufferView_pimpl.h:
10303 * BufferView_pimpl.C: use workarea() not workarea_,
10304 and make it use a scoped_ptr instead
10306 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10308 * lyx_gui.C: add debug message on BadWindow
10310 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10312 * sp_spell.C: fdopen is not part of the C++ standard.
10314 * paragraph.C (InsetIterator): use >= instead of ==
10316 2002-06-07 Angus Leeming <leeming@lyx.org>
10318 Fixes needed to compile with Compaq cxx 6.5.
10319 * BufferView_pimpl.C:
10326 * lyxtextclasslist.C:
10331 all c-library variables have been moved into namespace std. Wrap
10332 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10337 Add a using std::abs declaration.
10339 * kbmap.h (modifier_pair):
10340 * paragraph.h (InsetTable, InsetList):
10341 * lyxfont.h (FontBits):
10342 type definition made public.
10344 * bufferlist.C (emergencyWriteAll): the compiler complains that
10345 there is more than one possible lyx::class_fun template to choose from.
10346 I re-named the void specialisation as lyx::void_class_fun.
10348 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10350 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10351 the compiler is is unable to find tostr in write_attribute.
10353 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10355 * buffer.C (sgmlError): hide #warning
10357 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10359 * xtl/*: get rid of xtl, which is not in use anyway
10361 * LyXAction.C (init):
10362 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10363 were unimplemented xtl experimentation
10365 2002-06-04 André Pönitz <poenitz@gmx.net>
10367 * lyxfunc.C: disable array operation on simple formulae
10369 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10371 * converter.C: constify a bit
10373 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10375 * lyx_gui.C: check xforms version correctly
10377 2002-04-30 Herbert Voss <voss@lyx.org>
10379 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10382 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10384 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10385 attempt to register it with a VCS)
10387 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10389 * lyx_main.C (init): honor variables LYX_DIR_13x and
10392 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10396 * lyx_main.C: fix a crash on bad command line,
10397 and give a useful exit status on error
10399 * lyxfunc.C (doImport): allow -i lyx to work
10401 2002-03-30 André Pönitz <poenitz@gmx.net>
10403 * lyxfunc.C: mathed font changes
10405 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10420 * trans_mgr.h: srcdocs, and some minor cleanups
10422 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10424 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10425 call getFont all the time)
10427 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10429 * switch from SigC signals to boost::signals
10431 2002-05-29 André Pönitz <poenitz@gmx.net>
10433 * paragraph_pimpl.C (getChar): don't call size() too often...
10435 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10437 * paragraph_pimpl.C (insertChar): do not try to update tables when
10438 appending (pos == size())
10440 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10441 in order to reduce drastically the number of comparisons needed to
10442 parse a large document
10444 2002-05-29 André Pönitz <poenitz@gmx.net>
10450 * textclasslist.[Ch]:
10451 * sp_ispell.h: whitespace change
10453 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10455 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10456 lyxaction directly now.
10458 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10462 * lyxvc.C: remove unused headers
10464 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10471 * undo_funcs.C: some cleanups. Use shared_ptr
10472 and a template for the undo stacks.
10474 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10476 * BufferView_pimpl.h:
10477 * BufferView_pimpl.C:
10484 * text2.C: use key_state/mouse_state
10486 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10488 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10491 * chset.C: change include order
10492 (loadFile): use boost regex and get rid of LRegex and LSubstring
10494 * Makefile.am (BOOST_LIBS): new variable
10495 (lyx_LDADD): use it
10497 * LaTeX.C: change include order.
10498 (scanAuxFile): use boost regex and get rid of LRegex and
10502 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10507 * FontInfo.C: moved to frontends/xforms/
10510 * FontLoader.C: moved into frontends for GUIIzation
10515 * lyxfunc.C: changes from above
10517 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10519 * LColor.C: remove spurious X include
10521 * BufferView_pimpl.C:
10526 * text2.C: move font metrics to frontends/
10528 2002-05-24 Juergen Vigna <jug@sad.it>
10530 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10531 setting the undo_cursor.
10533 * ParagraphParameters.h: include local includes first.
10535 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10537 * BufferView_pimpl.C:
10538 * BufferView_pimpl.h:
10542 * screen.C: move WorkArea into frontends/
10548 * BufferView2.C: move LyXScreen into frontends/
10552 * lyx_gui.C: move lyxlookup into frontends/xforms/
10554 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10557 * BufferView_pimpl.C:
10567 * bufferview_funcs.C:
10580 * vc-backend.C: move LyX/XFormsView into frontends/
10582 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10594 * text2.C: move Painter to frontends/
10596 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10598 * buffer.C: comment out some some code that depend upon lyx_format
10601 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10602 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10604 * buffer.h (NO_COMPABILITY): turn off compability
10606 * ColorHandler.C: include scoped_array.hpp
10608 * font.C: Use more specific smart_ptr header.
10611 * ShareContainer.h: ditto
10612 * lyx_main.h: ditto
10614 * FontInfo.h: ditto
10615 * BufferView_pimpl.h: ditto
10616 * ColorHandler.h: ditto
10618 * kbmap.C (defkey): change call to shared_ptr::reset
10620 2002-05-21 Juergen Vigna <jug@sad.it>
10622 * buffer.C (insertErtContents): fix to insert ert asis if it is
10623 non empty. Skip it completely if it contains only whitespaces.
10625 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10627 * BufferView_pimpl.C:
10628 * BufferView2.C: clear selection on paste (bug 393)
10630 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10632 * DepTable.C: include ctime
10634 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10636 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10638 2002-05-14 Juergen Vigna <jug@sad.it>
10640 * text.C (breakParagraph): fixed function to honor the keepempty
10641 layout in the right maner and also to permit the right breaking
10642 algorithm on empty or non empyt keepempty paragraphs.
10644 * paragraph.C (breakParagraph): we have to check also if the par
10645 is really empty (!size()) for isempty otherwise we do the wrong
10648 2002-05-10 Juergen Vigna <jug@sad.it>
10650 * buffer.[Ch] : The following are only changes to the ert
10651 compatibility read reading old LaTeX layout and font stuff and
10652 convert it to ERTInsets.
10654 * buffer.h: added isErtInset().
10656 * buffer.C (struct ErtComp): add a fromlayout bool to check
10657 if we're inside a LaTeX layout.
10658 (isErtInset): new helper function.
10659 (insertErtContents): look for other ert insets before this one
10660 and insert the contents there, so that we don't have subsequent
10661 ERT insets with nothing between them. This way we create only one
10662 inset with multiple paragraphs. Also check if we don't insert only
10663 spaces ' ' as they are ignored anyway afterwards in the .tex file
10664 so if we have only spaces we will ignore this latex part in the
10666 (parseSingleLyXformat2Token \\layout): better compatibility when
10667 reading layout-latex stuff.
10668 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10670 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10671 stuff after reading the inset only get the information back from
10674 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10676 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10678 * LaTeXFeatures.C (getBabelOptions): New method.
10680 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10682 * BufferView_pimpl.C (Dispatch): work around missing argument for
10685 2002-05-08 Juergen Vigna <jug@sad.it>
10687 * text.C (leftMargin): handle paragraph leftindent.
10689 * paragraph.C (writeFile): write the new \\leftindent tag.
10690 (validate): handle leftindent code.
10691 (TeXEnvironment): handle paragraphleftindent code again.
10693 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10695 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10696 for paragrap_extra indent code and new token \\leftindent.
10697 (latexParagraphs): handle the leftindent as environment.
10699 * ParameterStruct.h: added leftindent support.
10701 * ParagraphParameters.C (leftIndent): added support functions for
10702 the paragraph left indent.
10704 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10707 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10709 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10712 * text.C (computeBidiTables): No bidi in insetERT.
10714 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10717 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10719 * version.C.in: pre 5
10721 2002-05-02 José Matos <jamatos@fep.up.pt>
10722 * buffer.C (makeDocBookFile): white space changes, add newline to
10724 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10726 * tabular.C (docBook): fix typo.
10728 2002-05-03 Juergen Vigna <jug@sad.it>
10730 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10731 change in LyXText as we can not be sure it was not freed.
10732 (drawOneRow): remove unused code.
10734 * text.C (drawInset): redo the calculation of the need_break_row as
10735 it could have a row which was already freed.
10736 (draw): look at the return value of drawInset and return false if
10737 it also returned false.
10738 (paintRowText): look at the return value of draw and return false if
10739 it also returned false.
10741 * lyxtext.h: added bool return type to drawInset() and draw() so that
10742 if we have a change in the row so that the rowbreak has to be redone
10743 we abort drawing as it will be called again.
10745 2002-05-02 Juergen Vigna <jug@sad.it>
10747 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10748 a change in the maintext also if we're inside an inset.
10749 (Dispatch): set the cursor again after a break line and after the
10750 screen has been updated as it could be we're in a different row.
10752 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10753 to set the cursor behind the pargraph with > size().
10754 (setCursor): check also for the same paragraph when checking where
10755 to put the cursor if we have a NFR inset.
10757 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10758 parts of layout read further up as it still was in the wrong
10761 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10763 * screen.C (drawFromTo): change sine fullRebreak always return
10766 * buffer.C (parseSingleLyXformat2Token): reindent some
10768 * BufferView_pimpl.C (update): change since fullRebreak always
10770 (Dispatch): git rid of the last hardcoded "Standard"s.
10772 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10774 * text2.[Ch] (fullRebreak): make it return void now that we always
10777 2002-04-30 Juergen Vigna <jug@sad.it>
10779 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10780 ert compatibility check for "latex" layout.
10782 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10784 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10785 minipages: use col% instead of p%, and also use the current font.
10786 (makeLaTeXFile): Fix use babel condition.
10787 (parseSingleLyXformat2Token): Correct font when reading old floats.
10789 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10791 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10792 inserting list of floats.
10794 2002-04-25 Herbert Voss <voss@lyx.org>
10796 * MenuBackend.C (expand): don't add the graphics extensions to the
10799 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10801 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10802 non-existing layout, do not complain if it was the default layout
10803 of the original class (bug #342)
10805 2002-04-24 Juergen Vigna <jug@sad.it>
10807 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10808 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10810 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10812 * buffer.C (getBibkeyList): If using \bibliography, return the
10813 option field with the reference itself. Enables us to provide natbib
10814 support when using \bibliography.
10816 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10818 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10820 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10821 natbib is provided by the LaTeX class.
10823 2002-04-23 Juergen Vigna <jug@sad.it>
10825 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10828 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10830 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10832 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10834 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10835 ensuremath around textordmasculine, textordfeminine and
10838 2002-04-19 Juergen Vigna <jug@sad.it>
10840 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10841 reinitializing the buffer otherwise row-dimensions may be wrong.
10842 (update): reset also the selection cursors if they do exits otherwise
10843 their x/y positions may be wrong.
10845 * text2.C (cursorDown): don't enter the inset if we came from a row
10846 above and are one row over the inset.
10848 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10849 really leaving an inset.
10851 2002-04-18 Juergen Vigna <jug@sad.it>
10853 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10854 of the selected paragraph does not have the selected layout also if
10857 * text2.C (setLayout): fixed bug which did not change last selected
10860 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10861 changed the read and substituted \\end_float with \\end_inset!
10863 * BufferView_pimpl.C (cursorPrevious):
10864 (cursorNext): fixed to make it work with rows heigher than the work
10865 area without moving the cursor only the draw of the row.
10866 (workAreaMotionNotify): fix jumping over high rows.
10868 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10870 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10873 2002-04-16 Juergen Vigna <jug@sad.it>
10875 * text2.C (setCursor): set also the irow().
10876 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10878 (cursorDown): support for locking an inset if the x_fix value goes
10879 inside it. That way I can transverse insets too with cursor up/down.
10881 * lyxrow.h: added irow helper function same as other (i) functions.
10883 * BufferView_pimpl.C (cursorPrevious):
10884 (cursorNext): fixed for insets!
10886 2002-04-15 Juergen Vigna <jug@sad.it>
10888 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10889 position otherwise it is wrong in some cases.
10891 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10892 inside the inset before the call.
10894 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10896 * buffer.[Ch] (getBibkeyList): make it const.
10898 2002-04-12 Juergen Vigna <jug@sad.it>
10900 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10902 * text2.C (getCursorX): new helper function
10903 (setCursor): compute also ix_
10904 (setCursorFromCoordinates): set also ix.
10906 * lyxcursor.h: added ix_ and helper functions.
10908 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10910 * buffer.C (insertStringAsLines): dont break paragraph if the this
10911 paragraph is inside an inset which does not permit it!
10913 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10914 also with no chars on this paragraph.
10915 (paintRowText): only paint stuff if it's inside the workarea!
10917 * paragraph.C (breakParagraph): honor keepempty flag and break the
10918 paragraph always below not above.
10920 * BufferView2.C (unlockInset): update the paragraph layout on inset
10921 unlock as we changed paragraph in such a case.
10923 * lyxfind.C (LyXFind): clear the former selection if not found!
10925 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10926 again called in insertChar().
10928 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10929 an inset which uses the whole row!
10930 (rightMargin): ditto.
10931 (insertChar): force a rebreak if we inserted an inset!
10933 2002-03-28 Herbert Voss <voss@lyx.org>
10935 * lyxlength.[Ch]: add inBP() to get the right PS-point
10936 units (BigPoint). With inPixels we have rounding errors
10938 2002-04-11 Juergen Vigna <jug@sad.it>
10940 * text2.C (setCursorFromCoordinates): set iy to the right value.
10941 (setCursor): add check if row->previous exists!
10943 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10944 an old float_type as this was the case in the old code!
10946 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10948 * BufferView2.C (showLockedInsetCursor): use iy
10949 (fitLockedInsetCursor): ditto
10951 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10952 locked insets as there we have the right value now.
10954 * lyxcursor.C: added iy_ variable and iy functions to set to the
10955 baseline of cursor-y of the locked inset.
10957 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10958 (setCursor): fixed for insets which need a full row.
10960 * text.C (rowLastPrintable): don't ignore the last space when before
10961 an inset which needs a full row.
10962 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10963 as last character of a row when before a inset which needs a full row.
10965 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10967 * version.C.in: update date
10969 * text2.C (fullRebreak): try to always return true and see what
10972 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10974 * MenuBackend.C (expand): use Floating::listName
10976 * FloatList.C (FloatList): add listName argument to the built-in
10979 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10980 text associated with the float.
10982 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10984 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10986 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10988 * ShareContainer.h: add a couple of missing typenames.
10990 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10992 * lyxrc.C (getDescription): use _() correctly rather than N_().
10994 2002-03-28 Herbert Voss <voss@lyx.org>
10996 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10997 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10999 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11001 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
11002 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
11004 2002-03-29 Juergen Vigna <jug@sad.it>
11006 * lyxfunc.C (dispatch): add a missing fitCursor call.
11008 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
11009 it was scrolled by a cursor move, so return the bool status.
11011 * BufferView.C (fitCursor): return the bool flag also to the outside
11012 world as this is needed.
11014 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11016 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11017 call the edit() as it is not needed (and wrong) IMO.
11018 (workAreaButtonPress): set the screen_first variable before evt.
11019 unlock the inset as this may change screen_first and then we have
11020 a wrong y position for the click!
11022 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11024 * MenuBackend.C (expand): another translation that I missed
11026 2002-03-28 Juergen Vigna <jug@sad.it>
11028 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11030 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11032 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11034 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11036 * MenuBackend.C (expand): fix export/view/update when there is no
11039 2002-03-27 Herbert Voss <voss@lyx.org>
11041 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11044 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11046 * bufferview_funcs.C (currentState): only show paragraph number
11047 for is DEVEL_VERSION is set.
11049 * lyxfunc.C (dispatch): put warning in INFO channel
11051 * MenuBackend.C (expand): translate the name of floats
11053 * FloatList.C (FloatList): mark the float names for translation
11055 * converter.C (convert): use LibScriptSearch
11057 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11059 * MenuBackend.C (defaults): fix default menu (we might as well get
11062 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11064 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11067 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11069 * lyxvc.C: reorder includes.
11071 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11073 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11076 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11078 * CutAndPaste.C: change layouts earlier on paste
11079 to avoid crashing when calling getFont()
11081 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11083 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11086 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11088 * WorkArea.C: remove 'Pending' debug message.
11090 * most files: ws cleanup
11092 * buffer.[Ch]: ws changes
11094 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11096 2002-03-21 Juergen Vigna <jug@sad.it>
11098 * tabular.C (SetMultiColumn): collapse also the contents of the
11099 cells and set the last border right. Added a Buffer const * param.
11101 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11103 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11106 2002-03-19 Juergen Vigna <jug@sad.it>
11108 * text2.C (clearSelection): reset also xsel_cache.
11110 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11111 where it needs to be called (John tells us to do so too :)
11112 (selectionLost): reset sel_cache.
11114 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11116 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11118 * text2.C (setCursorIntern): put debuging code in INSETS channel
11120 2002-03-19 André Pönitz <poenitz@gmx.net>
11122 * lyxfunc.C: tiny whitespace change
11124 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11126 * ToolbarDefaults.C (init):
11127 * LyXAction.C (init):
11129 * BufferView_pimpl.C (Dispatch):
11130 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11132 2002-03-19 Allan Rae <rae@lyx.org>
11134 * exporter.C (Export): removeAutoInsets before doing anything else.
11135 While I've just introduced a dependency on BufferView this really is
11136 the best place to clean the buffer otherwise you need to cleanup in
11137 a dozen places before calling export or cleanup in a dozen functions
11140 * converter.C (runLaTeX):
11141 (scanLog): Better handling of removeAutoInsets and screen updates.
11143 * lyxfunc.C (dispatch): small whitespace changes
11145 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11147 * WorkArea.C (C_WorkAreaEvent): return a value.
11148 (event_cb): return 1 if we handled the event, 0 otherwise.
11150 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11152 2002-03-18 Juergen Vigna <jug@sad.it>
11154 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11155 (GetAdditionalWidth): ditto.
11156 (RightLine): ditto.
11159 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11160 inset if we're there actually (probably not used right now but this
11161 is the direction to go for unifying code).
11162 (paste): disable code to clear the selection.
11164 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11165 inside an InsetText and move the check further up as it is in the
11168 * text2.C (pasteSelection): set a selection over the pasted text.
11170 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11172 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11173 and libgraphics to build on Cygwin.
11175 2002-03-15 Juergen Vigna <jug@sad.it>
11177 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11178 inserting an Inset into the paragraph. I know this is not the best
11179 fix but we already use current_view in CutAndPaste so we will remove
11180 all of it's using at the same time.
11182 * buffer.C (sgmlError): deactivated function till it is rewritten in
11183 the right mode, now it can create problems.
11185 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11186 before accessing it.
11188 2002-03-14 Juergen Vigna <jug@sad.it>
11190 * undo_funcs.C (textHandleUndo): do the right thing when updating
11191 the inset after the undo/redo.
11193 * text2.C (setCursor): just some testcode for #44 not ready yet.
11195 * undo_funcs.C (textHandleUndo): set the next() and previous()
11196 pointers of the paragraph to 0 before deleting otherwise we have
11197 problems with the Paragraph::[destructor].
11199 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11200 on a paragraph insertion.
11202 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11204 * buffer.C (asciiParagraph): use += operator for char append to
11207 * paragraph.C (getFontSettings): compare >= not just >
11208 (highestFontInRange): ditto
11211 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11213 * paragraph.C: change several algorithm to be more appripriate for
11214 the problem domain. This is lookip in FontList and in the InsetList.
11216 2002-03-13 André Pönitz <poenitz@gmx.net>
11219 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11221 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11226 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11228 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11230 * Painter.C (display): anon helper function, adjust code for this
11232 (pixmap): remove function.
11234 * Painter.h: remove private display variable.
11236 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11238 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11240 * WorkArea.[Ch]: remove figinset_canvas cruft.
11242 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11244 * lyxtextclass.C (operator): add one item cache optimization.
11246 * bufferlist.h: doxy changes
11248 * bufferlist.C: ws changes
11250 * DepTable.[Ch] (ext_exist): place const in the right spot.
11252 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11254 (workAreaExpose): call resizeInsets when the with BufferView changes.
11255 (Dispatch): adjust for protectedBlank removal
11256 (specialChar): call updateInset if the insert went ok.
11258 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11259 specialChar instead.
11261 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11263 * BufferView.h: doxy change
11265 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11267 * lyxtextclass.C (operator[]): remove non-const version
11268 (defaultLayout): remove non-const version
11270 2002-03-12 Juergen Vigna <jug@sad.it>
11272 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11273 did resize the LyXText too.
11275 * buffer.C (readLyXformat2): set layout information on newly allocated
11278 * tabular.C (OldFormatRead): set layout information on the paragraph.
11280 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11282 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11284 2002-03-11 Juergen Vigna <jug@sad.it>
11286 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11288 (resizeCurrentBuffer): force also the insets to resize themselfes.
11289 (moveCursorUpdate): fixed up for InsetText.
11291 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11294 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11295 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11296 value of Dialogs::tooltipsEnabled().
11297 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11299 2002-03-08 Juergen Vigna <jug@sad.it>
11301 * BufferView_pimpl.C (updateInset): update inset inside inset also
11302 if it isn't inside theLockingInset().
11304 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11306 * buffer.C (asciiParagraph): redo some of the word and line length
11308 (getLists): look for Caption instead of caption.
11310 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11312 * buffer.C (Buffer): initialize niceFile to true
11314 (makeLinuxDocFile):
11315 (makeDocBookFile): make sure niceFile is true on exit
11317 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11319 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11321 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11323 * LyXSendto.C: remove.
11324 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11325 * lyx_gui.C: remove now-redundant comment.
11326 * ColorHandler.h: remove forward declaration of class WorkArea.
11327 * lyxfunc.C: remove #include "WorkArea.h".
11329 2002-03-07 Juergen Vigna <jug@sad.it>
11331 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11332 got moved away with the DEPM and also set the inset_owner always
11333 right which before could have been omitted.
11335 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11337 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11338 wanted layout is not found.
11340 2002-03-07 Juergen Vigna <jug@sad.it>
11342 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11344 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11346 * paragraph.C (breakParagraph): use default layout not layout of
11348 (Paragraph): clear ParagraphParameters.
11350 2002-03-06 Juergen Vigna <jug@sad.it>
11352 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11353 otherwise it would not be a valid lenght. Fixed a special case in
11354 the minipage compatibility read where we end the document with a
11357 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11358 was set as it could be 0 for InsetTexts first entry.
11360 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11362 * paragraph.C (writeFile): if layout is empty write out
11363 defaultLayoutName().
11365 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11366 file without named layout we set layout to defaultLayoutName().
11368 2002-03-06 Juergen Vigna <jug@sad.it>
11370 * CutAndPaste.C (copySelection): set layout for new paragraph.
11372 * text.C (prepareToPrint): leave ERT inset left aligned
11373 (leftMargin): don't indent paragraphs inside ERT insets
11375 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11377 * paragraph.C (breakParagraph): dont call clear do the work manually
11379 * paragraph.[Ch] (clear): remove function
11381 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11383 * paragraph.C (Paragraph): dont call clear, the work has already
11386 * lyxtextclass.C (operator): assert if n is empty
11388 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11389 work manually instead.
11391 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11393 * BufferView_pimpl.C: protect selectionLost against text == 0
11395 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11397 * text.C (breakParagraph): fix a setting layout to '0' problem.
11399 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11401 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11402 final location of file, for the included files, and graphics.
11404 2002-03-05 Juergen Vigna <jug@sad.it>
11406 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11408 2002-03-04 Juergen Vigna <jug@sad.it>
11410 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11412 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11413 last column of multicolumn cells.
11414 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11416 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11418 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11419 file if it doesn't go to a temporary file.
11421 * buffer.C (sgmlOpenTag):
11422 (sgmlCloseTag): remove extra newline insertion.
11424 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11426 * text.C (getRowNearY): comment out debug msg
11428 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11430 * text2.C: first -> first_y
11432 * text.C (getRowNearY): add some attemts at a possible
11433 optimization, not working.
11435 * tabular.[Ch]: add BufferParams to several function so that newly
11436 created paragraph can be initialized to he default layotu for the
11439 * tabular-old.C (ReadOld): add buf->params to call of Init
11441 * screen.C: rename text->first to text->first_y
11443 * paragraph.C (breakParagraph): always set layout in the broken
11446 * lyxtextclass.C (Read): remove lowercase
11449 (delete_layout): ditto
11451 * lyxtext.h: rename first -> first_y
11453 * lyxlayout.C (Read): remove lowercase
11456 (obsoleted_by): ditto
11458 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11460 * buffer.C (insertErtContents): add params are to InsetERT
11461 (parseSingleLyXformat2Token): add code to check if a paragraphs
11462 layout really exist.
11463 (parseSingleLyXformat2Token): add params to several inset
11465 (asciiParagraph): remove lowercase, do the layout comparisons with
11468 * BufferView_pimpl.C (cursorNext): first -> first_y
11469 (resizeCurrentBuffer): first -> first_y
11470 (updateScrollbar): first -> first_y
11471 (scrollCB): first -> first_y
11472 (workAreaMotionNotify): first -> first_y
11473 (workAreaButtonPress): first -> first_y
11474 (checkInsetHit): first -> first_y
11475 (cursorPrevious): first -> first_y
11476 (cursorNext): first -> first_y
11477 (Dispatch): add buffer_->params to severl inset contructors
11479 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11481 * lyxlayout.C (Read): remove some debug info that I forgot.
11483 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11484 clean up the code slightly.
11485 (makeLinuxDocFile): ditto
11486 (makeDocBookFile): ditto
11488 * text2.C: layout as string
11490 * text.C: layout as string
11492 * paragraph_pimpl.C: layout as string
11494 * paragraph.[Ch]: layout as string
11496 * lyxtextclasslist.[Ch]: layout as string
11498 * lyxtextclass.[Ch]: layout as string
11500 * lyxtext.h: layout as string
11502 * lyxlayout.[Ch]: layout as string
11504 * lyx_cb.C: layout as string
11506 * bufferview_funcs.C: layout as string
11508 * bufferparams.C: layout as string
11510 * buffer.C: layout as string
11512 * LyXView.[Ch]: layout as string
11514 * LaTeXFeatures.[Ch]: layout as string
11516 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11518 * BufferView_pimpl.C: change current_layout to string, remove
11523 (workAreaButtonRelease): layout as string
11525 * BufferView2.C (unlockInset): adjust
11527 * vspace.C (asLatexCommand): use an explict temp variable.
11529 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11531 * Makefile.am: use FRONTEND_*
11533 2002-03-01 Juergen Vigna <jug@sad.it>
11535 * tabular.C (SetWidthOfMulticolCell): changed to something better
11536 I hope but still work in progress.
11537 (recalculateMulticolumnsOfColumn): renamed function from
11538 recalculateMulticolCells as it is more appropriate now.
11539 (SetWidthOfCell): calculate multicols better.
11541 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11543 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11545 * lyxfunc.C (processKeySym): print sequence also if it is
11546 `deleted' (complete)
11548 * kbsequence.C (print): print sequence even if it is deleted
11549 (complete would be a better word, actually).
11551 * lyxfunc.C (dispatch): print complete options after a prefix key
11553 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11555 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11557 * text2.C (setCharFont): eliminate setCharFont code duplication.
11559 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11561 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11562 LFUN_TABULAR_FEATURE (bug #177)
11564 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11566 * Makefile.am: remove figure.h
11568 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11570 * Bufferview_pimpl.C:
11582 * text2.C: remove #include "lyx_gui_misc.h".
11584 * LaTeX.C: added #include <cstdio>
11586 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11588 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11589 that the paragraph following this one can have.
11591 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11593 * vspace.C (asLatexCommand): fix bogus gcc warning
11595 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11597 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11599 * text2.C (setLayout): get rid of redundant code
11601 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11603 * text2.C (incDepth): make sure depth cannot be increased beyond
11606 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11608 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11609 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11611 * PainterBase.h (image):
11612 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11613 a LyXImage const *.
11615 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11619 * BufferView_pimpl.C:
11620 * BufferView_pimpl.h:
11640 * sp_spell.C: remove fig inset, and the crap house of
11641 cards that follows it
11643 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11648 * os2_errortable.h:
11649 * nt_defines.h: move .h into support/
11651 * vms_defines.h: remove
11653 * WorkArea.C: add space in debug output
11657 * buffer.C: add WITH_WARNINGS
11661 * bufferlist.C: s/retrive/retrieve/, add docs
11670 * chset.C: add docs
11672 * lyxgui.C: add ID to X error handler
11674 * lyxtestclass.c: fix typo
11676 2002-02-26 Juergen Vigna <jug@sad.it>
11678 * tabular_funcs.C (write_attribute): changed so that some default
11679 attributes are not written at all.
11680 (getTokenValue): set default values before trying to read the
11681 value so we have the return value always set as default if we don't
11682 find the token we search for.
11684 * tabular.C (Write): write bools as bools not as strings!
11686 2002-02-22 Juergen Vigna <jug@sad.it>
11688 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11689 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11691 * text.C (leftMargin): don't add an indent for paragraphs inside
11692 tabular cells (fix #208).
11694 2002-02-21 José Matos <jamatos@fep.up.pt>
11696 * tabular.C (docBook): fixed support for long tables.
11698 2002-02-20 Juergen Vigna <jug@sad.it>
11700 * text2.C (getFont): get the drawing font of the Inset if this
11701 paragraph is inside an inset (only important for InsetERT for now).
11703 * buffer.C (insertErtContents): use new lanugage params in ERT
11706 * CutAndPaste.C: commenting out seemingly uneeded code.
11708 2002-02-19 Allan Rae <rae@lyx.org>
11710 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11711 Iterators might be simple to use but they also get invalidated.
11712 (removeAutoInsets): renamed saved cursor tracking variables and added
11713 some comments to clarify what everything does.
11715 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11722 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11723 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11726 * vc-backend.h: remove #include "support/syscall.h"
11730 * converter.C: rearrange #includes in Lars' approved fashion.
11732 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11733 forward declare class Timeout in the header file.
11735 * XFormsView.C: changes due to the above.
11737 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11738 similar to LyXView.
11740 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11741 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11743 2002-02-18 José Matos <jamatos@fep.up.pt>
11745 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11748 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11750 * a lot of small ws changes
11751 * add a lot of using std::XXX
11752 * use std construcs some places where approp.
11753 * use some exisint stuff from lyxfunctional where approp.
11754 * Make file changes to use partial linking (lets test this now...)
11756 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11760 remove #include "support/syscontr.h" as it's redundant. Always has been.
11768 change Systemcalls::System to Systemcalls::Wait and
11769 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11770 No change of functionality, just reflects the stripped down Systemcalls
11773 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11775 * debug.[Ch]: add a GRAPHICS type to the enum.
11777 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11779 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11781 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11784 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11786 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11787 match the changes below.
11789 * text2.C (toggleInset): if there is not editable inset at cursor
11790 position, try to see if cursor is _inside_ a collapsable inset
11793 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11795 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11796 document menu has a nice checkbox
11798 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11800 * lyxlength.C (asLatexString): change PW to output as percent of
11803 * lengthcommon.C: change '%' to 't%'
11805 * lyxfunc.C (dispatch): a few comments from Martin
11807 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11811 * BufferView_pimpl.h:
11812 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11815 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11817 * vspace.C (inPixels): fix compiler warning
11819 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11821 * lyxfunc.C (getStatus): fix status message for disabled commands.
11823 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11825 * BufferView_pimpl.C: fix crash on close buffer
11826 during selection (#227)
11828 2002-01-27 Herbert Voss <voss@lyx.org>
11830 * buffer.C: link old Figure to new graphic inset
11832 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11834 * FontLoader.C (getFontinfo): Change the latex font names in order
11835 to match the names of type1inst.
11837 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11839 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11841 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11842 (extchanged): ditto
11844 (remove_files_with_extension): ditto
11845 (remove_file): ditto
11848 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11849 document is smaller than the work area height. Do not initialize
11850 static variables to 0.
11852 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11854 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11856 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11857 LFUN_LAYOUT_PARAGRAPHS.
11859 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11860 tabular. It is possible to provide a possible cell, which will
11861 typically be the actcell from the corresponding insettabular
11863 * lyxfunc.C (getStatus): small cleanup; disable
11864 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11867 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11869 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11871 * paragraph.C (startTeXParParams):
11872 (endTeXParParams): new methods. The LaTeX code to
11873 start/end paragraph formatting
11874 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11875 empty (fixes bug #200)
11877 * vspace.C (inPixels): adapt to the change below
11878 (inPixels): [later] more cleanups (remove unused variables)
11880 * lyxlength.C (inPixels): change to use a width and a height as
11883 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11885 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11886 Replaced with \paperwidth
11888 * DepTable.C (insert): add std:: qualifier
11890 2002-01-18 Allan Rae <rae@lyx.org>
11892 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11895 * text.C (drawInset): Turned out I didn't know enough about how
11896 rebreaking worked. This fixes most of the redraw problems. I see
11897 an occasional cursor trail when a line is broken now and the cursor
11898 placement can seem out by a few pixels also after a rebreak.
11900 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11902 * buffer.C (parseSingleLyXformat2Token): update because minipage
11903 width is now a LyXLength
11905 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11907 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11910 2002-01-17 Juergen Vigna <jug@sad.it>
11912 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11914 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11915 is set correctly and the inset is updated correctly.
11917 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11919 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11920 the beginning of the loop.
11922 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11924 * lyxrc.C: improve help for use_scalable_fonts
11926 2002-01-17 Allan Rae <rae@lyx.org>
11928 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11930 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11932 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11933 make sure to set their inset_owner to the right value (bug #171)
11935 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11938 * DepTable.C: Implement mtime checking to reduce time spent doing
11941 2002-01-16 Juergen Vigna <jug@sad.it>
11943 * tabular.C (GetAdditionalHeight): one of error fixed.
11945 * lyxrc.C (output): small fix in writing use_pspell.
11947 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11949 * sp_base.h: #include LString.h
11951 2002-01-16 Allan Rae <rae@lyx.org>
11953 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11954 Can someone check this please?
11956 * text.C (drawInset): It was possible that p.row would be removed by
11957 breakAgainOneRow upsetting a few other settings. There may be another
11958 small tweak possible by setting need_break_row = 0 when p.row has been
11959 removed but I don't know enough about the logic here.
11961 2002-01-15 Allan Rae <rae@lyx.org>
11963 * text.C (insertChar): removed conditional truism.
11965 * BufferView2.C (removeAutoInsets): More tweaks.
11966 cur_par_prev could be a stray pointer. Check for trailing empty line
11967 in case last line was cur_par and only had an error inset on it.
11969 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11971 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11974 * vc-backend.C (most methods):
11975 * exporter.C (Export):
11976 * converter.C (convert):
11978 * LyXSendto.C (SendtoApplyCB):
11979 * lyxfunc.C (dispatch):
11983 * lyx_cb.C (AutoSave):
11985 * BufferView_pimpl.C (MenuInsertLyXFile):
11986 * buffer.C (runChktex): use Buffer::filePath().
11988 * buffer.h: rename filename to filename_; rename filepath to
11989 filepath_ and make it private
11990 (filePath): new method
11992 * buffer.C (writeFile): use fileName()
11995 * lyx_main.C (init): fix starting of LyX when the binary is a
11996 link from so,ewhere else.
11998 * minibuffer.C: include <cctype> for isprint
12000 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12002 * buffer.C (parseSingleLyXformat2Token): changes associated with the
12003 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
12004 name clash with InsetCollapsable's width function.
12006 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12008 * lastfiles.C: include <iterator>
12010 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12012 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12015 * buffer.C (makeLaTeXFile): ditto.
12016 Also make loop operation more transparent.
12018 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12020 * ToolbarDefaults.C: remove trailing comma closing namespace.
12022 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12024 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12027 * trans.C (Load): comment out unused variable, allowed.
12029 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12031 * minibuffer.[Ch] (append_char): new method to recieve input from the
12032 drop-down completion browser. If a key was pressed, then recieve this
12033 char and append it to the existing string.
12034 (peek_event): modify the positioning data passed to the completion
12035 browser so that it can be placed above the minibuffer rather than below.
12036 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12038 * LyXAction.C (init): alloe error-next for readonly documents.
12040 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12043 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12045 * bufferlist.C (readFile): create the buffer _after_ checking that
12048 * lyxfunc.C (verboseDispatch): fix handling of arguments
12050 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12052 * lyxrc.C: use string::erase() instead of initializing to "".
12055 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12057 * BufferView_pimpl.h:
12058 * BufferView_pimpl.C:
12061 * text2.C: tell X when we have made a selection for copying
12063 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12065 * BufferView_pimpl.C (MenuInsertLyXFile):
12066 * lyxfunc.C (menuNew):
12068 (doImport): add shortcuts to directory buttons
12070 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12073 * lyxfunc.C (setStatusMessage):
12074 (getStatusMessage): new methods
12075 (getStatus):use setStatusMessage instead of setErrorMessage
12076 (dispatch): when function is disabled, set error message here
12077 [instead of in getStatus previously]
12079 * BufferView_pimpl.C (workAreaButtonRelease): update
12080 toolbar/menubar here too.
12082 2002-01-13 Allan Rae <rae@lyx.org>
12084 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12085 Now seems indestructible. Remaining task is to audit all other
12086 code affected by deleteEmptyParagraphMechanism. One small quirk
12087 left is that an empty document with an error in the preamble can
12088 be made to report an error but no error box appears. I don't know
12090 (removeAutoInsets): Improved comments.
12092 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12095 * Thesaurus.C: update for Aiksaurus 0.14
12097 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12099 * text2.C (firstParagraph): removed member function, all uses
12100 replaces with ownerParagraph
12101 (redoParagraphs): here
12102 (updateInset): here
12103 (toggleAppendix): here
12104 * BufferView2.C (insertErrors): here
12105 (setCursorFromRow): here
12107 2002-01-13 Allan Rae <rae@lyx.org>
12109 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12110 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12111 There is still a way to segfault this although you may have to do this
12112 multiple times: Have an InsetERT with an unknown command in it.
12113 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12114 <down-arrow>, <Enter> again, View->DVI, BANG!
12116 * text2.C (setCursor):
12117 (deleteEmptyParagraphMechanism):
12118 * lyxtext.h (setCursor):
12119 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12120 Making use of the return value may help fix other bugs.
12122 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12124 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12126 * LyXView.C (updateMenubar): call MenuBar::update here
12127 (updateToolbar): but not here
12128 (showState): do not update toolbar/menubar
12130 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12131 should need to care about that.
12133 * lyxfunc.C (verboseDispatch): simplify a bit
12134 (getStatus): have a version which takes a pseudoaction, and
12135 another which requires a (kb_action,string).
12137 * LyXAction.C (retrieveActionArg): make it work also when action
12138 is not a pseudo-action.
12139 (getActionName): simplify a bit
12142 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12144 * lyxfunc.C (verboseDispatch): new families of methods with
12145 several ways to specify a command and a bool to indicate whether
12146 the command name and shortcut should be displayed in minibuffer
12147 (eventually, we could extend that to a finer bitmask like
12148 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12149 (dispatch): the pristine dispatch command which just, well,
12150 dispatchs! Note it still sets its result to minibuffer; I'm not
12153 * lyxfunc.h: remove setHintMessage
12155 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12157 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12159 * BufferView_pimpl.C (specialChar): delete new inset if we have
12160 not been able to insert it.
12162 * kbmap.C: revert to using int instead of kb_action, since all we
12163 are dealing with is pseudo-actions.
12165 * LyXAction.C (searchActionArg): change to return int instead of
12166 kb_action, since the result is a pseudoaction.
12168 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12170 * buffer.C (insertErtContents): Fix (partially) the font bug.
12172 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12174 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12175 as the other one is broken on my machine!
12177 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12180 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12182 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12184 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12185 reflect their actual use. Provide compatibility code for older lyxrc
12188 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12190 change names of popup font variables in line with the changes to lyxrc.C
12192 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12194 * buffer.C (asciiParagraph): avoid outputing a word twice after
12197 * lyxrc.C (getDescription): document that document_path and
12198 template_path can be empty.
12200 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12202 * LaTeXFeatures.C (getMacros):
12203 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12205 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12207 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12209 (getPackages): rename feature "floats" to "float". Use an array to
12210 iterate over 'simple' features (i.e. just a \usepackage). Add
12211 handling of "amsmath" (renamed from "amsstyle").
12213 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12215 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12218 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12220 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12221 FuncStaus::FuncStatus & FuncStaus::some_method().
12223 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12225 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12226 of the func_satus stuff. Edited and massaged in various ways by
12229 * lyxfunc.C (getStatus): use FuncStatus
12231 2002-01-08 Juergen Vigna <jug@sad.it>
12233 * text.C (nextBreakPoint): use function Inset::isChar().
12235 * paragraph.C (TeXOnePar): use function
12236 Inset::forceDefaultParagraphs.
12238 * buffer.C (latexParagraphs): use function
12239 Inset::forceDefaultParagraphs.
12241 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12243 * lyx_gui.C (init): set the style of the menu popups to
12244 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12246 2002-01-07 Juergen Vigna <jug@sad.it>
12248 * text.C (setHeightOfRow): small fix
12249 (prepareToPrint): don't look at alignment if we don't have the place
12252 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12254 * box.C: New file. Move the Box methods and functions out of box.h,
12255 following Lars' suggestion.
12257 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12259 * box.h: #include "support/LOstream.h", needed for inlined function.
12262 * lyxtextclasslist.C: added some using std declarations.
12264 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12266 * box.h: make signed dimensions to allow insets wider than
12267 the screen (bug #162)
12269 * BufferView_pimpl.C: add some insetHit debug
12271 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12273 * vc-backend.C: add FIXME
12275 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12277 * lyxfunc.C (getStatus): enable code for showing math font status
12280 2002-01-07 Juergen Vigna <jug@sad.it>
12282 * text.C (nextBreakPoint): removed debug output not needed anymore.
12284 2002-01-06 Juergen Vigna <jug@sad.it>
12286 * text.C (nextBreakPoint): fixed up this function we had this bug
12287 since ever but now hopefully we break row better.
12288 (insertChar): we have to check if an inset is the next char as it
12289 could now happen that a large inset is causing a break.
12291 2002-01-05 Juergen Vigna <jug@sad.it>
12293 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12294 if it doesn't like to be drawed.
12296 2002-01-04 Juergen Vigna <jug@sad.it>
12298 * BufferView2.C (lockInset): forgot to set a cursor.
12300 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12302 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12304 * FormMathsPanel.C:
12307 * form_maths_panel.C:
12308 * form_maths_panel.h:
12309 * form_maths_panel.fd: implemented sub- and super- buttons in math
12312 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12313 (or ^ space) to be used as in TeX (req'd by André).
12315 * lyxfunc.C: Allow ^ and _ again to be used both as
12316 super/subscript (mathed) and as themselves (in text).
12318 2002-01-03 Allan Rae <rae@lyx.org>
12320 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12321 "LyX" or the filename of the current buffer if it has one. This is a
12322 modified form of John Levon's patch.
12324 * XFormsView.C (setWindowTitle): also set icon title.
12326 * LyXView.h (setWindowTitle): signature changed.
12327 * XFormsView.h (setWindowTitle): ditto.
12329 2002-01-02 Juergen Vigna <jug@sad.it>
12331 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12333 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12335 * screen.C (topCursorVisible): introduce a temp var for
12336 text->cursor.row(), handle the case where this row is null. (kindo
12339 * text2.C (setCursor): add a couple of asserts.
12341 * paragraph.h (inset_iterator): add -> operator
12343 * paragraph.[Ch] (autoDeleteInsets): remove member function
12345 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12346 cursor pos correctly and handle inset deletion by itself.
12347 (insertErrors): move iterator declaration out of for expression
12349 * lyxtextclass.C: add <algorithm>
12351 * Makefile.am: added the new files to sources, removed layout.C
12353 * layout.C: removed file
12355 * layout.h: remove LYX_DUMMY_LAYOUT
12357 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12361 * lyxtextclass.[Ch]:
12362 * lyxtextclasslist.[Ch]: new files
12364 * include order changes to a lot of files, also changes because of
12367 2001-12-27 Juergen Vigna <jug@sad.it>
12369 * buffer.C (asciiParagraph): more fixes.
12371 * tabular.C (ascii): make ascii export support export of only the
12372 data separated by a column-delimiter.
12373 (ascii): better support for ascii export.
12375 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12377 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12379 * tabular_funcs.C: use a "using std::getline" instead of the
12380 previous fix from Angus (necessary for cxx + lyxstring)
12382 2001-12-24 Juergen Vigna <jug@sad.it>
12384 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12386 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12387 problems. First check a minipage also if we have some ert-contents
12388 (not only on par->size(), second set the right depth of the paragraph
12389 on the relink to the root-paragraph-list!
12391 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12392 which then did not anymore update the main paragraphs on undo/redo!
12394 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12396 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12397 code. Support all font-changing funcs (even those which are not in
12398 menu currently). Support for reporting font settings in
12399 mathed (disabled until Andre provides a function on mathed's side).
12401 * func_status.h (toggle): small helper function to set toggle
12404 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12406 * tabular_funcs.C: getline -> std::getline
12408 2001-12-21 Juergen Vigna <jug@sad.it>
12410 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12411 accessed and could be 0 (I couldn't generate this but it seems
12414 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12416 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12417 * tabular_funcs.h: here and include iosfwd
12419 2001-12-20 Juergen Vigna <jug@sad.it>
12421 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12422 inside inset but undo_par was.
12424 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12426 * Thesaurus.C: always include <config.h> in sources.
12430 * box.h: do not include <config.h> in header files
12432 * text.C (paintLastRow): remove unused variable
12434 * text.C (transformChar):
12436 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12438 * Painter.C (text):
12439 * font.C (width): rewrite to use uppercase() instead of
12442 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12444 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12446 * lyxfind.C: clean up of find failure position change
12448 2001-12-20 Juergen Vigna <jug@sad.it>
12450 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12452 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12453 (TeXRow): added to LaTeX a single tabular row.
12454 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12455 (Latex): simplified and finally good LT-h/f support.
12456 (various_functions): just small adaptions for LT-h/f support.
12458 * tabular_funcs.[hC]: added and moved here all not classfunctions
12461 2001-12-19 Juergen Vigna <jug@sad.it>
12463 * tabular.[Ch]: better support for longtabular options (not finished
12466 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12468 * text.C (paintLastRow): use the label font instead of the font of
12469 the last character to compute the size of *_BOX. This makes more
12470 sense and avoids a crash with empty paragraphs.
12471 Use Painter::rectangle to draw EMPTY_BOX.
12473 2001-12-19 Juergen Vigna <jug@sad.it>
12475 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12476 the paragraphs if the replaced paragraph is not the first one!
12477 Tried to delete not used paragraphs but does not work yet so for
12478 now it's inside #ifdef's and by default off!
12480 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12482 * MenuBackend.C: include "lyx_main.h" instead of declaring
12483 lastfiles (actually was declared as LastFiles* instead of a
12486 2001-12-17 Juergen Vigna <jug@sad.it>
12488 * tabular.C (AppendColumn): applied John's fix
12490 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12494 * BufferView_pimpl.h:
12495 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12498 * box.h: new start of class for above
12500 * lyxfunc.C: ignore space-only minibuffer dispatches.
12501 Show the command name when it doesn't exist
12503 * minibuffer.C: don't add empty lines to the history
12505 * minibuffer.C: add a space on dropdown completion
12507 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12509 * text.C: fix line above/below drawing in insets
12511 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12513 * lyxlength.C (LyXLength): Initialize private variables.
12515 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12517 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12518 when inserting error insets.
12520 2001-12-13 Juergen Vigna <jug@sad.it>
12522 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12523 actually sometimes the before-paragraph.
12524 (setUndo): don't clear the redostack if we're not actually undoing!
12526 2001-12-06 Juergen Vigna <jug@sad.it>
12528 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12529 and fixed redoing of main paragraph, so we can use it now ;)
12531 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12533 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12535 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12538 2001-12-13 André Pönitz <poenitz@gmx.net>
12541 * undo_func.C: minor cleanup
12543 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12545 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12546 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12547 font in urw-fonts package which is marked as -urw-fontspecific and
12548 does not work (incidentally, changing the encoding in the
12549 fonts.dir of this package to -adobe-fontspecific fixes the
12552 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12553 is a crash when undoing first paragraph (Juergen, please take a
12554 look). THis does not mean the undo fix is wrong, just that it
12557 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12558 the (Paragraph*) version when needed instead of duplicating the
12561 * text.C (workWidth): use Inset::parOwner to find out where the
12562 inset has been inserted. This is a huge performance gain for large
12563 documents with lots of insets. If Inset::parOwner is not set, fall
12564 back on the brute force method
12566 * paragraph_pimpl.C (insertInset):
12567 * paragraph.C (Paragraph):
12568 (cutIntoMinibuffer): set parOwner of insets when
12569 inserting/removing them
12571 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12573 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12579 * mathed/formulabase.C:
12580 * mathed/math_cursor.[Ch]:
12581 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12584 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12586 * lyxlength.[Ch] (operator!=): new function
12588 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12590 * text.C (workWidth): use Inset::parOwner to find out where the
12591 inset has been inserted. This is a huge performance gain for large
12592 documents with lots of insets. If Inset::parOwner is not set, fall
12593 back on the brute force method
12595 * paragraph_pimpl.C (insertInset):
12596 * paragraph.C (Paragraph):
12597 (cutIntoMinibuffer): set parOwner of insets when
12598 inserting/removing them
12600 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12602 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12604 * tabular-old.C (getTokenValue):
12605 * tabular.C (getTokenValue):
12606 (write_attribute): new versions for LyXLength
12607 (everywhere): adjust the use of widths
12609 * tabular.h: change the type of widths from string to LyXLength
12611 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12613 * paragraph.C: fixed missing line number count when exporting
12614 Environments to LaTeX file
12616 * buffer.C: added informational message for checking line numbers.
12618 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12620 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12621 paragraph, do the 'double space' part, but not the 'empty
12624 * text.C (workWidth): small optimization
12625 (getLengthMarkerHeight): use minimal size for negative lengths.
12627 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12629 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12631 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12633 2001-12-11 André Pönitz <poenitz@gmx.net>
12636 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12638 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12640 * text2.C: keep selection on a setFont()
12642 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12644 * lyx_cb.C: another bv->text misuse, from insert label
12646 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12649 * kbsequence.C: re-instate nmodifier mask
12651 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12653 * lyx_main.h: make lyxGUI private.
12655 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12657 * lyxfind.C: place the cursor correctly on failed search
12659 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12661 * text.C (getLengthMarkerHeight): for small heights, the arrows
12662 are not always on top/bottom of the text
12663 (drawLengthMarker): smaller arrows; take the left margin in
12664 account; draw also vfills.
12666 (paintLastRow): remove special code for vfill and standard spaces,
12667 since everything is handled in drawLengthMarker now.
12669 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12671 * buffer.C (insertErtContents): try to handle font and language
12672 interaction a bit better.g
12674 * ColorHandler.C (updateColor): change the hash to cover the whole
12675 LColor enum, ws cleanup
12676 (getGCLinepars): ditto
12677 (getGCLinepars): only lookup in the linecache once.
12679 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12681 * iterators.C (operator++): Make the iterator more robust
12683 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12685 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12687 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12690 * text.C: better added space drawing
12692 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12695 * BufferView2.C: fix layout combo update on inset unlock
12697 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12699 * Makefile.am: don't compile unused files
12701 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12705 * LyXAction.C: remove old LFUN_LAYOUTNO
12707 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12709 * paragraph_pimpl.h:
12710 * paragraph_pimpl.C: isTextAt() doesn't need font param
12712 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12715 * lyxlex.C: little cleanup
12717 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12719 * BufferView_pimpl.C: fix insertAscii for insets
12721 2001-12-05 Juergen Vigna <jug@sad.it>
12723 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12724 set the right font on the "multi" paragraph paste!
12726 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12732 * lyxlength.C: remove out-commented code.
12734 * BufferView_pimpl:
12748 * vc-backend.C: change "while(" to "while ("
12750 * lyxlength.[Ch]: add zero function to check if length is zero or
12752 * lyxgluelength.C: use it
12754 2001-12-05 Allan Rae <rae@lyx.org>
12756 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12757 Works for 2.95.3, from what I understand of Garst's reports this should
12758 work for other g++ versions. We're screwed if the abs(int) definition
12759 changed between bugfix releases of gcc.
12761 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12763 * text.C: fix chapter label offset !
12765 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12768 * text.C: fix hfill at end of line, clean up
12770 2001-12-04 Juergen Vigna <jug@sad.it>
12772 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12773 that we force an update of the inset and it's owners if neccessary.
12775 2001-12-03 Juergen Vigna <jug@sad.it>
12777 * text.C (rowLast): simplified code
12779 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12781 * lyxfunc.C: fix show options on timeout
12783 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12785 * screen.C (topCursorVisible): scroll half a page when the cursor
12786 reached top of bottom of screen
12788 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12790 * minibuffer.C: deactivate on loss of focus
12792 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12794 * vspace.[Ch] (operator!=): add operator.
12796 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12798 * BufferView_pimpl.C: refuse to open an inset when
12799 there's a selection.
12801 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12803 * BufferView_pimpl.C: allow to click on RHS of full row insets
12805 2001-11-30 Juergen Vigna <jug@sad.it>
12807 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12808 insets for undo reasons.
12810 2001-11-28 André Pönitz <poenitz@gmx.net>
12812 * vspace.[Ch]: cosmetical changes
12814 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12824 * kbsequence.C: part re-write of old kb code
12827 * WorkArea.C: remove Lgb_bug_find_hack
12829 2001-11-30 José Matos <jamatos@fep.up.pt>
12831 * buffer.C (makeDocBookFile): add a comment to point a hack.
12832 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12833 Fixed a double write of labels.
12835 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12838 * LaTeX.h Fixed bug in LaTeX class where it would not
12839 re-run latex if no depfiles were changed, but the .dvi was removed.
12841 2001-11-28 André Pönitz <poenitz@gmx.net>
12843 * all the files from the change on 2001/11/26:
12844 use lyx::layout_type instead of LyXTextClass::size_type
12845 use lyx::textclass_type instead of LyXTextClassList::size_type
12847 2001-11-29 Juergen Vigna <jug@sad.it>
12849 * text.C: added support for paragraph::isFreeSpacing()
12851 * buffer.C: same as above
12853 * paragraph.h: inserted isFreeSpacing() function to enable
12854 FreeSpacing inside InsetERT.
12856 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12857 of the paragraph's in the cut/copy buffer to 0!
12859 * text2.C (removeRow): remove the assert as it can!
12861 * lyxtext.h: added helper function firstRow returning firstrow and
12862 made firstrow private again.
12864 * BufferView2.C (lockInset): don't relock if we're already locked!
12866 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12867 the only paragraph.
12868 (removeRow): added Assert::(firstrow)
12870 * debug.C: forgot to add INSETTEXT here.
12872 2001-11-28 Juergen Vigna <jug@sad.it>
12874 * sp_spell.C (initialize): changed error text to more general
12875 spellchecker command use (not only ispell!)
12877 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12879 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12881 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12883 * vspace.C: initialise lyxgluelength on failure
12885 2001-11-28 Allan Rae <rae@lyx.org>
12887 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12888 declaration & definition that looks like a function declaration.
12890 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12892 * BufferView2.C (copy):
12893 (copyEnvironment): do not clear the selection when doing a copy.
12895 * text.C (paintFirstRow): compilation fix
12897 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12899 * tabular.C (Latex): correct line count when writing latex.
12901 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12903 * paragraph_pimpl.h:
12904 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12907 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12911 * LColor.C: change vfillline->added_space
12913 * text.C: add markers and text for added space
12915 * vspace.C: fix comment
12917 2001-11-28 André Pönitz <poenitz@gmx.net>
12919 * paragraph.C: whitespace changes
12920 * all the other files from the change on 2001/11/26:
12921 change *::pos_type into lyx::pos_type
12923 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12925 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12926 language of the document when inserting error insets.
12928 2001-11-26 André Pönitz <poenitz@gmx.net>
12930 * BufferView_pimpl.[Ch]:
12938 * paragraph_pimpl.[Ch]:
12941 * text2.C: reduce header dependencies, introduce type for positions
12943 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12945 * <various>: change to use Alert.h
12947 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12949 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12950 when encountering an unknown token.
12951 (readLyXformat2): Show an error message if there were unknown tokens.
12953 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12956 * BufferView_pimpl.C:
12960 * text2.C: use par->isInset()
12962 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12964 * paragraph_pimpl.h:
12965 * paragraph_pimpl.C: cleanup
12967 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12969 * text2.C (removeRow):
12970 * text.C (setHeightOfRow): remove useless (and costly) call to
12973 2001-11-20 Allan Rae <rae@lyx.org>
12975 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12976 Now need Inset*::checkInsertChar() to return true for appropriate
12977 cases so that the characters in the minibuffer will actually be
12980 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12982 * text.C: change the order of the includes.
12983 (workWidth): initialize it at once.
12984 (workWidth): make maxw unsigned
12985 (setHeightOfRow): remove unused variable (inset)
12986 (selectSelectedWord): remove unused variable (inset)
12987 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12989 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12991 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12992 server is not running.
12994 (closeConnection): add debug info when server is disabled.
12996 * ColorHandler.C (getGCForeground): send debug message to GUI
12999 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
13001 * kbmap.C (bind): modify because return conventions of
13002 kb_sequence::parse have changed.
13004 * kbsequence.C (parse): only ignore spaces and not any stupid
13005 control character. This avoids tests like s[i] <= ' ', which are
13006 guaranteed to fail with 8bit characters and signed chars.
13007 Change return code to string::npos when there have been no error
13008 (0 was a bad idea when error is at first character)
13010 2001-11-14 José Matos <jamatos@fep.up.pt>
13013 * buffer.C (simpleDocBookOnePar): removed unused argument.
13015 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13017 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13018 insets which are part of a word. Paragraph::isLetter takes care of
13019 that now. Use Paragraph::isInset to identify insets.
13020 (selectSelectedWord): do not test for hyphenation break.
13022 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13023 that protected spaces are considered as spaces.
13025 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13028 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13031 * lyxserver.C: fix it. and small cleanup.
13033 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13035 * BufferView_pimpl.C: use inline helpers
13038 * LaTeXFeatures.C: fix typos
13041 * Spacing.C: move spacing_string into class
13043 * ToolbarDefaults.C: move stuff into namespace anon
13045 * layout.h: update enum
13047 * lyxfunc.C: use better debug
13049 * minibuffer.h: fix typo
13053 * WorkArea.C: add and use Debug::WORKAREA
13057 * text2.C: code re-organisation, inline helpers
13059 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13061 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13062 std::vector.empty().
13064 2001-11-09 Allan Rae <rae@lyx.org>
13066 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13067 '\n's after tables. Tabular and ERT inset work now makes this no
13070 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13073 * minibuffer.C: fix crash, improve drop-down completion
13075 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13078 * lyxserver.C: invalidate fd's when doing endPipe()
13080 2001-11-08 José Matos <jamatos@fep.up.pt>
13082 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13083 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13086 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13088 2001-11-07 José Matos <jamatos@fep.up.pt>
13091 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13094 * buffer.C (sgmlOpenTag):
13095 * buffer.C (sgmlCloseTag): removed debug info.
13097 * buffer.h (sgmlOpenTag):
13098 * buffer.h (sgmlCloseTag): made public.
13100 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13102 * buffer.C (saveParamsAsDefaults):
13103 * lyx_cb.C (MenuLayoutSave): remove
13105 * LyXAction.C (init):
13107 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13109 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13111 * buffer.C (setPaperStuff): removed from here...
13113 * bufferparams.C (setPaperStuff): ... and moved there.
13115 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13119 * XFormsView.C: add support for drop-down completion
13121 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13123 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13126 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13128 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13131 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13133 * lyx_main.C: change ref to known bugs
13135 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13137 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13138 to work around older babel problems.
13140 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13142 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13144 2001-10-24 Juergen Vigna <jug@sad.it>
13146 * tabular-old.C (ReadOld): below variable changes reflected.
13148 * tabular.[Ch]: added ltType struct for longtable header/footer
13149 defines and changed all instances where they are used. Added
13150 future support for double top/bottom rows.
13152 2001-10-24 José Matos <jamatos@fep.up.pt>
13154 * buffer.h (docbookHandleCaption):
13155 * buffer.C (docbookHandleCaption): removed unused function.
13156 (makeDocBookFile): moved docbook supported version to v4.1.
13158 2001-10-24 José Matos <jamatos@fep.up.pt>
13161 * tabular.C (docbookRow): new function to export docbook code of a row.
13162 (DocBook): now honors the longtable flags.
13164 2001-10-23 José Matos <jamatos@fep.up.pt>
13167 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13168 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13170 * buffer.C (makeLinuxDocFile):
13171 (makeDocBookFile): reworked the preamble, more clean, and with
13172 support for lyx defined entities. Changed the document declaration
13173 to be more XML friendly.
13175 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13176 if we need to output XML that should be done with a filter.
13178 2001-10-22 Juergen Vigna <jug@sad.it>
13180 * sp_pspell.h (class PSpell): add alive function needed in the
13181 controller to see if the spellchecker could be started.
13183 2001-10-22 Juergen Vigna <jug@sad.it>
13185 * buffer.C (insertStringAsLines): modify the font for inserting
13186 chars in certain conditions by calling checkInsertChar(font).
13188 2001-10-19 Juergen Vigna <jug@sad.it>
13190 * text.C (workWidth): use getRow instead of wrong algorithm.
13191 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13193 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13198 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13200 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13202 * text.C (workWidth): do not search for the exact row when
13203 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13204 optimization for big documents.
13206 2001-10-18 Juergen Vigna <jug@sad.it>
13208 * text.C (workWidth): new function with added Inset * parameter.
13210 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13212 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13214 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13215 change return type of getColumnNearX.
13218 * text.C (changeRegionCase): use uppercase/lowercase instead of
13221 (rightMargin): simplify code by factoring out the uses of
13226 (appendParagraph): use Paragraph::size_type
13228 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13230 * vspace.C (asLatexString): add a missing break
13232 2001-10-15 Herbert Voss <voss@perce.de>
13234 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13236 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13238 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13241 2001-10-10 André Pönitz <poenitz@gmx.net>
13243 * lyxfunc.C: removed greek_kb_flag.
13245 2001-10-10 Herbert Voss <voss@perce.de>
13247 * lyx_main.C: delete global string help_lyxdir.
13249 2001-10-09 Herbert Voss <voss@perce.de>
13251 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13253 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13255 * lyx_main.C: added global string help_lyxdir.
13257 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13259 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13261 * lyxrc.C (set_font_norm_type): support iso8859-4
13263 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13265 * LaTeX.C (deplog): add another regex for MikTeX
13267 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13269 * lyxrc.C (set_font_norm_type): support iso8859-3
13271 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13273 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13275 * LaTeXFeatures.C: remove special case of french and index
13277 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13278 before \begin{document}). This solves several incompatibilities.
13280 2001-10-03 Garst Reese <reese@isn.net>
13282 * lyx_cb.C: change CheckTex error msg.
13284 2001-10-03 José Matos <jamatos@fep.up.pt>
13286 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13288 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13290 * .cvsignore: update
13292 * lyx_main.C (commandLineVersionInfo): use new style version info.
13294 * buffer.C (writeFile):
13296 (makeLinuxDocFile):
13297 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13299 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13301 * version.h: update to use stuff in version.C
13303 * version.C.in: new file. Contains version information determined
13304 at compile time. This is a merging of version.h and
13307 2001-10-03 Juergen Vigna <jug@sad.it>
13309 * BufferView_pimpl.C (update): don't change "dirty" status in
13312 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13314 * WorkArea.C (c-tor): re-position version string slightly.
13316 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13318 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13319 revert to previous code.
13321 WorkArea.[Ch]: (show, destroySplash): methods removed.
13323 WorkArea.C: rework code so that it's an amalgam of the codes before and
13324 after the splash screen was moved to WorkArea.
13326 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13329 * vspace.C (inPixels):
13332 * buffer.C (insertStringAsLines):
13333 (asciiParagraph): fix types to be large enough
13335 * lyxlex_pimpl.h: change member status from short to int
13337 * layout.h: fix type of endlabeltype
13340 * kbsequence.C (parse): change return type to string::size_type
13342 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13345 * Bullet.C (bulletSize):
13346 (bulletEntry): do not use short ints as parameters
13348 * BufferView2.C (insertLyXFile): change a char to an int.
13350 * WorkArea.C (WorkArea): remove unneeded floats in computation
13352 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13354 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13356 * paragraph.C (asString): Do not ignore newline/hfill chars when
13357 copying to the clipboard.
13359 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13361 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13362 after a multi-line inset.
13364 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13366 * paragraph.C (validate): Set NeedLyXFootnoteCode
13368 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13370 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13371 and decrease-error to decrease.
13373 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13375 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13376 it more readable (should be equivalent)
13378 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13380 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13382 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13384 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13385 of a cursor (row, etc.) after a character has been deleted
13386 (deleteEmptyParagraphMechanism): call the method above on _all_
13387 cursors held by the LyXText when a double space has been
13390 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13392 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13394 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13396 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13397 background. Use greyOut() and the new show() methods to toggle between
13398 the foreground and background. Add code to remove the splash after
13399 its initial showing.
13401 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13402 (create_forms): no longer call Dialogs::showSplash.
13404 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13406 * .cvsignore: add version_info.h
13408 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13410 * version_info.h.in: new file
13412 * Makefile.am: add version_info.h.in
13414 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13415 version_info.h instead of VERSION_INFO
13417 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13419 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13420 The ERT inset now returns string().
13422 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13424 * lyxtext.h, text.C (selectNextWord): renamed as
13425 selectNextWordToSpellcheck.
13427 * text.C (selectNextWordToSpellcheck): Modified to not select
13428 words inside an ERT inset.
13430 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13432 * lyx_cb.C (MenuLayoutSave): change a bit the question
13434 * sp_base.h: include <sys/types.h>
13436 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13438 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13440 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13442 * several files: fix typos in user-visible strings
13444 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13446 * text2.C (pasteSelection): do not set the selection, since it
13447 will be cleared later. Actually, the intent was to fix the way the
13448 selection was set, but I figured rmoving the code was just as good.
13450 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13452 * FontLoader.C (available): Check if font is available without
13455 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13457 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13459 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13461 * lyxrc.[Ch]: added display_graphics variable and associated code.
13463 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13465 * bufferparams.C (hasClassDefaults): new method. Returns true if
13466 the buffer parameters correspond to known class defaults
13468 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13470 * XFormsView.C (show): set minimum size to the main window.
13472 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13474 * text2.C (copySelection):
13476 * lyxfind.C (LyXReplace):
13477 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13478 LyXText::selectionAsString.
13480 * paragraph.C (asString): add "label" argument to the second form
13482 * text2.C (selectionAsString): add "label" argument and pass it to
13483 Paragraph::asString.
13485 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13487 * lyx_main.C (commandLineHelp): remove version information
13489 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13491 * lyx_main.C: add -version commandline option
13493 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13495 * paragraph.h: make the optional constructor arg required instead.
13496 some modifications to other files because of this.
13498 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13500 * lyxserver.C (C_LyXComm_callback): make it static
13502 * lyx_main.C (error_handler): make it static
13504 * lyx_gui.C (LyX_XErrHandler): make it static
13506 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13508 * WorkArea.C: make the extern "C" methods static.
13510 * Makefile.am (lyx_LDADD): simplify
13512 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13514 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13515 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13517 * LyXAction.C (init):
13518 * lyxfunc.C (dispatch): associated code removal.
13520 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13522 * lyxfont.h (isSymbolFont): shut off warning
13524 * text.C (setHeightOfRow):
13525 (getVisibleRow): fix crash with empty paragraphs which have a
13528 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13530 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13533 2001-09-04 José Matos <jamatos@fep.up.pt>
13536 * tabular.C (docbook): rename docBook method to docbook.
13538 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13540 * Makefile.am: add dependencies to main.o.
13542 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13544 * FontLoader.C (available): Return false if !lyxrc.use_gui
13546 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13548 * FontInfo.C (query):
13549 * converter.C (view):
13550 * importer.C (Import):
13551 * exporter.C (Export): Can not -> cannot.
13553 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13555 * BufferView_pimpl.C: allow to create index inset even if
13558 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13560 * buffer.C (getLists): replace boost::tie code with an explicit pair
13561 as boost::tie can break some compilers.
13563 * iterators.h: Added a std:: declaration to the return type of
13566 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13568 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13571 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13573 * iterators.[Ch]: New files. Provide paragraph iterators.
13575 * buffer.C (changeLanguage): Use paragraph iterators.
13576 (isMultiLingual): ditto
13578 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13580 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13582 * FontLoader.C: Support for cmr font.
13584 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13586 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13587 (available): New method.
13589 * FontInfo.C (getFontname): Use scalable fonts even when
13590 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13593 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13595 * converter.C (Formats::view): reverted! Incorrect fix.
13597 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13599 * converter.C (Formats::view): only output the -paper option
13600 if the dvi viewer is xdvi, thereby fixing bug #233429.
13602 2001-08-23 Herbert Voss <voss@perce>
13604 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13606 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13608 * Spacing.h (Spacing): Set space to Default on in the default
13611 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13613 * vc-backend.h (RCS::versionString): add RCS to version
13614 (CVS::versionString): add CVS to version
13616 * vc-backend.C (scanMaster): do not add CVS to version.
13617 (scanMaster): do not add RCS to version
13619 * lyxvc.C (versionString): new method
13621 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13623 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13625 * Spacing.C (set): initialize fval
13627 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13629 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13632 2001-08-16 Juergen Vigna <jug@sad.it>
13634 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13636 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13638 * BufferView_pimpl.C:
13641 * text2.C: setParagraph takes linespacing now
13643 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13645 * LyxAction.C: add internal LFUN_CITATION_INSERT
13647 * LyXView.C: actually apply fix
13649 * bufferlist.C: fix open non-existent file
13651 * lyxfind.C: fix indentation
13653 * lyxfunc.C: remove unneeded assert, fix typo
13655 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13657 * MenuBackend.C: use "Floatname List"
13659 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13661 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13662 when converting LaTeX layout to insetERT.
13663 Generate a non-collapsed float when reading old float
13665 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13667 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13670 2001-08-13 Juergen Vigna <jug@sad.it>
13672 * text.C (fill): return 0 instead of 20 as this seems to be the more
13675 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13677 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13680 2001-08-13 Juergen Vigna <jug@sad.it>
13682 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13684 (SearchBackward): comment out the unlocking of the inset_owner this
13685 should not be needed!
13687 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13689 * Many files: Remove inherit_language, and add latex_language
13691 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13692 collapsible insets.
13694 2001-08-10 Juergen Vigna <jug@sad.it>
13696 * text.C (prepareToPrint): fixed hfill-width in draw!
13698 * BufferView2.C (selectLastWord): save the selection cursor as this
13699 now is cleared in the function LyXText::clearSelection!
13701 2001-08-08 Juergen Vigna <jug@sad.it>
13703 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13704 BACKSPACE type functions.
13706 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13707 is only cutted from the document but not put in the cut-buffer, where
13708 still the old stuff should be.
13710 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13712 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13714 * tabular.C (SetWidthOfCell): fixed special case where the width
13716 (LeftLine): handle '|' in align_special.
13718 (LeftAlreadyDrawed): ditto
13719 (SetWidthOfCell): ditto
13721 2001-08-07 Juergen Vigna <jug@sad.it>
13723 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13725 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13727 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13728 * lyxlex.[hC]: ditto
13730 2001-08-06 Juergen Vigna <jug@sad.it>
13732 * text.C (getVisibleRow): fix up row clearing a bit.
13734 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13736 * minibuffer.C: make sure the X server sees the changes in the input.
13738 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13740 * paragraph.C (getFont): split into...
13741 (getLabelFont): this
13742 (getLayoutFont): and this
13743 * paragraph_pimpl.C (realizeFont): calling this
13745 * text2.C (getFont): split into...
13746 (getLayoutFont): this
13747 (getLabelFont): and this
13748 (realizeFont): all three calling this
13750 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13753 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13755 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13757 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13759 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13760 layouts from the Quote inset insertion.
13762 2001-08-03 Juergen Vigna <jug@sad.it>
13764 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13766 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13767 only if status not is already CHANGED_IN_DRAW (second level).
13769 * text.C (draw): don't set the need_break_row when inside an
13772 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13774 * buffer.C (parseSingleLyXformat2Token): handle more latex
13777 * bufferview_funcs.[hC]: change function names to
13778 begin with small char, adjust other files.
13780 2001-08-02 André Pönitz <poenitz@gmx.net>
13783 BufferView_pimpl.C: remove broken special code for math-greek
13785 2001-08-02 Juergen Vigna <jug@sad.it>
13787 * BufferView_pimpl.C (update): redone this function so that we
13788 update the text again if there was a CHANGE_IN_DRAW.
13790 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13791 (drawFromTo): added a new internal bool which is used by draw() and
13793 (general): some cursor drawing problems fixed.
13795 2001-08-01 Juergen Vigna <jug@sad.it>
13797 * lyxfind.C (LyXFind): fixed
13798 (SearchForward): ditto
13799 (SearchBackward): ditto
13801 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13802 spurius drawing of the cursor in the main area.
13804 * text2.C (status): small fix which could lead to a segfault!
13805 (clearSelection): remove unneeded BufferView param.
13807 2001-08-01 André Pönitz <poenitz@gmx.net>
13809 * lyxfunc.C: small change due to changed mathed interface
13811 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13813 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13815 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13817 * lyxfunc.c: fail gracefully if file doesn't exist
13822 * BufferView_pimpl.C: IsDirWriteable() proto changed
13824 * LyXView.C: fix updateWindowTitle() to store the last title
13826 2001-07-31 Juergen Vigna <jug@sad.it>
13828 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13829 the font (wrong since using of Paragraph::highestFontInRange).
13831 * paragraph.C (highestFontInRange): added a default_size parameter.
13833 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13834 (setHeightOfRow): reformat
13836 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13838 * converter.[hC] + affected files: move to (inital-char)lowercase
13841 * ParagraphParameters.C (ParagraphParameters): remove commented code
13843 * PainterBase.[Ch]: remove commented code
13845 * LaTeXFeatures.h: add "bool floats" for float.sty
13847 * LaTeXFeatures.C (LaTeXFeatures): init floats
13848 (require): handle float
13849 (getPackages): do it with floats
13851 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13853 * BufferView_pimpl.C (Dispatch): improve handling of
13854 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13856 * commandtags.h: #include lyxfont.h here temporarily to avoid
13859 * bufferlist.h: include LString.h here.
13861 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13863 * text2.C (getStringToIndex): new method.
13865 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13867 * *: Reduced header file dependencies all over.
13869 2001-07-30 Baruch Even <baruch@lyx.org>
13871 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13873 2001-07-29 Baruch Even <baruch@lyx.org>
13875 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13877 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13879 * ParameterStruct.h (endif): add a default constructor to make
13880 sure that all variables is initialized.
13882 * ParagraphParameters.C (ParagraphParameters): adjust
13884 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13886 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13887 index; also, check that there is something to index, and that it
13888 does not span over several paragraphs.
13889 (doubleClick): use WHOLE_WORD_STRICT for double click.
13891 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13893 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13896 2001-07-26 Baruch Even <baruch@lyx.org>
13898 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13899 an InsetFig figure, backwards compatible reading of old figure code.
13901 2001-07-27 Juergen Vigna <jug@sad.it>
13903 * text2.C: font.realize function adaption.
13905 * text.C (draw): add a warnings lyxerr text if needed.
13907 * layout.C: font.realize function adaption.
13909 * language.C: add inherit_language and implement it's handlings
13911 * bufferview_funcs.C (StyleReset): remove language parameter from
13912 font creation (should be language_inherit now).
13914 * bufferparams.C (writeFile): handle ignore_language.
13916 * paragraph.C (getFontSettings): the language has to be resolved
13917 otherwise we have problems in LyXFont!
13919 * lyxfont.C (lyxWriteChanges): added document_language parameter
13920 (update): removed unneeded language parameter
13922 * paragraph.C (validate): fixed wrong output of color-package when
13923 using interface colors for certain fonts in certain environments,
13924 which should not seen as that on the final output.
13926 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13928 * BufferView_pimpl.C:
13933 * LyXAction.C: add thesaurus support
13936 * lyxfind.C: add "once" parameter, for thesaurus, to not
13937 move to the next match
13939 2001-07-26 Juergen Vigna <jug@sad.it>
13941 * lyxfont.C (realize): honor ignore_language too!
13944 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13946 * text.C (draw): one place more for ignore_language to not draw
13949 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13951 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13953 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13955 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13956 the minipage conversion problem.
13958 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13960 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13963 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13965 * BufferView.h: don't forward declare WorkArea
13967 * BufferView.C: don't include WorkArea.h
13969 2001-07-25 André Pönitz <poenitz@gmx.net>
13973 * lyxfunc.C: new LFUN 'math-space'
13975 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13977 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13979 * text2.C (toggleInset): call open/close
13981 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13983 * lyxfunc.C (dispatch): add debug for the disabled case
13985 * font.C (buttonText): make similar to rectText
13987 * buffer.C (readInset): comment out parsing of insetlist and
13990 * PainterBase.C (rectText): small correction
13992 * BufferView_pimpl.C: comment out insettheorem and insetlist
13993 * LyXAction.C: ditto
13994 * commandtags.h: ditto
13996 2001-07-24 Juergen Vigna <jug@sad.it>
13998 * text.C (draw): honor the ignore_language.
14000 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
14002 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14004 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
14007 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14009 * lyxtext.h: remove unused (and unimplemented) methods
14011 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14013 * text.C (getVisibleRow): honor background color
14016 * Painter.h: remove default color argument for fillRectangle
14018 * text.C (backgroundColor): new method
14020 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14022 * text.C (getVisibleRow): adjust
14024 * font.[Ch] (rectText): new method, metrics
14025 (buttonText): new method, metrics
14027 * PainterBase.[hC]: make rectText and buttonText always draw and take
14030 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14032 * ToolbarDefaults.C (read):
14033 * MenuBackend.C (read): allow escaping in all strings
14035 * BufferView_pimpl.C (insertAndEditInset): new method.
14036 (Dispatch): use insertAndEditInset whenever appropriate.
14038 * BufferView_pimpl.C (insertNote): removed
14040 * BufferView_pimpl.C (smartQuote): new method, moved from
14041 BufferView; if an insetquote cannot be inserted, insert a '"'
14044 * BufferView2.C: remove insertCorrectQuote();
14046 * lyxfunc.C (getStatus): Add support for all remaingin
14047 inset-insert lfuns.
14049 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14051 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14052 command (necessary to pass " as parameter of self-insert.
14054 * text.C (selectWordWhenUnderCursor):
14055 (selectWord): add word_location parameter
14056 (selectWordWhenUnderCursor): same + remove special code for word
14058 (selectNextWord): use kind() to guess type of insetspecialchar,
14061 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14062 (insertErtContents): create ert insets as collapsed.
14063 (readInset): better compatibility code for Info inset.
14065 2001-07-20 Juergen Vigna <jug@sad.it>
14067 * lyxfunc.C (dispatch): use always LyXFind now!
14069 * text2.C (init): add a reinit flag so that the LyXText can be
14070 reinited instead of deleted and reallocated (used in InsetText).
14072 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14078 2001-07-18 Juergen Vigna <jug@sad.it>
14080 * text.C (selectNextWord): handle insets inside inset by calling
14081 always the bv->text functions so that we can go up the_locking_inset!
14083 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14084 in strange locations when inside an inset!
14086 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14087 handling to include insets.
14089 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14091 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14093 * LyXAction.C (init):
14095 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14096 LIGATURE_BREAK, since the name is so stupid.
14098 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14100 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14103 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14105 * sp_form.[Ch]: remove.
14107 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14109 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14112 * src/buffer.C (readInset): ditto.
14114 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14116 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14117 menuSeparator(), endOfSentenceDot(), ldots() and
14118 hyphenationPoint(), which are therefore removed.
14119 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14121 * LyXAction.C (init):
14122 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14124 * paragraph.C (getWord): removed.
14126 * BufferView_pimpl.C (Dispatch): use last word or selection for
14127 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14129 * lyx_main.C (queryUserLyXDir): do not ask before creating
14130 user_dir, except if it has been named explicitely.
14132 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14134 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14135 a document of zero size.
14137 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14139 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14140 approriately in the c-tor and in require().
14141 (getPackages): output the appropriate LaTeX for natbib support.
14143 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14144 variables "use_natbib" and "use_numerical_citations" when reading the
14146 (readInset): read the various natbib cite commands.
14147 (validate): white-space change.
14149 * bufferparams.[Ch]: new variables "bool use_natbib" and
14150 "bool use_numerical_citations".
14151 (writeFile): output them in the LyX file.
14153 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14155 * lyxfunc.C (getStatus): add support for all the inset insertion
14158 * text2.C (insertInset):
14159 * paragraph.C (insetAllowed):
14160 * BufferView_pimpl.C (insertInset): update to take in account the
14161 renaming of insertInsetAllowed
14163 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14165 * text2.C (getInset): new method. returns inset at cursor position.
14167 * BufferView_pimpl.C (Dispatch): changes because of this.
14169 * LyXAction.C (init): rename open-stuff to inset-toggle.
14171 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14173 * text2.C (toggleInset): renamed from openStuff; use
14176 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14178 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14180 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14182 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14184 * buffer.C (readLyXformat2): Add filename to the error dialog
14186 2001-07-18 Juergen Vigna <jug@sad.it>
14188 * tabular.C (GetCellNumber): put an assert here instead of the check!
14190 2001-07-17 Juergen Vigna <jug@sad.it>
14192 * BufferView_pimpl.C (toggleSelection): adapted too.
14194 * text.C (selectNextWord): adapted for use with insets.
14195 (selectSelectedWord): ditto
14197 2001-07-17 Juergen Vigna <jug@sad.it>
14199 * sp_spell.C (PSpell): fix initialitation order.
14201 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14203 * paragraph.C: spacing
14205 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14207 * sp_spell.C: repair language selection for pspell
14209 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14211 * lyxfunc.h: change more methods to begin with lower char.
14213 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14215 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14216 for unknown layouts.
14218 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14220 * buffer.C (readLyXformat2): Generate an error dialog if there are
14223 2001-07-16 Juergen Vigna <jug@sad.it>
14225 * sp_spell.C: always compile ISpell part.
14227 * lyxrc.C: added use_pspell entry and it's handling.
14229 2001-07-13 Juergen Vigna <jug@sad.it>
14231 * sp_spell.C: removed double includes.
14233 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14235 Consistent use of Lsstream.h:
14236 * Lsstream.h: added using std::stringstream for consistencies sake.
14238 * buffer.C: removed using std::stringstream
14240 * lyxfont.C (stateText):
14241 * paragraph.C (asString):
14242 * text.C (selectNextWord, selectSelectedWord):
14243 * text2.C (setCounter):
14244 * vspace.C (asString, asLatexString):
14245 std::ostringstream -> ostringstream.
14247 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14249 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14250 * commandtags.h: add LFUN_HELP_ABOUTLYX
14251 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14253 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14255 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14257 * lyx_gui_misc.C: remove spellchecker
14258 * lyxfunc.C: showSpellchecker
14260 * sp_ispell.h: added
14261 * sp_pspell.h: added
14262 * sp_spell.C: added
14263 * sp_form.[Ch]: removed
14264 * spellchecker.[Ch]: removed
14266 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14268 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14270 (simpleTeXSpecialChars): Simply print the input character without
14271 any special translation if pass_thru is set.
14273 * layout.h: Added bool pass_thru to layout class for being able to
14274 implement pass through of a paragraph for Literate Programming.
14276 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14277 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14278 * layout.C (Read): add "passthru" to list of layout tags and add
14279 code to set the pass_thru boolean when it is read.
14281 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14283 * trans_decl.h: remove allowed from KmodInfo
14285 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14286 remove allowed code
14289 * paragraph_pimpl.C (erase): use boost::prior
14291 * Painter.C (text): use data() instead of c_str() when length is
14293 * WorkArea.C (putClipboard): ditto
14294 * font.h (width): ditto
14296 * BufferView2.C: use it-> instead of (*it). for iterators
14298 * paragraph_pimpl.C: ditto
14299 * paragraph.C: ditto
14300 * minibuffer.C: ditto
14301 * language.C: ditto
14303 * encoding.C: ditto
14304 * counters.C: ditto
14305 * converter.C: ditto
14307 * Variables.C: ditto
14308 * TextCache.C: ditto
14309 * MenuBackend.C: ditto
14310 * LyXAction.C: ditto
14312 * FloatList.C: ditto
14313 * DepTable.C: ditto
14314 * ColorHandler.C (LyXColorHandler): ditto
14316 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14318 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14320 * text2.C (openStuff): reintroduce this method (which had been
14321 nuked in NEW_INSETS frenzy).
14323 * lyxfunc.C (Dispatch): when an action has not been handled, use
14324 its name in the error message, not its number.
14326 * paragraph.C (inInset): change method name to begin with lowercase.
14329 * text2.C: updates because of this.
14331 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14333 * ToolbarDefaults.C (add): add spaces in error message
14335 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14337 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14338 (readLyXformat2): rename return_par to first_par, use lyxlex's
14339 pushToken and remove the manual push handling.
14340 (parseSingleLyXformat2Token): add another ert comp. variable:
14341 in_tabular, rename return_par to first_par. handle newlines better
14343 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14345 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14347 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14349 * text2.C (getParFromID): removed
14351 * buffer.C (getParFromID): new method moved form lyxtext.
14352 * BufferView2.C (insertErrors): adjust
14353 (setCursorFromRow): adjust
14354 * BufferView_pimpl.C (restorePosition): adjust
14355 * lyxfunc.C (Dispatch): adjust
14356 * undo_funcs.C (textUndo): adjust
14358 (textHandleUndo): adjust
14359 (textHandleUndo): adjust
14361 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14363 * buffer.C: up' the LYX_FORMAT
14365 * lyxfont.h: turn NO_LATEX on as default
14367 * buffer.C (insertErtContents): new methods of tex style compability.
14368 (parseSingleLyXformat2Token): use it several places.
14369 * tabular.C (OldFormatRead): and here
14371 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14373 * text2.C: remove some commented code.
14376 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14377 * trans.C: changes because of the above.
14379 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14381 * text2.C (setCounter): Fix counters bug with bibliography layout.
14383 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14385 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14386 own member functions
14387 (simpleTeXSpecialChars): ditto
14389 2001-07-06 Juergen Vigna <jug@sad.it>
14391 * a lot of files: changed the access to LyXText::status and the
14392 call of undo-functions.
14394 * undo.[Ch]: added a inset_id to the undo informations.
14396 * undo_funcs.[Ch]: added and moved here all undo functions.
14398 * lyxtext.h: give the status enum a weight, made status_ a private
14399 variable and made accessor functions for it, removed the whole bunch
14400 of undo-functions as they are now in their own file, make some
14401 functions publically available. Added function ownerParagraph with
14404 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14405 made InInset() a const function, added getParFromID() function.
14407 * buffer.[Ch]: added const version for inset_iterator functions,
14408 added getInsetFromID() function.
14410 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14411 changed undo functions for new version.
14413 2001-07-05 Juergen Vigna <jug@sad.it>
14415 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14416 unknow mechanism does not call the proper constructor but only this
14417 one also if I request the other!?
14419 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14421 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14423 * text2.C (LyXText): use initialization lists.
14425 * lyxtext.h (Selection): initialize set_ and mark_
14426 (init): remove method
14428 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14430 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14432 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14434 * screen.[Ch]: change method names to begin with lowercase
14436 * BufferView_pimpl.C (updateScrollbar): simplify further and
14437 hopefully make it a bit faster.
14439 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14441 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14442 calling directly xforms functions.
14444 * Painter.C (Painter):
14445 * lyx_cb.C (MenuWrite):
14446 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14449 * lyx_gui.C: remove bogus guiruntime extern declaration.
14451 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14453 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14455 (redoDrawingOfParagraph): ditto
14456 (redoParagraphs): ditto
14457 (cutSelection): don't create a object for CutAndPaste use the
14458 static method directly
14459 (pasteSelection): ditto
14461 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14464 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14466 * modifications to some other files because of this.
14468 * Makefile.am (lyx_SOURCES): add XFormsView
14470 * XFormsView.[Ch]: new files
14472 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14473 the main window. Move the gui dependent stuff to XFormsView
14475 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14477 * tabular.C (GetCellInset): update cur_cell also in the row/col
14478 version of this function.
14480 * lyxfunc.C: no need to include figure_form.h here.
14486 * lyxvc.C: no need to include forms.h here.
14488 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14490 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14492 * lyxfunc.C (Dispatch):
14494 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14495 constructor argument.
14497 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14499 * paragraph.C (Paragraph): dont't clear, and just set layout.
14500 (makeSameLayout): use params's copy contructor.
14502 * ParagraphParameters.[Ch] (makeSame): delete method
14504 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14506 * Variables.[Ch]: fix indentation, rename set to isSet
14508 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14510 * lyxfunc.C (Dispatch): fix typo
14512 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14514 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14517 * bufferlist.C: include assert.h for emergencyWrite().
14519 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14521 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14522 give up at last (bug #425202) !
14524 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14530 * spellchecker.C: strip spellchecker options and bring up
14531 preferences tab instead
14533 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14535 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14536 the istringstream constructor
14538 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14540 * paragraph.C (getLayout): fix return value
14542 * paragraph.h: do not declare getLayout as inline.
14544 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14546 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14548 * lyxcursor.h (operator<): new func
14549 (operator>): new func
14550 (operator>=): new func
14551 (operator<=): new func
14553 * text.C (changeCase): use selection.start and selection.end
14554 (changeRegionCase): require from to be <= to. Require par to be a
14557 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14559 2001-06-27 Juergen Vigna <jug@sad.it>
14561 * text.C (cursorLeftOneWord): changed to return the cursor and added
14562 overlay with BufferView * parameter which calls this one.
14564 (selectWord): use new getWord function.
14565 (changeCase): renamed from changeWordCase as and extended to work
14566 also on selections.
14568 * lyxtext.h: added enum word_location
14570 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14571 changeCase as this operates now also on selections.
14573 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14575 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14577 * many files: send debug output to Debug::INFO instead of
14580 * converter.C (View):
14582 (Move): send debug output to Debug::FILES instead of console.
14584 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14586 * lyxfunc.C (getStatus): use func_status
14588 * func_status.h: new header, describing the results of
14589 LyXFunc::getStatus;
14591 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14594 2001-06-25 The LyX Project <jug@sad.it>
14596 * buffer.C (sgmlOpenTag):
14598 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14600 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14602 * text2.C: remove some dead code
14604 * tabular.C (GetCellInset): store the last cell checked (gotten)
14606 * tabular.h: add the helper for the speedup
14608 * lyxtext.h: remove some dead code
14610 2001-06-26 The LyX Project <Asger>
14612 * paragraph.C: Change export to LaTeX of alignment to
14613 \begin{center} and family for better roundtrip work with reLyX.
14615 * Tune the math drawing a bit.
14617 2001-06-25 The LyX Project <Asger>
14619 * LColor.C (LColor): New color for math background. New color
14622 2001-06-25 The LyX Project <jug@sad.it>
14624 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14626 * lyxfunc.C (Open):
14627 * bufferlist.C (newFile): do not restrict to files ending with
14630 * BufferView_pimpl.C (MenuInsertLyXFile):
14632 2001-06-24 The LyX Project <jug@sad.it>
14634 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14637 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14639 * lyxtext.h: rename most methods to begin with a small char.
14640 Lots of changes because of this.
14642 * paragraph.C (Paragraph): do not call fitToSize
14643 (erase): call Pimpl::erase
14644 (insertChar): call Pimpl::insertChar
14645 (insertInset): call Pipl::insertInset
14646 (breakParagraph): do not call fitToSize
14647 (breakParagraphConservative): do not call fitToSize
14648 (fitToSize): remove method
14650 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14652 2001-06-24 The LyX Project <Asger>
14654 * Fix Qt compilation^2
14656 2001-06-24 The LyX Project <jug@sad.it>
14658 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14659 depthHook(getDepth()-1).
14662 * ParagraphParameters.h:
14663 * ParameterStruct.h: change type of depth to unsigned int ==
14664 depth_type. Many adaptations to other files before of that.
14666 2001-06-24 The LyX Project <Asger>
14668 * Fix Qt compilation.
14670 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14672 * paragraph.h: renamed several methods to begin with small letter.
14673 several changes to many parts of the code because of this.
14675 2001-06-23 The LyX Project <jug@sad.it>
14677 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14678 rewritten to discard all double spaces when KeepEmpty is off
14679 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14680 to only handle newlines but not fiddle with spaces and friends.
14682 * lyxfunc.C (MenuNew): when doing 'new from template', use
14683 template_path as default directory
14685 2001-06-23 The LyX Project <Asger>
14687 * Clean-up of header file includes all over
14688 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14690 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14692 * paragraph.h: renamed from lyxparagraph.h
14694 2001-06-23 Asger <lyx@violet.home.sad.it>
14696 * Buffer.h: Removed Buffer::resize
14697 * BufferList.h: Removed BufferList::resize
14698 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14699 the document lazily when we change the width, or the font settings.
14701 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14703 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14705 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14707 * buffer.h: remove out of date comment
14709 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14712 * screen.C: fix "theoretical" GC leak
14714 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14716 * LaTeX.C (scanAuxFile):
14717 (deplog): remove trailing \r when reading stream (useful under
14720 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14722 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14723 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14724 and BufferView::theLockingInset(Inset*), so should use them and not
14725 access bv_->text->the_locking_inset directly.
14727 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14729 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14732 * tex-defs.h: remove old unused file
14734 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14736 * BufferView_pimpl.C: fix typo, remove minibuffer message
14737 when buffer has loaded
14739 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14741 * lyxfunc.C (Dispatch): use stringstream
14742 (MenuNew): use stringstream
14743 (Open): use stringstream
14745 * importer.C (Import): use stringstream
14747 * bufferview_funcs.C (CurrentState): use stringstream
14749 * LaTeX.C (run): use stringstream
14751 * BufferView_pimpl.C (savePosition): use stringstream
14752 (restorePosition): use stringstream
14753 (MenuInsertLyXFile): use stringstream
14755 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14768 * vspace.C: removed // -*- C++ -*- as first line.
14771 * version.h: added // -*- C++ -*- as first line.
14773 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14775 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14777 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14780 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14782 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14785 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14787 * gettext.C: include LString.h even when --disable-nls is on.
14789 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14791 * converter.h (Get): changed argument type from int to
14792 FormatList::size_type to avoid unnecessary conversion.
14794 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14797 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14799 * gettext.h: include LString.h even when --disable-nls is on.
14801 2001-06-07 Juergen Vigna <jug@sad.it>
14803 * text.C (BreakAgain): subst spaces with tabs.
14805 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14806 (resizeInsetsLyXText): set force on resizeLyXText.
14808 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14810 * gettext.h (gettext_init):
14811 (locale_init): use a real definition instead of a macro
14813 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14815 * Bufferview_pimpl.C:
14817 * LColor.C: further lcolor tidies
14819 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14821 * BufferView_pimpl.C (updateScrollbar): simplify.
14823 * BufferView2.C: don't include insets/insetinfo.h, change
14824 prototype for insertInset and call the Pimpl version. let
14825 updateInset call Pimpl version.
14827 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14828 gotoInset to BufferView::Pimpl
14830 2001-06-01 Juergen Vigna <jug@sad.it>
14832 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14833 inside a LockingInset (is the update needed at all?).
14835 2001-05-31 Juergen Vigna <jug@sad.it>
14837 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14838 here not the old one otherwise how should we compare it afterwards
14841 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14846 * FontInfo.C: bring C functions into global namespace when
14849 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14851 * LString.h: make sure config.h has been loaded before LString.h.
14853 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14854 (one for each char read by EatLine!).
14856 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14859 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14861 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14862 to the same as the par we break from
14864 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14866 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14868 * MenuBackend.C (expand): also create menu entries for wide
14869 versions of the floats.
14871 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14873 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14875 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14876 frontends/Makefile.am
14882 * tabular.C (getTokenValue): add std::
14884 * tabular-old.C (getTokenValue): add std::
14885 (getTokenValue): ditto
14886 (getTokenValue): ditto
14888 * screen.C (ToggleSelection): adjust
14890 * lyxtext.h: put selection cursors inside a Selection struct.
14892 * lyxfunc.C (moveCursorUpdate): adjust
14894 * lyxfont.C (latexWriteStartChanges): add std::
14896 * lyxfind.C: adjust
14898 * font.h: delete with(char const *, LyXFont const &)
14900 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14902 * FontInfo.C (getFontname): add std::
14904 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14905 (workAreaButtonPress): adjust
14906 (tripleClick): adjust
14908 (moveCursorUpdate): adjust
14911 * BufferView2.C (gotoInset): adjust
14913 2001-05-30 Juergen Vigna <jug@sad.it>
14915 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14916 to check pspell I add this as default as I now have new pspell
14917 libraries and they seem to use this.
14919 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14921 * text2.C (CutSelection): make the cursor valid before the call to
14924 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14926 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14927 relied on 0 terminated strings and other horrors. Bug found due to
14928 the new assert in lyxstring!
14930 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14933 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14935 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14938 * lyxfunc.C (processKeySym): change method of getting to the
14941 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14942 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14943 * BufferView_pimpl.[Ch]: here as private methods.
14945 2001-05-28 Juergen Vigna <jug@sad.it>
14947 * text.C (SetHeightOfRow): added the update() call again as it is
14948 needed to initialize inset dimensions!
14950 2001-05-16 Juergen Vigna <jug@sad.it>
14952 * text2.C (SetCharFont): Add new function with BufferView * and
14953 bool toggleall parameters for setting insets internal fonts.
14954 (SetFont): Freeze the undo as we may change fonts in Insets and
14955 all this change should be inside only one Undo!
14957 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14958 setting font's in insets as for them we have the SetFont function!
14960 2001-05-15 Juergen Vigna <jug@sad.it>
14962 * text2.C (ClearSelection): to be sure we REALLY don't have any
14965 * tabular.C (TeXCellPreamble): fixed the left border problem for
14968 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14970 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14973 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14975 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14976 LFUN_BREAKPARAGRAPH.
14978 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14979 help test to "internal only", similar for LFUN_INSERT_URL
14981 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14982 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14983 auto_region_delete and deadkeys.
14985 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14988 * LColor.C: remove some dead entries, tidy a little
14990 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14992 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14994 (Dispatch): implement LFUN_ESCAPE
14996 * commandtags.h: add LFUN_ESCAPE
14998 * LyXAction.C (init): add entry for LFUN_ESCAPE
15000 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
15001 Remove commented code.
15002 (insertNote): moved here
15003 (open_new_inset): moved here
15005 * BufferView[2].[Ch]: move insertNote and open_new_inset to
15008 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15010 * kbmap.C (findbinding): clean it up and make it work correctly.
15012 * lyx_main.C (init): do not pass argc and argv as parameters
15014 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15016 * buffer.C: fix path for OS/2 & Win32
15020 * lyx_main.C: Added os:: class.
15022 * os2_defines.h: update
15024 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15026 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15027 better by trying again with reduced state.
15029 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15031 * lyxrc.C (read): print error about invalid key sequence only when
15032 debugging (because not all latinX keysyms are known to some X
15035 * kbsequence.C (getiso): add a few std:: qualifiers
15036 (getiso): comment out extra return statement.
15038 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15040 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15042 (Dispatch): enhance the accent inset a bit. (not perfect)
15044 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15046 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15048 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15050 * bufferlist.C (emergencyWrite): fix assert() call
15052 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15054 * text.C (InsertChar): Added trivial patch to only send the "you
15055 can not do multiple spaces this way" message once during a
15058 2001-05-08 Baruch Even <baruch@lyx.org>
15060 * Makefile.am: Changed order of libraries to get LyX to link properly
15061 with the gnome frontend.
15063 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15065 * LaTeXFeatures.h: add a std:: qualifier
15067 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15069 * paragraph.C (String): use stringstream
15071 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15073 * paragraph.C (writeFile): remove footflag arg
15075 * buffer.C (makeLaTeXFile): use stringstream
15076 (latexParagraphs): remove footnot gurba
15078 * LaTeXFeatures.C (getPackages): use stringstream
15079 (getMacros): likewise
15080 (getTClassPreamble): likewise
15081 (getFloatDefinitions): new method
15083 * paragraph.C (writeFile): reindent
15086 * WorkArea.h: revert the xpos + etc changes.
15088 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15090 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15092 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15093 (pasteSelection): likewise
15094 * text2.C (CreateUndo): likewise
15096 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15098 * minibuffer.C (peek_event): temporarily reduce the functionality
15099 of the minibuffer (to allow args on lfuns)
15101 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15102 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15104 * buffer.C (readInset): add compability reading of old float
15105 lists, add reading of new style float list.
15106 (readInset): avoid reevaluation of inscmd.getCmdName()
15107 (getLists): reindent
15109 * MenuBackend.C (MenuItem): implement parsing of
15110 md_floatlistinsert and md_floatinsert.
15111 (expand::LastFiles): move initalizaton of iterators out of loop,
15112 avoid reevaluation.
15113 (expand::Documents): introduce typdedef vector<string> Strings,
15115 (expand::ExportFormats): introduce typedef vector<Format const *>
15116 Formats, and use it.
15117 (expand): implement FloatListInsert and FloatInsert.
15119 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15120 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15121 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15123 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15125 (Dispatch::LFUN_FLOAT_LIST): implement
15127 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15129 * LaTeX.C (run): Fix problem with --export code.
15131 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15133 * BufferView.[Ch] (workarea): removed.
15134 (getClipboard) new method; wrapper for workarea()->getClipboard()
15136 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15139 * WorkArea.h (width, height, xpos, ypos): These methods all
15140 returned the dimensions of the work_area sub-area of WorkArea,
15141 resulting in a position error if the WorkArea were resized. Now
15142 return the dimensions of the entire WorkArea.
15144 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15146 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15148 * LaTeX.C (deplog): correct the syntax of regex reg1
15150 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15152 * undo.C: remove !NEW_INSETS cruft
15154 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15156 * text2.C: remove !NEW_INSETS cruft
15158 * text.C: remove !NEW_INSETS cruft
15160 * tabular.C: remove !NEW_INSETS cruft
15162 * spellchecker.C: remove !NEW_INSETS cruft
15164 * lyxtext.h: remove !NEW_INSETS cruft
15166 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15168 * lyxfunc.C: remove !NEW_INSETS cruft
15170 * lyxfind.C: remove !NEW_INSETS cruft
15172 * lyx_cb.C: remove !NEW_INSETS cruft
15174 * figureForm.C: remove !NEW_INSETS cruft
15176 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15178 * buffer.[Ch]: remove !NEW_INSETS cruft
15180 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15182 * CutAndPaste.C: remove !NEW_INSETS cruft
15184 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15186 * BufferView2.C: remove !NEW_INSETS cruft
15188 * BufferView.h: remove !NEW_INSETS cruft
15190 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15192 * Lsstream.h: include LString.h before the sstream headers to
15193 fix problem with gcc 2.95.3 and lyxstring
15195 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15197 * lyx_main.C: add using directives when needed for C functions
15198 declared in std:: namespace.
15200 2001-04-27 Juergen Vigna <jug@sad.it>
15202 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15203 (SetHeightOfRow): comment out the update call should not be needed!
15205 2001-04-13 Juergen Vigna <jug@sad.it>
15207 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15208 (LyXTabular): tried to minimize operator= operations (and realized
15209 hopfully Lars wish).
15211 2001-04-27 Juergen Vigna <jug@sad.it>
15213 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15215 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15217 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15219 * buffer.C (readInset): hack to make listof algorithm work
15221 * BufferView_pimpl.C: hack to make listof algorithm work
15223 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15225 * LyXAction.C: removed all !NEW_INSETS cruft
15226 (init): moved lfun_item in method
15228 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15230 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15232 * BufferView2.C (theLockingInset): white space.
15234 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15236 * minibuffer.C: include <iostream>
15238 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15240 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15242 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15244 * text.[Ch] (TransposeChars): new method
15246 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15248 * call message directly through LyXView instead of through LyXFunc
15249 * BufferView2.C: adjust
15250 * BufferView_pimpl.C: adjust
15251 * FontLoader.C: adjust
15253 * bufferview_funcs.C: adjust
15254 * converter.C: adjust
15255 * figureForm.C: adjust
15256 * importer.C: adjust
15258 * lyx_gui_misc.C: adjust
15259 * lyxfunc.C: adjust
15262 + more files in subdirs
15264 * lyxparagraph.h (size): move up int file
15267 * adjust all uses of Assert to lyx::Assert.
15269 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15270 lyxfunctional in namespace lyx
15271 * layout.C (hasLayout): ditto
15274 (delete_layout): ditto
15275 (NumberOfClass): ditto
15276 * converter.C (GetFormat): ditto
15281 * bufferlist.C (getFileNames): ditto
15282 (emergencyWriteAll): ditto
15285 * MenuBackend.C (hasSubmenu): ditto
15288 * BufferView_pimpl.C (getInsetByCode): ditto
15290 2001-04-18 Juergen Vigna <jug@sad.it>
15292 * vspace.C (asLatexString): fixed the 100% problem.
15294 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15296 * lyxfunc.C (Dispatch):
15298 * minibuffer.h: add a few std:: qualifiers
15300 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15302 * minibuffer.[Ch]: reimplement so that commands is initiated and
15303 run from lyxfunc, simplified som handling, and made the completion
15304 and history code for complete. wip.
15306 * lyxfunc.C (processKeySym): call message
15307 (miniDispatch): new temporary method
15308 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15309 (LFUN_MESSAGE): implement
15310 (LFUN_MESSAGE_PUSH): implement
15311 (LFUN_MESSAGE_POP): implement
15312 (initMiniBuffer): the initial/defualt minibuffer message.
15314 * lyxfont.[Ch]: inline some more getters
15316 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15318 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15320 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15321 (AutoSave): use LFUN_MESSAGE
15322 (Reconfigure): ditto
15324 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15326 * figureForm.C: use LFUN_MESSAGE
15328 * converter.C (runLaTeX): use LFUN_MESSAGE
15330 * bufferview_funcs.C: use LFUN_MESSAGE
15332 (changeDepth): ditto
15334 * bufferparams.h: use boost::
15336 * bufferlist.h: inherit privately from noncopyable
15338 * bufferlist.C (loadLyXFile): remove some commented code.
15340 * buffer.C (runChktex): use LFUN_MESSAGE
15342 * ShareContainer.h: inherit privately from noncopyable
15344 * ParagraphParameters.[hC] (depth): inline it.
15346 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15348 (message): new method
15349 (messagePush): ditto
15350 (messagePop): ditto
15351 (show): init minibuffer
15352 (showState): direct call
15354 * LaTeX.[Ch]: inherit privately from noncopyable
15355 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15356 instead of WriteStatus.
15358 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15360 * BufferView_pimpl.C (buffer): don't init minibuffer
15361 (workAreaButtonPress): use LFUN_MESSAGE
15362 (workAreaButtonRelease): ditto
15363 (savePosition): ditto
15364 (restorePosition): ditto
15365 (MenuInsertLyXFile): ditto
15366 (workAreaExpose): don't init minibuffer
15367 (update): remove commented code, simplify
15369 * BufferView2.C (openStuff): use LFUN_MESSAGE
15370 (toggleFloat): ditto
15373 (copyEnvironment): ditto
15374 (pasteEnvironment): ditto
15379 (updateInset): remove some commented code
15381 * lastfiles.h: inherit privately from noncopyable
15384 * lyx_main.h: ditto
15386 * lyxlex_pimpl.h: ditto
15388 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15389 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15390 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15392 * LyXAction.h: inherit privately from noncopyable, add methods
15393 func_begin, func_end, returning iterators to the func map.
15395 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15396 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15397 (func_begin): new method
15398 (func_end): new method
15400 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15402 (copySelection): ditto
15403 (pasteSelection): ditto
15405 * BufferView.C: whitespace change
15406 * BufferView.h: inherit privately from noncopyable
15408 2001-04-16 Allan Rae <rae@lyx.org>
15410 * tabular-old.C (l_getline):
15411 * spellchecker.C (sc_check_word):
15412 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15413 an unrecognised preprocessor directive. So ensure they're wrapped.
15415 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15417 * src/exporter.C (Export): Give an error message when path to file
15420 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15422 * LaTeX.C (deplog): Always check that foundfile exists.
15424 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15427 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15429 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15431 * tabular.[Ch] (getLabelList): implement new method
15433 * minibuffer.h: comment ouf setTiimer
15435 * minibuffer.C (ExecutingCB): constify res
15436 (peek_event): constify s
15437 (Set): constify ntext
15438 (Init): constify nicename
15440 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15442 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15443 (savePosition): use two params to Minibuffer::Set
15444 (restorePosition): ditto
15446 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15448 * lyx_main.C: include language.h
15450 * Makefile.am (lyx_main.o): add language.h
15452 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15458 * CutAndPaste.C: include gettext.h
15460 * lyxfont.h: remove old hack with ON and OFF.
15463 * lyxfont.h: do not include language.h...
15468 * bufferview_funcs.C:
15474 * paragraph.C: ... but do it here instead
15476 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15478 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15480 * tabular.C: small reformat
15482 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15485 (BreakParagraph): ditto
15486 (SetOnlyLayout): ditto
15489 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15492 * lastfiles.C: removed most using decl, add std:: where needed
15494 * buffer.C: ws changes
15496 * MenuBackend.C (class compare_format): put into anon namespace
15497 (expand): constify label, names, action, action2
15500 * text.C (SingleWidth): constify font
15501 (IsBoundary): constify rtl2
15502 (GetVisibleRow): constify ww
15504 * LaTeX.C (deplog): constify logfile
15506 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15508 (workAreaExpose): constify widthChange, heightChange
15510 * lyxrow.C (par): moved
15513 * lyxrow.h: as inlines here
15515 * lyxfont.h (shape): moved from lyxfont.C
15516 (emph): moved from lyxfont.C
15518 * lyxfont.C (LyXFont): use initialization list for all
15520 (shape): move to lyxfont.h as inline
15521 (emph): move to lyxfont.h as inline
15524 2001-04-04 Juergen Vigna <jug@sad.it>
15526 * vspace.C: had to include stdio.h for use of sscanf
15528 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15531 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15532 independent of xforms.
15534 2001-04-02 Juergen Vigna <jug@sad.it>
15536 * spellchecker.C: fixed namespace placing!
15538 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15540 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15541 the LyXParagraph * is 0.
15543 2001-03-29 Juergen Vigna <jug@sad.it>
15545 * vspace.C: added support for %, c%, p%, l%.
15546 (stringFromUnit): added helper function.
15547 (asLatexString): changed to give right results for the %-values.
15549 * buffer.C: convert the widthp in a width%.
15551 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15553 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15556 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15557 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15559 * lyx_cb.[Ch]: see above.
15561 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15565 * lyx.[Ch]: replaced by figure_form.[Ch].
15569 * lyxfunc.C: changed headers associated with above changes.
15571 2001-03-27 Juergen Vigna <jug@sad.it>
15573 * BufferView_pimpl.C: set the temporary cursor right!
15575 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15577 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15579 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15581 * LString.h: removed "using std::getline"!
15583 * BufferView_pimpl.C (Dispatch): changes due to changes in
15584 InsetInclude::Params.
15586 * buffer.C (tag_name): removed redundant break statements as they were
15587 producing lots of warnings with my compiler.
15589 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15591 * LString.h: add "using std::getline" when using the real <string>.
15593 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15595 * buffer.C: removed bitset usage.
15596 PAR_TAG moved to an anonymous name space.
15597 (tag_name): new funtion, also in the anonymous namespace.
15598 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15599 (makeDocBookFile): clean code. Completed transition from string arrays
15601 (SimpleDocBookOnePar): code clean.
15603 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15605 * tabular.C: add some comments.
15607 2001-03-22 Juergen Vigna <jug@sad.it>
15609 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15610 compatibility read a bit and fixed bug with minipage in different
15613 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15615 * buffer.C (pop_tag): removed.
15616 (push_tag): removed.
15617 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15618 array replaced with vector. Added support for CDATA sections.
15619 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15621 (makeDocBookFile): XML conformant declaration of CDATA section,
15622 fixed bug related to <emphasis> in the first paragraph char.
15623 (sgmlOpenTag): exclude empty tags.
15624 (sgmlCloseTag): ditto.
15626 * buffer.h (pop_tag): removed.
15627 (push_tag): removed.
15629 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15631 * language.h (Languages): added size_type and size().
15633 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15635 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15636 response on compability reading of minipages. One probliem is that
15637 the old usage of minipages was «flertydig»
15639 * several files here and in subdirs: don't use static at file
15640 scope use anon namespaces instead.
15642 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15644 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15645 LaTeX output. This is necessary for Literate document
15648 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15650 * buffer.C: insert hfill when needed.
15652 * tabular.C (l_getline): use string::erase, small whitespace change.
15654 * BufferView_pimpl.C: try the anon namespace.
15655 * WorkArea.C: ditto
15657 2001-03-16 Juergen Vigna <jug@sad.it>
15659 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15660 otherwise it won't open options-dialogs.
15662 * buffer.C: honor pextraWidth(p) on converting minipages.
15664 * tabular.C (l_getline): changed the functions to strip trailing \r.
15666 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15668 * BufferView_pimpl.C:
15669 * minibuffer..C: added "using SigC::slot" declaration.
15671 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15673 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15679 * paragraph.C: ditto
15681 * lyxtext.h: NO_PEXTRA
15683 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15685 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15686 * ParameterStruct.h: ditto
15687 * ParagraphParameters.h: ditto
15688 * lyxparagraph.h: ditto
15690 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15692 * buffer.C: add compability for minipage alignment.
15693 (latexParagraphs): remove unwanted pextra check.
15695 * several files: remove CXX_WORKING_NAMESPACES
15697 * buffer.C (pop_tag): tie is in namespace boost
15699 * BufferView.h: noncopyable is in namespace boost
15701 * lyx_main.h: ditto
15704 * lastfiles.h: ditto
15705 * bufferlist.h: ditto
15706 * ShareContainer.h: ditto
15708 * LyXAction.h: ditto
15711 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15713 * Merging changes from BRANCH_MVC back into HEAD.
15715 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15717 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15719 * BufferView_pimpl.C: change from intl.C
15723 * Makefile.am: move combox.*
15729 * intl.C: remove dialog (covered by prefs)
15731 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15733 * lyxfunc.C (Dispatch): removed redundant break statement.
15735 2001-03-14 Juergen Vigna <jug@sad.it>
15737 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15739 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15741 * buffer.C: add hack to fix compability reading of minipages.
15743 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15745 * buffer.C (getLists): Cleanup.
15747 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15749 * lyxfont.C (update): don't honor toggleall on font size.
15751 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15755 * Makefile.am: moved to frontends/xforms/
15759 * BufferView_pimpl.C: changes for moved mathpanel
15761 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15763 * gettext.h: fix gettext_init() in --disable-nls
15765 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15767 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15769 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15772 * lyx.h: strip external form
15774 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15776 * BufferView_pimpl.C: add comment, destroySplash()
15778 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15780 * BufferView_pimpl.C:
15784 * lyxfunc.C: use re-worked insetinclude
15786 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15788 * buffer.C: add using std::stringstream.
15790 * lyx_cb.C: readd using std::ios.
15792 * buffer.C: add using std::map.
15794 * BufferView_pimpl.C: add using std::vector.
15796 * ShareContainer.h: add std:: to swap.
15798 * buffer.h: add some typedefs
15799 * buffer.C (getLists): use them
15800 (getLists): renamed from getTocList.
15801 add a counter for the different float types and use it in the
15803 (getLists): use the same counter for the NEW_INSETS and the "non"
15806 * lyx_cb.h: remove unused items, includes, using etc.
15808 * ShareContainer.h: remove some commented code, add more comments
15809 and "documentation".
15811 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15813 * buffer.C (getTocList): make the list also when NEW_INSETS is
15816 * buffer.h: remove TocType
15818 * buffer.C (getTocList): change to return a map<string,
15819 vector<TocItem> >, implement for dynamic number of list.
15821 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15822 * text2.C (PasteSelection): adjust
15823 * CutAndPaste.C (pasteSelection): adjust
15825 * FloatList.C (FloatList): update from the new_insets branch.
15826 * Floating.[Ch]: ditto
15827 * LaTeXFeatures.C: ditto
15829 * lyxlex_pimpl.C: ditto
15831 * paragraph.C (Last): remove when NEW_INSETS is defined.
15833 * other file: changes because of the above.
15835 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15837 * lyxparagraph.h: rename next to next_, previous to previous_,
15838 make them private for NEW_INSETS. Rename Next() to next(),
15839 Previous() to previous().
15841 * other files: changes because of the above.
15843 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15846 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15849 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15851 * main.C (main): pass lyx_localedir to gettext_init().
15853 * gettext.h: remove locale_init and gettext_init macros
15855 * gettext.C (locale_init): new function
15856 (gettext_init): new function
15858 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15861 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15863 * Moved credits to frontends:
15864 * credits.[Ch]: removed
15865 * credits_form.[Ch]: removed
15866 * lyx_gui_misc.C: remove credits stuff
15869 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15871 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15873 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15874 unneeded destructor.
15876 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15877 a standalone pointer again.
15879 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15881 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15887 * ToolbarDefaults.C:
15896 * BufferView_pimpl.C: use new file dialog in GUII
15899 * lyx_cb.C: remove LayoutsCB to Toolbar
15901 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15903 * ShareContainer.h (get): add std:: qualifier
15905 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15907 * ShareContainer.h: define a proper ShareContainer::value_type
15908 type (and use typename to please compaq cxx)
15910 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15912 * lyxparagraph.h: move serveral local vars to
15913 ParameterStruct/ParagraphParameters., use ShareContainer in
15914 FontTable., make vars in FontTable private and add getter and
15917 * paragraph.C: changes because of the above.
15919 * lyxfont.h: remove copy constructor and copy assignment. (the
15920 default ones is ok), move number inside FontBits. move inlines to
15923 * lyxfont.C: add number to initializaton of statics, move several
15924 inlines here. constify several local vars. some whitespace
15925 cleanup. Dont hide outerscope variables.
15927 * Spacing.h: add two new constructors to match the set methods.
15929 * ShareContainer.h: new file, will perhaps be moved to support
15931 * ParameterStruct.h: new file
15933 * ParagraphParameters.h: new file
15935 * ParagraphParameters.C: new file
15937 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15938 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15940 * BufferView_pimpl.C: ParagraphParameter changes.
15941 * buffer.C: Likewise.
15942 * bufferview_funcs.C: Likewise.
15943 * text.C: Likewise.
15944 * text2.C: Likewise.
15946 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15948 * lyxfind.C (LyXReplace): do not redefine default argument in
15950 (IsStringInText): ditto
15951 (SearchForward): ditto
15952 (SearchBackward): ditto
15954 2001-03-06 Juergen Vigna <jug@sad.it>
15956 * lyxfind.C (IsStringInText): put parentes around expressions.
15958 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15960 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15962 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15964 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15966 * stl_string_fwd.h: add comment
15968 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15971 * tabular.C: remove unused DocBook methods
15977 killed DO_USE_DEFAULT_LANGUAGE
15979 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15981 * lyx_gui.C: do not include language.h.
15983 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15984 arguments in function implementation.
15986 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15988 * BufferView_pimpl.C: add <ctime>
15990 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15992 * BufferView_pimpl.C: add using std::find_if
15994 2001-02-27 José Matos <jamatos@fep.up.pt>
15996 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15999 2001-02-11 José Matos <jamatos@fep.up.pt>
16001 * buffer.C (makeDocBookFile): command styles now have a parameter as
16002 "title" by default.
16004 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
16006 * layout_forms.[Ch]: removed
16007 * lyx_cb.[Ch]: out character
16008 * lyx_gui.C: out character
16009 * lyx_gui_misc.C: out character
16010 * bufferview_funcs.C: : out character,
16011 added toggleall as parameter in ToggleAndShow
16013 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16015 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16017 * text2.C (SetCurrentFont): Disable number property at boundary.
16019 2001-02-26 Juergen Vigna <jug@sad.it>
16021 * lyxfunc.C (getStatus): added a string argument override function so
16022 that this is correctly called from LyXFunc::Dispatch if it contains a
16023 do_not_use_argument which is used!
16024 (Dispatch): added check for "custom" export and call appropriate func.
16026 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16028 * lyxrc.C: Add language_command_local, language_use_babel and
16029 language_global_options.
16031 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16033 * buffer.C (makeLaTeXFile): Use language_use_babel and
16034 language_global_options.
16036 2001-02-23 Juergen Vigna <jug@sad.it>
16038 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16039 which works with LyXText and putted it inside BufferView. Here now we
16040 only call for that part the BufferView::Dispatch() function.
16042 * BufferView.C (Dispatch): added.
16044 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16045 functions which needs to use a LyXText over from LyXFunc.
16046 (MenuInsertLyXFile): added
16047 (getInsetByCode): added
16048 (moveCursorUpdate): added
16049 (static TEXT): added
16051 2001-02-22 Juergen Vigna <jug@sad.it>
16053 * BufferView_pimpl.C (update): call a status update to see if LyXText
16056 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16058 * vc-backend.C (revert): implement for CVS
16059 (getLog): implement for CVS
16061 2001-02-20 Juergen Vigna <jug@sad.it>
16063 * text2.C (ClearSelection): added BufferView param for inset_owner call
16065 * lyxfunc.C (TEXT): added this function and use it instead of
16066 directly owner->view()-text of getLyXText().
16068 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16070 * src/layout_forms.C: out preamble
16071 * src/layout_forms.h: out preamble
16072 * src/lyx_cb.C: out preamble
16073 * src/lyx_cb.h: out preamble
16074 * src/lyx_gui.C: out preamble
16075 * src/lyx_gui_misc.C: out preamble
16076 * src/lyxfunc.C: connect with guii preamble
16078 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16080 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16082 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16084 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16085 whether to run bibtex.
16087 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16089 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16091 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16093 * Makefile.am (lyx_SOURCES): removed bibforms.h
16095 * vspace.h: doxygen
16097 * text.C (GetVisibleRow): make several local vars const
16099 * tabular.C: small cleanup.
16101 * lyxserver.C (callback): use compare instead of strncmp
16103 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16104 inlines to after class or to paragraph.C
16106 * lyxfont.h: remove friend operator!=
16108 * converter.h: move friend bool operator< to non friend and after
16111 * combox.h: small cleanup
16113 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16114 to inlines after class def.
16116 * buffer.C (pop_tag): use string operations instead of strcmp
16118 * bmtable.c: doxygen, small cleanup
16120 * LaTeX.h: remove friend operator==
16122 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16134 * BufferView_pimpl.C:
16135 * BufferView.[Ch]: remove cruft
16137 2001-02-14 Juergen Vigna <jug@sad.it>
16139 * lyxfunc.C: removed #if 0 unused code
16141 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16143 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16145 * text2.C (SetSelection): added a BufferView * parameter
16147 2001-02-13 Juergen Vigna <jug@sad.it>
16149 * lyxfunc.C (Dispatch): fixed protected blank problem.
16150 * BufferView2.C (protectedBlank): added LyxText * parameter.
16152 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16153 (AppendColumn): same as above for column_info.
16155 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16156 (moveCursorUpdate): use a LyXText param for support of InsetText.
16158 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16159 (tripleClick): ditto
16161 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16163 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16165 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16167 * text2.C (SetSelection): set correct update status if inset_owner
16168 (ToggleFree): ditto
16170 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16172 * tabular.C: remove some commented code.
16174 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16176 * BufferView_pimpl.C: call hideSplash()
16178 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16181 * bibforms.h: remove
16184 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16185 add LFUN_CHILD_CREATE
16187 * counters.h: fix tiny typo
16192 * lyx.C: move splash to frontends/xforms/
16194 * lyx_gui_misc.C: move Include and Bibform to frontends
16196 * lyxvc.h: clarify comment
16198 * vspace.C: tiny housekeeping
16200 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16202 * text.C (PrepareToPrint): RTL Fix.
16204 * paragraph.C (GetUChar): New method.
16205 (String): Use GetUChar.
16207 * buffer.C (asciiParagraph): Use GetUChar.
16209 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16211 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16213 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16216 * buffer.C: rename to getLogName(), handle
16217 build log / latex log nicely
16219 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16222 * MenuBackend.h: remove support for reference menuitem type.
16224 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16226 * BufferView_pimpl.C: housekeeping
16227 * BufferView_pimpl.h:
16232 * minibuffer.h: move Timeout GUI-I
16234 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16236 * lyxrc.C (read): Update converters data-structures.
16238 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16240 * LaTeX.h (operator!=): add operator != for Aux_Info
16242 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16244 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16246 * LaTeXLog.C: deleted, useful code moved to Buffer
16249 * buffer.C: new function getLatexLogName()
16255 * lyxfunc.C: use frontends for LaTeX and VC logs
16257 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16259 * LaTeX.h: yet another std:: that Allan forgot.
16261 * Variables.C (set): renamed from isset(), because this clashes
16262 with some HP-UX macros (grr).
16264 2001-02-06 Allan Rae <rae@lyx.org>
16266 * LaTeX.h: Another bug fix. Missing std:: this time.
16268 2001-02-04 Allan Rae <rae@lyx.org>
16270 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16271 floats problem. I've left it commented out because it's not quite
16272 correct. It should also test that the current object is a table or
16273 figure inset. But I haven't gotten around to figuring out how to do
16274 that. I *think* it'll be something like: "table" == inset.type()
16276 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16279 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16281 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16282 all the citation/databases/styles in the auxilary file.
16283 (run): Rerun latex if there was a babel language error.
16285 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16287 * text.C (Backspace): Preserve the font when changing newline char
16289 (BreakParagraph): If the cursor is before a space, delete the space.
16291 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16293 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16295 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16296 new argument (code).
16297 (ChangeCitationsIfUnique): New method.
16299 * paragraph.C (GetPositionOfInset): Handle bibkey.
16301 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16303 * BufferView_pimpl.h: change type of Position::par_pos to
16304 LyXParagraph::size_type.
16306 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16308 * BufferView_pimpl.C (savePosition, restorePosition): Write
16309 messages to minibuffer.
16311 2001-01-28 José Matos <jamatos@fep.up.pt>
16313 * buffer.C (makeDocBookFile): adds support for document language.
16314 A silly restriction on the name of LatexCommand types where removed.
16315 Added support for CDATA sections, allows to chars unescaped, used
16316 among others in code, to avoid escape < and >.
16318 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16320 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16321 saved positions instrad of a stack. Furthermore, a position is
16322 stored using paragraph id/paragraph position.
16324 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16325 Remove LFUN_REF_BACK.
16327 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16329 * converter.C (dvipdfm_options): New method.
16331 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16333 * vspace.C (isValidLength): Fix for empty input string.
16335 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16337 * LyXAction.C (init): change description of LFUN_FIGURE to
16340 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16342 * LaTeX.C: add using directive
16344 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16346 * MenuBackend.C (expand): Fix the sorting of the formats.
16348 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16350 * lyx_main.C: tiny error message fix
16352 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16354 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16355 calling fl_initialize(). This fixes the problem with ',' as
16356 decimal separator in text files.
16358 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16360 * trans.C (process): Fix the keymap bug.
16362 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16364 * LaTeX.C (scanAuxFiles): New method. Provides support for
16365 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16366 (scanLogFile) Scan for "run BibTeX" messages.
16368 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16369 OT1 font encoding. Also, load the aecompl package if the ae
16372 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16374 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16376 * texrow.C (increasePos): turn two error messages into debug
16379 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16381 * LaTeX.C (scanAux): Handle the \@input macro.
16382 (runBibTeX): Use scanAux().
16384 * language.C (latex_options_): New field.
16386 * LaTeXFeatures.C (getMacros): Add language macros.
16388 * buffer.C (makeLaTeXFile): Small fix.
16390 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16392 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16394 * text2.C: add a using directive.
16396 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16401 * lyxfunc.C: kill LyXBell.
16403 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16405 * text.C (IsBoundary): Remove the error message
16407 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16409 * lyxrc.C (setDefaults): Correct initialization value for
16412 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16414 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16417 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16418 and GotoNextNote().
16420 * src/LyXAction.C: Added reference-next.
16422 * text.C (InsertChar): Use contains instead of strchr.
16424 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16426 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16428 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16429 alignment commands (when needed).
16431 * text.C (InsertChar): Add ':' to number separator chars.