2 2004-11-11 Alfredo Braunstein <abraunst@lyx.org>
4 * text.C (backspace): fix crash
6 2004-11-09 Georg Baum <Georg.Baum@post.rwth-aachen.de>
8 * format.[Ch] (getFormatFromFile): new method
9 * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
11 2004-11-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13 * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
15 2004-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
17 * lyxfunc.C (dispatch): remove the verbose argument
18 (sendDispatchMessage): ditto. Use the origin of the FuncRequest
21 * kbmap.C (defkey): set the origin of func to KEYBOARD
23 * MenuBackend.C (MenuItem):
24 * ToolbarBackend.C (add): set the origin of func to UI
26 * funcrequest.[Ch]: add origin member, which indicates which part
27 of LyX requests an action
29 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
31 * converter.C (move): don't lie in the error message
32 * converter.h (isReachable, move): document
34 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
36 * buffer.C: remove unused using lyx::support::atoi
37 * paragraph_funcs.C: ditto
39 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
41 * bufferlist.C (exists): use bind and equal_to instead of
44 * lyxtextclasslist.C (NumberOfClass): ditto
46 * cursor.C (insert): use for_each instead of explicit for loop
48 * bufferlist.C (getFileNames): use std::transform and
49 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
51 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
54 * buffer.C (changeLanguage): use for_each instead of explicit for
56 (hasParWithID): implement using getParFromID
58 * LaTeXFeatures.C: ws change only
60 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
63 * BufferView_pimpl.C (trackChanges): use for_each instead of
66 2004-11-04 André Pönitz <poenitz@gmx.net>
69 * undo.C (textUndoOrRedo): fix crash when creating undo information.
71 * dociterator.C (asDocIterator): use hard assert again.
73 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
75 * lyxlength.C (asLatexString): rewrite so that it does not use
78 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
80 * text3.C (specialChar, dispatch): make sure cursor moves to the
81 right after inserting an inset
83 2004-11-02 José Matos <jamatos@lyx.org>
85 * output_docbook.C (docbook):
86 * paragraph.C (getID):
87 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
88 garantee that the output is always legal.
90 * tabular.C (docbook):
91 * outputprams.[Ch]: remove mixed contents.
93 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
95 * text2.C (setCounter): prevent endless loop
97 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
99 * exporter.C (copyFile): use the mover instead of support::copy()
100 * exporter.C (Export): pass format and latex name to copyFile()
101 * exporter.h (addExternalFile): document
102 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
104 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
106 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
108 2004-10-30 José Matos <jamatos@lyx.org>
110 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
111 text and no inset or font change. This allows to use CDATA
112 sections just for the whole paragraph.
114 2004-10-30 José Matos <jamatos@lyx.org>
116 * paragraph.C (getFirstWord): remove unused variable.
118 2004-10-30 José Matos <jamatos@lyx.org>
120 * paragraph.C (getFirstWord): the content should always be escaped
122 (simpleDocBookOnePar):
123 * output_docbook.C (makeEnvironment): replace reference to CDATA
126 2004-10-30 José Matos <jamatos@lyx.org>
128 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
130 2004-10-30 José Matos <jamatos@lyx.org>
132 * output_docbook.C (makeParagraphs):
133 * paragraph.[Ch] (emptyTag): for docbook and company, if the
134 standard paragraph has only a given type of content drop the wrapper.
136 2004-10-29 José Matos <jamatos@lyx.org>
138 * output_docbook.C (makeEnvironment):
140 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
142 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
144 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
145 (cleanID): sanitize any id.
147 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
149 * buffer.C, lyxlex_pimpl.C:
150 * lyxlex_pimpl.C (setFile):
151 s/getExtFromContents/getFormatFromContents/
153 2004-10-28 José Matos <jamatos@lyx.org>
155 * output_docbook.C (makeEnvironment): move id to broadest possible
158 * sgml.C (openTag): apply substitution of <> for all attributes.
160 2004-10-28 José Matos <jamatos@lyx.org>
162 * buffer.C (makeLinuxDocFile, makeDocBookFile):
163 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
164 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
166 * sgml.[Ch]: new version for open and closeTag for paragraph and
167 for strings. Now they handle the ids of paragraphs.
169 2004-10-26 Angus Leeming <leeming@lyx.org>
171 * Makefile.am: add mover.[Ch].
173 * converter.C (convert, move): use the new Movers to move external
174 files to the temp directory.
176 * lyx_main.C (init): ensure that the global system_movers data
179 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
182 * mover.[Ch]: new files, defining a Mover as a utility to move an
183 external file between directories and, if necessary, manipulate this
184 file using a helper script.
186 2004-10-25 José Matos <jamatos@lyx.org>
188 * output_docbook.C (makeCommand): merge two if's that tested the
191 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
193 * sgml.C (escapeString): fix warning in a better way
195 2004-10-25 José Matos <jamatos@lyx.org>
197 * sgml.C (escapeString): import the require boosts header file for
198 tie, and avoid a signed unsigned comparison.
200 2004-10-25 José Matos <jamatos@lyx.org>
202 * sgml.h: add #include <string>
204 2004-10-25 José Matos <jamatos@lyx.org>
206 * sgml.[Ch] (escapeString): new function to escape all the string.
208 2004-10-24 José Matos <jamatos@lyx.org>
210 * paragraph.[Ch] (getFirstWord): new function to get the first
211 word. Useful for description.
212 (simpleDocBookOnePar): remove depth argument, add another that
213 says where to start the paragraph.
215 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
216 use the new functions to fix cleanly the support for descriptions.
218 2004-10-24 José Matos <jamatos@lyx.org>
220 * buffer.C (makeLinuxDocFile, makeDocBookFile):
221 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
222 * output_linuxdoc.C (linuxdocParagraphs):
223 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
224 add buffer as argument.
226 2004-10-24 José Matos <jamatos@lyx.org>
228 * output_docbook.C (makeEnvironment, searchEnvironment): place
229 CDATA inside paragraphs and fix scope for listitems.
231 2004-10-24 José Matos <jamatos@lyx.org>
233 * output_docbook.C: remove using statement for stack.
235 2004-10-23 José Matos <jamatos@lyx.org>
237 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
238 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
239 docbook. The new scheme is recursive and makes use of iterators, the
240 same as latex export works.
241 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
242 directly with the paragraph contents. This code was moved up to
243 output_docbook.C (docbookParagraphs).
244 * sgml.C (openTag, closeTag): removed unneeded newlines.
245 (closeEnvTags) removed.
247 2004-10-23 André Pönitz <poenitz@gmx.net>
249 * undo.C (textUndoOrRedo):
250 * dociterator.C (asDocIterator): work around crash
252 * cursor.C (getStatus): replace ASSERT by more verbose error message
253 and manual correction of the problem. Should increase stability
254 while providing more sensible information.
256 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
258 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
260 * bufferlist.C (previous, next): new methods
263 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
265 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
267 * buffer.C (makeDocBookFile): add dsssl stylesheet control
268 entities to preamble.
270 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
272 * messages.C (Pimpl): strip off translation context information
274 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
276 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
277 the cursor is correct (bug 1694)
279 2004-10-13 José Matos <jamatos@lyx.org>
281 * output_docbook.C (docbookParagraphs): fix closing tags in the
284 2004-10-09 José Matos <jamatos@lyx.org>
286 * buffer.C: format up to 237.
287 * bufferparams.C (write): use tostr to convert booleans to strings.
289 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
291 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
293 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
295 * LaTeX.C: implement use of babel language in xindy.
297 2004-10-05 José Matos <jamatos@lyx.org>
299 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
300 Add new translators to help reading and writing the lyx file.
302 2004-10-05 José Matos <jamatos@lyx.org>
304 * ParagraphParameters.C (read):
305 * text.C (readParToken): replace nexToken by more appropriate lex
308 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
310 * LaTeX.C (runMakeIndex):
311 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
312 (usually 'makeindex') configurable.
314 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
315 with a variable rather than with a number.
317 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * output_latex.C (TeXOnePar): make sure font setting is the first
320 thing that gets output (and the last at the end). Should fix bug
323 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
325 * pch.h: use proper signal include
327 * LaTeX.h: Use preferred calling of Boost.Signal
330 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
332 * pch.h: dont include <boost/function/function0.hpp>
334 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
336 * paragraph_pimpl.h: remove usage of ShareContainer
338 * paragraph_pimpl.C: remove initialization of ShareContainer.
340 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
344 * BufferView.C (putSelectionAt): change the semantics when
345 backwards == true: now, this just swaps cursor and anchor wrt the
348 * BufferView.h (putSelectionAt): add some documentation
350 * lyxfind.C (findBackwards): rewrite using while(). In particular,
351 make sure backwardChar is done at least once (to avoid getting
353 (findNextChange): use putSelectionAt in the forward direction
354 (operator()): use Paragraph::isWord
356 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
358 * Spacing.C (set): c_str fix
360 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
362 * lyx_cb.C (Reconfigure): quote the name of configure script in
363 case it contains spaces
365 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
369 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
370 (BOOST_LIBS): use top_buildir when looking for the file
372 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
374 * pch.h: do not use include boost/format.hpp, multiple symbols
375 will result (gcc bug)
378 2004-08-23 José Matos <jamatos@lyx.org>
380 * bufferparams.C (readToken): fix reading of the author field.
382 2004-08-20 José Matos <jamatos@lyx.org>
384 * lyxrc.C: remove support/translator.h inclusion since it is not used.
386 2004-08-20 José Matos <jamatos@lyx.org>
388 * lyxlex.[Ch] (findToken): remove function.
390 * ParagraphParameters.C (findToken):
391 * bufferparams.C (findToken): replace call for previous function
392 with local copy. This local function has one more argument, the
393 read string argument.
395 2004-08-16 José Matos <jamatos@lyx.org>
397 * ParagraphParameters.C (write):
398 * Spacing.C (writeFile):
399 * bufferparams.C (writeLaTeX):
400 * lyx_cb.C (Reconfigure):
401 * paragraph.C (write):
402 * tabular.C (write): remove unnecessary space at end of line.
405 2004-08-16 José Matos <jamatos@lyx.org>
407 * text.C (readParagraph): remove debug message.
409 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
411 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
414 * output_plaintext.C (asciiParagraph): set depth correctly
416 * outputparams.h: add member depth
418 * paragraph_funcs.C (ownerPar): remove.
420 * text2.C (setCounter): remove first_pit; comment out some
421 non-working code that uses ownerPar
423 * BufferView.C (getParentLanguage): remove. Not used anymore, and
426 2004-08-16 José Matos <jamatos@lyx.org>
428 * text.C (readParToken, readParagraph, read): report all unknown tokens.
429 For the same level of importance use the same chanel to report problems.
430 (read): add code to deal with \begin_body and \end_body.
433 2004-08-15 José Matos <jamatos@lyx.org>
435 * lyxlex.C (getString): fix comment, buffer::readBody is now
438 * tex-strings.C (string_papersize): Default -> default,
439 Custom -> custom, for consistency with other options.
441 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
445 * Makefile.am: support pch
447 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 * text.C (readParToken): remove the static LyXFont variable and
450 pass it as a parameter instead. This fixes a nasty bug where an
451 inset will be inserted with a bad font in some situations
452 (readParagraph): adapt
454 * text2.C (setCounter): reduce number of calls to pars_[pit]
456 * text.C (singleWidth): add an assert, fix a test
458 * rowpainter.C (paintText): reduce number of calls to singleWidth
460 * paragraph.C (isHfill):
463 2004-08-14 André Pönitz <poenitz@gmx.net>
468 * lyxtext.h (several functions): use a Paragraph & argument
471 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
473 * metricsinfo.h: add a new field ltr_pos to PainterInfo
475 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
477 * text.C (singleWidth): remove useless test
479 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
481 * tabular.h: remove bogus comments
483 * tabular.C (getDescentOfRow):
484 (isPartOfMultiColumn): add assertions
486 * lyxlength.C (inPixels): remove #warning
488 2004-08-14 André Pönitz <poenitz@gmx.net>
490 * paragraph.h: inline getChar()
492 * BufferView.h: remove unused declarations
494 2004-08-14 José Matos <jamatos@lyx.org>
496 * Buffer.[Ch] (readDocument): new name for old readBody.
497 * Buffer.C: new file format, new keywords: \begin_document,
498 \begin_header, \begin_body, \end_body.
500 * bufferparams.C (readToken): replace all calls to lex.nextToken
501 by lex.next(). Do the same to eatLine except where really needed.
503 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
504 line when writing to the lyx file.
506 * output_plaintext.C (asciiParagraph): fix Bibliography style
509 * text.C (read): fix end of file handling.
511 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
513 * MenuBackend.C (Menu::operator[]): new method to access
514 individual menu items
515 (Menu::hasFunc): new method. search for an item that corresponds
517 (MenuBackend::specialMenu): new method
518 (MenuBackend::expand): if a special menu has been set, skip
519 entries whose func() appears in this menu
521 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
523 * text3.C: use Debug::DEBUG a bit more
525 * text.C (leftMargin): try to simplify a tiny bit change var x to
526 l_margin. Dont output the wide margins always.
527 (rightMargin): no margin in inner texts
529 * rowpainter.h (nestMargin): new func
530 (changebarMargin): new func
531 (rightMargin): new func
533 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
537 * factory.C (createInset): modify setDrawFrame
539 * cursor.C: use Debug::DEBUG a bit more
541 2004-08-14 André Pönitz <poenitz@gmx.net>
544 * Makefile.am: new files to accomodate an 'external' (x,y)-position
545 cache for all insets in (at least partially) visible (top-level)
548 * BufferView_pimpl.C: reset external coord cache before every update.
549 This means the coord cache only contains valid entries.
551 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
554 * BufferView_pimpl.C (getInsetByCode): move function out of class
555 and change in to a template in anon namespace. Also fix to do what
558 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
561 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
563 (breakParagraph): rename par to par_offset and use a local
564 reference. Add code to keep the language over a rebreak.
565 (breakParagraphConservative): rename par to par_offset, use a
567 (mergeParagraph): ditto
569 (isFirstInSequence): ditto
570 (outerFont): rename pit to par_offset
572 * paragraph.C: ws change
577 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
579 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
582 * paragraph.C (simpleTeXOnePar): when we have a \item with
583 optional argument, enclose the argument with curly brackets (in
584 case it contains a closing square bracket)
588 * text3.C (checkInsetHit): constify
590 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
592 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
595 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
597 Fix toggling of collapsable insets with the mouse (bug 1558)
599 * lyxfunc.C (dispatch): adapt to LCursor changes
601 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
602 make sure that dispatch is not invoked twice
604 * cursor.C (needsUpdate): new method
605 (dispatch): return void
606 (result): new method, to access the DispatchResult of the cursor.
608 2004-08-13 José Matos <jamatos@lyx.org>
610 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
612 2004-08-13 André Pönitz <poenitz@gmx.net>
614 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
616 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
619 2004-08-12 André Pönitz <poenitz@gmx.net>
621 * text3.C: take out the 'cursor right' form insertInset and only
622 do it in those places when it is really needed. Fixes crash on
625 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
627 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
629 * BufferView_pimpl.C (setBuffer): initialize the current font of
630 the underlying LyXText
632 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
634 * kbsequence.C (print): use UI native formatting for menu
637 * text.C (insertChar): call Paragraph::insertChar with a font
640 * paragraph.C (insertInset, insertChar): the version that takes a
641 LyXFont argument is now a wrapper around the other one (the
642 opposite used to be true).
644 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
645 argument. Font setting is done in Paragraph now.
647 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
649 * outputparams.h: add new members intitle and lang.
651 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
652 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
654 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
656 * text3.C (dispatch): remove special handling of button 4 and 5,
657 it is now taken care of in the frontend code.
659 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
661 * Spacing.h: add <string> (STLPort compile fix)
663 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
665 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
667 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
669 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
672 * converter.C (showMessage): inherit from unary_function, make
675 * buffer.C (writeFile): initialize retval
677 * InsetList.h: rename private variable list to list_
678 * InsetList.[Ch]: adjust accordingly.
680 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
682 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
683 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
684 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
685 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
686 * ParagraphParameters.C, LaTeXFeatures.C: replace
687 "support/std_sstream.h" with <sstream>
689 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
691 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
692 * lyxsocket.C (LyXServerSocket): ditto
693 (serverCallback): ditto
695 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
697 * LaTeXFeatures.C: check release date when loading jurabib.
699 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
701 * lyxserver.C (startPipe): call register_socket_callback
702 (endPipe): call unregister_socket_callback
704 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
706 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
707 (LyXServerSocket): register the callback
708 (LyXServerSocket): unregister the callback
709 (fd): delete function
710 (serverCallback): improve error checking and setup the callbacks.
711 (dataCallback): change arg to fd.
712 (writeln): new func (copied fro the client socket) used for server
714 (LyXDataSocket): simplify
715 (~LyXDataSocket): close ann unregiser callback
716 (server): delete function
717 (fd): delete function
718 (readln): small changes, improve some std::string usage
719 (writeln): constify a bit
721 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
723 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
726 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
728 * BufferView_pimpl.C (setBuffer): set the layout combox value only
729 after it has been populated
731 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
733 * text2.C (insertInset): move cursor when inserting inset.
735 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
737 * kbmap.C (findbindings): a couple of new methods. returns a
738 container of kb_sequence objects. The real work is done by the
739 private recursive version
740 (printbindings): uses findbindings to print out a bracketed list
741 of bindings (renamed from findbinding).
743 * MenuBackend.C (binding): use kb_keymap::findbindings
745 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
747 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
749 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
751 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
753 * paragraph.C (isWord): return true on insets that report
756 * text.C (getWord): use Paragraph::isWord to decide what is in a
757 word and what is not; fix bug 1609.
759 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
761 * tex-strings.C: add "none" to string_paperpackages[], fixes
762 off-by-one-error in the paperpackage selection.
765 * tex-strings.[Ch]: char const * string[n]
766 -> char const * const string[]
768 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
770 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
771 command, return early.
773 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
775 * debug.h: add DEBUG to enum and fix size of ANY.
777 * debug.C: add support for Debug::DEBUG
778 (showTags): cast errorTags.level to unsigned int
780 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
781 (redoCurrentBuffer): ditto
782 (updateScrollbar): ditto
783 * cursor.C (dispatch): ditto
784 * text2.C (setLayout): ditto
786 (updateCounters): ditto
788 (deleteEmptyParagraphMechanism): ditto
790 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
792 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
793 annotations to cleanup the Makefile slightly.
795 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
797 * lyxrc.C: do not set user_email to a default value but use empty
798 instead. The entry used to be translated, which does not work
799 since at the point where lyxrc is constructed there is no
800 translation service available
802 * messages.C (getLocaleDir): remove and use directly
803 lyx_localedir() instead
805 2004-06-02 Angus Leeming <leeming@lyx.org>
807 Fix crash caused by dereferencing null pointer 'exportdata' in
808 OutputParams by creating a new ExportData variable on the heap,
809 storing it in a boost::shared_ptr.
810 The crash was triggered when generating an Instant Preview
811 of an external inset.
813 * Makefile.am: add outputparams.C
815 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
816 (c-tor): allocate memory to it.
818 * exporter.C (c-tor): associated changes.
820 2004-06-01 Angus Leeming <leeming@lyx.org>
822 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
823 contains data before calling isInset(0). (Bug 1513.)
825 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
827 * exporter.C (checkOverwrite): new method
828 * exporter.C (copyFile): new method
829 * exporter.C (Export): copy referenced files to the document dir
830 * exporter.[Ch]: new class ExportedFile
831 * exporter.[Ch]: new class ExportData. Contains currently the
832 names of referenced external files
833 * outputparams.h: add exportdata member.
835 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
837 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
840 2004-05-19 Angus Leeming <leeming@lyx.org>
845 * lyxfunc.C: small changes due to the introduction of namespace
846 lyx::frontend and the moving of namespace biblio to lyx::biblio.
848 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
850 * text3.C (dispatch): supress update when only moving the cursor
851 * cursor.C (selHandle): remove commented code
853 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
855 * paragraph.C (startTeXParParams): correct column count
856 * CutAndPaste.C (pasteSelection): remove const_cast
857 * output_docbook.C (docbookParagraphs): remove const_cast
858 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
859 const_cast and return ParagraphList::const_iterator
860 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
861 * output_plaintext.C (writeFileAscii): remove const_cast
862 * paragraph.[Ch] (simpleTeXOnePar): make const
863 * paragraph_funcs.C (outerPar): use const iterators
864 * paragraph_pimpl.C (validate): use const iterators
865 * text.C (setHeightOfRow): use const iterators
867 2004-05-17 Angus Leeming <leeming@lyx.org>
870 * LyXAction.C (init): new LFUN_INSET_REFRESH.
872 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
873 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
874 if the citation engine has changed.
876 2004-05-14 José Matos <jamatos@lyx.org>
878 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
879 if the textclass does not provide it. Have it different for sgml and
881 support the language of document.
882 * output_docbook.C (docbookParagraphs):
883 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
884 first anchor as the id of the paragraph, remove special case code.
885 * sgml.C (escapeChar): escape only < & >.
887 2004-05-14 Angus Leeming <leeming@lyx.org>
889 * bufferparams.h: move biblio::CiteEngine enum here to minimize
890 dependencies on src/frontends/controllers/biblio.h. Define a
891 CiteEngine_enum wrapper class to enable the enum to be forward
894 2004-05-12 Angus Leeming <leeming@lyx.org>
896 * buffer.C: up LYX_FORMAT to 234.
897 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
898 use_numerical_citations with a single biblio::CiteEngine cite_engine
900 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
902 2004-05-13 José Matos <jamatos@lyx.org>
905 * converter.C (Converter, readFlags): add xml member.
906 * outputparams.h: add XML flavor.
907 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
909 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
911 * lyxfunc.C (dispatch):
912 (getStatus): fix handling of LFUN_SEQUENCE
914 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
916 * debug.C (showLevel): do not forget the end-of-line marker
918 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
920 * kbmap.C (read): do not stop parsing a bind file when an error
923 2004-04-29 Angus Leeming <leeming@lyx.org>
928 * text2.C: wrap a bunch of #warning statements
929 inside #ifdef WITH_WARNINGS blocks.
931 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
933 * buffer.C: increment format to 233.
935 2004-04-28 Angus Leeming <leeming@lyx.org>
937 * BufferView_pimpl.C:
940 s/updateToolbar()/updateToolbars()/
941 s/Toolbar.h/Toolbars.h/
943 2004-04-28 Angus Leeming <leeming@lyx.org>
945 * BufferView.[Ch] (c-tor):
946 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
947 No longer passes these data to the WorkArea generator.
949 2004-04-28 Angus Leeming <leeming@lyx.org>
951 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
953 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
955 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
957 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
959 * output_latex.C (TeXEnvironment): make sure that there is a line
960 break before \end{foo} for the last paragraph of a document
961 (TeXOnePar): if the paragraph is at the end of the document (or
962 inset) and the language has to be reset, then make sure that the
963 line break is _before_ the language command, not after (fixes bug
964 1225); also make sure that the language reset command is the first
965 thing after the paragraph (to ensure proper nesting of
966 environments and thus fix bug 1404)
968 2004-04-21 John Levon <levon@movementarian.org>
971 * ToolbarBackend.C: make "name" be a programmatic name
972 and a gui_name field.
974 * lyxfunc.C: display the minibuffer on M-x
976 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
978 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
981 2004-04-19 Angus Leeming <leeming@lyx.org>
983 * BufferView_pimpl.C (setBuffer): changed preview interface.
985 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
988 2004-04-19 John Levon <levon@movementarian.org>
990 * BufferView_pimpl.C:
991 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
993 2004-04-05 Angus Leeming <leeming@lyx.org>
995 * text.C (redoParagraphs): add call to updateCounters(), thereby
996 fixing the missing "Figure #:" label from the caption of a
999 2004-04-13 Angus Leeming <leeming@lyx.org>
1001 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
1002 cursor is clicked out of an inset.
1004 2004-04-13 Angus Leeming <leeming@lyx.org>
1006 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
1007 than an InsetOld one.
1009 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1011 * format.[Ch]: add editor to Format
1012 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
1013 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
1015 2004-04-08 André Pönitz <poenitz@gmx.net>
1017 * metricsinfo.h: remove PainterInfo::width member
1019 2004-04-08 Angus Leeming <leeming@lyx.org>
1021 * lyx_sty.C (boldsymbol_def): modify so that it outputs
1022 "\providecommand" rather than "\newcommand", thereby preventing
1023 clashes with packages that define "\boldsymbol" themselves.
1026 2004-04-08 Angus Leeming <leeming@lyx.org>
1028 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1029 thereby squashing an unnecessary warning.
1031 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1033 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1036 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1038 * BufferView.C (setCursor): call redoParagraph (some insets could
1040 (putSelectionAt): remove the 'double update' trick
1042 * BufferView_pimpl.C (fitCursor): call refreshPar
1043 (workAreaDispatch): remove an uneeded update call
1044 (dispatch): remove some manual update calls
1046 * cursor.[Ch]: remove cached_y_, updatePos
1047 (selHandle): set noUpdate when appropriate
1049 * lyxfunc.C (dispatch): track if we need an update
1051 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1053 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1054 (paintSelection): cheap optimization, do not call cursorX when not
1056 (paintPars): change signature
1059 (paintTextInset): adjust
1063 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1065 * lengthcommon.C: compilation fix: remove explicit array size from
1066 unit_name[] and friends
1068 2004-04-05 Angus Leeming <leeming@lyx.org>
1070 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1072 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1073 present only for the preferences dialog.
1074 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1076 2004-04-05 Angus Leeming <leeming@lyx.org>
1078 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1079 to enable the frontends to export changes to lyxrc correctly.
1081 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1083 2004-04-07 André Pönitz <poenitz@gmx.net>
1085 * cursor.[Ch] (selClear, adjust): remove math
1087 * cursor_slice.C: more agressive assert
1090 * BufferView_pimpl.C: rework mouse event dispatch
1097 2004-04-05 André Pönitz <poenitz@gmx.net>
1099 * cursor.[Ch] (valign, halign...): remove unneeded functions
1101 2004-04-05 Angus Leeming <leeming@lyx.org>
1103 * lyxlength.[Ch] (unit_name et al.): const-correct.
1105 2004-04-05 Angus Leeming <leeming@lyx.org>
1107 * BufferView_pimpl.C:
1116 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1118 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1120 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1122 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1124 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1125 * BufferView_pimpl.[Ch] (getStatus)
1126 * BufferView.[Ch] (getStatus): add
1127 * lyxfunc.C (getStatus): move lfuns handled in
1128 BufferView::dispatch to te function above
1129 * Cursor.C (setSelection): set selection() = true
1131 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1133 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1135 2004-03-31 Angus Leeming <leeming@lyx.org>
1137 * lyxfunc.C (dispatch): Fall through to the generic
1138 Dialogs::show("preamble").
1140 2004-03-31 Angus Leeming <leeming@lyx.org>
1142 * lyxfunc.C (dispatch): Fall through to the generic
1143 Dialogs::show("spellchecker").
1145 2004-03-31 Angus Leeming <leeming@lyx.org>
1147 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1150 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1155 * insetiterator.[Ch]:
1160 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1162 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1164 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1165 insets where we are putting the cursor.
1167 2004-03-31 Angus Leeming <leeming@lyx.org>
1170 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1172 * lyxrc.[Ch] (read, write): overloaded member functions taking
1173 a std::[io]stream arguments.
1175 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1177 2004-03-31 Angus Leeming <leeming@lyx.org>
1179 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1180 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1182 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1183 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1185 2004-03-31 Angus Leeming <leeming@lyx.org>
1187 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1188 the LFUN_ALL_INSETS_TOGGLE code.
1190 2004-03-30 Angus Leeming <leeming@lyx.org>
1192 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1193 has died. Fall through to the generic Dialogs::show("document").
1195 2004-03-30 Angus Leeming <leeming@lyx.org>
1198 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1199 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1201 * lyxfunc.C (getStatus, dispatch): define the actions for these
1202 lfuns. Little more than a cut and pste job from ControlDocument.C
1204 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1206 2004-03-30 Angus Leeming <leeming@lyx.org>
1209 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1210 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1212 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1213 open/closed state of ollapsable insets. Usage:
1215 all-inset-toggle <state> <name>, where
1216 <state> == "open" || "closed" || "toggle" and
1217 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1219 * lyxtext.h, text2.C (toggleInset): removed.
1221 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1222 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1223 now passes LFUN_INSET_TOGGLE to the found inset.
1225 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1226 is now invoked as "all-insets-toggle toggle branch".
1228 2004-03-30 Angus Leeming <leeming@lyx.org>
1232 * pariterator.[Ch]: added/corrected header blurb.
1234 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1236 * dociterator.[Ch]: add an inset_ member
1237 (backwardPos): implemented
1238 (backwardPos, forwardPos): use inset_ when the stack is empty.
1239 (doc_iterator_begin, doc_iterator_end): implemented
1240 * pariterator.[Ch]: adjust, add begin, end
1241 * insetiterator.[Ch]: adjust, add begin, end
1245 * BufferView_pimpl.C:
1246 * CutAndPaste.C: adjust
1248 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1250 * buffer.C: increment file format to 232.
1251 * LaTeXFeatures.C: add bibtopic package.
1252 * bufferparams.[Ch]: param \use_bibtopic.
1254 * lyxrc.[Ch]: add lyxrc bibtex_command
1255 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1257 * buffer.C: increment file format to 231.
1259 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1261 * dociterator.C: implement forwardPar
1262 * iterators.[Ch]: remove, replaced by
1263 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1265 * BufferView_pimpl.C:
1268 * bufferview_funcs.C:
1274 * Makefile.am: adjust
1276 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1278 * CutAndPaste.C (pasteSelection): fix 2 crashes
1279 (eraseSelection): fix a crash
1280 * paragraph_funcs.C: remove a warning
1282 2004-03-28 Angus Leeming <leeming@lyx.org>
1285 * LyXAction.C (init): new LFUN_PRINT.
1287 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1289 2004-03-27 Angus Leeming <leeming@lyx.org>
1292 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1294 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1296 2004-03-27 Angus Leeming <leeming@lyx.org>
1298 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1299 insetlist always contains non-null pointers to insets.
1301 2004-03-26 Angus Leeming <leeming@lyx.org>
1303 * src/BufferView_pimpl.C:
1304 * src/CutAndPaste.C:
1307 * src/output_plaintext.C:
1308 * src/outputparams.h:
1309 * src/paragraph_funcs.C:
1313 * src/frontends/controllers/ControlErrorList.C:
1314 * src/frontends/gtk/FileDialogPrivate.C:
1315 * src/frontends/gtk/GPainter.C:
1316 * src/frontends/gtk/GToolbar.C:
1317 * src/frontends/qt2/QRef.C:
1318 * src/mathed/math_scriptinset.C: squash compiler warnings.
1320 2004-03-26 Angus Leeming <leeming@lyx.org>
1322 * ispell.C (LaunchIspell::start):
1323 * lyx_cb.C (AutoSaveBuffer::start):
1324 invoke run(DontWait) rather than runNonBlocking().
1326 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1328 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1330 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1332 * kbsequence.C (print): adjust
1334 * kbmap.C (printKeySym): rename and change signature
1335 (printKey): use LyXKeySym::print()
1337 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1339 * undo.C: add using std::advance to compile for stlport
1341 2004-03-24 Angus Leeming <leeming@lyx.org>
1343 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1344 it leads to a crash when no buffer is present.
1346 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1347 Martin Vermeer <martin.vermeer@hut.fi>
1349 * lyxfunc.C (dispatch):
1350 * bufferparams.C (readToken): use the new LColor::setColor
1352 * LColor.[Ch] (setColor): new version that takes two strings as
1353 argument and creates a new color entry if necessary
1355 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1357 * buffer.C (makeLaTeXFile): if the main latex file that is
1358 processed is usually a subdocument of some master, then pretend
1359 for a while that it is actually the master
1361 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1363 * buffer.C (getLabelList):
1364 (getBibkeyList): use getMasterBuffer()
1365 (getMasterBuffer): new method. Returns the main document in the
1366 case where one is using included documents.
1368 2004-03-25 André Pönitz <poenitz@gmx.net>
1372 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1374 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1376 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1377 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1379 * ParameterStruct.h: merge with ParagraphParameters
1381 * lyxtext.h: remove LyXText::parOffset() and getPar()
1383 * text3.C: Remove all 'manual' update calls. We do now one per user
1384 interaction which is completely sufficient.
1388 * BufferView_pimpl.C:
1389 * FontIterator.[Ch]:
1391 * ParagraphParameters.[Ch]:
1396 * cursor_slice.[Ch]:
1403 * output_docbook.[Ch]:
1404 * output_latex.[Ch]:
1405 * output_linuxdoc.[Ch]:
1406 * output_plaintext.[Ch]:
1408 * paragraph_funcs.[Ch]:
1409 * paragraph_pimpl.[Ch]:
1417 * frontends/controllers/ControlDocument.C:
1418 * frontends/controllers/ControlErrorList.C:
1419 * frontends/controllers/ControlSpellchecker.C:
1422 * insets/insetbase.h:
1423 * insets/insetbibitem.C:
1424 * insets/insetbox.C:
1425 * insets/insetbranch.C:
1426 * insets/insetcaption.C:
1427 * insets/insetcharstyle.C:
1428 * insets/insetcharstyle.h:
1429 * insets/insetcollapsable.C:
1430 * insets/insetcollapsable.h:
1431 * insets/insetert.C:
1432 * insets/insetfloat.C:
1433 * insets/insetfoot.C:
1434 * insets/insetmarginal.C:
1435 * insets/insetnote.C:
1436 * insets/insetoptarg.C:
1437 * insets/insettabular.C:
1438 * insets/insettext.C:
1439 * insets/insettext.h:
1440 * insets/insetwrap.C:
1441 * mathed/math_mboxinset.C:
1442 * mathed/math_nestinset.C:
1443 * mathed/math_scriptinset.C:
1444 * mathed/math_scriptinset.h:
1447 2004-03-24 Angus Leeming <leeming@lyx.org>
1449 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1450 deal with any child processes that have finished but are waiting to
1451 communicate this fact to the rest of LyX.
1453 2004-03-24 Angus Leeming <leeming@lyx.org>
1455 64-bit compile fixes.
1457 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1458 (c-tor): pass lyx::pos_types rather than ints.
1460 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1463 * text.C (Delete): compile fix.
1464 (getPar): ensure that function declaration is the same as that in
1467 2004-03-23 Angus Leeming <leeming@lyx.org>
1469 * ispell.C (LaunchIspell):
1470 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1471 a boost::shred_ptr rather than a std::auto_ptr.
1473 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1475 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1476 handle LFUN_FILE_INSERT_*
1478 * lyxrc.C (setDefaults, getDescription, output, read):
1479 * lyxrc.h: remove ps_command
1481 2004-03-22 Angus Leeming <leeming@lyx.org>
1483 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1484 Ensure that error_handler is processed once only and that all data
1485 is saved before attempting to output any warning messages.
1487 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1489 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1491 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1493 2004-03-19 André Pönitz <poenitz@gmx.net>
1495 * cursor.[Ch] (reset): take main text inset as argument
1497 * BufferView: adjust
1498 * BufferView_pimpl.C: adjust
1500 * paragraph.[Ch]: fix completely broken operator=()
1502 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1504 * LColor.C (getFromLyXName): make sure that the color name is used
1507 2004-03-17 Angus Leeming <leeming@lyx.org>
1510 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1512 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1513 dialog and to kill a forked process.
1515 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1517 * text2.C (setCursorFromCoordinates): fix font problem
1519 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1521 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1522 bogus "rebuild cursor" code
1524 2004-03-11 André Pönitz <poenitz@gmx.net>
1526 * buffer.[Ch]: use InsetText instead of LyXText as container for
1529 * dociterator.[Ch]: drop the BufferView * member which is not needed
1530 anymore after the change to buffer.C
1532 * paragraph_funcs.C:
1536 * BufferView_pimpl.[Ch]:
1538 * cursor_slice.[Ch]: adjust
1540 * text3.C: fix bug in mathDispatch
1542 2004-03-08 André Pönitz <poenitz@gmx.net>
1544 * undo.[Ch]: use 'StableDocumentIterator' as base for
1547 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1550 * bufferparams.[Ch]: add jurabib support and param.
1552 * LaTeX.C: add FIXME/comment.
1554 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1556 * buffer.C: increment file format to 230.
1558 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1560 * cursor.C (dispatch): avoid infinite loops
1562 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1564 * rowpainter.C (paintSelection): fix x coordinates
1566 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1568 * text.C (rowBreakPoint): fix breaking before displayed insets
1570 2004-03-01 André Pönitz <poenitz@gmx.net>
1572 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1574 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1578 * BufferView_pimpl.C:
1586 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1592 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1593 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1595 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1597 * Bidi.[Ch] (computeTables): const correctness
1598 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1599 fill_hfill, fill_label_hfill and x from Row
1600 * lyxtext.h: prepareToPrint returns a RowMetrics
1601 * rowPainter.C: adjust
1602 * text.C (prepareToPrint): use width, not textWidth. adjust
1603 (redoParagraphInternal, cursorX): adjust
1604 * text2.C (getColumnNearX): adjust
1605 (init): put a default value to the top LyXText::width
1607 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1609 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1611 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1613 * lyxtext.h: add FontIterator class
1615 * text.C (FontIterator, operator*, operator->, operator++): add
1616 (rowBreakPoint, setRowWidth): adjust (fixing a
1619 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1621 * BufferView_pimpl.C (workAreaDispatch): allow also
1622 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1624 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1626 * text.C (rowBreakPoint): fix a bug showing with very large insets
1628 2004-02-25 André Pönitz <poenitz@gmx.net>
1631 * cursor.[Ch]: move some mathed specific code to mathed
1633 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1635 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1636 use_tempdir in preferences
1637 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1639 * lyx_main.C: ensure that tempdir is valid
1640 * lyxlex.h: correct typo
1641 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1642 * paragraph.[Ch] (isMultiLingual): make const
1643 * cursor.[Ch] (openable): make const
1645 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1647 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1649 2004-02-20 André Pönitz <poenitz@gmx.net>
1651 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1653 * cursor.[Ch]: prepare for localized getStatus()
1659 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1661 2004-02-20 André Pönitz <poenitz@gmx.net>
1663 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1665 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1667 * text2.C (setCursorFromCoordinates): switch to absolute coords
1669 (cursorDown): adjust
1670 * text3.C (dispatch): adjust
1672 2004-02-16 André Pönitz <poenitz@gmx.net>
1674 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1677 * cursor_slice.[Ch]: remove unneeded acessor function
1679 * lyxtext.h: rename rtl() to isRTL()
1687 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1689 * rowpainter.C (paintSelection): coord fix
1691 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1693 * Spacing.C: compile fix
1695 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1697 * cursor.C (dispatch): restore current_ before returning
1699 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1701 * text2.C (cursorUp, cursorDown): fix coords
1704 2004-02-12 André Pönitz <poenitz@gmx.net>
1709 * text3.C: add LCursor & parameter to most cursor movement functions
1710 remove usage of LyXText::cursorRow() and cursorPar()
1712 * cursor.[Ch]: add textRow() needed members
1715 * BufferView_pimpl.C:
1718 * BufferView_pimpl.C: adjust
1720 2004-02-11 André Pönitz <poenitz@gmx.net>
1724 * BufferView_pimpl.C: shift undo/redo handling
1726 * cursor.[Ch]: fix mathed crash
1729 * lyxtext.h: move selectionAsText to LCursor
1737 * rowpainter.C: fix excessive drawing
1739 2004-02-06 André Pönitz <poenitz@gmx.net>
1742 * BufferView_pimpl.[Ch]:
1743 * text3.C: move some text specific LFUN handling
1745 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1747 * text3.C (checkInsetHit): adjust coords
1748 * text2.C (getColumnNearX): adjust coords
1749 (edit): adjust coords
1750 * text.C (getRowNearY): add two asserts
1752 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1755 * format.C: add using std::distance to compile on gcc 2.95/stlport
1757 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1759 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1761 2004-02-04 André Pönitz <poenitz@gmx.net>
1763 * BufferView.[Ch] (insertInset):
1764 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1769 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1771 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1772 on the default clause of the switch
1773 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1774 wasn't catched by LCursor::dispatch
1776 2004-02-03 André Pönitz <poenitz@gmx.net>
1779 * cursor.[Ch]: some additional asserts
1781 * undo.[Ch]: remove LyXText dependency in interface
1785 * lyxtext.h (firstPar, lastPar): remove dead functions
1790 * paragraph.[Ch]: adjust
1792 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1794 * lyxfind.C (find): fix argument order in call to ::find
1796 2004-02-02 André Pönitz <poenitz@gmx.net>
1798 * cursor.[Ch]: remove direct access to anchor
1800 * text.C: remove findText() hack
1802 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1804 * iterators.[Ch] (lockPath): remove in favour of...
1805 * BufferView.[Ch] (setCursor): this addition
1806 * BufferView.C (putSelectionAt): adjust
1807 * undo.C (performUndoOrRedo): adjust
1808 * lyxfunc.C (dispatch): adjust
1810 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1812 * iterators.C (lockPath): add a missing slice
1813 * undo.C (performUndoOrRedo): remove redundant positioning code
1815 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1817 * vc-backend.C (scanMaster): ";" -> ';'
1819 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1821 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1822 std::binary_function
1824 * lyxtextclass.C (compare_name): rename to...
1825 (LayoutNamesEqual): ...this
1827 * lyxlex_pimpl.C (compare_tags): inherit from
1828 std::binary_function, put back into anon namespace
1830 * lyxfind.C (MatchString): inherig from std::binary_function
1831 (findChange): use empty() istead of !size()
1833 * format.C (FormatNamesEqual): new functor
1840 * converter.C (compare_Converter): rename to...
1841 (ConverterEqual): ...this, and fixup a bit.
1842 (getConverter): use it, and make function const
1843 (getNumber): use it, and make function const
1847 * bufferlist.C: add using boost::bind
1849 * MenuBackend.C (MenuNamesEqual): new functor
1850 (hasMenu): use it, and make function const
1851 (hasSubmenu): use nested bind to get rid of compare_memfun.
1853 2004-01-30 André Pönitz <poenitz@gmx.net>
1855 * BufferView_pimpl.C:
1858 * cursor_slice.[Ch]:
1861 * paragraph_funcs.C:
1862 * paragraph_funcs.h:
1866 * text3.C: move some of the edit(x,y) handling to the insets
1867 some coordinate changes.
1869 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1871 * text.C: add using statements for std::advance and std::distance
1873 * paragraph.C: add using statement for std::distance
1875 * lyxfind.C: add using statement for std::advance
1877 * cursor.C (region): remove std:: from swap
1878 (openable): use nucleus in stead of operator->
1880 * BufferView.C: add using statements for std::distance and std::swap
1882 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1884 * iterators.C: Remove the pimple, move the needed structures to
1885 the header file. Create accessor for the positions stack.
1886 (asPosIterator): remove function
1888 * PosIterator.C (PosIterator): move constructors to top of file
1889 (PosIterator): reimplement the constructor taking a ParIterator in
1891 (setFrom): new function
1892 (operator!=): inline it
1894 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1896 * lyxfind.C (replaceAll): use std::advance
1898 * iterators.h: inherit from std::iterator.
1900 * PosIterator.C (advance, distance): remove
1901 * PosIterator.h: interit from std::iterator.
1903 2004-01-26 André Pönitz <poenitz@gmx.net>
1906 * BufferView_pimpl.[Ch]:
1910 * bufferview_funcs.C:
1920 * output_linuxdoc.C:
1921 * output_plaintext.C:
1923 * paragraph_funcs.[Ch]:
1924 * paragraph_pimpl.[Ch]:
1930 * text3.C: more IU: dumps most of the rest of the mathcursor
1931 implementation into cursor.[Ch]; "globalize" a bit of it.
1933 2004-01-25 Angus Leeming <leeming@lyx.org>
1935 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1937 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1939 * LaTeXFeatures.h: add nice_ and nice() const
1940 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1942 2004-01-20 André Pönitz <poenitz@gmx.net>
1945 * BufferView_pimpl.C:
1947 * bufferview_funcs.C:
1949 * cursor_slice.[Ch]:
1960 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1961 LCursor and mathcursor parts to LCursor and InsetBase.
1963 2004-01-15 André Pönitz <poenitz@gmx.net>
1965 * cursor_slice.[Ch]: add a few covienience functions
1967 * funcrequest.[Ch]: remove BufferView * member
1969 * BufferView_pimpl.C:
1976 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1978 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1980 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1981 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1983 2004-01-13 André Pönitz <poenitz@gmx.net>
1986 * lyxtext.h: hide cursor and selection anchor behind accessor function
1989 * BufferView_pimpl.[Ch]:
1991 * bufferview_funcs.C:
2001 * cursor_slice.[Ch]: some integer type changes for inset unification
2003 * lyxcursor.[hC]: remove, it's CursorSlice now.
2006 * BufferView_pimpl.[Ch]:
2007 * bufferview_funcs.C:
2013 * textcursor.[Ch]: adjust
2015 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
2017 * text2.C (undoSpan): add and use
2018 * text.C (breakParagraph): use undoSpan (fix bug 578)
2021 2004-01-08 Angus Leeming <leeming@lyx.org>
2023 * BufferView_pimpl.C (MenuInsertLyXFile):
2024 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2025 * lyxfunc.C (menuNew, open, doImport):
2026 FileFilterList change to the FileDialog open and save functions.
2028 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2030 * ShareContainer.h: make isEqual and isUnique adaptable
2032 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2034 2004-01-07 Angus Leeming <leeming@lyx.org>
2037 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2039 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2041 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2042 functions replacing find, replace and replaceAll.
2044 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2045 LFUN_WORDFIND(FORWARD|BACKWARD).
2047 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2049 * text.C (breakParagraph): remove an outdated #warning
2051 2004-01-07 André Pönitz <poenitz@gmx.net>
2053 * lyxfind.C: somewhat clearer logic
2055 * text.C: prevent crash in cursorX on unitialized row cache
2057 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2059 * lyxcursor.[Ch] (operator>): add
2060 * textcursor.C (selStart, selEnd): use std::min and std::max
2062 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2064 * Chktex.C: include boost/format.hpp
2066 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2068 * InsetList.C: replace functor MathcIt with adaptable functor
2070 (insetIterator): modify accordingly
2072 * BranchList.h: move the BranchNamesEqual functor here from...
2073 * BranchList.C: ... to here
2075 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2077 (add): replace a finding loop with std::find_if.
2079 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2081 * output_docbook.C: moving LatexParam functionality into
2084 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2086 * buffer.C: increment format to 229.
2088 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2091 * lyx_sty.[Ch]: remove minipageindent_def
2097 * text3.C: remove LFUN_INSET_MINIPAGE
2099 2003-12-28 Angus Leeming <leeming@lyx.org>
2101 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2103 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2105 * text2.C (setParagraph): fix off-by-one crash
2107 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2109 * output_docbook.C: header stuff for AGU
2111 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2113 * text2.C (redoCursor): remove
2116 * BufferView_pimpl.C: remove calls to redoCursor and
2117 setCursor(cursor.par(), cursor.pos()) all around
2119 2003-12-15 Angus Leeming <leeming@lyx.org>
2121 * buffer.C: up the format to 228.
2123 2003-12-15 André Pönitz <poenitz@gmx.net>
2125 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2130 * BufferView_pimpl.C:
2139 2003-12-15 Angus Leeming <leeming@lyx.org>
2141 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2142 than getFromGUIName to manipulate the color.
2144 2003-12-14 Angus Leeming <leeming@lyx.org>
2146 * BranchList.[Ch]: minimize the API.
2147 (Branch::getBranch, getColor): now return a 'const &'.
2148 (Branch::setSelected) now returns a bool set to true if the
2149 selection status changes.
2150 (BranchList::clear, size, getColor, setColor, setSelected,
2151 allBranches, allSelected, separator): removed.
2152 (BranchList::find): new functions, returning the Branch with
2154 (BranchList::add, remove): return a bool indicating that
2155 the operation was successful.
2157 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2158 new InsetBranch::isBranchSlected member function.
2160 * LColor.[Ch]: mimimize the API.
2161 (fill): renamed as addColor and made private.
2162 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2163 versions of these functions taking a string arg have been removed.
2165 * bufferparams.C (readToken):
2166 * lyxfunc.C (dispatch):
2167 * lyxrc.C (read): changes due to the altered BranchList and
2170 * factory.C (createInset, readInset): changes due to altered
2173 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2176 * lyxfunc.C: remove insetminipage. "minipage-insert"
2177 now produces a frameless minipage box inset.
2179 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2181 * textcursor.[Ch] (selStart,selEnd): add new methods
2182 remove selection::start, end, use LyXCursor::operator<
2183 * lyxcursor.[Ch] (operator<): add
2184 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2185 * BufferView.[Ch] (unsetXSel): add
2186 * text2.C (clearSelection): use unsetXSel,adjust
2189 * rowpainter.C: adjust
2190 * bufferview_funcs.C (put_selection_at): adjust
2192 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2194 * BufferView_pimpl.C: small coord. correction
2196 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2198 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2199 dragging over the splash screen.
2201 2003-12-11 Angus Leeming <leeming@lyx.org>
2203 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2204 as it is now handled in LyXText::dispatch.
2206 * text3.C (doInsertInset): remove a level of nesting.
2208 2003-12-11 Angus Leeming <leeming@lyx.org>
2210 * factory.C (createInset): changes due to the changed interface to
2211 InsetCommandMailer::string2params.
2213 2003-12-10 Angus Leeming <leeming@lyx.org>
2215 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2216 'dialog-show-new-inset <inset name>'
2218 2003-12-10 Angus Leeming <leeming@lyx.org>
2220 * buffer.C: up the format to 227.
2222 * factory.C: the box inset is now identified simply by 'Box'.
2224 2003-12-10 Angus Leeming <leeming@lyx.org>
2226 * buffer.C: up the format to 226.
2228 * factory.C: the note inset is now identified simply by 'Note'.
2230 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2232 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2233 when a pit is enough. Standarize a couple of loops.
2235 2003-12-05 Angus Leeming <leeming@lyx.org>
2237 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2238 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2239 data to the re-worked "log" dialog.
2241 2003-12-03 André Pönitz <poenitz@gmx.net>
2247 * paragraph_funcs.C:
2249 * text2.C: use Inset::getText instead of Inset::getParagraph
2251 2003-12-03 André Pönitz <poenitz@gmx.net>
2255 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2256 InsetText::read() as LyXText::read()
2258 2003-12-02 Angus Leeming <leeming@lyx.org>
2260 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2261 type. Add a comment in the implementation that the function uses
2262 the stream's bad() function rather than fail() as the std::streams
2265 2003-12-02 André Pönitz <poenitz@gmx.net>
2267 * lyxlex.[Ch]: make interface more similar to std::stream
2269 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2271 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2273 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2275 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2277 * vspace.[Ch]: remove VSpace::NONE
2279 2003-12-01 André Pönitz <poenitz@gmx.net>
2282 * lyxtext.h: move ParagraphList member to LyXText
2283 rename LyXText::ownerParagraphs to LyXText::paragraph
2286 * bufferview_funcs.C:
2296 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2298 * undo.C: fix cursor positioning
2300 2003-12-01 John Levon <levon@movementarian.org>
2302 * BufferView_pimpl.C: fix a crash on exit with
2305 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2307 * BranchList.C: fix setSelected() method.
2309 2003-11-28 André Pönitz <poenitz@gmx.net>
2311 * ParagraphParameters.[Ch]:
2312 * ParameterStruct.h: remove space above/below from Paragraph to
2315 * BufferView_pimpl.C:
2321 * paragraph_funcs.C:
2327 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2329 * factory.C: Syntax change for CharStyles
2331 2003-11-28 André Pönitz <poenitz@gmx.net>
2336 * buffer.[Ch]: move LyXText member
2338 2003-11-28 André Pönitz <poenitz@gmx.net>
2340 * BufferView.[Ch]: make LyXText * text a private member
2342 * BufferView_pimpl.C:
2353 * output_plaintext.C: cleanup
2355 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2358 * lyxtextclass.[Ch]: parametrize SGML document header
2360 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2363 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2366 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2368 * text2.C (setFont): rework using PosIterator (no more recursive)
2369 (setCharFont): no more needed
2370 (setLayout): no more selection cursors fiddling (done by redoCursor)
2371 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2372 destroy remaining ones)
2374 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2376 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2378 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2381 * text3.C: adjust + re-allow multi par depth changes
2382 * textcursor.C: simplify a bit
2384 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2390 * src/output_docbook.C:
2391 * src/output_latex.C:
2396 * src/text2.C: Introducing a number of tags parametrizing various
2397 XML formats that we may want to support
2399 2003-11-25 André Pönitz <poenitz@gmx.net>
2401 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2403 * lyxtext.h (leftMargin/rightMargin): simplify interface
2410 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2412 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2413 master file to any child files. Fixes bug 546.
2415 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2417 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2419 2003-11-24 André Pönitz <poenitz@gmx.net>
2421 * rowpainter.C: simplification
2423 * text2.C (updateCounters): remove call to redoParagraph on
2424 changed labels as this is far too expensive.
2426 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2428 * converter.C (convert): fix a crash: this function gets
2429 called with buffer == 0 from importer code.
2431 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2433 * text3.C (cursorPrevious): make sure that we do not compare
2434 iterators form different containers.
2437 * rowpainter.C (paintSelection): make sure that we do not compare
2438 iterators from different containers.
2440 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2441 iterators from different ParagraphList containers.
2444 * text2.C (LyXText): change order of initialization slightly
2445 (operator=): new function. copy all variables except cache_par_
2446 (moveUp): make sure that we do not compare iterators from
2447 different ParagraphList constainers.
2450 * text.C (firstPar): new function
2451 (lastPar): new function
2452 (endPar): new function
2454 * lyxtext.h: move things around and group public functions, public
2455 variables, private functions, private variables
2457 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2459 * factory.C: change call to InsetERT constructor to avoid
2460 additional invocation of method status
2461 * text2.C (toggleInset): remove redundant update() call
2462 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2463 instead of a Bufferview pointer
2465 2003-11-21 André Pönitz <poenitz@gmx.net>
2467 * rowpainter.C: simplification
2469 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2471 * text3.C (dispatch): make possible to extend a word/row selection
2474 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2476 * lyxtext.h: x0_,y0_ -> xo_,yo_
2477 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2478 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2479 * rowpainter.C (paintRows): paint full paragraphs
2481 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2483 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2486 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2488 * lyxtext.h: add x0_, y0_
2489 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2490 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2492 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2494 * text2.C (setCursorIntern): move the x_target update here *
2495 * text3.C: change some bv() to true/false in calls to
2496 cursorUp/Down/Right/Left
2497 * cursor.C: use helper function.
2499 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2501 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2502 * paragraph_funcs.[Ch]: correct comment
2503 * rowpainter.C: do not paint selections away from bv->cursor()
2504 Fix a long standing selection painting bug.
2505 * text3.C: generalize mouse-selection code to LyXTexts other that
2507 * textcursor.C: do not use y coords if we can use par offsets
2509 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2511 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2512 cursor position after e.g. inset insert)
2514 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2516 * lyxfind.C (replace): adjust to locking removal + some
2519 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2521 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2524 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2527 * output_docbook.C: XML sanitation: new layout
2528 parameters InnerTag and CommandDepth
2530 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2532 * BufferView_pimpl.C:
2534 * text3.C: Fix the insertion and modification of button-style
2537 2003-11-13 André Pönitz <poenitz@gmx.net>
2539 * InsetList.[Ch]: remove deleteLyXText
2541 * paragraph.[Ch]: cache beginOfBody position
2546 * text3.C: remove superfluous update() calls
2550 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2552 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2553 * BufferView.C (fitLockedInsetCursor): remove
2554 * cursor.[Ch] (getDim): add
2555 * text.C (getRowNearY): add faster version
2556 * text3.C: remove some update calls
2558 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2570 * text3.C: The Character Style /XML short element patch.
2572 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2575 * factory.C: Small step to solving 'unable to insert some insets'
2578 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2580 * cursor.[Ch] (updatePos): new function for updating the y
2581 position of the tip inset
2582 * bufferview_funcs.C (put_selection_at):
2583 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2585 2003-11-11 André Pönitz <poenitz@gmx.net>
2587 * text.C: remove big comment on invalid Paragraph pointers as it is
2590 2003-11-11 André Pönitz <poenitz@gmx.net>
2592 * text_funcs.[Ch]: merge with ...
2600 * Makefile.am: remove text_funcs.[Ch]
2602 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2604 * cursor.C (getPos): return absolute cached y coord
2606 * BufferView_pimpl.C (fitCursor): new simplistic code
2607 (workAreaDispatch): add a fitCursor call
2609 2003-11-10 André Pönitz <poenitz@gmx.net>
2612 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2614 2003-11-10 André Pönitz <poenitz@gmx.net>
2616 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2617 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2618 indicate that the cursor needs to leave an inset
2620 * lyxtext.h: remove inset locking
2622 * cursor.[Ch]: re-implement functionality provided by inset locking
2625 * BufferView_pimpl.[Ch]:
2627 * bufferview_funcs.[Ch]:
2639 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2641 * PosIterator.[Ch]: replace the stack with a vector, add inset
2643 * iterators.[C]: adjust
2645 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2647 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2649 * paragraph_funcs.C (readParToken): put the correct id in the
2650 error item, not the id of the top paragraph
2652 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2654 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2655 * bufferview_funcs.C (put_selection_at): use the above
2657 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2659 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2661 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2663 * output_linuxdoc.h:
2664 * output_plaintext.h:
2666 * output_docbook.h: add #include statements
2668 2003-11-05 José Matos <jamatos@lyx.org>
2670 * output_docbook.[Ch]:
2671 * output_latex.[Ch]:
2672 * output_linuxdoc.[Ch]:
2673 * output_plaintext.[Ch]: New files for output formats.
2674 * output.[Ch]: New file for helper functions.
2677 * paragraph_funcs.[Ch]: output functions moved to new files.
2679 * outputparams.h: rename of latexrunparams.h
2687 * paragraph_funcs.[Ch]:
2688 * paragraph_pimpl.[Ch]:
2689 * tabular.[Ch]: rename ascii to plaintext
2690 and LatexRunParams to OutputParams.
2692 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2694 * iterators.[Ch] (text): require bv argument
2695 * undo.C (recordUndo):
2696 * lyxfunc.C (dispatch):
2697 * bufferview_funcs.C (put_selection_at): adjust
2699 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2701 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2703 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2705 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2708 2003-11-04 André Pönitz <poenitz@gmx.net>
2710 * cursor.[Ch]: restructure
2713 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2715 * iterators.[Ch] (asCursor): remove
2717 * lfuns.h: remove LFUN_INSET_EDIT
2723 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2725 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2727 * lyxfind.[Ch]: complete overhaul
2728 * BufferView_pimpl.C:
2730 * paragraph.[Ch] (insert): add
2732 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2736 * text.C: remove dead spellcheck code
2738 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2740 * dispatchresult.h: add a val setter
2742 * cursor.C (dispatch): use a tempvar for data_[i]
2744 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2746 * PosIterator.[Ch]: compile fix
2748 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2750 * text.C (cursorPar): deactivate the cursor cache
2752 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2754 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2756 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2758 * text3.C (dispatch): adjust for new DisptchResult semantics.
2760 * lyxfunc.C (dispatch): handle update when return from
2761 Cursor::dispatch, adjust for new DispatchResult semantics.
2763 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2764 DispatchResult(true) mean to not update. Add class functions for
2765 setting dispatched and update, as well as reading.
2767 * cursor.C (dispatch): don't handle update here
2769 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2771 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2772 * trans_mgr.C: adjust
2774 * paragraph_funcs.C (readParToken): exception safety
2776 * lyxvc.h: store the vcs pointer in a scoped_ptr
2779 * lyxsocket.C (serverCallback): exception safety
2781 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2783 * ispell.C (clone): make it return a auto_ptr
2785 * factory.C (createInset): exception safety
2786 (readInset): exception safety
2788 * bufferlist.C (newBuffer): exception safety
2790 * Thesaurus.C (Thesaurus): use initialization for aik_
2792 * MenuBackend.C (expandToc): exception safety.
2794 2003-11-03 André Pönitz <poenitz@gmx.net>
2798 * bufferview_funcs.C: remove getInsetFromId()
2801 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2807 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2809 * PosIterator.C (distance, advance): new
2810 * bufferview_funcs.[Ch] (put_selection_at): new
2811 * iterators.[Ch] (lockPath): new
2813 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2815 * iterators.[Ch] (asPosIterator): added
2816 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2817 * PosIterator.[Ch]: added
2819 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2823 * cursor.C (dispatch):
2824 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2826 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2827 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2828 contructor, add a class function dispatched. Remove operator>=
2830 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2832 * debug.C: only use the default constructor for debugstream
2835 * main.C (main): include debug.h and setup the lyxerr streambuf
2838 2003-10-31 José Matos <jamatos@lyx.org>
2840 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2842 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2843 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2844 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2845 * paragraph_pimpl.C (simpleTeXSpecialC):
2846 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2847 add LatexRunParams argument.
2849 * exporter.C (Export): change call accordingly.
2851 * latexrunparams.h: add new member to take care of the other backends.
2852 2003-10-30 José Matos <jamatos@lyx.org>
2854 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2855 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2856 factorise code for paragraph output.
2858 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2861 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2863 * text3.C (dispatch):
2864 * lyxfunc.C (dispatch):
2865 * cursor.C (dispatch):
2866 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2868 * dispatchresult.h: make the dispatch_result_t ctor explicit
2870 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2873 * buffer.C: small refactoring of docbook stuff
2875 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2877 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2880 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2882 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2883 operator dispatch_result_t, and operators for == != and >=
2885 * cursor.C (dispatch): adjust for operator dispatch_result_t
2886 removal. comment out call to update
2888 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2890 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2898 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2901 * dispatchresult.h: new file, DispatchResult broken out of
2904 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2906 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2908 * text.C (rowBreakPoint): put a hack inside #if 0
2910 2003-10-28 André Pönitz <poenitz@gmx.net>
2914 * paragraph_funcs.C:
2917 * text2.C: general cleanup (lots of small stuff)
2919 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2921 * text2.C (cursorEnd): simple fix to the "end key goes to one
2922 before the end on last row" bug
2924 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2926 * text.C (backspace): fix the "zombie characters"
2928 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2930 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2932 2003-10-27 André Pönitz <poenitz@gmx.net>
2934 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2936 * factory.C: handle new InsetPagebreak, InsetLine
2938 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2939 and move handling into new InsetPagebreak, InsetLine
2941 * BufferView_pimpl.C:
2943 * ParagraphParameters.C:
2944 * ParameterStruct.h:
2949 * paragraph_funcs.C:
2950 * paragraph_pimpl.C:
2956 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2959 * lyxrow_funcs.[Ch]:
2965 * text3.C: remove lastPos uses in favour of Row::endpos
2967 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2969 * undo.C (performUndoOrRedo): fix two crashes by setting a
2970 cursor by hand and reordering some calls. Use bv->lockInset instead
2971 of inset->edit because the latter loses cursor information
2973 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2975 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2977 (rowBreakPoint): fix width. change point to point + 1.
2978 Add a missing check.
2980 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2983 * lyxfunc.C: fix (at least partly) the problems
2984 with the Nav menu and headers inside branch insets
2987 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2989 * paragraph.C (getChar): add strong asserts
2991 * lyxrow_funcs.C (lastPos): remove hideous hack
2993 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2994 (fill): adjust to that (avoid an infinite loop)
2996 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2998 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
3000 2003-10-23 André Pönitz <poenitz@gmx.net>
3002 * RowList_fwd.h: change list<> to vector<> to gain speed
3003 after suggestion from Alfredo
3005 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
3007 * lyxtext.h: move the bidi stuff from here...
3010 * Bidi.[Ch]: ... to here
3012 2003-10-23 André Pönitz <poenitz@gmx.net>
3015 * text.C (isLastRow, isFirstRow): new functions
3017 * paragraph.h: new width cache member
3019 * rowpainter.C: replace RowList::iterator with Row & where possible
3021 * lyxfunc.C: replace several view()->text with a single call
3023 * toc.C: fix 'unused' warning
3025 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
3027 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3028 when woring with stream::pos_type
3029 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3031 2003-10-22 André Pönitz <poenitz@gmx.net>
3034 * text.C: use Row & instead of RowList::iterator
3036 * lyxrow.h: rename end() to endpos()
3042 2003-10-22 Angus Leeming <leeming@lyx.org>
3044 * buffer.[Ch] (fully_loaded): new member function, returning true
3045 only when the file has been loaded fully.
3046 Used to prevent the premature generation of previews and by the
3047 citation inset to prevent computation of the natbib-style label.
3049 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3050 templates are all set up.
3052 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3054 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3056 * text.C: fixed an "oops" in the "is a bit silly"
3059 2003-10-21 André Pönitz <poenitz@gmx.net>
3061 * FuncStatus.[Ch]: small stuff, whitespace
3063 * lyxfont.[Ch]: operator<<() for debug reasons
3067 * lyxtext.h: whitespace, spelling
3069 * paragraph.C: naming of variables
3072 * text2.C: small stuff
3075 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3077 * text.C: (1) finish off the inset display() work;
3078 (2) fix the "is a bit silly" bug (accessing char
3081 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3083 * text.C: re-introduce display() for insets, fixing the
3084 various bugs (stretch of line above, math inset
3087 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3089 * text.C (rightMargin): remove spurious semicolon
3091 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3094 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3096 * text3.C: fix one crash due to wrong cursor def
3098 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3100 * vc-backend.C (scanMaster): make the regex static
3102 * LaTeX.C (scanAuxFile): make the regexs static
3104 * text3.C (doInsertInset, dispatch, dispatch):
3105 * text2.C (cursorUp, cursorDown):
3106 * text.C (selectNextWordToSpellcheck):
3107 * BufferView_pimpl.C (dispatch):
3108 * lyxfunc.C (dispatch): localDispatch -> dispatch
3110 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3112 * lyxsocket.C: include <cerrno>
3114 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3116 * lyxfunc.C (dispatch): remove textcache stuff
3118 * bufferlist.C (release): remove textcache stuff
3121 * TextCache.C: delete file
3122 * TextCache.h: delete file
3124 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3126 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3127 delete of the bv_->text.
3128 (resizeCurrentBuffer): remove texcache stuff
3129 (workAreaResize): ditto
3131 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3133 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3136 2003-10-16 André Pönitz <poenitz@gmx.net>
3143 * text3.C: speed up by storing y positions per paragraph plus per-row
3144 offset instead of having a 'full' y position in the row.
3146 2003-10-15 André Pönitz <poenitz@gmx.net>
3150 * undo.[Ch]: make undo aware of inner insets
3152 2003-10-14 Angus Leeming <leeming@lyx.org>
3154 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3155 static member functions LyX::ref() and LyX::cref.
3156 (lastfiles): new accessor functions for the new lastfiles_ member var.
3157 (addLyXView, views_): add a new LyXView to the list of views_.
3158 (updateInset): loop over all LyXViews to call their own updateInset
3159 member function, returning a pointer to the Buffer owning the inset.
3161 * BufferView_pimpl.C (loadLyXFile):
3162 * MenuBackend.C (expandLastfiles):
3163 * bufferlist.C (MenuWrite, QuitLyX):
3164 lastfiles is no longer a global variable.
3165 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3167 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3168 static function. Access through LyX::cref().emergencyCleanup().
3170 2003-10-14 André Pönitz <poenitz@gmx.net>
3172 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3174 * undo.[Ch]: restoring part of 'undo in insets'
3177 * undo_funcs.[Ch]: merge with undo.[Ch]
3179 * tabular.C: small cleansing stuff
3181 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3183 * paragraph_funcs.C (readParToken): report unknown insets as error
3184 boxes. Use the outer paragraph as location (also for unknown
3187 * factory.C (readInset): do not abort on reading an unknown inset.
3188 Eat it and return 0.
3190 2003-10-13 Angus Leeming <leeming@lyx.org>
3192 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3194 * lyxrc.C: displayTranslator is now a function,
3195 declared in GraphicsTypes.h.
3197 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3199 * format.C: new placeholder $$a to pass the socket address.
3201 * bufferlist.[Ch]: new function getBufferFromTmp.
3203 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3204 files in the temporary dir.
3206 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3208 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3210 * Makefile.am: add lyxsocket.[Ch].
3212 * lyx_main.C (error_handler): handle SIGPIPE.
3214 2003-10-13 André Pönitz <poenitz@gmx.net>
3216 * BufferView_pimpl.C:
3221 * undo_funcs.[Ch]: use paroffset_type instead of
3222 ParagraphList::iterators to prevent multiple conversion
3223 (and get a more robust interface)
3225 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3227 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3229 * text3.C (dispatch): ditto
3231 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3233 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3234 move the onlyfile, use onlyfile instead of foundfile in a couple
3237 * DepTable.C (update): flush the error stream a bit more
3239 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3241 * lyxserver.C (callback): adjust
3243 * lyxfunc.C (getStatus): add a missing brace in commented code
3244 (ensureBufferClean): reindent
3245 (dispatch): delete version taking a string
3247 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3249 * LaTeX.C (deplog): move found file handlig from here...
3250 (handleFoundFile): .. to new function here.
3251 (deplog): make sure to discover several files mentioned on the
3254 2003-10-10 André Pönitz <poenitz@gmx.net>
3261 * text3.C: fix some of the tabular crashes
3263 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3265 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3267 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3269 2003-10-09 André Pönitz <poenitz@gmx.net>
3271 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3274 * BufferView_pimpl.C:
3275 * bufferview_funcs.C:
3286 * undo_funcs.C: adjust
3288 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3290 * text2.C (incrementItemDepth): new function, use a backtracking
3291 algorithm to discover the correct item depth.
3292 (resetEnumCounterIfNeeded): new function, use a backtracking
3293 algorithm to discover if counter reset is needed.
3294 (setCounter): use them. Simplify a bit. Add different labels for
3295 different item depths for itemize.
3297 * paragraph.C (Paragraph): remove initialization of enumdepth
3300 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3301 enumerate and itemize. Change the type of itemdepth to signed char.
3303 2003-10-08 André Pönitz <poenitz@gmx.net>
3305 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3310 * tabular.[Ch]: fix crash after 'row-insert'
3312 2003-10-08 Angus Leeming <leeming@lyx.org>
3314 Fix doxygen warnings.
3316 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3317 Remove CutAndPaste:: prefix from header file declaration.
3319 * LColor.h (fill): remove LColor:: prefix from declaration.
3321 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3322 use lyx::depth_type rather than Paragraph::depth_type so that
3323 header file and .C file match.
3325 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3327 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3328 * aspell.C: \file aspell_local.C -> \file aspell.C
3329 * gettext.C: \file gettext.C -> \file src/gettext.C
3330 * gettext.h: \file gettext.h -> \file src/gettext.h
3331 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3332 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3333 * text.C: \file text.C -> \file src/text.C
3335 * toc.C: move comment so that doxygen is not confused.
3337 2003-10-07 Angus Leeming <leeming@lyx.org>
3339 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3341 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3344 * aspell_local.h: add forgotten std::string's.
3346 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3353 * text3.C: The Box patch. Fancybox support, minipage, parbox
3355 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3361 * ParagraphParameters.h:
3371 * lyxtextclasslist.h:
3374 * paragraph_pimpl.C:
3375 * textcursor.h: add <string> and other small fixes to make Lars'
3376 std::string patch compile with STLport.
3378 2003-10-06 Angus Leeming <leeming@lyx.org>
3380 * LColor.h: Add missing #include <string>.
3382 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3384 * All most all file in all subdirs: Make <string> be the prefered
3385 way of getting to std::string, add using declarations.
3387 2003-10-06 André Pönitz <poenitz@gmx.net>
3389 * metricsinfo.C: initialize LyXFont before changing attribute.
3390 (fixes the 'math in \emph is upright' bug)
3392 2003-10-06 André Pönitz <poenitz@gmx.net>
3394 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3396 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3399 * paragraph_pimpl.C: Small fixes to build using STLport
3401 2003-10-02 André Pönitz <poenitz@gmx.net>
3404 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3406 2003-10-01 André Pönitz <poenitz@gmx.net>
3408 * factory.C: assert early
3410 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3412 * lyx_main.C: remove the global debug object
3414 * debug.h: adjust for new debugstream
3416 * debug.C: adjust for new debugstream and keep the global debug
3419 2003-09-22 Angus Leeming <leeming@lyx.org>
3421 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3422 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3423 an incomplete class LyXFont.
3425 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3427 * factory.C: bug fix in branches
3429 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3431 * lyxfunc.C (processKeySym): adjust
3433 (dispatch): change arg name from ev to func, adjust
3434 (sendDispatchMessage): ditto
3436 * lyx_main.C (defaultKeyBindings): adjust keybindings
3437 (deadKeyBindings): ditto
3439 * kbsequence.C (addkey): return a FuncRequest
3441 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3443 * kbmap.C (bind): take a FuncRequest as arg, adjust
3446 (defkey): change to take a FuncRequest as arg, adjust
3447 (findbinding): take a FuncRequest as arg, adjust.
3449 * funcrequest.h (operator=): added
3451 * funcrequest.C (FuncRequest): default kb_action changed from
3452 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3454 * buffer.C (dispatch): simplify
3455 (dispatch): adjust to take a FuncRequest as arg, adjust
3457 * boost.C (assertion_failed): change assertion message slightly
3459 * ToolbarBackend.C (read): simplify
3461 * MenuBackend.C (binding): adjust call to findbinding, add a
3462 message if no binding is found.
3464 (expandToc): correct by adding a empty FuncRequest
3466 * LyXAction.C: include <boost/assert.hpp>
3467 (isPseudoAction): delete function
3468 (LookupFunc): change name to...
3469 (lookupFunc): this. change return type to FuncRequest.
3470 (getActionName): take kb_action as arg, simplify
3471 (funcHasFlag): add an assert, simplify.
3473 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3475 * toc.C (action): return a FuncRequest, simplify
3477 * lyxfunc.C (processKeySym): adjust
3478 (getStatus): delete version that takes an int.
3480 (dispatch): delete version that takes action as int
3482 (sendDispatchMessage): simplify and adjust
3484 * funcrequest.C (getArg): take unsigned int as arg
3486 * ToolbarBackend.C (read): adjust
3487 (add): delete version that takes func as a string.
3488 (getIton): take a FuncRequest as arg
3490 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3493 * MenuBackend.C (MenuItem): add a new construct that only takes a
3494 Kind, simplify the constructor use for submenus.
3496 (expandLastfiles): adjust
3497 (expandDocuments): adjust
3498 (expandFormats): adjust
3499 (expandFloatListInsert): adjust
3500 (expandFloatInsert): adjust
3501 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3503 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3504 Remove class variables lyx_pseudo_map and lyx_arg_map
3506 * LyXAction.C (searchActionArg): delete function
3507 (getPseudoAction): delete function
3508 (retrieveActionArg): delete function
3509 (LookupFunc): make it return kb_action, simplify.
3510 (getActionName): simplify
3512 * factory.C (createInset): fix new bug
3514 2003-09-19 Angus Leeming <leeming@lyx.org>
3516 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3517 masterFilename_ parameter in the include inset.
3519 * factory.C (createInset): changes due to the changes to InsetInclude.
3521 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3523 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3525 2003-09-18 Angus Leeming <leeming@lyx.org>
3528 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3529 Inset::fillWithBibKeys.
3530 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3532 2003-09-18 Angus Leeming <leeming@lyx.org>
3534 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3536 (ctor): pass and store a 'Buffer const &'
3537 (buffer): new member function.
3539 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3540 '*this' to the LaTeXFeatures ctor.
3542 2003-09-18 Angus Leeming <leeming@lyx.org>
3548 * text.C: rename EnumLColor as LColor_color.
3550 2003-09-18 Angus Leeming <leeming@lyx.org>
3552 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3553 remove #include "insets/insetbase.h" from cursor.h.
3555 2003-09-18 Angus Leeming <leeming@lyx.org>
3557 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3558 InsetOld_code to remove #include "inset.h".
3560 * iterators.C: add #include "insets/inset.h"
3562 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3564 * BufferView.C: remove more locking stuff that apparently doesn't
3565 do anything sensible.
3567 2003-09-16 André Pönitz <poenitz@gmx.net>
3570 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3573 2003-09-16 Angus Leeming <leeming@lyx.org>
3575 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3577 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3580 * paragraph.h: remove #include "lyxfont.h". Forward declare
3583 2003-09-16 Angus Leeming <leeming@lyx.org>
3585 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3586 of support/textutils.h.
3587 (isWord): move the contents of support/textutils.h's IsWordChar here.
3593 * text2.C: add #include "paragraph.h".
3596 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3598 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3604 * LaTeX.C: use namespace alias for lyx::support::os
3606 2003-09-16 Angus Leeming <leeming@lyx.org>
3609 * bufferview_funcs.C:
3612 * paragraph_pimpl.C:
3614 * text.C: add #include "LColor.h".
3616 2003-09-16 Angus Leeming <leeming@lyx.org>
3618 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3619 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3621 Store the FontBits::color variable as an int rather than as an
3622 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3625 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3626 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3627 string calls together.
3629 * lyxrc.C: add #include "LColor.h".
3631 2003-09-15 Angus Leeming <leeming@lyx.org>
3633 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3636 2003-09-15 Angus Leeming <leeming@lyx.org>
3638 * LColor.h: add an EnumLColor wrapper for LColor::color.
3640 * lyxfont.[Ch] (color, setColor, realColor):
3641 * lyxtext.h, text.C (backgroundColor):
3642 pass EnumLColor args to/from the functions, rather than LColor::color
3646 * lyxtext.h: forward declare EnumLColor.
3648 * lyx_main.C: add #include "LColor.h".
3650 2003-09-15 Angus Leeming <leeming@lyx.org>
3652 * .cvsignore: add lyx-gtk.
3654 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3659 * ParagraphParameters.C
3663 * bufferview_funcs.C
3673 * vc-backend.C: remove usage of STRCONV
3675 2003-09-15 Angus Leeming <leeming@lyx.org>
3677 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3678 explicitly define the color passed to the painter.
3680 2003-09-15 Angus Leeming <leeming@lyx.org>
3682 * bufferparams.C (BufferParams): reorder member initializers to avoid
3685 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3687 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3688 * text.C (updateRowPositions): remove an unusual nop
3690 2003-09-12 André Pönitz <poenitz@gmx.net>
3692 * BufferView_pimpl.C:
3701 * Counters.[Ch]: finish the 'automatic counters' job
3703 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3705 * aspell.C: include <boost/assert.cpp> (compile fix)
3707 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3709 * boost.C (assertion_failed): use lyx::support::abort instead of
3712 2003-09-10 Angus Leeming <leeming@lyx.org>
3714 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3715 with their _fwd progeny.
3717 2003-09-09 Angus Leeming <leeming@lyx.org>
3719 134 files throughtout the source tree: replace 'using namespace abc;'
3720 directives with the appropriate 'using abc::xyz;' declarations.
3722 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3724 * boost.C (emergencyCleanup): moved here from LAssert.c
3725 (assertion_failed): new function, called by BOOST_ASSERT
3727 * several files: change Assert to BOOST_ASSERT
3729 2003-09-09 Angus Leeming <leeming@lyx.org>
3731 * buffer.[Ch]: Add an Impl class and move Buffer's member
3732 variables into it. As a result move several header files out of
3735 Add header files to lots of .C files all over the tree as a result.
3737 2003-09-09 Angus Leeming <leeming@lyx.org>
3739 * buffer.[Ch]: make Buffer's member variables private. Add
3742 Lots of changes all over the tree as a result.
3744 2003-09-08 Angus Leeming <leeming@lyx.org>
3746 * graph.C: #include <config.h>.
3748 2003-09-08 Angus Leeming <leeming@lyx.org>
3752 * BufferView_pimpl.C:
3781 * toc.C: remove redundant using directives.
3783 2003-09-07 Angus Leeming <leeming@lyx.org>
3785 * LaTeXFeatures.h: remove #include "support/types.h".
3786 * ToolbarBackend.h: remove #include <algorithm>.
3787 * changes.h: remove #include <ctime>.
3788 * debug.h: remove #include <iosfwd>.
3789 * graph.h: remove #include "support/std_string.h".
3790 * lyx_main.h: remove #include <csignal>.
3791 * lyxlex_pimpl.h: remove #include <fstream>.
3792 * sgml.h: remove #include <algorithm>, <utility>.
3793 * toc.h: remove #include "support/std_ostream.h".
3794 Add #include <iosfwd>.
3796 2003-09-07 Angus Leeming <leeming@lyx.org>
3798 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3800 * converter.h: forward declare LatexRunParams.
3801 * encoding.h: remove #include "lyxrc.h".
3802 * lyxtext.h: remove #include "LColor.h".
3803 * lyxtextclass.h: remove #include "support/types.h".
3804 * trans.h: remove #include "tex-accent.h".
3805 * trans_mgr.h: remove #include "tex-accent.h".
3806 * insets/inset.h: remove #include "support/types.h", <vector>.
3807 * insets/insetcollapsable.h: remove #include "LColor.h".
3808 * insets/insetinclude.h: remove #include "dimension.h".
3809 * insets/insetlatexaccent.h: remove #include "dimension.h".
3810 * insets/insetoptarg.h:: remove #include "insettext.h".
3811 * insets/insettext.h: remove #include "dimension.h",
3812 <boost/shared_ptr.hpp>
3814 * insets/renderers.h: add #include "dimension.h".
3815 * insets/updatableinset.h: add #include "support/types.h".
3817 * many .C files: Associated changes.
3819 2003-09-06 Angus Leeming <leeming@lyx.org>
3821 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3822 one, inside testInvariant.
3824 * PrinterParams.C: new file.
3825 * PrinterParams.[Ch]: move the function bodies out of line.
3827 2003-09-06 Angus Leeming <leeming@lyx.org>
3829 * ParagraphParameters.h: forward declare ParameterStruct rather than
3830 including its header file.
3831 (depth): moved out-of-line.
3833 2003-09-06 Angus Leeming <leeming@lyx.org>
3835 * BufferView_pimpl.h:
3838 * lyxfunc.h: forward declare LyXKeySym rather than
3839 #include "frontends/LyXKeySym.h".
3841 * BufferView_pimpl.C:
3844 * lyxfunc.C: associated changes.
3846 2003-09-06 Angus Leeming <leeming@lyx.org>
3848 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3849 As a result, can remove the #include "insets/inset.h" from BufferView.h
3851 2003-09-06 Angus Leeming <leeming@lyx.org>
3853 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3854 As a result, can remove the #include "insets/inset.h" from BufferView.h
3856 2003-09-06 Angus Leeming <leeming@lyx.org>
3862 * bufferview_funcs.C:
3863 * BufferView_pimpl.C:
3868 * ParagraphParameters.C:
3873 * frontends/controllers/ControlDocument.C:
3874 * insets/insetcaption.C: rearrange the #includes into some sort of
3877 * buffer.h: remove #includes ErrorList.h, undo.h
3879 2003-09-06 Angus Leeming <leeming@lyx.org>
3881 * support/types.h: add a 'depth_type' typedef, used to store the
3882 nesting depth of a paragraph.
3885 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3886 defining explicitly.
3889 * paragraph_funcs.h:
3890 * ParagraphParameters.h:
3891 * sgml.h: use lyx::depth_type rather than Paragraph or
3892 ParameterStruct's depth_type.
3895 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3898 * BufferView_pimpl.C:
3900 * ParagraphParameters.C:
3903 * bufferview_funcs.C:
3910 * frontends/LyXView.C:
3911 * frontends/controllers/ControlDocument.C:
3912 * frontends/controllers/ControlErrorList.C:
3913 * insets/insetbibitem.C:
3914 * insets/insetbranch.C:
3915 * insets/insetcaption.C:
3916 * insets/insetcollapsable.C:
3917 * insets/insetenv.C:
3918 * insets/insetert.C:
3919 * insets/insetfloat.C:
3920 * insets/insetfoot.C:
3921 * insets/insetfootlike.C:
3922 * insets/insetnewline.C:
3923 * insets/insetquotes.C:
3924 * insets/insettabular.C:
3925 * insets/insettext.C:
3926 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3928 * frontends/controllers/ControlChanges.C: #include "changes.h".
3930 2003-09-06 Angus Leeming <leeming@lyx.org>
3932 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3933 than #including paragraph.h.
3936 * RowList.h: deleted. Superfluous.
3946 * insets/insettext.h: use ParagraphList_fwd.h rather than
3949 * paragraph.h: don't forward declare ParagraphList.
3952 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3953 rather than ParagraphList.h. paragraph.h is still needed for the
3954 Paragraph::depth_type parameters.
3956 * textcursor.h: enable it to compile stand-alone in light of the
3959 * bufferview_funcs.C:
3971 * frontends/controllers/ControlParagraph.C:
3972 * frontends/controllers/ControlTabular.C:
3973 * insets/insetmarginal.C:
3974 * insets/insetminipage.C:
3975 * insets/insetnote.C:
3976 * insets/insetoptarg.C: add header files needed to compile again.
3978 2003-09-06 Angus Leeming <leeming@lyx.org>
3980 * RowList_fwd.h: new file, forward-declaring Row rather than
3981 #including lyxrow.h.
3986 * insets/insettext.h: use it instead of RowList.h
3988 * bufferview_funcs.C:
3995 * text3.C: #include "RowList.h".
3997 2003-09-05 Angus Leeming <leeming@lyx.org>
3999 * factory.C (createInset):
4000 * vspace.C (c-tor): replace sscanf call with an istringstream.
4001 * ispell.C: re-add missing HP/UX headers.
4002 * lyxserver.C: re-add missing os2 headers.
4004 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
4013 * text3.C: re-add missing system headers, needed for 2.95.2.
4015 2003-09-05 Angus Leeming <leeming@lyx.org>
4017 Changes most place everywhere due to the removal of using directives
4018 from support/std_sstream.h.
4020 2003-09-05 Angus Leeming <leeming@lyx.org>
4022 Replace LString.h with support/std_string.h,
4023 Lsstream.h with support/std_sstream.h,
4024 support/LIstream.h with support/std_istream.h,
4025 support/LOstream.h with support/std_ostream.h.
4027 Changes resulting throughout the tree.
4029 2003-09-05 Angus Leeming <leeming@lyx.org>
4031 * sgml.h: ensure that the header file can be compiled stand-alone.
4032 * *.C: strip out redundant #includes. (320 in total.)
4034 2003-09-04 Angus Leeming <leeming@lyx.org>
4036 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4037 here (from getPackages).
4039 * debug.[Ch]: add a new EXTERNAL tag.
4041 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4043 * text2.C (cursorEnd): simplify
4045 (getColumnNearX): adjust
4047 * text.C (computeBidiTables): adjust
4050 * rowpainter.C (paintChars): adjust
4051 (paintSelection): adjust
4052 (paintChangeBar): adjust
4055 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4057 (numberOfSeparators): adjust
4059 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4065 * text3.C: Restricts the mouse click functionality
4066 of insets like bibtex, include, toc and floatlist to the visible
4067 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4068 up the dialogs. Cursor has to be in front of the inset (i.e.
4069 start of row) for this to function.
4071 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4073 * bufferview_funcs.C (currentState): output row information
4075 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4077 * bufferview_funcs.C (currentState): output paragraph position
4079 2003-09-04 Angus Leeming <leeming@lyx.org>
4081 * FloatList.h: move out #include "Floating.h".
4082 * LaTeX.h: move out #include "DepTable.h".
4083 * LyXAction.h: move out #include "funcrequest.h".
4084 * buffer.h: move out #include "author.h", "iterators.h".
4085 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4086 * lyx_main.h: move out #include "errorlist.h".
4087 * lyxfunc.h: move out #include "FuncStatus.h".
4088 * lyxtext: move out #include "lyxcursor.h".
4089 * paragraph_pimpl.h: move out #include "counters.h".
4091 2003-09-03 Angus Leeming <leeming@lyx.org>
4093 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4094 preamble_snippets list, enabling us to add snippets to the preamble
4095 only if the snippet was not there already.
4097 2003-09-04 Angus Leeming <leeming@lyx.org>
4099 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4101 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4103 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4106 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4108 * BranchList.C: point fix, earlier forgotten
4110 2003-09-02 Angus Leeming <leeming@lyx.org>
4112 * box.C (contains): renamed from 'contained' after a fantastic
4115 2003-09-02 John Levon <levon@movementarian.org>
4121 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4123 2003-09-02 John Levon <levon@movementarian.org>
4125 * text2.C: simplification of cursorEnd(), including partial
4128 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4130 * buffer.C (readFile): add a space
4132 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4134 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4136 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4138 * buffer.C (readFile): new function, take a filename and a
4139 ParagraphList::iterator
4141 (readFile): adjust, make it private. don't use setStream, make
4142 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4143 always contain the filename.
4145 * BufferView.C (insertLyXFile): simplify and make it work for
4148 2003-08-30 John Levon <levon@movementarian.org>
4150 * Makefile.am: fix dist (from Kayvan)
4152 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4154 * most files: change to use const Buffer refs
4156 2003-08-27 André Pönitz <poenitz@gmx.net>
4158 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4159 on top of ownerPar().
4161 2003-08-27 John Levon <levon@movementarian.org>
4163 * funcrequest.C: properly initialise POD members
4165 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4167 * lyxtext.h (top_y): move top_y from here
4172 * BufferView_pimpl.[Ch]: to here
4173 * frontends/screen.C:
4174 * insets/insettabular.C:
4175 * insets/insettext.C: adjust
4176 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4178 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4181 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4183 2003-08-26 André Pönitz <poenitz@gmx.net>
4185 * paragraph_func.[Ch] (outerPar): new function
4188 * paragraph_funcs.C:
4189 * paragraph_funcs.h:
4190 * paragraph_pimpl.C:
4191 * text2.C: remove Inset::par_owner
4193 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4198 * text2.C: eliminates the needFullRow/display() stuff
4199 altogether, putting the logic in metrics/draw in the insets.
4201 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4203 * text2.C (redoParagraphInternal, redoParagraphs):
4204 * text.C (redoParagraph): add a call to updateRowPositions at the
4205 end of each 'metrics-like' call. Remove all others.
4206 (getRow): remove the 'y-computing' version.
4207 (getRowNearY): do not compute nor return the real y. Solve the
4208 'y < 0' problem and simplify.
4210 2003-08-22 Angus Leeming <leeming@lyx.org>
4212 * *.[Ch]: clean-up of licence and author blurbs.
4213 Also move config.h out of a few .h files and into a few .C files.
4215 2003-08-22 André Pönitz <poenitz@gmx.net>
4217 * lyxrow.[Ch]: add x_ and *fill_ members
4222 * text2.C: adjust/remove prepareToPrint() calls
4224 2003-08-22 André Pönitz <poenitz@gmx.net>
4226 * lyxrow.[Ch]: add end_ member
4228 * lyxrow_funcs.C: use LyXRow::end_
4230 * lyxtext.h (singleWidth): add LyXFont parameter
4233 * text2.C: adjust LyXText::singleWidth() calls
4235 * text.C (redoParagraph): simplify row breaking logic
4238 2003-08-19 André Pönitz <poenitz@gmx.net>
4240 * funcrequest.C: initialize button_ member
4243 * rowpainter.[Ch]: interface consolidation
4245 2003-08-18 André Pönitz <poenitz@gmx.net>
4248 * BufferView_pimpl.C:
4250 * paragraph_funcs.C:
4252 * text3.C: remove LyXScreen::draw() and fitCursor calls
4254 * BranchList.h: remove spurious semicolons
4256 * MenuBackend.C: fix branchlist related crash
4258 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4266 * bufferparams.[Ch]:
4270 * text3.C: implements the 'branch inset'
4271 idea. This allows the output of various versions of a document
4272 from a single source version, selectively outputing or suppressing
4273 output of parts of the text.
4274 This implementation contains a 'branch list editor' in a separate
4275 tab of the document settings dialog. Branches are user definable
4276 and have a "display colour" to distinguish them on-screen.
4278 ColorHandler was somewhat cleaned up.
4279 (1) make possible a dynamically growing LColor list by allowing
4280 the graphic context cache to grow along (vector);
4281 (2) eliminate an IMHO unnecessary step in colour allocation.
4283 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4285 * BufferView_pimpl.C: compile fix
4287 2003-08-15 André Pönitz <poenitz@gmx.net>
4289 * rowpainter.C: remove extra metrics calls
4291 * lyxtext.h: merge the two constructors into a single one,
4292 pass reference to owner's par list
4294 * BufferView_pimpl.C:
4298 2003-08-15 André Pönitz <poenitz@gmx.net>
4300 * lyxrow_funcs.[Ch]:
4303 * paragraph_funcs.C:
4308 * text_funcs.C: split LyXText::rowlist_ into individual
4309 Paragraph::rows_ chunks
4312 * BufferView_pimpl.[Ch]:
4315 * text3.C: remove toggleSelection()
4317 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4319 * bufferlist.C: beautify two alerts (shorter text of buttons)
4320 * buffer.C: Remove redundant ' ' from message
4322 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4323 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4324 rename VALIGN_CENTER to VALIGN_MIDDLE
4326 2003-08-11 André Pönitz <poenitz@gmx.net>
4328 * lyxtext.h (getPar):
4329 * text.C: new function
4331 2003-08-11 André Pönitz <poenitz@gmx.net>
4334 * tracer.[Ch]: remove unneeded files
4336 * InsetList.[Ch]: remove resizeInsetsLyXText()
4341 * text3.C: merge insertParagraphs() and appendParagraph()
4342 remove breakAgain(), update()
4344 * BufferView_pimpl.[Ch]:
4345 * bufferview_funcs.[Ch]:
4349 * tabular.C: adjust after text & InsetList changes.
4351 2003-08-08 André Pönitz <poenitz@gmx.net>
4353 * text.C (insertChar, backspace): replace rowlist fiddling
4354 with rebreak of full par
4357 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4358 checkParagraph, updateInset): removed
4360 2003-08-07 André Pönitz <poenitz@gmx.net>
4363 * text3.C: merge some LFUN handlers, remove dead code
4365 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4367 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4369 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4371 * text2.C (DEPM): fix part of bug 1255 and 1256
4373 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4375 * BufferView_pimpl.C (workAreaDispatch): change to use
4376 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4377 that are no mouse related.
4379 2003-08-05 André Pönitz <poenitz@gmx.net>
4382 * BufferView_pimpl.[Ch]:
4383 * bufferview_funcs.C:
4385 * text3.C: rip out "deep update"
4387 * textcursor.[Ch] (last_sel_cursor): remove unused member
4389 2003-08-04 André Pönitz <poenitz@gmx.net>
4392 * BufferView_pimpl.[Ch]:
4393 * ParagraphParameters.C:
4394 * bufferview_funcs.C:
4400 * text3.C: replace "complicated" BufferView::update(...) calls with
4403 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4405 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4407 * Makefile.am (lyx_SOURCES): add paper.h
4409 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4411 * Makefile.am: move things around so that both lyx-qt and
4412 lyx-xforms can be built (according to --with-frontend). Then lyx
4413 is a symbolic link to lyx-[firstfrontend]
4415 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4417 * Always use std::endl with lyxerr
4419 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4421 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4423 2003-08-01 André Pönitz <poenitz@gmx.net>
4426 * BufferView_pimpl.[Ch]:
4428 * text3.C: merge BufferView::repaint() and BufferView::update()
4430 2003-08-01 José Matos <jamatos@lyx.org>
4432 * buffer.[Ch]: file_format is no longer a buffer data element.
4434 2003-08-01 André Pönitz <poenitz@gmx.net>
4439 * text2.C: make redoParagraph more independent of current cursor
4441 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4443 * text2.C: remove unneeded members
4445 2003-07-30 André Pönitz <poenitz@gmx.net>
4447 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4449 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4450 create a single function...
4452 * paragraph_funcs.C (moveItem): ... here.
4455 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4457 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4459 * LColor.[Ch]: Add comment and greyedout logical colors.
4461 2003-07-30 André Pönitz <poenitz@gmx.net>
4463 * tabular.C: don't use Assert too heavily. This crashes where it
4466 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4468 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4469 is disabled (bug 1232)
4471 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4473 * factory.C: limited 'arg' scope
4475 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4477 * factory.C: fixed Note submenu issues
4479 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4481 * factory.C: submenu for Note/Comment/Greyedout
4483 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4486 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4488 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4491 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4492 greyedout. Patch provided by Jürgen Spitzmüller.
4494 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4496 * kbmap.C (read): fix error message when reading bind files
4498 2003-07-29 Angus Leeming <leeming@lyx.org>
4500 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4501 certainly does not do what it purports to do. I am doing it, and
4502 us, a favour by killing it.
4504 2003-07-28 José Matos <jamatos@lyx.org>
4506 * buffer.C (readBody, do_writeFile):
4507 * paragraph.C(readParagraph): \end_document replaces \the_end.
4509 2003-07-29 André Pönitz <poenitz@gmx.net>
4512 * BufferView_pimpl.[Ch]:
4516 * textcursor.[Ch]: remove toggleToggle & Co
4518 2003-07-28 José Matos <jamatos@fep.up.pt>
4520 * buffer.C (readParagraph):
4521 * params_func (readParToken, readParagraph):
4522 * paragraph.C (write): \layout -> \begin_layout.
4524 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4526 * lyxlex_pimpl.C (setFile): clean up slightly.
4528 * bufferparams.h: add compressed var
4530 * buffer_funcs.C (readFile): adjust for LyXLex change
4531 (newFile): ditto + simplify
4533 * buffer.C (writeFile): handle writing of compressed files
4535 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4536 Check if the file is compressed and set a bufferparm if so.
4538 * Makefile.am (lyx_LDADD): remove explicit -lz
4540 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4542 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4543 makeDocBookFile): put the real LyX version in the first line of
4547 * version.C.in: remove lyx_docversion
4549 * tabular.C (write_attribute): add a template-based version to
4550 write enums properly
4552 2003-07-28 André Pönitz <poenitz@gmx.net>
4557 * text3.C: use doubles again for x-coordinates. They are needed.
4559 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4561 * messages.C (getLocaleDir): use lyx_localedir()
4563 * lyxlex_pimpl.C (setFile): compress stuff
4565 * buffer.C (writeFile): add some compression stuff
4566 (do_writeFile): new func, dont call expliti close... will this
4569 * Makefile.am (lyx_LDADD): add -lz
4571 2003-07-28 José Matos <jamatos@fep.up.pt>
4573 * buffer.C: increment file format.
4574 * paragraph_funcs (readParagraph, readParToken):
4575 * paragraph.C (readParagraph): add \end_layout.
4577 2003-07-27 Angus Leeming <leeming@lyx.org>
4579 * Makefile.am: remove special casing for configure-time setting of
4580 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4582 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4583 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4585 2003-07-26 André Pönitz <poenitz@gmx.net>
4587 * paragraph_func.[Ch]:
4588 * paragraph.C (realizeFont): inline it whereever it is used
4593 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4596 2003-07-26 André Pönitz <poenitz@gmx.net>
4600 * text2.C: get rid of LyXText::need_break_row
4602 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4604 * toc.[Ch]: put namespace toc inside namespace lyx
4606 * MenuBackend.C (expandToc2): adjust for lyx::toc
4609 * lyxfunc.C (dispatch): adjust for lyx::find
4611 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4612 lyx::find instead. Reorganize a bit.
4613 (LyXReplace): rename to replace
4614 (LyXFind): rename to find
4616 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4619 2003-07-26 André Pönitz <poenitz@gmx.net>
4621 * text.C (setHeightOfRow): restrict scope of temporary variable
4623 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4624 code (never has been used?)
4626 2003-07-27 Asger Alstrup <alstrup@local>
4628 * text.C (fill): Optimise algorithm to exploit that we can reuse
4629 the LyXFont for many characters.
4630 (setHeightOfRow): Same thing.
4631 (rowBreakPoint): Same thing.
4633 2003-07-26 Asger Alstrup <alstrup@local>
4635 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4637 * text.C (singleWidth): Spurious font copying in hot-spot
4638 singleWidth avoided. Reorder tests for arabic for efficiency.
4640 * text.C (fill): handle empty paragraphs better.
4642 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4645 * encoding.h: add includes
4647 * lyxrc.C: remove reading of bind files
4649 * lyx_main.C (init): setup bindings and menus only if we have a
4652 * kbmap.C (read): new method. Do the actual reading of bind
4655 * converter.C (dvipdfm_options):
4658 (output): adapt PAPER_* enums.
4660 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4662 * bufferparams.h: remove paper-related enums from there
4664 * paper.h: New file. A trivial header file to hold paper-related
4665 enums. It should later expand to contain many paper-related
4668 * lyxrc.C: declare extern displayTranslator
4670 2003-07-27 José Matos <jamatos@fep.up.pt>
4672 * tabular.[Ch] (linuxdoc): add support for tables and figures
4675 2003-07-27 José Matos <jamatos@fep.up.pt>
4677 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4678 consistency in both functions.
4679 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4681 2003-07-26 Asger Alstrup <alstrup@local>
4683 * rowpainter.C (paintRows): Change algorithm to work directly on
4684 the insets rather than asking every character in the document
4685 whether its an inset.
4687 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4689 * buffer.C (openFileWrite): factorize some code
4691 2003-07-26 Angus Leeming <leeming@lyx.org>
4694 * lyx_main.[Ch]: replace occurances of system_tempdir with
4697 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4699 * rename Inset to InsetOld
4701 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4703 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4704 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4705 which I think is a bit clearer. EDIT is gone, since it was
4706 premature optimisation, and broken for mathed anyway.
4707 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4708 with cursor positioning in insets as well (math insets still do not
4709 work, but that's a different story anyway.) It mysteriously
4710 crashes sometimes with undo in the first paragraph, but I'm fairly
4711 confident that this is a compiler bug.
4713 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4715 * paragraph.C (Paragraph): adjust for new clone return type
4717 (copyIntoMinibuffer): ditto
4719 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4721 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4722 by not having a special case, and always doing a full rebreak of
4723 the document after undo.
4725 2003-07-23 Angus Leeming <leeming@lyx.org>
4727 * factory.C (createInset): InsetExternal::setParams now takes a
4730 2003-07-23 Angus Leeming <leeming@lyx.org>
4732 * factory.C (createInset): changed interface to the external and
4733 graphics mailers' string2params functions.
4735 2003-07-23 Angus Leeming <leeming@lyx.org>
4737 * factory.C (createInset): pass a
4738 Buffer const * parameter to InsetExternalMailer's string2params.
4740 2003-07-22 John Levon <levon@movementarian.org>
4742 * Thesaurus.h: include the right aiksaurus header
4744 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4746 * MenuBackend.C (expand): check menu shortcuts unconditionally
4748 2003-07-21 Angus Leeming <leeming@lyx.org>
4750 * factory.C (createInset): pass a
4751 buffer_path parameter to InsetGraphicsMailer's string2params.
4753 2003-07-21 Angus Leeming <leeming@lyx.org>
4755 * BufferView_pimpl.C (buffer):
4758 * lyxfunc.C (dispatch):
4759 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4760 rather than the grfx shortcut.
4762 2003-07-21 André Pönitz <poenitz@gmx.net>
4764 * rowpainter.C: remove unused variables
4767 * tabular_funcs.h: move to tabular.C
4768 * Makefile.am: adjust
4770 * tabular.[Ch]: basic optical cleaning
4772 * author.h: pass references, not values
4774 2003-07-18 André Pönitz <poenitz@gmx.net>
4782 * text3.C: two-phase drawing for InsetText and InsetTabular
4783 some float -> int changes.
4785 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4787 * lyx_main.C: fix the fix
4789 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4791 * lyx_main.C: fix a crash in batch mode if no files specified
4794 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4796 * format.[Ch] (papersize): moved to BufferParams
4797 * converter.[Ch] (dvips_options): moved to BufferParams
4798 (dvipdfm_options): moved to anon namespace
4799 * bufferparams.[Ch]: added above functions.
4801 2003-07-17 André Pönitz <poenitz@gmx.net>
4805 * text2.C: don't call inset->update() anymore
4807 * metricsinfo.[Ch]: add convenience constructor
4809 2003-07-16 André Pönitz <poenitz@gmx.net>
4814 * text2.C: replace the LyXCursor::irow_ member with
4815 on-demand computation of the value
4817 2003-07-16 John Levon <levon@movementarian.org>
4819 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4821 2003-07-15 André Pönitz <poenitz@gmx.net>
4824 * text2.C: remove no more needed refresh_row
4826 2003-07-15 André Pönitz <poenitz@gmx.net>
4831 * text3.C: refresh_status tristate -> need_update bool
4833 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4835 * lyxtext.h (init): remove reinit argument (act as if always true)
4836 * text2.C: adjust to that
4838 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4840 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4841 * text3.C: use it to delete selections in some cases
4842 (bugs 441, 673, 702, 954).
4844 2003-07-14 André Pönitz <poenitz@gmx.net>
4846 * rowpainter.[Ch]: reduce interface
4848 2003-07-14 André Pönitz <poenitz@gmx.net>
4850 * BufferView_pimpl.C:
4851 * text2.C: adjust after removing unused BufferView * argument
4853 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4855 * text2.C (init): fix a crash fired on resize
4857 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4859 * buffer.[Ch]: added new closing signal
4860 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4861 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4862 BufferView::Pimpl via the closing the signal
4864 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4866 * buffer.[Ch]: take out all bv-related from buffer
4868 * BufferView_pimpl.[Ch]: connect to new signals
4869 * CutAndPaste.C: removed useless asserts
4870 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4873 * lyxfunc.C: moved view-related funciontality from vc here
4874 * paragraph.C: removed outdated comments
4877 2003-07-10 André Pönitz <poenitz@gmx.net>
4879 * BufferView_pimpl.C:
4883 * text2.C: remove InsetText::InnerCache, clean up consequences
4885 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4887 * ispell.C: fix two typos in error messages
4889 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4891 * Extend Note inset to other forms of annotation like Comment
4892 and Greyedout. Right button click gives dialog.
4894 Files modified or added (+):
4898 * ControlNote.[Ch] +
4900 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4901 frontends/controllers
4905 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4907 * aspell.C: add missing namespace lyx::support
4909 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4911 * BufferView.[Ch] (newFile): Add
4912 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4913 * LaTeX.[Ch] (message): added this signal and use it
4914 * buffer.[Ch] (busy, message): added these signals and use them
4915 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4919 * importer.C: use buffer signals instead of direct bv calling
4920 * lyx_cb.[Ch] (ShowMessage): removed
4923 * paragraph_funcs.C:
4924 * text2.C: use buffer signals
4926 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4928 * introduce namespace lyx::graphics
4930 2003-07-02 André Pönitz <poenitz@gmx.net>
4932 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4934 2003-07-01 André Pönitz <poenitz@gmx.net>
4941 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4942 text*.C to text_func.C
4944 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4946 * introduce namespace lyx::support
4948 2003-06-30 André Pönitz <poenitz@gmx.net>
4953 * text.C: re-enable --with-included-string
4955 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4957 * textcursor.C: add <config.h>
4959 * text.C (getWord): remove const from word_location arg
4961 * lyxvc.C (getLogFile): fix const type order
4963 * lyxtext.h: remove const from word_location arg, add arg name
4965 * lyxlayout.h: currect type on labeltype.
4967 * importer.C: correct \file
4969 * converter.C (intToFormat): use std:: on ret val, ws changes
4971 * bufferlist.h: correct \file
4973 * buffer.C (makeLinuxDocFile): fix const type order
4974 (makeDocBookFile): ditto
4975 (fillWithBibKeys): use std:: on stdlib args.
4977 * CutAndPaste.C: fix authors.
4978 (availableSelections): use std:: on return vector
4980 2003-06-27 André Pönitz <poenitz@gmx.net>
4982 * BufferView_pimpl.C:
4983 * bufferview_funcs.C:
4991 * text3.C: remove LyXCursor::row_ member
4994 * text.C: rename fullRebreak() to partialRebreak() and implement
4995 a fullRebreak() that really bereks fully
4997 * textcursor.h: new struct for cursor-related data
4999 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
5001 * lyx_main.C (LyX): get full path of document loaded on the
5004 2003-06-26 André Pönitz <poenitz@gmx.net>
5006 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
5007 remove unused/broken operator>,<,>=.
5009 * text.C: remove only use of broken operator<= in an Assert().
5011 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5013 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
5014 moved errorlist_.clear to showErrorList
5016 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
5018 * converter.C (scanLog, runLaTeX):
5019 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
5020 move the bv->showErrorList call to the callers
5021 * lyxfunc.C: i.e. here...
5023 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
5024 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
5025 namespace, the second to...
5026 * buffer_funcs (BufferFormat, parseErrors): added
5027 * errorlist.C (ErrorList(TeXErrors const &)): removed
5029 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5031 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5033 2003-06-24 "Garst R. Reese" <reese@isn.net>
5037 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5039 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5041 * version.C.in: change docversion to 1.4
5043 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5045 * buffer.C: fix a bug just introduced
5047 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5049 * buffer.[Ch]: added the parseError signal and use it, removed
5051 * BufferView.[Ch] (addError): moved to ...
5052 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5053 to the Buffer::parseError signal to catch (guess what) parse errors
5054 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5056 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5058 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5059 ability to create a buffer and to return an existing one from
5060 the list. Moved these functions to...
5061 * buffer_funcs.[Ch]: added
5062 * BufferView.[Ch] (loadLyXFile): added
5063 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5064 job removed from bufferlist::loadLyXFile.
5065 * buffer.C (setReadOnly): make it work without view
5066 (i.e added an if (users))
5068 2003-06-19 Angus Leeming <leeming@lyx.org>
5071 * LyXAction.C (init):
5072 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5073 with LFUN_DIALOG_SHOW <name> <data>.
5075 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5077 * CutAndPaste.C (availableSelections): small compilation fix for
5078 ancient (gcc 2.9x) compilers
5080 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5082 * text3.C (cursorNext): add tmp var
5084 * text2.C (updateCounters): for function calling out of for clause
5085 (replaceSelectionWithString): ditto
5086 (insertStringAsParagraphs): ditto
5087 (getColumnNearX): add tmp var
5088 (setCursorFromCoordinates): add tmp var
5089 (cursorDownParagraph): add tmp var
5090 (deleteEmptyParagraphMechanism): add tmp var
5092 * text.C (insertChar): add tmp var
5094 * rowpainter.C (paintDepthBar): add tmp var
5096 * CutAndPaste.C (availableSelections): potentially check all
5097 paragraphs in a cut to fill the shown strings.
5099 2003-06-18 André Pönitz <poenitz@gmx.net>
5101 * kbmap.[Ch]: use vector<> instead of list<>
5103 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5105 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5106 pasteSelection with index
5108 * text2.C (pasteSelection): modify, call pasteSelection with index
5110 * paragraph.C (asString): reimplement version with no interval to
5111 call the one with interval.
5113 * lyxtext.h: add index arg to pasteSelection
5115 * MenuBackend.C (MenuItem): handle PasteRecent
5116 (Menu::read::Menutags): add md_pasterecent
5118 (expandPasteRecent): new function
5121 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5123 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5125 (availableSelections): new function
5127 2003-06-17 Angus Leeming <leeming@lyx.org>
5129 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5131 2003-06-17 Angus Leeming <leeming@lyx.org>
5134 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5136 * lyxfunc.C (dispatch): invoke it.
5138 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5140 * iterators.C (operator++, ParPosition): reintroduce some
5141 const_cast for the benefit of older compilers.
5143 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5145 * text3.C (dispatch): do not modify clipboard when doing
5146 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5147 LFUN_DELETE_SKIP on a selection selection
5149 2003-06-16 André Pönitz <poenitz@gmx.net>
5155 * tabular.[Ch]: IU of clone() and getLabelList();
5157 2003-06-13 André Pönitz <poenitz@gmx.net>
5159 * tabular.h: compactification
5161 2003-06-12 André Pönitz <poenitz@gmx.net>
5165 * tabular_funcs.h: some renaming plus whitespace
5167 2003-06-12 André Pönitz <poenitz@gmx.net>
5170 * BufferView_pimpl.C:
5176 * toc.C: Return a Paragraph & for ParIterator::operator*()
5178 2003-06-11 John Levon <levon@movementarian.org>
5182 * ToolbarBackend.C: add "Toolbars" section and
5185 2003-06-10 Angus Leeming <leeming@lyx.org>
5188 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5190 * lyxfunc.C (dispatch): invoke it.
5192 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5194 * main.C: protect <ios> with HAVE_IOS
5195 (main): protect sync_with_stdio with HAVE_IOS
5197 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5199 * text2.C (cutSelection): adjust
5200 (pasteSelection): adjust
5202 * messages.C: handle get of empty string
5204 * main.C (main): use sync_with_stdio(false)
5206 * lyxfunc.C (dispatch): adjust
5208 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5209 (WriteAs): remove unneeded BufferView arg.
5211 * bufferparams.h: use correct types on papersize, papersize2 and
5214 * bufferparams.C (readToken): adjust for type
5215 (writeLaTeX): add missing cases to switch.
5217 * bufferlist.C (quitWriteBuffer): adjust
5220 * buffer.C (asciiParagraph): remove some commented code.
5222 * CutAndPaste.C: remove current_view extern variable.
5223 (cutSelection): add BufferParams arg.
5224 (eraseSelection): add BufferParams arg.
5225 (pasteSelection): add Buffer const & arg
5227 2003-06-07 John Levon <levon@movementarian.org>
5230 * paragraph_funcs.C:
5231 * paragraph_pimpl.C:
5235 * paragraph.C: allow InsetERT to freely space lines,
5236 and some consolidation of code
5238 2003-06-06 José Matos <jamatos@fep.up.pt>
5240 * buffer.C (makeDocBookFile): fix bug #821
5242 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5244 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5246 2003-06-04 Angus Leeming <leeming@lyx.org>
5248 * buffer.C: bump format to 224.
5250 2003-06-05 André Pönitz <poenitz@gmx.net>
5252 * text2.C (redoParagraphs): remove two const_cast<>
5254 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5256 * ParagraphList.h: remove last remnants of NO_STD_LIST
5258 2003-06-03 Angus Leeming <leeming@lyx.org>
5260 * factory.C (createInset): small change to the way InsetExternal's params
5263 2003-06-04 André Pönitz <poenitz@gmx.net>
5265 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5267 * paragraph_pimpl.h:
5268 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5270 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5272 * undo_funcs.C: make some simple cases of undo work again
5274 2003-06-03 John Levon <levon@movementarian.org>
5276 * ispell.C: HPUX doesn't have sys/select.h
5279 2003-06-03 John Levon <levon@movementarian.org>
5281 * CutAndPaste.C: update tabular and include inset
5286 * paragraph.C: remove owningBuffer(), don't pass Buffer
5289 * factory.C: insetGraphicsParams changed
5291 2003-06-02 John Levon <levon@movementarian.org>
5297 * text3.C: remove insetparent
5299 2003-06-02 John Levon <levon@movementarian.org>
5302 * buffer.C: fix inset_iterator.end(), move out of line
5305 2003-06-01 John Levon <levon@movementarian.org>
5307 * text3.C: use a proper cut/paste when doing inset
5308 insert (from Jürgen Spitzmüller)
5310 2003-06-01 John Levon <levon@movementarian.org>
5312 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5314 2003-05-30 André Pönitz <poenitz@gmx.net>
5316 * rowpainter.C: unify second drawing phase
5318 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5320 * trans_mgr.C: remove one case of current_view
5322 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5324 * paragraph_funcs.h: remove paragraph.h include
5326 * paragraph.h: delete NO_STD_LIST stuff
5328 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5330 * buffer.h: remove paragraph.h include
5332 * ParagraphList.C: delete file
5334 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5336 * toc.C (getTocList): adjust
5338 * paragraph_pimpl.C (validate): adjust
5340 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5342 * paragraph.C (Paragraph): adjust
5343 (getPositionOfInset): use const_iterator, adjust
5344 (bibitem): use const_iterator, adjust
5345 (setInsetOwner): adjust
5347 * iterators.C (operator++): adjust
5349 * InsetList.[Ch]: Replace selfmade iterator with standard
5350 vector::iterator also introduce const_iterator. Remove getPos,
5351 getInset and setInset from InsetTable. Adjust accordingly.
5353 * BufferView.C (lockInset): adjust
5354 (ChangeInsets): adjust
5356 * tabular.[Ch]: delete commented same_id functions
5358 2003-05-28 John Levon <levon@movementarian.org>
5360 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5362 2003-05-28 André Pönitz <poenitz@gmx.net>
5364 * metricsinfo.[Ch]: remove 'fullredraw' member
5366 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5368 * lyxtextclass.C (operator): remove caching.
5370 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5374 * text2.C (cursorBottom): adjust
5375 (setCounter): use ParagraphList::find, adjust
5377 * text.C (workWidth): use ParagraphList::find, adjust
5379 * lyxcursor.C (LyXCursor): adjust
5381 * buffer.C (inset_iterator): adjust
5383 * ParagraphList.h: make iterator(value_type) private, make
5384 ParagraphList a friend of iterator.
5386 * ParagraphList.C (find): new function
5388 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5390 2003-05-27 André Pönitz <poenitz@gmx.net>
5392 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5394 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5396 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5398 2003-05-26 John Levon <levon@movementarian.org>
5400 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5402 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5404 * remove same_id from function signatures, adjust.
5406 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5408 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5410 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5412 * paragraph.C (Paragraph): get rid of same_ids parameter
5414 * ParagraphList.C (insert): adjust
5417 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5419 * paragraph_funcs.C (breakParagraph): adjust
5420 (breakParagraphConservative): adjust
5422 * buffer.C (readParagraph): adjust
5424 * ParagraphList.C (insert): take a reference instead of a pointer
5427 * paragraph.[Ch] (id): new function
5429 * bufferlist.C (newFile): adjust
5431 * ParagraphList.C (ParagraphList): adjust
5433 (push_back): take a reference instead of a pointer.
5435 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5437 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5440 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5441 set else use old code.
5443 * ParagraphList.C: remove all NO_NEXT code and only compile this
5444 code of NO_STD_LIST is set.
5446 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5448 * BufferView_pimpl.C:
5458 * graphics/GraphicsConverter.C:
5459 * graphics/PreviewLoader.C: header adjustment
5461 2003-05-23 Angus Leeming <leeming@lyx.org>
5463 * LaTeXFeatures.[Ch] (useBabel): new method.
5464 * bufferparams.C (writeLaTeX): use it.
5466 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5468 * ParagraphList.h (set): remove unused function.
5470 2003-05-23 André Pönitz <poenitz@gmx.net>
5473 * BufferView_pimpl.C:
5477 * undo_funcs.C: setUndo reworked
5479 * iterators.[Ch]: add access to topmost ParagraphList
5481 * lyxtext.[Ch] (workWidth): add a const
5483 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5485 * texrow.[Ch] (increasePos): remove function
5486 * exporter.C (export): removed unused var and outdated comment
5488 2003-05-23 Angus Leeming <leeming@lyx.org>
5490 * latexrunparams.h: rename fragile as moving_arg.
5491 * paragraph.C (simpleTeXOnePar): ditto.
5492 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5494 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5496 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5498 (textUndoOrRedo): comment out a currently unused var.
5500 * paragraph.h (NO_NEXT): enable NO_NEXT
5502 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5504 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5506 * exporter.C (Export): adjust for removeAutoInsets removal.
5508 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5510 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5512 * BufferView.[Ch] (removeAutoInsets): delete function
5514 2003-05-22 Angus Leeming <leeming@lyx.org>
5516 * latexrunparams.h: add a free_spacing variable.
5518 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5519 to pass moving_arg, as the data is stored in runparams.fragile.
5521 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5522 to Inset::latexOptional or to simpleTeXOnePar.
5524 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5525 free_spacing arg to Inset::latexOptional.
5527 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5530 2003-05-22 Angus Leeming <leeming@lyx.org>
5532 * latexrunparams.h: add fragile and use_babel variables.
5534 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5535 * buffer.C (makeLaTeXFile): store this returned value in
5536 runparams.use_babel, thus passing it to the inset::latex methods.
5538 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5539 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5541 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5542 longer has a fragile arg, as it is stored in runparams.fragile.
5544 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5545 moving_arg parameter as the data is stored in runparams.fragile.
5547 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5548 a fragile parameter as the data is stored in runparams.fragile.
5550 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5552 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5554 2003-05-22 Angus Leeming <leeming@lyx.org>
5556 * latexrunparams.h: add a 'bool nice' which defaults to false.
5558 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5559 now encapsulated within runparams.
5561 * bufferlist.C (updateIncludedTeXfiles):
5562 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5564 2003-05-22 Angus Leeming <leeming@lyx.org>
5566 * latexrunparams.h: new file containing struct LatexRunParams.
5567 * Makefile.am: add new file.
5569 * LaTeX.[Ch] (c-tor, run):
5570 * buffer.[Ch] (makeLaTeXFile):
5571 * bufferlist.[Ch] (updateIncludedTeXfiles):
5572 * converter.C (convert, scanLog):
5573 * converter.[Ch] (runLaTeX):
5574 * exporter.C (Export):
5575 * paragraph.[Ch] (simpleTeXOnePar):
5576 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5577 * paragraph_funcs.[Ch] (latexParagraphs):
5578 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5579 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5580 pass around a LatexRunParams parameter.
5582 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5584 * paragraph.[Ch]: remove unused constructor
5586 * ParagraphList.C (erase): new function, taking two iterators
5588 2003-05-22 André Pönitz <poenitz@gmx.net>
5590 * undo_funcs.C: remove duplicated code
5592 * iterator.[Ch]: operator=
5594 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5596 * tabular.C (SetMultiColumn): ws changes
5598 * rowpainter.C (paintFirst): get rid of a ->previous
5600 * lyx_cb.C (getPossibleLabel): parlist simplification
5602 * BufferView.C (ChangeInsets): simplify slightly.
5604 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5606 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5607 * lfuns.h: new LFUN_SPACE
5608 * lyxfunc.C: protected space has a new lfun
5609 * paragraph_funcs.C: read new space insets
5611 * factory.C: handle new space insets
5613 2003-05-22 André Pönitz <poenitz@gmx.net>
5616 * BufferView_pimpl.C:
5619 * undo_funcs.C: return a ParIterator from getParFromID.
5621 * iterators.[Ch]: add two const's
5623 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5625 * toc.C (getTocList): adjust
5627 * iterators.[Ch]: rework for parlist
5629 * buffer.C (par_iterator_begin): adjust
5630 (par_iterator_end): adjust
5632 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5634 * BufferView.C (removeAutoInsets): adjust
5635 (ChangeInsets): adjust
5637 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5639 * text.C (top_y): fix bug 1110
5641 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5643 * errorlist.[Ch]: added
5646 * BufferView_pimpl.C:
5647 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5650 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5652 * Makefile.am: ensure that lyx is relinked upon changes to the
5653 various "convenience" libs.
5655 2003-05-20 Angus Leeming <leeming@lyx.org>
5657 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5658 files are compiled in alphabetical order again.
5660 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5662 2003-05-19 Angus Leeming <leeming@lyx.org>
5664 * gettext.[Ch]: remove "char const * _(char const *)".
5666 2003-05-19 André Pönitz <poenitz@gmx.net>
5668 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5677 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5679 2003-05-19 André Pönitz <poenitz@gmx.net>
5683 * lyxtextclass.[Ch]:
5685 * paragraph_funcs.[Ch]:
5687 * text3.C: more insetenv work
5689 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5691 * ParagraphParameters.C (params2string): small bug fixed
5693 2003-05-16 André Pönitz <poenitz@gmx.net>
5696 * bufferview_funcs.C: patch from Kornel Benko to prevent
5697 crash when _(...) is called twice in a statement
5699 2003-05-16 André Pönitz <poenitz@gmx.net>
5706 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5708 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5710 * lyx_main.C (init): remove spurious static_cast
5712 2003-05-14 André Pönitz <poenitz@gmx.net>
5714 * BufferView.C: fix format string
5716 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5718 * BufferView.[Ch] (insertErrors): removed
5719 * BufferView.[Ch] (showErrorList): added
5720 * buffer.C (runChkTeX):
5721 * converter.C (scanLog): call showErrorList instead of inserterrors
5723 2003-05-13 André Pönitz <poenitz@gmx.net>
5725 * BufferView_pimpl.C:
5727 * bufferview_func.C:
5734 * tabular_funcs.h: tostr() from its own header
5736 * ParagraphParameters.C:
5741 * text3.C: STRCONV()
5743 2003-05-12 André Pönitz <poenitz@gmx.net>
5746 * BufferView_pimpl.C:
5750 * ParagraphParameters.C:
5754 * bufferview_funcs.C:
5767 * paragraph_funcs.C:
5771 * text3.C: boost::format -> bformat all over the place
5774 2003-05-09 André Pönitz <poenitz@gmx.net>
5776 * LColor.[Ch]: Pimpl the #include <map> away
5778 2003-05-09 John Levon <levon@movementarian.org>
5780 * bufferlist.C: never remove emergency saves
5782 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5784 * Makefile.am: better lib building
5786 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5788 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5790 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5791 (simpleTeXSpecialChars): adjust
5792 (simpleTeXSpecialChars): adjust
5793 * paragraph.C (simpleTeXOnePar): adjust
5794 * buffer.C (makeLaTeXFile): adjust
5796 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5798 * text2.C (changeDepth): parlist cleanup
5799 (getColumnNearX): ditto
5801 * rowpainter.C (getLabelFont): parlist cleanup
5803 * bufferlist.C (newFile): parlist cleanup
5805 * CutAndPaste.C (eraseSelection): parlist cleanup
5807 * BufferView_pimpl.C (trackChanges): parlist cleanup
5810 * BufferView.C (lockInset): parlist cleanup.
5811 (ChangeInsets): ditto
5813 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5815 * CutAndPaste.h: Update file header.
5817 * CutAndPaste.C: Update file header.
5818 Store the parts cut out of the Document in a limited_stack.
5819 (copySelection): adjust
5820 (pasteSelection): new function, takes the index in the limited stack.
5821 (nrOfParagraphs): adjust
5822 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5823 simplify error inset insertion.
5824 (checkPastePossible): adjust
5826 2003-05-06 John Levon <levon@movementarian.org>
5828 * text2.C: don't cast wrap inset to float
5830 2003-05-05 André Pönitz <poenitz@gmx.net>
5833 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5835 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5836 few naked Paragraph *.
5838 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5840 * bufferparams.C: Output warning if a document with missing
5841 TeX document class is loaded
5842 * exporter.C: Disable TeX exports if the document class is missing
5845 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5846 isTeXClassAvailable()
5848 2003-05-03 John Levon <levon@movementarian.org>
5851 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5852 explicit cursor show/hide
5854 * BufferView_pimpl.h:
5855 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5856 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5858 * lyxfunc.C: hide cursor before dispatching.
5863 * text3.C: remove explicit cursor hides
5865 2003-05-02 André Pönitz <poenitz@gmx.net>
5867 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5870 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5873 * text2.C: tiny whitespace
5875 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5877 * undo_funcs.C: almost only ws changes.
5879 * ParagraphList.C (splice): just return if pl is empty.
5881 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5883 * ParagraphList.C (splice): new function.
5885 * CutAndPaste.C (pasteSelection): use it
5887 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5889 * CutAndPaste.C (pasteSelection): remove the last next and
5890 previous from this file.
5892 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5894 * CutAndPaste.C (pasteSelection): more clean up, user proper
5895 ParagraphList functions for pasteing.
5897 * ParagraphList.C (insert): new function, three arg insert
5899 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5901 * ParagraphList.C (insert): new function, three arg insert
5903 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5906 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5908 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5910 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5912 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5914 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5916 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5917 (copySelection): clean up a bit.
5918 (pasteSelection): use make_pair
5920 * ParagraphList.C (ParagraphList): implement copy constructor
5921 (operator=): implement, base on copy constructor.
5924 * paragraph.C (erase): return a bool
5926 * paragraph_pimpl.C (erasePos): remove function, move contents...
5927 (erase): ... here. Return a bool.
5928 (erase): call erase instead of erasePos.
5930 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5932 * ParagraphList.h: define PitPosPair
5933 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5934 ParagraphList, fix a bug on pasting multiple pars
5935 * text2.C: change interface to C&P
5937 2003-04-30 André Pönitz <poenitz@gmx.net>
5939 * undo_func.C: revert part of yesterday's patch 2
5941 2003-04-30 John Levon <levon@movementarian.org>
5943 * LColor.C: s/tabular/table/
5945 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5947 * text3.C (dispatch): do not convert iterator -> pointer
5948 * undo_funcs.C (setCursorParUndo): ditto
5949 * text_funcs.C (transposeChars): ditto
5951 * text2.C (setLayout): ws changes only
5953 * text.C (breakParagraph): do not convert iterator -> pointer
5955 (acceptChange): ditto
5956 (rejectChange): ditto
5961 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5964 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5966 * text3.C (gotoInset): YABG (yet another bad getChar)
5968 2003-04-29 André Pönitz <poenitz@gmx.net>
5970 * paragraph.h: make operator= private unimplemented as long as
5973 * ParagraphList.C: whitespace
5976 * paragraph_pimpl.[Ch]:
5977 * paragraph_funcs.C:
5979 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5982 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5984 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5986 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5987 * paragraph.[Ch] (erase):
5988 * paragraph_pimpl.[Ch] (erase): change return type and value
5989 * text2.C (cutSelection): some rework
5991 2003-04-28 John Levon <levon@movementarian.org>
5993 * bufferlist.C: changes for unsaved changes dialog
5995 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5997 * bufferlist.C (newFile): set language (messages_) for new
6000 * buffer.C (readFile): ws changes only.
6002 2003-04-28 André Pönitz <poenitz@gmx.net>
6007 * BufferView_pimpl.C:
6008 * BufferView.C: getParFromID related ParagraphList::iterator changes
6010 2003-04-28 André Pönitz <poenitz@gmx.net>
6012 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
6015 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6017 * messages.C: remove one more localedir class variable.
6019 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
6021 * messages.C (getLocaleDir): singleton generation function
6023 (Messages): add a default constructor.
6025 * main.C (main): do not setup localedir here, do not call
6028 * gettext.C (_): use it.
6029 (gettext_init): delete funciton
6031 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6033 * gettext.C (getLyXMessages): new singleton generating function.
6035 * buffer.C (updateDocLang): adjust
6037 * Makefile.am (messages.o): add target
6038 (main.o): remove target
6040 2003-04-27 John Levon <levon@movementarian.org>
6045 * lyxvc.C: specify cancel button in Alert::prompt
6047 2003-04-26 John Levon <levon@movementarian.org>
6052 * LyXAction.C: add LFUN_INSET_SETTINGS
6054 * lyxfunc.C: don't enable tabular-feature when there's
6055 just any locking inset
6057 2003-04-26 John Levon <levon@movementarian.org>
6059 * bufferlist.C: re-add Cancel to buffer close question
6061 * lyxfunc.C: fix import UI a bit
6063 2003-04-25 John Levon <levon@movementarian.org>
6065 * gettext.C: remove the broken asserts for now
6067 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6069 * messages.C: make case where setlocale cannot comply work better.
6071 * buffer.C (updateDocLang): new function
6072 (changeLanguage): use it
6075 * text2.C (setCounter): use B_ a bit.
6077 * lyxlayout.C (Read): be sure to trim the label strings.
6079 * messages.C (Messages): fix typo in comment
6081 * buffer.C (readFile): set message_ after file is loaded.
6082 (makeDocBookFile): remove double return
6083 (changeLanguage): reset message_ upon language change.
6084 (B_): new func, use this to get translated buffer strings.
6086 * main.C: add myself and Jean Marc as authors.
6088 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6090 * messages.[hC]: pimplify Messages, and three different pimpls to be
6091 used in different circumstances.
6093 * gettext.[Ch]: change for use with new message code.
6095 2003-04-24 André Pönitz <poenitz@gmx.net>
6097 * factory.C: support for eqref
6099 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6101 * messages.[Ch]: add missing char
6103 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6105 * messages.[Ch]: New files
6107 2003-04-18 John Levon <levon@movementarian.org>
6111 * BufferView_pimpl.C:
6115 * text2.C: remove layout-copy/paste (bug 778)
6117 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6119 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6121 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6123 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6124 if they succeed. Act accordingly.
6126 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6128 * text2.C (setCharFont): adjust
6129 (setCounter): adjust
6130 (insertStringAsLines): adjust
6132 * text.C (leftMargin): adjust
6133 (setHeightOfRow): adjust
6135 * rowpainter.C (paintFirst): adjust
6138 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6140 (isFirstInSequence): ditto
6141 (getEndLabel): ditto
6144 * paragraph.C (getParLanguage): comment out some hard stuff.
6146 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6148 (simpleDocBookOnePar): ditto
6149 (makeDocBookFile): use ParagraphList::iterator
6151 * CutAndPaste.C (pasteSelection): adjust
6153 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6155 * text2.C (getFont): adjust
6156 (getLayoutFont): adjust
6157 (getLabelFont): adjust
6159 * paragraph_funcs.C (TeXOnePar): adjust
6161 * buffer.C (simpleLinuxDocOnePar): adjust
6162 (simpleDocBookOnePar): adjust
6164 * CutAndPaste.C (pasteSelection): adjust
6166 * BufferView.C (getEncoding): adjust
6168 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6170 2003-04-16 John Levon <levon@movementarian.org>
6172 * lyxfind.C: use parlist stuff for search/changes
6174 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6176 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6178 * text2.C (deleteEmptyParagraphMechanism): adjust
6180 * text2.[Ch] (ownerParagraph): delete func (both of them
6182 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6184 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6186 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6188 * ParagraphList.C: prepare for NO_NEXT
6190 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6192 * text2.C (getFont): adjust
6193 (getLayoutFont): adjust
6194 (getLabelFont): adjust
6196 * paragraph.C (getFont): adjust
6197 (getLabelFont): adjust
6198 (getLayoutFont): adjust
6200 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6202 2003-04-15 John Levon <levon@movementarian.org>
6206 * lyx_main.C: handle Include in .ui files
6208 2003-04-15 John Levon <levon@movementarian.org>
6210 * MenuBackend.C: make the doc files length shorter
6213 * ToolbarBackend.C: handle toolbar placement flags,
6216 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6218 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6221 * paragraph_funcs.C (TeXOnePar): adjust
6223 * paragraph.C (getLabelFont): add outerfont arg, adjust
6224 (getLayoutFont): ditto
6225 (simpleTeXOnePar): adjust
6227 * paragraph_pimpl.C (realizeFont): delete func
6229 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6231 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6232 row argument, constify cur argument.
6234 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6236 * text2.C (getFont): adjust
6237 (getLayoutFont): adjust
6238 (getLabelFont): adjust
6240 * paragraph_funcs.C (TeXOnePar): adjust
6241 (outerFont): new func...
6242 (realizeFont): ...moved out from here, changed this to facilitate
6245 * paragraph.C (getFont): take outerfont as arg, adjust
6246 (simpleTeXOnePar): add outerfont arg, adjust
6248 * buffer.C (simpleLinuxDocOnePar): adjust
6249 (simpleDocBookOnePar): adjust
6251 * CutAndPaste.C (pasteSelection): adjust
6253 * BufferView.C (getEncoding): adjust
6255 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6257 * text2.C (setCharFont): adjust
6258 (setCounter): adjust
6260 * text.C (leftMargin): adjust
6261 (setHeightOfRow): adjust
6263 * rowpainter.C (paintFirst): adjust
6266 * paragraph_pimpl.C (realizeFont): adjust
6268 * paragraph.C (isFirstInSequence): move from here...
6269 * paragraph_funcs.C (isFirstInSequence): ...to here
6271 * paragraph.C (outerHook): move from here...
6272 * paragraph_funcs.C (outerHook): ...to here
6274 * paragraph.C (depthHook): move from here...
6275 * paragraph_funcs.C (depthHook): ...to here
6277 * paragraph.C (getEndLabel): move from here...
6278 * paragraph_funcs.C (getEndLabel): ...to here
6280 * text2.C (realizeFont): move from here...
6281 * paragraph_funcs.C (realizeFont): ...to here
6283 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6285 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6287 2003-04-14 Angus Leeming <leeming@lyx.org>
6289 * LColor.[Ch]: scrap LColor mathcursor.
6291 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6293 * lyxlex.[Ch] (text): delete function
6294 * trans.C (Load): adjust
6295 * paragraph_funcs.C (readParToken): adjust
6297 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6299 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6300 vector<char> instead of a char[].
6302 * lyxlex_pimpl.C (getString): adjust
6304 (lex): use getString
6308 * lyxlex.C (text): use pimpl_->getString()
6312 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6314 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6315 (makeFontEntriesLayoutSpecific): temp var for par.size()
6316 (setLayout): temp var for ownerParagraphs().end()
6317 (fullRebreak): temp var for rows().end()
6318 (selectionAsString): temp var for boost::next(startpit), realize
6319 that the while really is a regular for loop.
6320 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6321 setCursor in one place.
6322 (setParagraph): temp vr for ownerParagraphs().end()
6323 (updateCounters): make the while loop a for loop
6324 (cutSelection): temp var for ownerParagraphs().end()
6325 (updateInset): make the do {} while() a regular for loop
6326 (getCursorX): use temp vars
6327 (setCurrentFont): use temp vars
6328 (getColumnNearX): use temp vars
6330 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6332 * text.C (transformChar): use temp var for getChar
6333 (computeBidiTables): use temp var for row->par()
6334 (fill): move temp vars for row->par() and pit->layout() earlier in
6336 (labelFill): use temp var for row->par()
6337 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6338 asc and desc, realize that pit never changes and that firstpit is
6339 just a duplicate and not needed. Exchange rit->par() with pit in a
6341 (breakAgain): use a temp var for boost::next(rit)
6342 (breakAgainOneRow): ditto
6343 (breakParagraph): use a temp var for rows().begin()
6344 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6345 (cursorRightOneWord): use temp var for cursor.par() and
6346 cursor.pos(), remove usage of tmpcursor.
6347 (cursorLeftOneWord): use temp var for cursor.par() and
6348 cursor.pos() only set cur at end of function.
6350 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6352 * text.C, text2.C: exchange all usage of Paragraph::next with
6353 boost::next(ParagraphList::iterator)
6355 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6357 * text2.C (cursorTop): simplify implementation
6358 (cursorBottom): ditto
6359 (setParagraph): use ParagraphList::iterator
6360 (setCurrentFont): adjust
6361 (getColumnNearX): adjust
6362 (cursorRight): adjust
6363 (cursorLeft): remove usage of Paragraph::previous
6364 (cursorUpParagraph): ditto
6365 (deleteEmptyParagraphMechanism): slight cleanup
6367 * text.C (isBoundary): take a Paragraph const & instead of a
6369 (addressBreakPoint): ditto
6370 (leftMargin): remove usage of Paragraph::previous.
6371 (setHeightOfRow): ditto
6372 (cursorLeftOneWord): ditto
6373 (selectNextWordToSpellcheck): ditto
6376 (breakParagraph): remove one usage of Paragraph::next
6377 (redoParagraph): ditto
6378 (acceptChange): ditto
6379 (insertChar): adjust
6380 (rowBreakPoint): adjust
6382 * bufferview_funcs.C (toggleAndShow): adjust
6384 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6386 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6387 methods to access it.
6389 * text.C: Added updateRowPositions to compute all row positions.
6390 Make top_y and getRowNearY() to use the cached y position
6392 2003-04-11 John Levon <levon@movementarian.org>
6394 * text.C (rowBreakPoint): reintroduce the labelEnd
6395 checks, code copied from the row fill stuff. Deep voodoo.
6397 * text.C (fill): add a comment and debugging for the
6400 2003-04-11 John Levon <levon@movementarian.org>
6402 * text.C: make sure fullrow insets get wrapped to the next line,
6403 even when they're in a manual label
6405 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6407 * text2.C (insertParagraph): make it take ParagraphList::iterator
6409 (setLayout): make it return ParagraphList::iterator
6410 (redoParagraphs): ditto
6412 (checkParagraph): ditto
6414 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6416 * text2.C: adjust several funcs.
6417 (realizeFont): take a ParagraphList::iterator as arg.
6418 (getLayoutFont): ditto
6419 (getLabelFont): ditto
6420 (setCharFont): ditto
6422 * text.C: adjust several funcs.
6424 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6426 * text.C (selectNextWordToSpellcheck): don't accidentally
6429 2003-04-10 John Levon <levon@movementarian.org>
6431 * ToolbarBackend.C (getIcon): special handling for
6434 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6436 * text2.C (cursorRight): a getChar assert fixed
6438 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6440 * text2.C (getFont): change to take a ParagraphList::iterator
6441 instead of Paragraph*
6442 Adjust several functions.
6444 * text.C (transformChar): change to take a ParagraphList::iterator
6445 instead of Paragraph*
6446 (singleWidth): ditto
6447 Adjust several functions.
6449 * rowpainter.C: adjust several functions
6450 * rowpainter.h:store a ParagraphList::iterator and not a
6454 2003-04-09 John Levon <levon@movementarian.org>
6459 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6460 and the "help" bits as well
6462 2003-04-09 John Levon <levon@movementarian.org>
6465 * ToolbarBackend.C: allow multiple toolbars
6467 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6469 * undo_funcs.C (setCursorParUndo): adjust
6471 * text_funcs.C (transposeChars): adjust
6473 * text3.C (gotoNextInset): adjust
6476 * text2.C (setLayout): adjust
6477 (changeDepth): adjust
6479 (redoParagraphs): adjust
6480 (selectionAsString): adjust
6481 (setParagraph): adjust
6482 (insertInset): adjust
6483 (cutSelection): adjust
6484 (copySelection): adjust
6485 (pasteSelection): adjust
6486 (insertStringAsLines): adjust
6487 (updateInset): adjust
6488 (setCursor): change to take a ParagraphList::iterator parameter
6489 (setCursorIntern): change to take a ParagraphList::iterator parameter
6490 (setCurrentFont): adjust
6491 (cursorLeft): adjust
6492 (cursorRight): adjust
6493 (deleteEmptyParagraphMechanism): adjust
6495 * text.C (breakParagraph): adjust
6496 (insertChar): adjust
6497 (acceptChange): adjust
6498 (rejectChange): adjust
6499 (selectNextWordToSpellcheck): adjust
6500 (changeCase): adjust
6504 * lyxfind.C (SearchForward): adjust
6505 (SearchBackward): adjust
6506 (nextChange): adjust
6508 * lyxcursor.C (par): adjust
6510 * lyxcursor.h: store a ParagraphList::iterator instead of a
6513 * lyx_cb.C (getPossibleLabel): adjust
6515 * bufferview_funcs.C (toggleAndShow): adjust
6517 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6520 * BufferView.C (removeAutoInsets): adjust
6521 (lockedInsetStoreUndo): adjust
6523 2003-04-09 John Levon <levon@movementarian.org>
6525 * ToolbarBackend.C: try icon without argument
6526 if with argument fails
6528 2003-04-08 John Levon <levon@movementarian.org>
6531 * ToolbarBackend.C: add getIcon(), handle tooltip,
6532 and change from "Icon" to "Item".
6534 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6536 * BufferView.C (lockInset): another bad getchar crunched
6538 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6540 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6543 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6545 * lyxfind.C (searchForward, searchBackwards): bug 782
6547 2003-04-07 John Levon <levon@movementarian.org>
6549 * paragraph.C: remove dead comment
6551 * text.C: remove troublesome depth-fiddling code
6552 in leftMargin() and rightMargin() (bug 1017)
6554 * text.C: fix breaking of rows in nested lists
6557 * text2.C (updateCounters): fix up depth values
6560 2003-04-07 John Levon <levon@movementarian.org>
6562 * BufferView_pimpl.C: clear message when doc finishes resizing,
6563 and after a mouse event
6565 * lyxfunc.C: clear message after exiting inset
6567 2003-04-07 John Levon <levon@movementarian.org>
6569 * bufferview_funcs.C: show math status not outside
6570 status in the statusbar
6572 2003-04-07 John Levon <levon@movementarian.org>
6574 * lyxfunc.C: note status changed after a depth change
6576 2003-04-04 Angus Leeming <leeming@lyx.org>
6578 * LaTeX.h: move AuxInfo operator==, != out of line.
6579 Remove LaTeX virtual destructor; nothing derives from it.
6580 Move operator()() out of public area and rename it startscript().
6581 Change protected for private.
6583 2003-04-04 Angus Leeming <leeming@lyx.org>
6586 * text2.C: remove unneeded #includes.
6588 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6590 * text2.C (dEPM): fix the heigth of the next row
6592 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6594 * text.C: squashed an invalid getChar requester + some ws changes
6596 2003-04-03 John Levon <levon@movementarian.org>
6598 * bufferview_funcs.h:
6599 * bufferview_funcs.C:
6602 * text2.C: make getStatus work for the env depth lfuns
6604 2003-04-03 John Levon <levon@movementarian.org>
6606 * bufferview_funcs.h:
6607 * bufferview_funcs.C:
6610 * text2.C: parlistize decDepth(), by merging it with incDepth()
6612 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6614 * lyxrow.h: store a ParagraphList::iterator instead of a
6615 Paragraph* and adjust other class functions to suit.
6617 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6620 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6622 * text2.C (setCursor): do not anchor to cursor row for the time being
6624 2003-04-02 John Levon <levon@movementarian.org>
6631 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6633 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6635 * paragraph.h: make ParagraphList and ParagraphList::iterator
6636 friends of Paragraph.
6638 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6640 * ParagraphList.C: Use the private next_ and previous_ from
6643 2003-04-01 John Levon <levon@movementarian.org>
6647 * Makefile.am: rename, remove defaults gunk
6650 * MenuBackend.C: remove defaults gunk
6653 * Languages.C: remove defaults gunk
6656 * lyx_main.C: error out if files couldn't be found.
6658 2003-04-02 John Levon <levon@movementarian.org>
6660 * text2.C: make incDepth() use parlist
6662 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6664 * undo_funcs.C (firstUndoParagraph): adjust
6666 * text3.C (gotoInset): adjust
6667 (dispatch): adjust, and rewrite loop.
6669 * text2.C (init): adjust, and rewrite loop.
6670 (redoParagraphs): adjust
6671 (updateInset): adjust, and rewrite loop.
6672 (deleteEmptyParagraphMechanism): adjust
6674 * tabular.C (LyXTabular): adjust
6675 (SetMultiColumn): adjust
6678 * lyxtext.[Ch] (ownerParagraph): delete function
6679 (ownerParagraphs): new function returns a ParagraphList.
6681 * BufferView.C (removeAutoInsets): adjust
6682 (insertErrors): adjust
6683 (setCursorFromRow): adjust
6685 2003-04-01 Angus Leeming <leeming@lyx.org>
6687 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6690 2003-04-02 John Levon <levon@movementarian.org>
6696 * text_funcs.C: make transposeChars a free function
6698 * lyxrow_funcs.C: remove wrong comment
6700 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6703 * rowpainter.C: adjust
6708 * lyxrow_funcs. [Ch]: new files
6710 * lyxrow.[Ch]: remove next and previous pointers
6711 (next,previous): remove accessor functions
6712 (isParEnd): move to lyxrow_funcs
6713 (lastPos): move to lyxrow_funcs
6714 (nextRowIsAllInset): move to lyxrow_funcs
6715 (lastPrintablePos): move to lyxrow_funcs
6716 (numberOfSeparators): move to lyxrow_funcs
6717 (numberOfHfills): move to lyxrow_funcs
6718 (numberOfLabelHfills): move to lyxrow_funcs
6719 (hfillExpansion): move to lyxrow_funcs
6723 * bufferview_funcs.C (toggleAndShow): adjust
6725 * RowList.h: Remove class RowList from file leave just a
6728 * RowList.C: delete file
6730 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6733 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6735 * text3.C (cursorPrevious): adjust
6736 (cursorNext): adjust
6739 * text2.C (redoHeightOfParagraph): adjust
6740 (redoDrawingOfParagraph): adjust
6743 * text.C (breakParagraph): adjust
6744 (insertChar): adjust
6747 * rowpainter.C (RowPainter): adjust
6748 (leftMargin): simplify and adjust
6749 (most rowpainter functions): adjust.
6751 * rowpainter.h: store the row as RowList::iterator not as Row*
6753 * lyxcursor.C (row): taka RowList::iterator as arg
6756 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6759 2003-04-01 Angus Leeming <leeming@lyx.org>
6761 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6762 stuff like bool Bool.
6764 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6766 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6769 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6771 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6774 * lyxtext.h (rows): drop one version and leve a const variant that
6775 returns a RowList::iterator.
6777 2003-03-31 Angus Leeming <leeming@lyx.org>
6779 * text.C (fill): ensure that the signature is the same as that in the
6782 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6784 * text2.C (redoParagraphs): adjust
6785 (updateCounters): adjust
6786 (checkParagraph): adjust
6787 (getColumnNearX): adjust and reformat a bit.
6789 * text.C (top_y): adjust
6791 (leftMargin): adjust
6792 (prepareToPrint): adjust
6794 (getRowNearY): adjust
6796 * lyxtext.h: make rowlist_ mutable.
6798 * RowList.h: add const_iterator
6799 * RowList.C: adjust for RowList::const_iterator.
6801 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6804 2003-03-31 John Levon <levon@movementarian.org>
6807 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6809 * lyx_main.C: set default fonts from using lyx_gui funcs
6811 * exporter.C: pdf_mode moved from lyxrc
6814 * lyxfunc.C: changes from above
6816 2003-03-31 John Levon <levon@movementarian.org>
6818 * lyx_main.C: fix to the last fix
6820 2003-03-31 John Levon <levon@movementarian.org>
6822 * bufferlist.C: "Load original" -> "Load Original"
6828 * format.C: more Alert cleanups
6830 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6832 * text2.C (removeParagraph): make it take a RowList::iterator as
6834 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6835 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6837 * text.C (anchor_row): make it take a RowList::iterator as arg,
6839 (computeBidiTables): make it take a const reference to Row instead
6840 of Row pointer, adjust.
6841 (leftMargin): make it take a RowList::iterator as arg, adjust.
6842 (rowBreakPoint): adjust
6843 (breakAgainOneRow): make it take a RowList::iterator as arg,
6845 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6847 * bufferview_funcs.C (toggleAndShow): adjust
6849 2003-03-30 John Levon <levon@movementarian.org>
6853 * boost-inst.C: moved to support
6855 * several files: changes as a result
6857 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6859 * text2.C (LyXText): adjust.
6861 (removeRow): make it take a RowList::iterator as arg, adjust.
6862 (fullRebreak): adjust
6863 (deleteEmptyParagraphMechanism): adjust
6864 (clearPaint): adjust
6867 * text.C (top_y): adjust
6868 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6869 (breakAgain): make it take a RowList::iterator as arg, adjust.
6870 (breakParagraph): adjust
6871 (insertChar): adjust
6874 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6875 need_break_row, and refresh_row.
6877 * text3.C (dispatch): adjust
6879 * text2.C (checkParagraph): adjust
6881 (setCursorFromCoordinates): adjust
6883 * text.C (top_y): adjust
6885 (getRow): make it return a RowList::iterator, adjust
6886 (getRowNearY): make it return a RowList::iterator, adjust
6888 * text2.C (init): adjust
6889 (insertRow): remove function
6890 (insertParagraph): adjust
6891 (redoParagraphs): adjust
6892 (fullRebreak): adjust
6893 (updateCounters): adjust
6895 * text.C (top_y): rewrite to use RowList iterators.
6897 (setHeightOfRow): rewrite to sue RowList iterators.
6898 (appendParagraph): adjust
6899 (breakAgain): adjust
6900 (breakAgainOneRow): adjust
6901 (breakParagraph): adjust
6903 (getRowNearY): adjust, and remove commented code.
6905 * lyxtext.h (firstRow): delete function
6906 (lastRow): delete function
6907 (rows): new function (const and non-const versions.)
6908 (insertRow): delete function
6910 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6912 2003-03-29 John Levon <levon@movementarian.org>
6914 * BufferView_pimpl.C: always update scrollbar top
6915 because pasting text when we're anchored could mean we
6916 miss an update altogether
6918 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6920 * text2.C (init): use rowlist_.end() and not 0.
6921 (insertRow): change to take a RowList::iterator as arg, adjust
6923 (insertParagraph): change to take a RowList::iterator as arg,
6925 (redoParagraphs): remove some debug msgs.
6927 * text.C (appendParagraph): change to take a RowList::iterator
6928 arg, adjust for this.
6929 (breakAgain): add an assert
6930 (breakAgainOneRow): ditto
6932 2003-03-29 John Levon <levon@movementarian.org>
6934 * text2.C: do not clear selection after inc/decDepth
6937 2003-03-29 John Levon <levon@movementarian.org>
6940 * buffer.C: fix broken strerrors according to Lars
6942 2003-03-29 John Levon <levon@movementarian.org>
6944 * converters.C: more Alert cleanups
6946 2003-03-29 John Levon <levon@movementarian.org>
6948 * bufferview_funcs.C: remove pointless Alert
6950 * buffer.C: fix confusing error message when
6951 a template is chmoded 000
6953 2003-03-29 John Levon <levon@movementarian.org>
6957 * BufferView_pimpl.C: Alert fixes
6961 * tabular-old.C: remove unused table compat reading
6963 2003-03-29 John Levon <levon@movementarian.org>
6968 * lyx_cb.C: more Alert cleanups
6970 * lyxfunc.C: don't allow chktex if not latex document
6972 2003-03-29 John Levon <levon@movementarian.org>
6976 * buffer.C: warnings pushed down from support/,
6979 2003-03-29 John Levon <levon@movementarian.org>
6981 * lyxfunc.C: safety check for C-r (revert)
6983 2003-03-29 John Levon <levon@movementarian.org>
6986 * bufferlist.C: several UI fixes using Alert::prompt.
6987 Fix the pointless looping quit code. Fix stupid revert
6992 * lyx_cb.C: use Alert::prompt
6994 * lyx_main.C: remove a silly question
6996 * lyxfunc.C: remove a couple of silly questions,
6999 2003-03-28 John Levon <levon@movementarian.org>
7001 * text2.C: fix bug 974 (End on empty par)
7003 2003-03-28 John Levon <levon@movementarian.org>
7005 * BufferView_pimpl.C:
7007 * lfuns.h: remove do-nothing math greek lfuns
7009 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
7011 * lyxgluelength.h (isValidGlueLength): add default arg on
7012 parameter 2. Remove default arg from friend in class.
7014 * lyxlength.h (isValidLength): add default arg on parameter 2.
7015 Remove default arg from friend in class.
7017 * text2.C (LyXText): adjust, initialize refresh_row.
7021 (insertParagraph): adjst
7022 (redoParagraphs): adjust
7023 (fullRebreak): adjust
7024 (updateCounters): adjust
7025 (deleteEmptyParagraphMechanism): first attempt at fixing a
7028 * text.C (top_y): adjust
7029 (setHeightOfRow): adjust
7031 (getRowNearY): adjust
7033 * lyxtext.h: include RowList.h
7034 (~LyXText): not needed anymore, deleted.
7035 (firstRow): modify for RowList
7036 (lastRow): new function
7037 Delete firstrow and lastrow class variables, add a Rowlist
7038 rowlist_ class variable.
7040 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7043 * RowList.C (insert): fix case where it == begin().
7045 2003-03-26 Angus Leeming <leeming@lyx.org>
7047 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7048 the thesaurus dialog.
7050 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7052 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7054 * RowList.[Ch]: new files
7056 * ParagraphList.C (erase): handle the case where it == begin
7059 2003-03-25 John Levon <levon@movementarian.org>
7063 * aspell.C: add new aspell support
7066 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7069 2003-03-25 Angus Leeming <leeming@lyx.org>
7072 * LyXAction.C (init): new LFUN_INSET_INSERT.
7074 * BufferView_pimpl.C (dispatch): split out part of the
7075 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7077 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7080 2003-03-25 Angus Leeming <leeming@lyx.org>
7082 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7084 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7087 * text3.C: remove useless row->height(0)
7089 2003-03-25 John Levon <levon@movementarian.org>
7093 * text3.C: rename the refreshing stuff to better names
7095 2003-03-24 John Levon <levon@movementarian.org>
7097 * BufferView_pimpl.h:
7098 * BufferView_pimpl.C: update layout choice on a mouse
7101 2003-03-23 John Levon <levon@movementarian.org>
7103 * Makefile.am: fix commandtags.h reference
7105 2003-03-22 John Levon <levon@movementarian.org>
7107 * BufferView_pimpl.C:
7112 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7114 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7117 * text.C: take the rtl methods out of line
7119 2003-03-21 André Pönitz <poenitz@gmx.net>
7121 * metricsinfo.[Ch]: new files containing structures to be passed around
7122 during the two-phase-drawing...
7124 2003-03-21 André Pönitz <poenitz@gmx.net>
7126 * lyxtextclass.C: read 'environment' tag.
7128 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7130 * text2.C (removeRow): fix bug 964
7132 2003-03-20 John Levon <levon@movementarian.org>
7136 * text2.C: paint cleanups. Inset::update() dropped font
7139 2003-03-19 John Levon <levon@movementarian.org>
7141 * lyxfunc.C: only fitcursor/markDirty if available()
7143 2003-03-19 John Levon <levon@movementarian.org>
7145 * commandtags.h: rename to ...
7147 * lfuns.h: ... this, and renumber / cleanup
7149 2003-03-19 John Levon <levon@movementarian.org>
7151 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7152 fit the cursor after an lfun
7156 * BufferView_pimpl.h:
7157 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7159 * LyXAction.C: layout-character should have ReadOnly
7161 * ParagraphParameters.C:
7163 * bufferview_funcs.C:
7170 * undo_funcs.C: changes from above
7172 2003-03-18 John Levon <levon@movementarian.org>
7174 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7175 remove it from update()
7177 * lyxfunc.C: update layout choice after an lfun
7179 * text3.C: remove extra updateLayoutChoice()s
7181 2003-03-18 John Levon <levon@movementarian.org>
7183 * text.C: top_y change means full repaint, fix
7184 a drawing bug with cursor movement
7186 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7190 * text2.C: anchor row on setCursor
7192 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7194 * lyxtext.h: remove almost all mutable keywords
7197 * text3.C: remove const keywords accordingly
7199 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7201 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7203 (TeXEnvironment): ditto
7206 2003-03-17 John Levon <levon@movementarian.org>
7208 * text.C (rowBreakPoint): remove attempt to fix displayed
7209 math insets inside a manual label
7211 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7213 * lyxtext.h: remove BufferView* as first arg from almost all class
7215 * other files: adjust.
7217 2003-03-17 John Levon <levon@movementarian.org>
7221 * text2.C: more paint cleanups
7223 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7226 * rowpainter.C: remove "smart" background painting code
7228 2003-03-16 John Levon <levon@movementarian.org>
7233 * text3.C: add helper functions for setting refresh_row/y
7235 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7237 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7238 newline inset which *can* get inserted in the pass_thru layouts.
7239 This is primarily for literate documents.
7241 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7243 * buffer.C: increment LYX_FORMAT to 223
7245 2003-03-14 André Pönitz <poenitz@gmx.net>
7247 * textclass.h: prepare for environment handling, ws changes
7248 * lyxlayout.C: read latexheader and latexfooter tags
7250 2003-03-14 John Levon <levon@movementarian.org>
7252 * text2.C: rewrite ::status() a bit
7254 2003-03-13 John Levon <levon@movementarian.org>
7256 * lyxtext.h: add some docs
7258 2003-03-13 John Levon <levon@movementarian.org>
7263 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7265 2003-03-13 John Levon <levon@movementarian.org>
7267 * text3.C: fix appendix redrawing
7269 2003-03-13 John Levon <levon@movementarian.org>
7271 * text.C (setHeightOfRow):
7273 * rowpainter.C: make appendix mark have the text
7274 "Appendix" so the user knows what it is
7277 * LColor.C: s/appendixline/appendix/ from above
7279 2003-03-13 John Levon <levon@movementarian.org>
7281 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7283 * text.C: fix a getChar(pos) bug properly
7285 2003-03-13 Angus Leeming <leeming@lyx.org>
7288 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7289 Probably only temporary. Let's see how things pan out.
7291 * BufferView.C (unlockInset):
7292 * BufferView_pimpl.C (fitCursor):
7293 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7295 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7296 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7298 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7299 new functions that convert ParagraphParameters to and from a string.
7301 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7302 BufferView::Pimpl's dispatch.
7303 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7305 2003-03-13 André Pönitz <poenitz@gmx.net>
7309 * factory.C: make it aware of InsetEnv
7311 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7313 * text2.C (setCursor): never ask for one past last
7314 (setCursor): add some debugging messages.
7316 * text.C (singleWidth): never ask for one past last
7317 (singleWidth): ditto
7319 (rightMargin): ditto
7320 (rowBreakPoint): ditto
7321 (setHeightOfRow): ditto
7322 (prepareToPrint): ditto
7324 * rowpainter.C (paintBackground): never ask for one past last
7325 (paintText): never ask for one past last
7327 * paragraph_pimpl.C (getChar): make the assert stricter, never
7328 allow the one past last pos to be taken
7330 * paragraph.C (getChar): ws changes only
7332 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7333 (numberOfSeparators): ditto
7334 (numberOfHfills): ditto
7336 2003-03-12 John Levon <levon@movementarian.org>
7342 * paragraph_funcs.C: fix per-buffer authorlists
7344 2003-03-12 John Levon <levon@movementarian.org>
7346 * text.C: fix newline in right address
7348 2003-03-12 Angus Leeming <leeming@lyx.org>
7350 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7351 duplicate those in LyXFunc::dispatch.
7355 * ToolbarDefaults.C:
7356 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7357 Add LFUN_FONTFREE_UPDATE.
7359 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7360 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7362 * bufferview_func.[Ch]: several new functions to facilliate
7363 transfer of data to and from the character dialog.
7365 2003-03-12 John Levon <levon@movementarian.org>
7370 * paragraph_funcs.C:
7371 * paragraph_pimpl.C:
7375 * text3.C: remove META_NEWLINE in favour of an inset
7378 * rowpainter.C: remove paintNewline (done by inset)
7380 2003-03-12 John Levon <levon@movementarian.org>
7382 * paragraph_pimpl.C: complain about bad getChar()s
7383 for a while at least
7385 2003-03-12 John Levon <levon@movementarian.org>
7388 * buffer.C: move paragraph read into a separate function,
7389 a little renaming to reflect that.
7392 * bufferparams.C: remove the author_ids map, not necessary now
7395 * factory.C: moved Buffer::readInset to here
7397 * paragraph_funcs.h:
7398 * paragraph_funcs.C: readParagraph free function moved from
7401 * tabular.C: name change
7403 2003-03-12 John Levon <levon@movementarian.org>
7406 * ParagraphParameters.C: move par params input to
7409 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7410 behave like a normal read from the stream wrt reading
7411 a line vs. a \\token
7413 2003-03-12 John Levon <levon@movementarian.org>
7416 * ParagraphParameters.h:
7417 * ParagraphParameters.C: move output code to a
7420 2003-03-12 John Levon <levon@movementarian.org>
7422 * BufferView.C (insertLyXFile):
7425 * tabular.C: use a parlist iterator for creating the
7428 2003-03-12 John Levon <levon@movementarian.org>
7430 * buffer.C: make current_change static local not
7433 2003-03-12 John Levon <levon@movementarian.org>
7435 * buffer.C: fix insertStringAsLines for change tracking
7437 2003-03-12 John Levon <levon@movementarian.org>
7444 * bufferparams.C: move author list into params. Rename some
7445 functions. Move the header reading into a separate token
7446 loop. Move the header token reading into BufferParams.
7448 2003-03-12 John Levon <levon@movementarian.org>
7450 * changes.C: put debug inside lyxerr.debugging() checks
7452 2003-03-11 André Pönitz <poenitz@gmx.net>
7454 * factory.C: make it aware of InsetHFill
7456 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7458 * buffer.C (latexParagraphs): move function from here...
7459 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7462 2003-03-10 Angus Leeming <leeming@lyx.org>
7464 * LyXAction.C (init): fix bug in poplating array with multiple entries
7465 with the same LFUN (spotted by JMarc).
7467 2003-03-10 John Levon <levon@movementarian.org>
7470 * text2.C: move getColumnNearX() near its
7473 2003-03-10 John Levon <levon@movementarian.org>
7475 * text.C: fix break before a minipage
7477 2003-03-10 John Levon <levon@movementarian.org>
7479 * text.C: fix the last commit
7481 2003-03-09 John Levon <levon@movementarian.org>
7485 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7486 bug 365 (don't break before insets unless needed). Don't
7487 return a value > last under any circumstances.
7489 2003-03-09 Angus Leeming <leeming@lyx.org>
7491 * BufferView_pimpl.C (trackChanges, dispatch): call
7492 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7494 2003-03-09 Angus Leeming <leeming@lyx.org>
7496 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7497 than Dialogs::showAboutlyx().
7499 2003-03-09 Angus Leeming <leeming@lyx.org>
7501 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7502 than Dialogs::showTabularCreate().
7504 2003-03-09 John Levon <levon@movementarian.org>
7508 * text2.C: 3rd arg to nextBreakPoint was always the same.
7511 2003-03-08 John Levon <levon@movementarian.org>
7518 * text2.C: Remove the "main" bit from the "main body"
7521 2003-03-08 John Levon <levon@movementarian.org>
7523 * text.C (leftMargin): The left margin of an empty
7524 manual label paragraph should not include the label width
7527 * text.C (prepareToPrint): don't attempt to measure hfills
7528 for empty manual label paragraphs - the answer should be 0
7530 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7532 * CutAndPaste.C: remove commented code and reindent.
7534 2003-03-08 John Levon <levon@movementarian.org>
7537 * lyxfunc.C: move reloadBuffer()
7540 * BufferView.C: to here
7542 * lyxvc.C: add comment
7545 * vc-backend.C: call bv->reload() to avoid
7546 getStatus() check on MENURELOAD
7548 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7550 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7551 to an old format .dep file.
7553 2003-03-07 Angus Leeming <leeming@lyx.org>
7555 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7556 when the LFUN_MOUSE_RELEASE should have been handled by
7557 inset->localDispatch.
7559 2003-03-07 Angus Leeming <leeming@lyx.org>
7561 * BufferView_pimpl.C (dispatch):
7562 * LyXAction.C (init):
7563 * ToolbarDefaults.C (init):
7565 * lyxfunc.C (getStatus):
7566 remove LFUN_INSET_GRAPHICS.
7568 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7570 2003-03-07 Angus Leeming <leeming@lyx.org>
7573 * LyXAction.C (init):
7574 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7576 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7579 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7581 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7582 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7584 2003-03-07 Angus Leeming <leeming@lyx.org>
7586 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7589 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7591 * ParagraphList.C (front): new function
7594 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7596 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7597 and top_row_offset_. removed var first_y.
7599 * text2.C (LyXText, removeRow):
7601 * BufferView_pimpl.C:
7602 use these methods instead of using first_y
7604 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7606 * text2.C (pasteSelection): adjust for checkPastePossible
7608 * CutAndPaste.C: remove Paragraph * buf and replace with
7609 ParagraphList paragraphs.
7610 (DeleteBuffer): delete
7611 (cutSelection): change the tc type to textclass_type
7612 (copySelection): change the tc type to textclass_type
7613 (copySelection): adjust for ParagraphList
7614 (pasteSelection): change the tc type to textclass_type
7615 (pasteSelection): adjust for Paragraphlist
7616 (nrOfParagraphs): simplify for ParagraphList
7617 (checkPastePossible): simplify for ParagraphList
7618 (checkPastePossible): remove unused arg
7620 * ParagraphList.C (insert): handle the case where there are no
7623 * CutAndPaste.h: make CutAndPaste a namespace.
7625 * text3.C (dispatch): adjust
7627 * text.C (breakParagraph): add a ParagraphList as arg
7629 * paragraph_funcs.C (breakParagraph): change to take a
7630 BufferParams and a ParagraphList as args.
7631 (breakParagraphConservative): ditto
7632 (mergeParagraph): ditto
7633 (TeXDeeper): add a ParagraphList arg
7634 (TeXEnvironment): ditto
7637 * buffer.C (readLyXformat2): adjust
7638 (insertStringAsLines): adjust
7639 (latexParagraphs): adjust
7641 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7642 (cutSelection): adjust
7643 (pasteSelection): adjust
7645 * BufferView_pimpl.C (insertInset): adjust
7647 2003-03-05 Angus Leeming <leeming@lyx.org>
7650 * LyXAction.C (init):
7651 * BufferView_pimpl.C (dispatch):
7652 * lyxfunc.C (getStatus):
7653 remove LFUN_CHILD_INSERT.
7655 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7657 2003-03-05 Angus Leeming <leeming@lyx.org>
7660 * LyXAction.C (init):
7661 * src/factory.C (createInset):
7662 * lyxfunc.C (getStatus):
7663 * text3.C (dispatch):
7664 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7666 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7668 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7670 * ParagraphList.C (insert): handle insert right before end()
7671 (erase): fix cases where it can be first or last paragraph.
7673 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7675 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7676 Paragraph::next and Paragraph::previous
7679 * text.C (breakParagraph): adjust
7681 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7682 BufferParams& as arg.
7683 (breakParagraph): use ParagraphList::insert
7684 (breakParagraphConservative): take a Buffer* instead of a
7685 BufferParams& as arg.
7686 (breakParagraphConservative): use ParagraphList::insert.
7688 * buffer.C (insertStringAsLines): un-const it
7689 (insertStringAsLines): adjust
7691 * ParagraphList.C (insert): new function
7693 * CutAndPaste.C (pasteSelection): adjust
7695 * text.C (backspace): adjust
7697 * tabular.C (SetMultiColumn): adjust
7699 * CutAndPaste.C (cutSelection): adjust
7700 (pasteSelection): adjust
7702 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7703 Buffer const * as arg
7705 * ParagraphList.C (erase): new function
7706 * paragraph_funcs.C (mergeParagraph): use it
7707 (mergeParagraph): make it take a Buffer* instead of a
7708 BufferParams* as arg
7710 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7712 (breakParagraphConservative): ditto
7714 * paragraph.h: remove the breakParagraph friend
7716 * paragraph.C (eraseIntern): new function
7717 (setChange): new function
7719 * paragraph_funcs.C (mergeParagraph): make it take a
7720 ParagraphList::iterator instead of a Paragraph *, adjust
7723 * paragraph.h: move an #endif so that the change tracking stuff
7724 also works in the NO_NEXT case.
7726 2003-03-04 Angus Leeming <leeming@lyx.org>
7729 * LyXAction.C: new LFUN_INSET_MODIFY.
7731 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7732 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7734 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7736 * several files: ws changes only
7738 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7739 (TeXEnvironment): ditto
7742 * buffer.C (makeLaTeXFile): adjust
7743 (latexParagraphs): make it take ParagraphList::iterator as args
7745 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7747 * buffer.C (latexParagraphs): adjust
7749 * paragraph.C (TeXOnePar): move function...
7750 (optArgInset): move function...
7751 (TeXEnvironment): move function...
7752 * paragraph_pimpl.C (TeXDeeper): move function...
7753 * paragraph_funcs.C: ...here
7755 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7757 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7759 * buffer.C (readInset): remove compability code for old Figure and
7762 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7764 * buffer.C: ws changes
7767 * BufferView_pimpl.C: ditto
7770 * bufferlist.h: ditto
7774 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7776 * converter.[Ch]: split into itself +
7779 * Makefile.am: += graph.[Ch] + format.[Ch]
7786 * lyxrc.C: added #include "format.h"
7788 2003-02-27 Angus Leeming <leeming@lyx.org>
7790 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7793 * factory.C (createInset): add "label" to the factory.
7795 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7796 string and do no more.
7798 2003-02-27 Angus Leeming <leeming@lyx.org>
7801 * LyXAction.C (init):
7802 * factory.C (createInset):
7803 * BufferView_pimpl.C (dispatch):
7804 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7806 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7808 * lyxfunc.C (dispatch):
7809 * text3.C (dispatch): pass name to params2string.
7811 2003-02-26 Angus Leeming <leeming@lyx.org>
7813 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7815 Rearrange the ~includes. Strip out the unnecessary ones.
7817 * factory.C (createInset): reformat.
7818 create new insets for the various LFUN_XYZ_APPLY lfuns.
7820 2003-02-26 John Levon <levon@movementarian.org>
7823 * lyxrow.C: add isParStart,isParEnd helpers
7825 * paragraph.h: make isInserted/DeletedText take refs
7827 * paragraph_funcs.h:
7828 * paragraph_funcs.C: remove #if 0'd code
7833 * text.C: use lyxrow helpers above.
7834 Move draw and paint routines to RowPainter.
7835 Make several methods use refs not pointers.
7836 Make backgroundColor() const.
7837 Add markChangeInDraw(), isInInset().
7838 Merge changeRegionCase into changeCase.
7839 Make workWidth() shouldn't-happen code into an Assert.
7842 * rowpainter.C: new class for painting a row.
7845 * vspace.C: make inPixels take a ref
7847 2003-02-26 Angus Leeming <leeming@lyx.org>
7849 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7852 2003-02-25 John Levon <levon@movementarian.org>
7854 * ispell.C: give the forked command a more accurate name
7856 2003-02-22 John Levon <levon@movementarian.org>
7859 * toc.C: make TocItem store an id not a Paragraph *
7862 2003-02-21 Angus Leeming <leeming@lyx.org>
7864 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7865 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7866 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7867 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7868 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7869 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7871 * BufferView_pimpl.C (dispatch):
7872 * LyXAction.C (init):
7873 * factory.C (createInset):
7874 * lyxfunc.C (getStatus, dispatch):
7875 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7877 2003-02-21 Angus Leeming <leeming@lyx.org>
7879 * BufferView_pimpl.C (MenuInsertLyXFile):
7880 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7881 * lyxfunc.C (menuNew, open, doImport):
7882 no longer pass a LyXView & to fileDlg.
7884 2003-02-21 Angus Leeming <leeming@lyx.org>
7886 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7887 * LyXAction.C: change, BIBKEY to BIBITEM.
7888 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7889 Change InsetBibKey to InsetBibitem.
7890 Change BIBKEY_CODE to BIBITEM_CODE.
7891 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7892 * factory.C: replace insetbib.h with insetbibitem.h.
7893 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7894 * paragraph.C: replace insetbib.h with insetbibitem.h.
7895 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7896 Change bibkey() to bibitem().
7897 * text.C: remove insetbib.h.
7898 * text2.C: replace insetbib.h with insetbibitem.h.
7899 change bibkey() to bibitem().
7900 * text3.C: remove insetbib.h.
7901 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7903 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7905 * lyxrc.C (output): enclose user email in quotes (in case there are
7908 2003-02-18 John Levon <levon@movementarian.org>
7910 * buffer.h: add std::
7912 2003-02-17 John Levon <levon@movementarian.org>
7918 * pspell.C: reworking. Especially in ispell, a large
7919 number of clean ups and bug fixes.
7921 * lyxfunc.C: fix revert to behave sensibly
7923 2003-02-17 André Pönitz <poenitz@gmx.net>
7926 * commandtags.h: new LFUN_INSERT_BIBKEY
7936 * paragraph_func.C: remove special bibkey handling
7938 2003-02-17 John Levon <levon@movementarian.org>
7940 * text.C (Delete): fix case where delete at the end of
7941 the very first paragraph would not merge the pars
7943 2003-02-17 John Levon <levon@movementarian.org>
7945 * lyxrow.C: fix lastPrintablePos()
7947 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7949 * bufferparams.C (writeLaTeX): add a std:here
7951 * buffer.C: and remove a using directive there
7953 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7955 * buffer.C (makeLaTeXFile): move the code that generates the
7958 * bufferparams.C (writeLaTeX): ... in this new method
7960 * LaTeXFeatures.C (getEncodingSet): make const
7961 (getLanguages): make const
7963 * MenuBackend.C (binding): returns the binding associated to this
7965 (add): sets the status of each item by calling getStatus. Adds
7967 (read): add support for OptSubMenu
7968 (expand): remove extra separator at the end of expanded menu
7970 2003-02-15 John Levon <levon@movementarian.org>
7973 * BufferView_pimpl.C:
7975 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7976 inset code that had no actual effect. Remove unneeded status
7979 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7981 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7984 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7986 * text.C (drawLengthMarker): also draw an arrow marker for
7987 symbolic lengths (medskip...)
7989 2003-02-14 John Levon <levon@movementarian.org>
7992 * tabular.C: better method names
7994 2003-02-14 John Levon <levon@movementarian.org>
7996 * BufferView_pimpl.C:
8001 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
8002 it's a more accurate name. Remove some pointless uses.
8004 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8006 * text2.C (LyXText): change order of initilizers to shut off
8009 2003-02-14 John Levon <levon@movementarian.org>
8011 * buffer.C: use ParIterator for getParFromID()
8015 * paragraph_pimpl.h:
8016 * paragraph_pimpl.C: remove unused getParFromID()
8018 2003-02-14 John Levon <levon@movementarian.org>
8020 * buffer.C: remove some very old #if 0'd parse code
8022 2003-02-13 John Levon <levon@movementarian.org>
8026 * text2.C: move hfillExpansion(), numberOfSeparators(),
8027 rowLast(), rowLastPrintable(), numberofHfills(),
8028 numberOfLabelHfills() ...
8031 * lyxrow.C: ... to member functions here.
8036 * text.C: remove LyXText::beginningOfMainBody(), and call
8037 p->beginningOfMainBody() directly. Move the check for
8038 LABEL_MANUAL into the latter.
8045 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8051 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8052 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8054 2003-02-13 John Levon <levon@movementarian.org>
8056 * CutAndPaste.C: remove debug
8058 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8060 * paragraph.C (asString): remove two unused variables
8062 * lyxtextclass.C (readTitleType):
8064 (LyXTextClass): handle new members titletype_ and titlename_
8066 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8068 2003-02-09 John Levon <levon@movementarian.org>
8071 * buffer.C: replace hand-coded list with a map for the dep clean
8073 2003-02-08 John Levon <levon@movementarian.org>
8075 * LaTeX.C: consolidate code into showRunMessage() helper
8077 2003-02-08 John Levon <levon@movementarian.org>
8082 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8083 and pass the size in explicitly
8085 * BufferView_pimpl.h:
8086 * BufferView_pimpl.C:
8088 * BufferView.C: add getCurrentChange()
8090 * BufferView_pimpl.h:
8091 * BufferView_pimpl.C: handle change lfuns
8093 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8094 for changes. Mark pasted paragraphs as new.
8096 * support/lyxtime.h:
8097 * support/lyxtime.C:
8098 * DepTable.C: abstract time_t as lyx::time_type
8101 * LColor.C: add colours for new text, deleted text, changebars
8103 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8104 package use "usenames" option.
8108 * LyXAction.C: add change lfuns
8112 * author.C: author handling
8115 * buffer.C: add a per-buffer author list, with first entry as
8116 current author. Handle new .lyx tokens for change tracking. Output
8117 author list to .lyx file. Output dvipost stuff to .tex preamble.
8118 Bump lyx format to 222.
8121 * bufferlist.C: add setCurrentAuthor() to reset current author details
8125 * bufferparams.C: add param for tracking
8127 * bufferview_funcs.C: output change info in minibuffer
8131 * changes.C: add change-tracking structure
8134 * debug.C: add CHANGES debug flag
8137 * lyxfind.C: add code for finding the next change piece
8140 * lyxrc.C: add user_name and user_email
8143 * lyxrow.C: add a metric for the top of the text line
8146 * text.C: implement accept/rejectChange()
8149 * text.C: paint changebars. Paint new/deleted text in the chosen
8150 colours. Strike through deleted text.
8154 * paragraph_pimpl.h:
8155 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8156 in the current change to the insert functions. Rework erase to
8157 mark text as deleted, adding an eraseIntern() and a range-based
8158 erase(). Implement per-paragraph change lookup and
8161 * paragraph_funcs.C: Fixup paste for change tracking.
8163 * tabular.C: mark added row/columns as new.
8165 * text.C: fix rowLast() to never return -1. Don't allow
8166 spellchecking of deleted text. Track transpose changes. Don't
8167 allow paragraph break or merge where appropriate.
8169 * text2.C: leave cursor at end of selection after a cut.
8171 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8173 * text.C (getLengthMarkerHeight):
8174 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8175 visible on screen too.
8177 2003-02-07 John Levon <levon@movementarian.org>
8179 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8181 2003-02-05 Angus Leeming <leeming@lyx.org>
8183 * lyxserver.C (read_ready): revert my patch of 11 September last year
8184 as it sends PC cpu through the roof. Presumably this means that
8185 the lyxserver will no longer run on an Alpha...
8187 2003-01-30 Angus Leeming <leeming@lyx.org>
8189 * factory.C (createInset): create an InsetCommandParam of type "index"
8190 and use it to 'do the right thing'.
8192 * text2.C (getStringToIndex): ensure that cursor position is always
8193 reset to the reset_cursor position.
8195 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8197 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8200 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8204 * lyxfunc.C: Output messages with identical spelling, punctuation,
8207 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8209 * MenuBackend.C (expandFormats): List only viewable export formats
8212 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8215 * lyxfunc.C (getStatus): Make sure that formats other than
8216 "fax" can also be disabled
8218 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8220 * text3.C (dispatch): put the lfuns that insert insets in 3
8221 groups, and call doInsertInset with appropriate arguments.
8222 (doInsertInset): new function, that creates an inset and inserts
8223 it according to some boolean parameters.
8225 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8227 * buffer.C (readFile): remember to pass on 'par' when calling
8228 readFile recursively.
8230 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8232 * MenuBackend.C (expandFormats): add "..." to import formats.
8234 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8236 * paragraph.C (asString): Remove XForms RTL hacks.
8238 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8239 * buffer.C: fix typo
8241 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8243 * Makefile.am (LIBS): delete var
8244 (lyx_LDADD): add @LIBS@ here instead.
8246 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8248 * Clarify the meaning of "wheel mouse jump"
8250 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8252 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8255 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8257 * importer.C (Loaders): do not preallocate 3 elements in the
8258 vector, since one ends up with 6 elements otherwise
8260 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8262 * DepTable.C (write): write the file name as last element of the
8263 .dep file (because it may contain spaces)
8264 (read): read info in the right order
8266 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8268 * paragraph_pimpl.C (simpleTeXBlanks):
8269 (simpleTeXSpecialChars):
8270 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8272 * tabular.C (latex): add some missing case statements. Reindent.
8274 * MenuBackend.C (expandToc): remove unused variable.
8276 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8285 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8288 2003-01-05 John Levon <levon@movementarian.org>
8291 * BufferView.C: add getEncoding()
8294 * kbsequence.C: do not store last keypress
8297 * lyxfunc.C: store last keypress here instead. Pass encoding
8300 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8302 * lyx_main.C (init): remove annoying error message when following
8303 symbolic links (bug #780)
8305 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8307 * text.C (insertChar):
8308 * lyxrc.C (getDescription): remove extra spaces
8310 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8312 * lyxrc.C (getDescription): remove extra spaces
8314 2002-12-20 John Levon <levon@movementarian.org>
8316 * text3.C: hack fix for page up/down across tall rows
8318 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8320 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8323 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8325 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8326 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8327 thesaurus is not compiled in
8329 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8331 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8333 2002-12-16 Angus Leeming <leeming@lyx.org>
8336 * lyx_main.C (init): remove override_x_deadkeys stuff.
8338 2002-12-12 John Levon <levon@movementarian.org>
8340 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8341 insert. Only remove shift modifier under strict
8344 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8346 * MenuBackend.C (expandToc): fix crash.
8348 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8350 * MenuBackend.C (expandToc): gettext on float names.
8352 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8354 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8355 implement bool empty() [bug 490]
8357 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8359 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8361 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8363 * several files: ws changes
8365 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8367 * text2.C (setCounter): clean up a bit, use boost.format.
8368 (updateCounters): initialize par upon declaration.
8370 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8371 if the layout exists. We do not just store the layout any more.
8372 (SwitchLayoutsBetweenClasses): use boost.format
8374 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8376 * converter.C (convert): if from and to files are the same, use a
8377 temporary files as intermediary
8379 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8382 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8384 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8386 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8388 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8390 * tabular.C (asciiPrintCell): use string(size, char) instead of
8393 * sgml.C (openTag): fix order of arguments to string constructor
8396 * lyxfunc.C (dispatch): use boost.format
8398 * lots of files: change "c" -> 'c'
8400 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8402 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8404 2002-11-25 Angus Leeming <leeming@lyx.org>
8406 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8408 * lyx_main.C (init): compile fix.
8410 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8412 * lyx_cb.C (start): boost.formatify
8413 do not include <iostream>
8415 * lengthcommon.C: ws only
8417 * boost-inst.C,BoostFormat.h: add more explict instantations
8419 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8421 * lots of files: handle USE_BOOST_FORMAT
8423 2002-11-21 John Levon <levon@movementarian.org>
8425 * pspell.C: fix compile
8427 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8429 * lyxfunc.C (dispatch): use boost::format
8433 * lyxfont.C (stateText): use boost::format
8435 * lyx_main.C (LyX): use boost::format
8437 (queryUserLyXDir): ditto
8440 (typedef boost::function): use the recommened syntax.
8442 * importer.C (Import): use boost::format
8444 * debug.C (showLevel): use boost::format
8446 * converter.C (view): use boost::format
8451 * bufferview_funcs.C (currentState): use boost::format
8453 * bufferlist.C (emergencyWrite): use boost::format
8455 * buffer.C (readLyXformat2): use boost::format
8456 (parseSingleLyXformat2Token): ditto
8458 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8460 * LaTeX.C (run): use boost::format
8462 * Chktex.C (scanLogFile): use boost::format
8464 * BufferView_pimpl.C (savePosition): use boost::format
8465 (restorePosition): ditto
8466 (MenuInsertLyXFile): ditto
8468 * BoostFormat.h: help file for explicit instation.
8470 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8472 * tabular.C (latex): Support for block alignment in fixed width
8475 2002-11-17 John Levon <levon@movementarian.org>
8477 * BufferView_pimpl.C:
8479 * lyxfunc.C: split filedialog into open/save
8481 2002-11-08 Juergen Vigna <jug@sad.it>
8483 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8484 by my last patch (hopefully).
8486 2002-11-08 John Levon <levon@movementarian.org>
8495 * toc.C: ParConstIterator, and use it (from Lars)
8497 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8499 * lyxtextclass.[Ch]: revise and add doxygen comments
8501 2002-11-07 John Levon <levon@movementarian.org>
8503 * text.C: fix progress value for spellchecker
8505 * toc.C: fix navigate menu for insetwrap inside minipage
8507 * paragraph_funcs.C: added FIXME for suspect code
8509 2002-11-07 John Levon <levon@movementarian.org>
8511 * BufferView_pimpl.C: fix redrawing of insets
8514 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8516 * text2.C (updateCounters): fix bug 668
8518 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8520 * text3.C (dispatch): Do not make the buffer dirty when moving the
8523 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8525 * vc-backend.C: STRCONV
8528 * text2.C (setCounter): STRCONV
8530 * paragraph.C (asString): STRCONV
8532 * lyxlength.C (asString): STRCONV
8533 (asLatexString): ditto
8535 * lyxgluelength.C (asString): STRCONV
8536 (asLatexString): ditto
8538 * lyxfunc.C (dispatch): STRCONV
8541 * lyxfont.C (stateText): STRCONV
8543 * importer.C (Import): STRCONV
8545 * counters.C (labelItem): STRCONV
8546 (numberLabel): ditto
8547 (numberLabel): remove unused ostringstream o
8552 * bufferview_funcs.C (currentState): STRCONV
8554 * buffer.C (readFile): STRCONV
8555 (asciiParagraph): ditto
8556 (makeLaTeXFile): ditto
8558 * Spacing.C (writeEnvirBegin): STRCONV
8560 * LaTeXFeatures.C (getLanguages): STRCONV
8561 (getPackages): ditto
8563 (getBabelOptions): ditto
8564 (getTClassPreamble): ditto
8565 (getLyXSGMLEntities): ditto
8566 (getIncludedFiles): ditto
8570 (scanAuxFile): ditto
8573 * LString.h: add the STRCONV macros
8575 * BufferView_pimpl.C (savePosition): STRCONV
8576 (restorePosition): ditto
8577 (MenuInsertLyXFile): ditto
8579 * vc-backend.C (scanMaster): change from submatch[...] to
8582 * funcrequest.C: include config.h
8584 * factory.C: include config.h
8586 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8588 * box.C: include config.h
8590 * LaTeX.C (scanAuxFile): change from submatch[...] to
8594 2002-10-25 Angus Leeming <leeming@lyx.org>
8596 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8598 * ispell.[Ch] (setError): new method.
8599 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8600 Use setError() insetead of goto END.
8602 * lyx_cb.C (AutoSave): move out child process into new class
8605 2002-10-30 John Levon <levon@movementarian.org>
8607 * text3.C: make start appendix undoable
8609 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8611 * lyxlength.C (inPixels): Fix returned value.
8613 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8616 2002-10-24 Angus Leeming <leeming@lyx.org>
8618 * lyxgluelength.h: no need to forward declare BufferParams
8619 or BufferView, so don't.
8621 2002-10-21 John Levon <levon@movementarian.org>
8623 * BufferView.C: menuUndo ->undo, redo
8625 * BufferView.h: document, remove dead, make some methods private
8627 * paragraph_funcs.h:
8628 * paragraph_funcs.C:
8629 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8634 * sgml.C: move sgml open/close tag into sgml.C
8636 * bufferview_funcs.h: unused prototype
8639 * lyxfunc.C: remove unused
8642 * text.C: remove unused
8644 2002-10-21 John Levon <levon@movementarian.org>
8648 * BufferView_pimpl.h:
8649 * BufferView_pimpl.C: fix mouse wheel handling based on
8650 patch from Darren Freeman
8652 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8654 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8656 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8658 * lyxlength.C (inPixels): Fix hanfling of negative length.
8659 Fix LyXLength::MU case.
8661 2002-10-16 John Levon <levon@movementarian.org>
8663 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8665 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8667 * converter.C (view): add support for $$i (file name) and $$p
8668 (file path) for the viewer command. If $$i is not specified, then
8669 it is appended to the command (for compatibility with old syntax)
8671 2002-10-14 Juergen Vigna <jug@sad.it>
8673 * undo_funcs.C (textHandleUndo): alter the order in which the
8674 new undopar is added to the LyXText, as we have to set first
8675 the right prev/next and then add it as otherwise the rebuild of
8676 LyXText is not correct. Also reset the cursor to the right paragraph,
8677 with this IMO we could remove the hack in "redoParagraphs()".
8679 2002-10-09 Angus Leeming <leeming@lyx.org>
8681 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8682 to turn off an optimisation if a new inset is to be inserted.
8684 2002-10-11 André Pönitz <poenitz@gmx.net>
8686 * lyxtext.h: make some functions public to allow access
8687 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8689 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8691 * text3.C (dispatch): when changing layout, avoid an infinite loop
8694 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8696 * lyxrc.C (read): treat a viewer or converter command of "none" as
8699 * MenuBackend.C (expandFormats): for an update, also allow the
8700 formats that are not viewable
8702 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8703 script if it is newer than the lyxrc.defaults in user directory
8705 2002-10-07 André Pönitz <poenitz@gmx.net>
8707 * text.C: Vitaly Lipatov's small i18n fix
8709 2002-09-25 Angus Leeming <leeming@lyx.org>
8711 * ispell.h: doxygen fix.
8713 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8715 * buffer.h (readFile): Add a new argument to the method, to allow
8716 reading of old-format templates.
8718 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8720 * toc.C (getTocList): Get TOC from InsetWrap.
8722 2002-09-16 John Levon <levon@movementarian.org>
8724 * lyxfunc.C: check tabular for cut/copy too
8726 2002-09-12 John Levon <levon@movementarian.org>
8731 * factory.C: add header
8733 * paragraph_funcs.h:
8734 * paragraph_funcs.C: cleanup
8736 2002-09-11 John Levon <levon@movementarian.org>
8738 * PrinterParams.h: odd/even default to true
8740 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8742 * PrinterParams.h: update printer parameters for new xforms dialog
8744 2002-09-11 Angus Leeming <leeming@lyx.org>
8746 * lyxserver.C (read_ready): re-write to make it more transparent
8747 and to make it work in coherent fashion under Tru64 Unix.
8749 2002-09-11 André Pönitz <poenitz@gmx.net>
8753 * text3.C: implement LFUN_WORDSEL
8755 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8757 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8758 make floatlist_ a boost::shared_ptr<FloatList>
8760 * lyxtextclass.C: include FloatList.h
8761 (LyXTextClass): initialize floatlist_
8762 (TextClassTags): add TC_NOFLOAT
8763 (Read): match "nofloat" to TC_NOFLOAT and use it.
8764 (readFloat): modify call to floatlist_
8768 * FloatList.[Ch] (FloatList): remove commented out float
8770 (erase): new function
8772 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8774 * MenuBackend.C (expandToc): fix crash when there is no document
8777 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8779 * many files: Add insetwrap.
8781 2002-09-09 John Levon <levon@movementarian.org>
8783 * text2.C: remove confusing and awkward depth wraparound
8785 2002-09-09 John Levon <levon@movementarian.org>
8787 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8790 * buffer.C: remove getIncludeonlyList()
8793 * lyxfunc.C: remove headers
8795 2002-09-09 Juergen Vigna <jug@sad.it>
8797 * text.C (getColumnNearX): fix form Michael this is most
8798 probably a cut&paste bug.
8800 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8802 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8804 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8805 references, ws changes.
8807 * text2.C (init): update counters after init
8808 (insertParagraph): no need to set counter on idividual paragraphs.
8809 (setCounter): access the counters object in the textclass object
8810 on in the buffer object.
8811 (updateCounters): ditto
8813 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8814 shared_ptr<Counters> to avoid loading counters.h in all
8816 (LyXTextClass): initialize ctrs_
8817 (TextClassTags): add TC_COUNTER, and ...
8818 (Read): use it here.
8819 (CounterTags): new tags
8820 (readCounter): new function
8821 (counters): new funtion
8822 (defaultLayoutName): return a const reference
8824 * counters.C (Counters): remove contructor
8825 (newCounter): remove a couple of unneeded statements.
8826 (newCounter): simplify a bit.
8827 (numberLabel): some small formatting changes.
8829 * buffer.[Ch]: remove all traces of counters, move the Counters
8830 object to the LyXTextClass.
8832 2002-09-06 Alain Castera <castera@in2p3.fr>
8834 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8835 package to set the horizontal alignment on fixed width columns.
8838 * lyx_sty.h: added tabularnewline macro def.
8840 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8842 2002-09-06 John Levon <levon@movementarian.org>
8844 * LyXAction.C: tooltips for sub/superscript
8846 * MenuBackend.C: a bit more verbose
8848 * lyxfunc.C: tiny clean
8850 * undo_funcs.C: document undo_frozen
8852 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8854 * counters.C (Counters): add missing algorithm counter.
8856 * text2.C (setCounter): lookup the counter with layouts latexname
8857 instead of by section number.
8858 (setCounter): use a hackish way to lookup the correct enum
8860 a float name->type change
8861 reset enum couners with counter name directly instead of depth value.
8863 * counters.C (Counters): remove the push_backs, change to use the
8864 float type not the float name.
8865 (labelItem): remove unused string, float name->type change
8867 * counters.h: don't include vector, loose the enums and sects vectors
8869 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8871 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8872 (Read): add float->TC_FLOAT to textclassTags
8873 (Read): and handle it in the switch
8874 (readFloat): new function
8876 * FloatList.C (FloatList): comment out the hardcoded float
8879 * lyxlayout.h: ws change.
8881 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8883 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8885 2002-09-03 Angus Leeming <leeming@lyx.org>
8887 * BufferView_pimpl.h: qualified name is not allowed in member
8888 declaration: WorkArea & Pimpl::workarea() const;
8890 * factory.C: added using std::endl directive.
8892 * text3.C: added using std::find and std::vector directives.
8894 2002-08-29 André Pönitz <poenitz@gmx.net>
8897 * text2.C: remove unused member number_of_rows
8900 * BufferView2.C: remove file, move contents to...
8901 * BufferView.C: ... here
8903 * BufferView_pimpl.C:
8904 * factory.C: move more inset creation to factory
8906 * vspace.C: avoid direct usage of LyXText, ws changes
8909 don't provide direct access to WorkArea, use two simple
8910 acessors haveSelction() and workHeight() instead
8913 2002-08-29 John Levon <levon@movementarian.org>
8915 * BufferView_pimpl.C (dispatch): do not continue when
8918 2002-08-28 André Pönitz <poenitz@gmx.net>
8920 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8923 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8925 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8927 * buffer.C: increment LYX_FORMAT to 221
8929 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8930 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8932 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8934 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8936 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8938 * factory.C (createInset): use LyXTextClass::floats
8940 * MenuBackend.C (expandFloatListInsert):
8941 (expandFloatInsert):
8944 * text2.C (setCounter):
8946 * LaTeXFeatures.C (useFloat):
8947 (getFloatDefinitions):
8949 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8951 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8952 floatlist_, with accessor floats().
8954 * FloatList.h: remove global FloatList
8956 2002-08-26 André Pönitz <poenitz@gmx.net>
8958 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8962 * BufferView_pimpl.C:
8963 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8965 2002-08-25 John Levon <levon@movementarian.org>
8967 * LyXAction.C: fix margin note description
8969 2002-08-24 John Levon <levon@movementarian.org>
8973 * bufferview_funcs.C:
8975 * undo_funcs.C: cleanups
8977 * lyxfunc.C: disable CUT/COPY when no selection
8979 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8981 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8982 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8984 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8985 Add backward compatibility to "mono", "gray" and "no".
8987 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8989 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8990 (and file_format >= 200).
8992 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8994 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8996 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8998 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
9000 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
9002 * BufferView_pimpl.C:
9009 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
9010 inset and code to make it work with the paragraph code. The inset
9011 can be anywhere in the paragraph, but will only do the expected
9012 thing in LaTeX if the layout file contains the parameter line
9014 (or more generally, a nonzero value) for that layout.
9016 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
9018 * paragraph.h: remove the declaration of undefined counters class
9021 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
9023 * text2.C (setCounter): fixed enumeration mis-count as reported by
9024 Dr. Richard Hawkins.
9026 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9028 * paragraph_funcs.h: remove some unneeded includes
9030 * text.C (backspace): pasteParagraph now in global scipe
9032 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9033 (pasteSelection): ditto
9035 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9036 * paragraph_funcs.C (pasteParagraph): ... here
9038 2002-08-20 André Pönitz <poenitz@gmx.net>
9040 * commandtags.h: new LFUNs for swapping/copying table row/colums
9043 * lyxfunc.C: support for new lfuns
9045 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9048 * buffer.[Ch]: remove NO_COMPABILITY stuff
9050 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9052 * boost.C (throw_exception): new file, with helper function for
9053 boost compiled without exceptions.
9058 * ParameterStruct.h:
9059 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9061 * bufferlist.C (emergencyWriteAll): use boost bind
9063 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9065 * text.C: include paragraph_funcs.h
9066 (breakParagraph): breakParagraph is now in global scope
9068 * paragraph_funcs.[Ch]: new files
9070 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9073 * buffer.C: include paragraph_funcs.h
9074 (insertStringAsLines): breakParagraph is now in global scope
9076 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9079 * CutAndPaste.C: include paragraph_funcs.h
9080 (cutSelection): breakParagraphConservative is now in global scope
9081 (pasteSelection): ditto
9083 * buffer.h: declare oprator== and operator!= for
9084 Buffer::inset_iterator
9086 * bufferlist.C (emergencyWrite): don't use fmt(...)
9088 * text3.C: add using std::endl
9090 * BufferView.C (moveCursorUpdate): remove default arg
9092 2002-08-20 André Pönitz <poenitz@gmx.net>
9094 * buffer.[Ch]: move inline functions to .C
9097 * BufferView_pimpl.C:
9099 * buffer.[Ch]: use improved inset_iterator
9102 * paragraph.[Ch]: write one paragraph at a time
9104 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9106 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9107 style if style is not specified.
9109 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9111 * text2.C (setCounter): when searching for right label for a
9112 caption, make sure to recurse to parent insets (so that a caption
9113 in a minipage in a figure float works) (bug #568)
9115 2002-08-20 André Pönitz <poenitz@gmx.net>
9117 * text3.C: new file for LyXText::dispatch() and helpers
9119 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9121 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9123 2002-08-19 André Pönitz <poenitz@gmx.net>
9126 * text.C: new LyXText::dispatch()
9128 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9130 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9132 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9134 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9137 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9139 * Makefile.am: use $(variables) instead of @substitutions@
9141 2002-08-15 André Pönitz <poenitz@gmx.net>
9144 * BufferView_pimpl.C: streamlining mathed <-> outer world
9148 * LyXAction.C: remove unused LFUN_MATH
9150 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9152 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9154 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9156 * paragraph.C (Paragraph): reformat a bit
9157 (cutIntoMinibuffer): use builtin InsetList function instad of
9161 * buffer.C: include boost/bind.hpp, add using std::for_each
9162 (writeFileAscii): use ParagraphList iterators
9163 (validate): use for_each for validate traversal of paragraphs
9164 (getBibkeyList): use ParagraphList iterators
9165 (resizeInsets): use for_each to resizeInsetsLyXText for all
9167 (getParFromID): use ParagraphList iterators
9169 * BufferView2.C (lockInset): use paragraph list and iterators
9171 2002-08-14 John Levon <levon@movementarian.org>
9173 * lyxserver.C: remove spurious xforms include
9175 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9177 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9179 2002-08-13 André Pönitz <poenitz@gmx.net>
9182 * lyxfunc.C: further cleaning
9184 2002-08-13 André Pönitz <poenitz@gmx.net>
9186 * funcrequest.h: new constructor
9188 * funcrequest.C: move stuff here from .h
9191 * BufferView_pimpl.C:
9194 * lyxfunc.C: subsequent changes
9196 * lyxfunc.h: new view() member function
9198 * lyxfunc.C: subsequent changes
9200 2002-08-13 Angus Leeming <leeming@lyx.org>
9203 * BufferView_pimpl.C:
9211 changes due to the changed LyXView interface that now returns references
9212 to member variables not pointers.
9214 2002-08-13 Angus Leeming <leeming@lyx.org>
9216 * WordLangTuple (word, lang_code): return references to strings,
9221 * lyxtext.h: forward-declare WordLangTuple.
9226 * text.C: #include "WordLangTuple.h".
9229 * text.C: (selectNextWordToSpellcheck): constify return type.
9231 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9237 * paragraph_pimpl.h:
9240 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9242 Made updateCounter always count from start of buffer, and removed
9243 second argument (par).
9244 Reverted floats number display to '#'. Perhaps I'll try again when the
9245 code base is sanitized a bit.
9247 2002-08-12 Angus Leeming <leeming@lyx.org>
9249 * buffer.[Ch] (getLabelList): constify.
9251 2002-08-07 André Pönitz <poenitz@gmx.net>
9253 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9255 * funcrequest.h: extension to keep mouse (x,y) position
9257 2002-08-12 Juergen Vigna <jug@sad.it>
9259 * BufferView2.C (insertErrors): forbid undo when inserting error
9262 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9264 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9266 * ParagraphList.[Ch]: new files
9268 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9270 * BufferView2.C (lockInset): ParagraphList changes
9273 * bufferlist.C: ditto
9277 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9279 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9280 unused class variable counter_,
9282 * paragraph.[Ch] (getFirstCounter): delete unused function
9284 * counters.C: include LAssert.h
9285 (reset): add a new function with no arg, change other version to
9286 not have def. arg and to not allow empty arg.
9288 * text2.C (setCounter): remove empty arg from call to Counters::reset
9290 2002-08-11 John Levon <levon@movementarian.org>
9292 * Makefile.am: add WordLangTuple.h
9294 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9296 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9297 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9299 * insets/insettext.C: InsetList changes
9301 * graphics/GraphicsSupport.C (operator()): InsetList changes
9303 * toc.C (getTocList): InsetList changes
9305 * paragraph_pimpl.[Ch]: InsetList changes
9307 * paragraph.[Ch]: InsetList changes
9309 * buffer.C (inset_iterator): InsetList changes
9310 (setParagraph): ditto
9311 * buffer.h (inset_iterator): ditto
9312 * iterators.C (operator++): ditto
9313 * iterators.h: ditto
9315 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9317 * InsetList.[Ch]: new files, most InsetList handling moved out of
9320 * BufferView2.C (removeAutoInsets): InsetList changes
9322 (ChangeInsets): ditto
9324 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9326 * paragraph_pimpl.h (empty): new function
9328 * paragraph.[Ch] (empty): new function
9330 * other files: use the new Paragraph::empty function
9332 2002-08-09 John Levon <levon@movementarian.org>
9334 * lyxtext.h: remove unused refresh_height
9336 2002-08-09 John Levon <levon@movementarian.org>
9343 * paragraph.C: move sgml char escaping out of paragraph
9346 * paragraph.C: remove id setter
9350 * paragraph_pimpl.C: remove dead tex_code_break_column
9352 * bufferview_funcs.C: small cleanup
9354 * lyxfunc.C: remove dead proto
9356 * lyxtext.h: make some stuff private. Remove some dead stuff.
9358 * lyxgluelength.C: make as[LyX]String() readable
9360 2002-08-08 John Levon <levon@movementarian.org>
9365 * ToolbarDefaults.C:
9368 * toc.C: lyxaction cleanup
9370 2002-08-08 John Levon <levon@movementarian.org>
9372 * BufferView2.C: small cleanup
9375 * lyxfind.C: move unnecessary header into the .C
9377 2002-08-08 John Levon <levon@movementarian.org>
9379 * funcrequest.h: just tedious nonsense
9382 * lyx_main.C: cleanups
9385 * vspace.C: remove dead header lyx_main.h
9387 2002-08-07 Angus Leeming <leeming@lyx.org>
9390 * paragraph_pimpl.h:
9391 Forward declare class Counters in paragraph.h by moving the ctrs member
9392 variable into Paragraph::Pimpl.
9393 (counters): new method, returning a reference to pimpl_->ctrs.
9395 * text2.C: ensuing changes.
9397 2002-08-07 John Levon <levon@movementarian.org>
9399 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9401 * BufferView_pimpl.C: announce X selection on double/triple
9404 * lyx_main.C: use correct bool in batch dispatch
9406 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9408 2002-08-07 André Pönitz <poenitz@gmx.net>
9410 * funcrequest.h: new class to wrap a kb_action and its argument
9413 * BufferView_pimpl[Ch]:
9417 * lyxrc.C: subsequent changes
9420 2002-08-07 John Levon <levon@movementarian.org>
9422 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9423 document options change.
9425 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9430 * makefile.am: move counters functionality over from
9431 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9433 2002-08-06 John Levon <levon@movementarian.org>
9435 * WordLangTuple.h: new file for word + language code tuple
9446 * BufferView2.C: use WordLangTuple
9449 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9451 2002-08-06 John Levon <levon@movementarian.org>
9453 * lyx_main.C: fix cmdline batch handling
9455 2002-08-06 André Pönitz <poenitz@gmx.net>
9457 * lyxrc.C: set default for show_banner to true
9459 2002-08-06 John Levon <levon@movementarian.org>
9461 * pspell.C: fix a crash, and allow new aspell to work
9463 2002-08-06 John Levon <levon@movementarian.org>
9466 * kbmap.C: small cleanup
9469 * vspace.C: add const
9471 2002-08-05 John Levon <levon@movementarian.org>
9473 * LyXAction.C: back to tabular-insert
9475 2002-08-04 John Levon <levon@movementarian.org>
9478 * BufferView.C: cosmetic change
9480 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9490 * BufferView2.C: purge all "Lyx" not "LyX" strings
9493 * lyxcursor.C: attempt to add some documentation
9498 * ToolbarDefaults.C:
9499 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9500 merge with LFUN_TABULAR_INSERT
9507 * pspell.C: split up i/pspell implementations into separate
9508 files, many cleanups
9510 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9512 * text2.C: some cleanup
9514 * lyxfunc.C: don't check for isp_command == "none" any more, it
9515 didn't make any sense
9517 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9522 * makefile.am: move counters functionality over
9523 from text2.C/paragraph.[Ch] to counters.[Ch], and
9525 2002-08-02 John Levon <levon@movementarian.org>
9527 * buffer.C: s/lyxconvert/lyx2lyx/
9529 2002-08-02 Angus Leeming <leeming@lyx.org>
9531 * lyxlex.C: revert John's change as it breaks reading of the user
9534 2002-08-02 Angus Leeming <leeming@lyx.org>
9536 * importer.C (Import):
9537 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9538 changes due to LyXView::view() now returning a boost::shared_ptr.
9540 2002-08-02 John Levon <levon@movementarian.org>
9542 * lyxlex.C: small cleanup
9544 2002-08-02 John Levon <levon@movementarian.org>
9546 * text2.C (status): small cleanup, no logic change
9548 2002-08-01 John Levon <levon@movementarian.org>
9551 * buffer.C (writeFile): don't output alerts, caller
9555 * lyx_cb.C: from above
9557 * lyxfunc.C: allow to open non-existent files
9559 2002-07-31 John Levon <levon@movementarian.org>
9561 * lyxserver.C: don't let incidental errors get
9564 2002-07-30 John Levon <levon@movementarian.org>
9566 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9568 2002-07-30 John Levon <levon@movementarian.org>
9571 * lyxserver.C: remove I/O callback too
9573 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9575 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9578 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9580 * many files: strip,frontStrip -> trim,ltrim,rtrim
9582 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9584 * PrinterParams.h: remove extern containsOnly, and include
9585 support/lstrings.h instead.
9587 * LaTeX.C (scanAuxFile): modify because of strip changes
9589 * buffer.C (makeLaTeXFile): ditto
9590 * bufferparams.C (writeFile): ditt
9591 * lyxfont.C (stateText): ditto
9592 * lyxserver.C (read_ready): ditto
9593 * vc-backend.C (scanMaster): ditto
9595 * BufferView_pimpl.h: ws changes
9597 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9599 2002-07-26 André Pönitz <poenitz@gmx.net>
9601 * kb_sequence.C: remove unnedred usings
9603 2002-07-26 Juergen Vigna <jug@sad.it>
9605 * lyxfind.C (LyXReplace): we have to check better if the returned
9606 text is not of theLockingInset()->getLockingInset().
9608 2002-07-25 Juergen Vigna <jug@sad.it>
9610 * lyxfind.C (LyXReplace): don't replace if we don't get the
9613 * undo_funcs.C (createUndo): remove debugging code.
9615 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9617 * buffer.C (parseSingleLyXformat2Token): Use default placement
9618 when reading old floats.
9620 * FloatList.C (FloatList): Change the default placement of figure
9621 and tables to "tbp".
9623 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9625 * MenuBackend.C: using std::max
9627 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9629 * MenuBackend.C (expandToc):
9630 (expandToc2): code moved from xforms menu frontend. It is now
9631 generic and TOCs are transparent to menu frontends.
9633 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9635 * toc.C (getTocList): protect against buf=0
9637 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9638 Menu as first parameter. Now, this calls itself recursively to
9639 expand a whole tree (this will be useful for TOC handling)
9640 (expandFloatInsert): remove 'wide' version of floats
9642 * MenuBackend.h (submenuname): returns the name of the submenu.
9643 (submenu): returns the submenu itself, provided it has been
9644 created by MenuBackend::expand
9646 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9648 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9649 insets which have noFontChange == true. (bug #172)
9651 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9653 * BufferView_pimpl.C: add connection objects and use them...
9656 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9658 * MenuBackend.C (expandLastfiles):
9661 (expandFloatListInsert):
9662 (expandFloatInsert):
9663 (expand): split expand in parts
9665 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9667 * lyx_gui.C: use lyx_gui::exit()
9669 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9671 * LyXAction.C: show the failing pseudo action
9673 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9675 * buffer.C (readFile): Run the lyxconvert script in order to read
9678 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9682 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9684 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9688 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9690 2002-07-22 Herbert Voss <voss@lyx.org>
9693 * lyxlength.[Ch]: add support for the vertical lengths
9695 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9697 * toc.[Ch]: std:: fixes
9699 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9701 * lyxrc.C: do not include lyx_main.h
9703 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9709 * BufferView2.C: include "lyxlex.h"
9712 * bufferparams.h: do not #include "lyxlex.h"
9714 * lyxtextclasslist.C (Add): remove method
9715 (classlist): renamed to classlist_
9717 * paragraph_pimpl.C:
9721 * bufferview_funcs.C:
9726 * toc.C (getTocList): use BufferParams::getLyXTextClass
9728 * toc.C (getTocList): use InsetFloat::addToToc
9730 * toc.[Ch]: new files, containing helper functions to handle table
9733 * lyxfunc.C (dispatch): no need to remove spaces around command
9735 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9736 first command of the sequence; it is not very clever, but I do not
9737 have a better idea, actually
9739 * LyXAction.C (LookupFunc): make sure to remove space at the
9740 beginning and end of the command
9742 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9744 * MenuBackend.C (getMenubar): new method: return the menubar of
9746 (read): treat differently reading of menu and menubar (in
9747 particular, the menubar has no name now)
9748 (Menu::menubar): remove
9750 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9753 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9755 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9756 a bibitem inset in a RTL paragraph.
9758 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9760 * paragraph_pimpl.C: constify
9762 * BufferView_pimpl.C:
9764 * lyxfunc.C: fix dispatch in a nicer way
9766 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9768 * lyxfunc.C (dispatch):
9769 * BufferView_pimpl.C:
9770 * BufferView_pimpl.h:
9772 * BufferView.h: rename Dispatch() to dispatch()
9774 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9776 * lyxlayout.C (Read): honor DependsOn tag
9778 * lyxlayout.[Ch] (depends_on): new method
9780 * version.C.in: update lyx_docversion
9782 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9784 * paragraph.C (validate): remove from here...
9785 * paragraph_pimpl.C (validate): ... and move here
9786 (isTextAt): make it const
9788 * buffer.C (getLists): ws cleanup
9790 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9792 * language.C (read): Use iso8859-1 encoding in latex_lang
9793 (this prevents LyX from crashing when using iso10646-1 encoding).
9795 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9797 * text2.C (toggleInset): if cursor is inside an inset, close the
9798 inset and leave cursor _after_ it
9800 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9802 * lyxfunc.C: move minibuffer completion handling out of here
9804 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9806 * BufferView_pimpl.C:
9807 * LaTeX.C: fix dispatch calls
9809 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9811 * text.C (drawChars): Fix Arabic text rendering.
9813 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9817 * lyxfunc.C: remove message-push/pop
9821 * lyxfunc.C: rationalise some code by removing verboseDispatch
9822 in favour of a bool argument to dispatch()
9824 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9826 * lyx_main.C (init): make sure to read symlinks as absolute paths
9828 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9831 * lyxfunc.C: no need for commandshortcut to be a member
9833 2002-07-15 André Pönitz <poenitz@gmx.net>
9835 * converter.C: add support for $$s (scripts from lib/scripts dir)
9836 * lyx_main.C: white space
9838 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9842 * lyxrc.C: remove second exit confirmation
9844 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9849 * BufferView_pimpl.h:
9850 * BufferView_pimpl.C:
9851 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9853 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9855 * MenuBackend.C (expand): add numeric shortcuts to document menu
9857 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9859 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9861 * lyxfont.C (setLyXFamily):
9868 * buffer.C (asciiParagraph): use ascii_lowercase
9870 2002-07-15 Mike Fabian <mfabian@suse.de>
9872 * lyxlex_pimpl.C (search_kw):
9873 * lyxlex.C (getLongString):
9874 * converter.h (operator<):
9875 * converter.C (operator<):
9876 * buffer.C (parseSingleLyXformat2Token):
9878 * ToolbarDefaults.C (read):
9879 * MenuBackend.C (checkShortcuts):
9881 * LColor.C (getFromGUIName):
9882 (getFromLyXName): use the compare_ascii_no_case instead of
9883 compare_no_case, because in turkish, 'i' is not the lowercase
9884 version of 'I', and thus turkish locale breaks parsing of tags.
9886 2002-07-16 Angus Leeming <leeming@lyx.org>
9888 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9889 now takes a Buffer const & argument.
9891 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9893 * BufferView.C (resize): check there's a buffer to resize
9895 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9897 * lyxfunc.C: remove dead code
9900 * lyxserver.C: use lyx_guii::set_read_callback
9902 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9904 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9905 an inset in a RTL paragraph.
9907 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9909 * lyxfunc.C: repaint after a font size update
9911 2002-07-15 André Pönitz <poenitz@gmx.net>
9913 * lyxlength.C: inBP should be able to return negative values
9915 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9917 * lyxfunc.C: use lyx_gui::update_fonts()
9919 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9921 * lyxfunc.C: use lyx_gui::update_color()
9923 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9929 * lyxrc.C: remove file->new asks for name option, and let
9930 buffer-new take an argument
9932 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9934 * BufferView_pimpl.C: remove unneeded extra repaint()
9936 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9938 * LyXAction.C: allow command-sequence with NoBuffer
9940 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9942 2002-07-10 Angus Leeming <leeming@lyx.org>
9944 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9946 2002-07-09 Angus Leeming <leeming@lyx.org>
9948 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9950 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9952 * lengthcommon.h: whitespace
9954 * lyxfunc.C: update scrollbar after goto paragraph
9956 * lyxtext.h: factor out page break drawing, and fix it so
9957 page break/added space paints as selected nicely
9959 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9961 * BufferView_pimpl.C: add FIXMEs, clean up a little
9963 2002-07-09 André Pönitz <poenitz@gmx.net>
9965 * lyxfont.[Ch]: support for wasy symbols
9967 2002-07-08 André Pönitz <poenitz@gmx.net>
9969 * BufferView_pimpl.C: apply John's patch for #93.
9971 2002-07-05 Angus Leeming <leeming@lyx.org>
9973 * BufferView_pimpl.C (buffer): generate previews if desired.
9975 * LColor.h: add "preview" to the color enum.
9977 * LColor.C (LColor): add a corresponding entry to the items array.
9979 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9982 2002-07-05 Angus Leeming <leeming@lyx.org>
9984 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9985 The body of the code is now in the method that is passed an ostream &
9986 rather than a file name.
9987 Pass an additional only_preamble parameter, useful for the forthcoming
9990 2002-07-03 André Pönitz <poenitz@gmx.net>
9992 * lyxfunc.C: simplify getStatus() a bit for math stuff
9994 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9996 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9998 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10000 * text.C (changeRegionCase): do not change case of all the
10001 document when region ends at paragraph end (bug #461)
10003 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10005 * paragraph.C (startTeXParParams):
10006 (endTeXParParams): add \protect when necessary
10008 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10010 * BufferView_pimpl.C (workAreaExpose): remove warning
10012 2002-06-27 Angus Leeming <leeming@lyx.org>
10014 * Makefile.am: add lyxlayout_ptr_fwd.h.
10016 2002-06-26 André Pönitz <poenitz@gmx.net>
10018 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
10020 2002-06-25 Angus Leeming <leeming@lyx.org>
10022 * lyxfunc.C (dispatch): Comment out the call to
10023 grfx::GCache::changeDisplay. The method no longer exists now that the
10024 pixmap generation part of the graphics loader has been moved into
10027 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10029 * text2.C: layout as layout
10031 * text.C: layout as layout
10033 * tabular.C (OldFormatRead): layout as layout
10035 * paragraph_pimpl.C (TeXDeeper): layout as layout
10036 (realizeFont): layout as layout
10038 * paragraph.C (writeFile): layout as layout
10039 (validate): layout as layout
10040 (getFont): layout as layout
10041 (getLabelFont): layout as layout
10042 (getLayoutFont): layout as layout
10043 (breakParagraph): layout as layout
10044 (stripLeadingSpaces): layout as layout
10045 (getEndLabel): layout as layout
10046 (getMaxDepthAfter): layout as layout
10047 (applyLayout): layout as layout
10048 (TeXOnePar): layout as layout
10049 (simpleTeXOnePar): layout as layout
10050 (TeXEnvironment): layout as layout
10051 (layout): layout as layout
10052 (layout): layout as layout
10054 * lyxtextclass.C (compare_name): new functor to work with
10055 shared_ptr, layout as layout
10056 (Read): layout as layout
10057 (hasLayout): layout as layout
10058 (operator): layout as layout
10059 (delete_layout): layout as layout
10060 (defaultLayout): layout as layout
10062 * lyxlayout_ptr_fwd.h: new file
10064 * lyxlayout.C (Read): layout as layout
10066 * lyx_cb.C (MenuInsertLabel): layout as layout
10068 * bufferlist.C (newFile): layout as layout
10070 * buffer.C (readLyXformat2): layout as layout
10071 (parseSingleLyXformat2Token): layout as layout
10072 (insertStringAsLines): layout as layout
10073 (asciiParagraph): layout as layout
10074 (latexParagraphs): layout as layout
10075 (makeLinuxDocFile): layout as layout
10076 (simpleLinuxDocOnePar): layout as layout
10077 (makeDocBookFile): layout as layout
10078 (simpleDocBookOnePar): layout as layout
10079 (getLists): layout as layout
10081 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10083 * CutAndPaste.C (cutSelection): layout as layout
10084 (pasteSelection): layout as layout
10085 (SwitchLayoutsBetweenClasses): layout as layout
10087 * BufferView_pimpl.C (Dispatch): layout as layout
10088 (smartQuote): layout as layout
10090 * BufferView2.C (unlockInset): layout as layout
10092 2002-06-24 André Pönitz <poenitz@gmx.net>
10094 * lyxfunc.C: fix #487
10096 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10100 * lyxfunc.C: remove display_shortcuts, show_banner
10102 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10104 * Buffer_pimpl.C: oops, update on resize
10106 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10113 * BufferView.C: use repaint()
10115 * BufferView_pimpl.h:
10116 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10117 as it's a clearer description. Remove superfluous
10120 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10122 * text.C: fix bug 488. Not ideal, but getting
10123 getWord() to work properly for the insets that
10124 matter is more difficult ...
10126 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10128 * BufferView_pimpl.C:
10131 * lyxfunc.C: remove the six million index lyxfuncs to just
10132 one, and DTRT (bug 458)
10134 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10138 * BufferView_pimpl.h:
10139 * BufferView_pimpl.C: clean up resize() stuff,
10140 and unnecessary updateScreen()s
10142 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10146 * BufferView_pimpl.h:
10147 * BufferView_pimpl.C:
10150 * minibuffer.C: remove focus management of workarea,
10151 not needed. Use screen's greyOut()
10153 2002-06-17 Herbert Voss <voss@lyx.org>
10155 * converter.C: (convert) do not post a message, when converting
10156 fails, let the calling function decide what to do in this case
10158 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10160 * lyxfunc.C: tidy up a little
10162 2002-06-16 <alstrup@diku.dk>
10164 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10165 Got rid of FORMS_H_LOCATION include. Now we are
10168 2002-06-15 LyX Development team <lyx@rilke>
10170 * buffer.[Ch] (sgmlOpenTag):
10171 (sgmlCloseTag): Added support for avoiding pernicious mixed
10172 content. Return number of lines written.
10174 (makeLinuxDocFile):
10175 (makeDocBookFile): Fixed calls to sgml*Tag.
10176 Simple white space clean.
10178 (simpleDocBookOnePar): Simple white space clean.
10180 * tabular.[Ch] (docBook): Renamed to docbook and got another
10181 argument to related with the pernicious mixed content.
10183 (docbookRow): Fixed calls for docbook inset method.
10185 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10187 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10188 so it's X11 independent.
10192 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10194 2002-06-15 Lyx Development team <lyx@electronia>
10196 * intl.h: Renamed getTrans to getTransManager.
10198 2002-06-14 Angus Leeming <leeming@lyx.org>
10200 * Makefile.am: nuke forgotten stl_string_fwd.h.
10202 2002-06-12 Angus Leeming <leeming@lyx.org>
10204 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10206 2002-06-13 Angus Leeming <leeming@lyx.org>
10209 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10211 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10213 * kbmap.C (getiso): add support for cyrillic and greek
10215 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10219 * BufferView_pimpl.h:
10220 * BufferView_pimpl.C: move bogus scrolling logic
10223 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10226 * BufferView_pimpl.C: view->resize() change
10228 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10230 * BufferView_pimpl.C: topCursorVisible
10233 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10237 * lyx_gui.C: move to frontends/
10241 * lyx_main.C: changes from above
10243 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10250 * lyx_main.C: minor tidy
10252 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10254 * BufferView_pimpl.h:
10255 * BufferView_pimpl.C:
10257 * BufferView.C: make painter() const,
10260 * BufferView2.C: use screen() accessor
10263 * lyx_main.C: some minor cleanup
10265 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10267 * BufferView_pimpl.h:
10268 * BufferView_pimpl.C: remove enter/leaveView,
10271 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10276 * BufferView_pimpl.h:
10277 * BufferView_pimpl.C: only construct screen once,
10280 * lyxrc.C: remove pointless comment
10282 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10285 * BufferView.C: remove active() and belowMouse()
10287 * BufferView_pimpl.h:
10288 * BufferView_pimpl.C: use workarea() not workarea_,
10289 and make it use a scoped_ptr instead
10291 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10293 * lyx_gui.C: add debug message on BadWindow
10295 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10297 * sp_spell.C: fdopen is not part of the C++ standard.
10299 * paragraph.C (InsetIterator): use >= instead of ==
10301 2002-06-07 Angus Leeming <leeming@lyx.org>
10303 Fixes needed to compile with Compaq cxx 6.5.
10304 * BufferView_pimpl.C:
10311 * lyxtextclasslist.C:
10316 all c-library variables have been moved into namespace std. Wrap
10317 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10322 Add a using std::abs declaration.
10324 * kbmap.h (modifier_pair):
10325 * paragraph.h (InsetTable, InsetList):
10326 * lyxfont.h (FontBits):
10327 type definition made public.
10329 * bufferlist.C (emergencyWriteAll): the compiler complains that
10330 there is more than one possible lyx::class_fun template to choose from.
10331 I re-named the void specialisation as lyx::void_class_fun.
10333 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10335 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10336 the compiler is is unable to find tostr in write_attribute.
10338 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10340 * buffer.C (sgmlError): hide #warning
10342 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10344 * xtl/*: get rid of xtl, which is not in use anyway
10346 * LyXAction.C (init):
10347 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10348 were unimplemented xtl experimentation
10350 2002-06-04 André Pönitz <poenitz@gmx.net>
10352 * lyxfunc.C: disable array operation on simple formulae
10354 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10356 * converter.C: constify a bit
10358 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10360 * lyx_gui.C: check xforms version correctly
10362 2002-04-30 Herbert Voss <voss@lyx.org>
10364 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10367 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10369 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10370 attempt to register it with a VCS)
10372 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10374 * lyx_main.C (init): honor variables LYX_DIR_13x and
10377 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10381 * lyx_main.C: fix a crash on bad command line,
10382 and give a useful exit status on error
10384 * lyxfunc.C (doImport): allow -i lyx to work
10386 2002-03-30 André Pönitz <poenitz@gmx.net>
10388 * lyxfunc.C: mathed font changes
10390 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10405 * trans_mgr.h: srcdocs, and some minor cleanups
10407 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10409 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10410 call getFont all the time)
10412 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10414 * switch from SigC signals to boost::signals
10416 2002-05-29 André Pönitz <poenitz@gmx.net>
10418 * paragraph_pimpl.C (getChar): don't call size() too often...
10420 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10422 * paragraph_pimpl.C (insertChar): do not try to update tables when
10423 appending (pos == size())
10425 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10426 in order to reduce drastically the number of comparisons needed to
10427 parse a large document
10429 2002-05-29 André Pönitz <poenitz@gmx.net>
10435 * textclasslist.[Ch]:
10436 * sp_ispell.h: whitespace change
10438 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10440 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10441 lyxaction directly now.
10443 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10447 * lyxvc.C: remove unused headers
10449 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10456 * undo_funcs.C: some cleanups. Use shared_ptr
10457 and a template for the undo stacks.
10459 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10461 * BufferView_pimpl.h:
10462 * BufferView_pimpl.C:
10469 * text2.C: use key_state/mouse_state
10471 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10473 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10476 * chset.C: change include order
10477 (loadFile): use boost regex and get rid of LRegex and LSubstring
10479 * Makefile.am (BOOST_LIBS): new variable
10480 (lyx_LDADD): use it
10482 * LaTeX.C: change include order.
10483 (scanAuxFile): use boost regex and get rid of LRegex and
10487 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10492 * FontInfo.C: moved to frontends/xforms/
10495 * FontLoader.C: moved into frontends for GUIIzation
10500 * lyxfunc.C: changes from above
10502 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10504 * LColor.C: remove spurious X include
10506 * BufferView_pimpl.C:
10511 * text2.C: move font metrics to frontends/
10513 2002-05-24 Juergen Vigna <jug@sad.it>
10515 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10516 setting the undo_cursor.
10518 * ParagraphParameters.h: include local includes first.
10520 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10522 * BufferView_pimpl.C:
10523 * BufferView_pimpl.h:
10527 * screen.C: move WorkArea into frontends/
10533 * BufferView2.C: move LyXScreen into frontends/
10537 * lyx_gui.C: move lyxlookup into frontends/xforms/
10539 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10542 * BufferView_pimpl.C:
10552 * bufferview_funcs.C:
10565 * vc-backend.C: move LyX/XFormsView into frontends/
10567 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10579 * text2.C: move Painter to frontends/
10581 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10583 * buffer.C: comment out some some code that depend upon lyx_format
10586 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10587 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10589 * buffer.h (NO_COMPABILITY): turn off compability
10591 * ColorHandler.C: include scoped_array.hpp
10593 * font.C: Use more specific smart_ptr header.
10596 * ShareContainer.h: ditto
10597 * lyx_main.h: ditto
10599 * FontInfo.h: ditto
10600 * BufferView_pimpl.h: ditto
10601 * ColorHandler.h: ditto
10603 * kbmap.C (defkey): change call to shared_ptr::reset
10605 2002-05-21 Juergen Vigna <jug@sad.it>
10607 * buffer.C (insertErtContents): fix to insert ert asis if it is
10608 non empty. Skip it completely if it contains only whitespaces.
10610 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10612 * BufferView_pimpl.C:
10613 * BufferView2.C: clear selection on paste (bug 393)
10615 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10617 * DepTable.C: include ctime
10619 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10621 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10623 2002-05-14 Juergen Vigna <jug@sad.it>
10625 * text.C (breakParagraph): fixed function to honor the keepempty
10626 layout in the right maner and also to permit the right breaking
10627 algorithm on empty or non empyt keepempty paragraphs.
10629 * paragraph.C (breakParagraph): we have to check also if the par
10630 is really empty (!size()) for isempty otherwise we do the wrong
10633 2002-05-10 Juergen Vigna <jug@sad.it>
10635 * buffer.[Ch] : The following are only changes to the ert
10636 compatibility read reading old LaTeX layout and font stuff and
10637 convert it to ERTInsets.
10639 * buffer.h: added isErtInset().
10641 * buffer.C (struct ErtComp): add a fromlayout bool to check
10642 if we're inside a LaTeX layout.
10643 (isErtInset): new helper function.
10644 (insertErtContents): look for other ert insets before this one
10645 and insert the contents there, so that we don't have subsequent
10646 ERT insets with nothing between them. This way we create only one
10647 inset with multiple paragraphs. Also check if we don't insert only
10648 spaces ' ' as they are ignored anyway afterwards in the .tex file
10649 so if we have only spaces we will ignore this latex part in the
10651 (parseSingleLyXformat2Token \\layout): better compatibility when
10652 reading layout-latex stuff.
10653 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10655 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10656 stuff after reading the inset only get the information back from
10659 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10661 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10663 * LaTeXFeatures.C (getBabelOptions): New method.
10665 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10667 * BufferView_pimpl.C (Dispatch): work around missing argument for
10670 2002-05-08 Juergen Vigna <jug@sad.it>
10672 * text.C (leftMargin): handle paragraph leftindent.
10674 * paragraph.C (writeFile): write the new \\leftindent tag.
10675 (validate): handle leftindent code.
10676 (TeXEnvironment): handle paragraphleftindent code again.
10678 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10680 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10681 for paragrap_extra indent code and new token \\leftindent.
10682 (latexParagraphs): handle the leftindent as environment.
10684 * ParameterStruct.h: added leftindent support.
10686 * ParagraphParameters.C (leftIndent): added support functions for
10687 the paragraph left indent.
10689 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10692 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10694 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10697 * text.C (computeBidiTables): No bidi in insetERT.
10699 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10702 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10704 * version.C.in: pre 5
10706 2002-05-02 José Matos <jamatos@fep.up.pt>
10707 * buffer.C (makeDocBookFile): white space changes, add newline to
10709 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10711 * tabular.C (docBook): fix typo.
10713 2002-05-03 Juergen Vigna <jug@sad.it>
10715 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10716 change in LyXText as we can not be sure it was not freed.
10717 (drawOneRow): remove unused code.
10719 * text.C (drawInset): redo the calculation of the need_break_row as
10720 it could have a row which was already freed.
10721 (draw): look at the return value of drawInset and return false if
10722 it also returned false.
10723 (paintRowText): look at the return value of draw and return false if
10724 it also returned false.
10726 * lyxtext.h: added bool return type to drawInset() and draw() so that
10727 if we have a change in the row so that the rowbreak has to be redone
10728 we abort drawing as it will be called again.
10730 2002-05-02 Juergen Vigna <jug@sad.it>
10732 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10733 a change in the maintext also if we're inside an inset.
10734 (Dispatch): set the cursor again after a break line and after the
10735 screen has been updated as it could be we're in a different row.
10737 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10738 to set the cursor behind the pargraph with > size().
10739 (setCursor): check also for the same paragraph when checking where
10740 to put the cursor if we have a NFR inset.
10742 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10743 parts of layout read further up as it still was in the wrong
10746 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10748 * screen.C (drawFromTo): change sine fullRebreak always return
10751 * buffer.C (parseSingleLyXformat2Token): reindent some
10753 * BufferView_pimpl.C (update): change since fullRebreak always
10755 (Dispatch): git rid of the last hardcoded "Standard"s.
10757 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10759 * text2.[Ch] (fullRebreak): make it return void now that we always
10762 2002-04-30 Juergen Vigna <jug@sad.it>
10764 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10765 ert compatibility check for "latex" layout.
10767 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10769 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10770 minipages: use col% instead of p%, and also use the current font.
10771 (makeLaTeXFile): Fix use babel condition.
10772 (parseSingleLyXformat2Token): Correct font when reading old floats.
10774 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10776 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10777 inserting list of floats.
10779 2002-04-25 Herbert Voss <voss@lyx.org>
10781 * MenuBackend.C (expand): don't add the graphics extensions to the
10784 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10786 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10787 non-existing layout, do not complain if it was the default layout
10788 of the original class (bug #342)
10790 2002-04-24 Juergen Vigna <jug@sad.it>
10792 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10793 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10795 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10797 * buffer.C (getBibkeyList): If using \bibliography, return the
10798 option field with the reference itself. Enables us to provide natbib
10799 support when using \bibliography.
10801 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10803 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10805 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10806 natbib is provided by the LaTeX class.
10808 2002-04-23 Juergen Vigna <jug@sad.it>
10810 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10813 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10815 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10817 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10819 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10820 ensuremath around textordmasculine, textordfeminine and
10823 2002-04-19 Juergen Vigna <jug@sad.it>
10825 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10826 reinitializing the buffer otherwise row-dimensions may be wrong.
10827 (update): reset also the selection cursors if they do exits otherwise
10828 their x/y positions may be wrong.
10830 * text2.C (cursorDown): don't enter the inset if we came from a row
10831 above and are one row over the inset.
10833 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10834 really leaving an inset.
10836 2002-04-18 Juergen Vigna <jug@sad.it>
10838 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10839 of the selected paragraph does not have the selected layout also if
10842 * text2.C (setLayout): fixed bug which did not change last selected
10845 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10846 changed the read and substituted \\end_float with \\end_inset!
10848 * BufferView_pimpl.C (cursorPrevious):
10849 (cursorNext): fixed to make it work with rows heigher than the work
10850 area without moving the cursor only the draw of the row.
10851 (workAreaMotionNotify): fix jumping over high rows.
10853 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10855 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10858 2002-04-16 Juergen Vigna <jug@sad.it>
10860 * text2.C (setCursor): set also the irow().
10861 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10863 (cursorDown): support for locking an inset if the x_fix value goes
10864 inside it. That way I can transverse insets too with cursor up/down.
10866 * lyxrow.h: added irow helper function same as other (i) functions.
10868 * BufferView_pimpl.C (cursorPrevious):
10869 (cursorNext): fixed for insets!
10871 2002-04-15 Juergen Vigna <jug@sad.it>
10873 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10874 position otherwise it is wrong in some cases.
10876 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10877 inside the inset before the call.
10879 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10881 * buffer.[Ch] (getBibkeyList): make it const.
10883 2002-04-12 Juergen Vigna <jug@sad.it>
10885 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10887 * text2.C (getCursorX): new helper function
10888 (setCursor): compute also ix_
10889 (setCursorFromCoordinates): set also ix.
10891 * lyxcursor.h: added ix_ and helper functions.
10893 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10895 * buffer.C (insertStringAsLines): dont break paragraph if the this
10896 paragraph is inside an inset which does not permit it!
10898 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10899 also with no chars on this paragraph.
10900 (paintRowText): only paint stuff if it's inside the workarea!
10902 * paragraph.C (breakParagraph): honor keepempty flag and break the
10903 paragraph always below not above.
10905 * BufferView2.C (unlockInset): update the paragraph layout on inset
10906 unlock as we changed paragraph in such a case.
10908 * lyxfind.C (LyXFind): clear the former selection if not found!
10910 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10911 again called in insertChar().
10913 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10914 an inset which uses the whole row!
10915 (rightMargin): ditto.
10916 (insertChar): force a rebreak if we inserted an inset!
10918 2002-03-28 Herbert Voss <voss@lyx.org>
10920 * lyxlength.[Ch]: add inBP() to get the right PS-point
10921 units (BigPoint). With inPixels we have rounding errors
10923 2002-04-11 Juergen Vigna <jug@sad.it>
10925 * text2.C (setCursorFromCoordinates): set iy to the right value.
10926 (setCursor): add check if row->previous exists!
10928 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10929 an old float_type as this was the case in the old code!
10931 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10933 * BufferView2.C (showLockedInsetCursor): use iy
10934 (fitLockedInsetCursor): ditto
10936 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10937 locked insets as there we have the right value now.
10939 * lyxcursor.C: added iy_ variable and iy functions to set to the
10940 baseline of cursor-y of the locked inset.
10942 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10943 (setCursor): fixed for insets which need a full row.
10945 * text.C (rowLastPrintable): don't ignore the last space when before
10946 an inset which needs a full row.
10947 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10948 as last character of a row when before a inset which needs a full row.
10950 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10952 * version.C.in: update date
10954 * text2.C (fullRebreak): try to always return true and see what
10957 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10959 * MenuBackend.C (expand): use Floating::listName
10961 * FloatList.C (FloatList): add listName argument to the built-in
10964 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10965 text associated with the float.
10967 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10969 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10971 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10973 * ShareContainer.h: add a couple of missing typenames.
10975 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10977 * lyxrc.C (getDescription): use _() correctly rather than N_().
10979 2002-03-28 Herbert Voss <voss@lyx.org>
10981 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10982 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10984 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10986 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10987 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10989 2002-03-29 Juergen Vigna <jug@sad.it>
10991 * lyxfunc.C (dispatch): add a missing fitCursor call.
10993 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10994 it was scrolled by a cursor move, so return the bool status.
10996 * BufferView.C (fitCursor): return the bool flag also to the outside
10997 world as this is needed.
10999 * screen.C (toggleToggle): don't subtract the offset if it's positive.
11001 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
11002 call the edit() as it is not needed (and wrong) IMO.
11003 (workAreaButtonPress): set the screen_first variable before evt.
11004 unlock the inset as this may change screen_first and then we have
11005 a wrong y position for the click!
11007 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11009 * MenuBackend.C (expand): another translation that I missed
11011 2002-03-28 Juergen Vigna <jug@sad.it>
11013 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
11015 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
11017 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11019 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
11021 * MenuBackend.C (expand): fix export/view/update when there is no
11024 2002-03-27 Herbert Voss <voss@lyx.org>
11026 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11029 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11031 * bufferview_funcs.C (currentState): only show paragraph number
11032 for is DEVEL_VERSION is set.
11034 * lyxfunc.C (dispatch): put warning in INFO channel
11036 * MenuBackend.C (expand): translate the name of floats
11038 * FloatList.C (FloatList): mark the float names for translation
11040 * converter.C (convert): use LibScriptSearch
11042 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11044 * MenuBackend.C (defaults): fix default menu (we might as well get
11047 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11049 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11052 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11054 * lyxvc.C: reorder includes.
11056 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11058 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11061 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11063 * CutAndPaste.C: change layouts earlier on paste
11064 to avoid crashing when calling getFont()
11066 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11068 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11071 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11073 * WorkArea.C: remove 'Pending' debug message.
11075 * most files: ws cleanup
11077 * buffer.[Ch]: ws changes
11079 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11081 2002-03-21 Juergen Vigna <jug@sad.it>
11083 * tabular.C (SetMultiColumn): collapse also the contents of the
11084 cells and set the last border right. Added a Buffer const * param.
11086 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11088 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11091 2002-03-19 Juergen Vigna <jug@sad.it>
11093 * text2.C (clearSelection): reset also xsel_cache.
11095 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11096 where it needs to be called (John tells us to do so too :)
11097 (selectionLost): reset sel_cache.
11099 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11101 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11103 * text2.C (setCursorIntern): put debuging code in INSETS channel
11105 2002-03-19 André Pönitz <poenitz@gmx.net>
11107 * lyxfunc.C: tiny whitespace change
11109 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11111 * ToolbarDefaults.C (init):
11112 * LyXAction.C (init):
11114 * BufferView_pimpl.C (Dispatch):
11115 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11117 2002-03-19 Allan Rae <rae@lyx.org>
11119 * exporter.C (Export): removeAutoInsets before doing anything else.
11120 While I've just introduced a dependency on BufferView this really is
11121 the best place to clean the buffer otherwise you need to cleanup in
11122 a dozen places before calling export or cleanup in a dozen functions
11125 * converter.C (runLaTeX):
11126 (scanLog): Better handling of removeAutoInsets and screen updates.
11128 * lyxfunc.C (dispatch): small whitespace changes
11130 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11132 * WorkArea.C (C_WorkAreaEvent): return a value.
11133 (event_cb): return 1 if we handled the event, 0 otherwise.
11135 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11137 2002-03-18 Juergen Vigna <jug@sad.it>
11139 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11140 (GetAdditionalWidth): ditto.
11141 (RightLine): ditto.
11144 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11145 inset if we're there actually (probably not used right now but this
11146 is the direction to go for unifying code).
11147 (paste): disable code to clear the selection.
11149 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11150 inside an InsetText and move the check further up as it is in the
11153 * text2.C (pasteSelection): set a selection over the pasted text.
11155 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11157 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11158 and libgraphics to build on Cygwin.
11160 2002-03-15 Juergen Vigna <jug@sad.it>
11162 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11163 inserting an Inset into the paragraph. I know this is not the best
11164 fix but we already use current_view in CutAndPaste so we will remove
11165 all of it's using at the same time.
11167 * buffer.C (sgmlError): deactivated function till it is rewritten in
11168 the right mode, now it can create problems.
11170 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11171 before accessing it.
11173 2002-03-14 Juergen Vigna <jug@sad.it>
11175 * undo_funcs.C (textHandleUndo): do the right thing when updating
11176 the inset after the undo/redo.
11178 * text2.C (setCursor): just some testcode for #44 not ready yet.
11180 * undo_funcs.C (textHandleUndo): set the next() and previous()
11181 pointers of the paragraph to 0 before deleting otherwise we have
11182 problems with the Paragraph::[destructor].
11184 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11185 on a paragraph insertion.
11187 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11189 * buffer.C (asciiParagraph): use += operator for char append to
11192 * paragraph.C (getFontSettings): compare >= not just >
11193 (highestFontInRange): ditto
11196 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11198 * paragraph.C: change several algorithm to be more appripriate for
11199 the problem domain. This is lookip in FontList and in the InsetList.
11201 2002-03-13 André Pönitz <poenitz@gmx.net>
11204 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11206 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11211 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11213 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11215 * Painter.C (display): anon helper function, adjust code for this
11217 (pixmap): remove function.
11219 * Painter.h: remove private display variable.
11221 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11223 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11225 * WorkArea.[Ch]: remove figinset_canvas cruft.
11227 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11229 * lyxtextclass.C (operator): add one item cache optimization.
11231 * bufferlist.h: doxy changes
11233 * bufferlist.C: ws changes
11235 * DepTable.[Ch] (ext_exist): place const in the right spot.
11237 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11239 (workAreaExpose): call resizeInsets when the with BufferView changes.
11240 (Dispatch): adjust for protectedBlank removal
11241 (specialChar): call updateInset if the insert went ok.
11243 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11244 specialChar instead.
11246 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11248 * BufferView.h: doxy change
11250 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11252 * lyxtextclass.C (operator[]): remove non-const version
11253 (defaultLayout): remove non-const version
11255 2002-03-12 Juergen Vigna <jug@sad.it>
11257 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11258 did resize the LyXText too.
11260 * buffer.C (readLyXformat2): set layout information on newly allocated
11263 * tabular.C (OldFormatRead): set layout information on the paragraph.
11265 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11267 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11269 2002-03-11 Juergen Vigna <jug@sad.it>
11271 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11273 (resizeCurrentBuffer): force also the insets to resize themselfes.
11274 (moveCursorUpdate): fixed up for InsetText.
11276 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11279 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11280 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11281 value of Dialogs::tooltipsEnabled().
11282 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11284 2002-03-08 Juergen Vigna <jug@sad.it>
11286 * BufferView_pimpl.C (updateInset): update inset inside inset also
11287 if it isn't inside theLockingInset().
11289 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11291 * buffer.C (asciiParagraph): redo some of the word and line length
11293 (getLists): look for Caption instead of caption.
11295 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11297 * buffer.C (Buffer): initialize niceFile to true
11299 (makeLinuxDocFile):
11300 (makeDocBookFile): make sure niceFile is true on exit
11302 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11304 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11306 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11308 * LyXSendto.C: remove.
11309 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11310 * lyx_gui.C: remove now-redundant comment.
11311 * ColorHandler.h: remove forward declaration of class WorkArea.
11312 * lyxfunc.C: remove #include "WorkArea.h".
11314 2002-03-07 Juergen Vigna <jug@sad.it>
11316 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11317 got moved away with the DEPM and also set the inset_owner always
11318 right which before could have been omitted.
11320 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11322 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11323 wanted layout is not found.
11325 2002-03-07 Juergen Vigna <jug@sad.it>
11327 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11329 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11331 * paragraph.C (breakParagraph): use default layout not layout of
11333 (Paragraph): clear ParagraphParameters.
11335 2002-03-06 Juergen Vigna <jug@sad.it>
11337 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11338 otherwise it would not be a valid lenght. Fixed a special case in
11339 the minipage compatibility read where we end the document with a
11342 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11343 was set as it could be 0 for InsetTexts first entry.
11345 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11347 * paragraph.C (writeFile): if layout is empty write out
11348 defaultLayoutName().
11350 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11351 file without named layout we set layout to defaultLayoutName().
11353 2002-03-06 Juergen Vigna <jug@sad.it>
11355 * CutAndPaste.C (copySelection): set layout for new paragraph.
11357 * text.C (prepareToPrint): leave ERT inset left aligned
11358 (leftMargin): don't indent paragraphs inside ERT insets
11360 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11362 * paragraph.C (breakParagraph): dont call clear do the work manually
11364 * paragraph.[Ch] (clear): remove function
11366 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11368 * paragraph.C (Paragraph): dont call clear, the work has already
11371 * lyxtextclass.C (operator): assert if n is empty
11373 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11374 work manually instead.
11376 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11378 * BufferView_pimpl.C: protect selectionLost against text == 0
11380 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11382 * text.C (breakParagraph): fix a setting layout to '0' problem.
11384 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11386 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11387 final location of file, for the included files, and graphics.
11389 2002-03-05 Juergen Vigna <jug@sad.it>
11391 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11393 2002-03-04 Juergen Vigna <jug@sad.it>
11395 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11397 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11398 last column of multicolumn cells.
11399 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11401 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11403 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11404 file if it doesn't go to a temporary file.
11406 * buffer.C (sgmlOpenTag):
11407 (sgmlCloseTag): remove extra newline insertion.
11409 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11411 * text.C (getRowNearY): comment out debug msg
11413 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11415 * text2.C: first -> first_y
11417 * text.C (getRowNearY): add some attemts at a possible
11418 optimization, not working.
11420 * tabular.[Ch]: add BufferParams to several function so that newly
11421 created paragraph can be initialized to he default layotu for the
11424 * tabular-old.C (ReadOld): add buf->params to call of Init
11426 * screen.C: rename text->first to text->first_y
11428 * paragraph.C (breakParagraph): always set layout in the broken
11431 * lyxtextclass.C (Read): remove lowercase
11434 (delete_layout): ditto
11436 * lyxtext.h: rename first -> first_y
11438 * lyxlayout.C (Read): remove lowercase
11441 (obsoleted_by): ditto
11443 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11445 * buffer.C (insertErtContents): add params are to InsetERT
11446 (parseSingleLyXformat2Token): add code to check if a paragraphs
11447 layout really exist.
11448 (parseSingleLyXformat2Token): add params to several inset
11450 (asciiParagraph): remove lowercase, do the layout comparisons with
11453 * BufferView_pimpl.C (cursorNext): first -> first_y
11454 (resizeCurrentBuffer): first -> first_y
11455 (updateScrollbar): first -> first_y
11456 (scrollCB): first -> first_y
11457 (workAreaMotionNotify): first -> first_y
11458 (workAreaButtonPress): first -> first_y
11459 (checkInsetHit): first -> first_y
11460 (cursorPrevious): first -> first_y
11461 (cursorNext): first -> first_y
11462 (Dispatch): add buffer_->params to severl inset contructors
11464 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11466 * lyxlayout.C (Read): remove some debug info that I forgot.
11468 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11469 clean up the code slightly.
11470 (makeLinuxDocFile): ditto
11471 (makeDocBookFile): ditto
11473 * text2.C: layout as string
11475 * text.C: layout as string
11477 * paragraph_pimpl.C: layout as string
11479 * paragraph.[Ch]: layout as string
11481 * lyxtextclasslist.[Ch]: layout as string
11483 * lyxtextclass.[Ch]: layout as string
11485 * lyxtext.h: layout as string
11487 * lyxlayout.[Ch]: layout as string
11489 * lyx_cb.C: layout as string
11491 * bufferview_funcs.C: layout as string
11493 * bufferparams.C: layout as string
11495 * buffer.C: layout as string
11497 * LyXView.[Ch]: layout as string
11499 * LaTeXFeatures.[Ch]: layout as string
11501 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11503 * BufferView_pimpl.C: change current_layout to string, remove
11508 (workAreaButtonRelease): layout as string
11510 * BufferView2.C (unlockInset): adjust
11512 * vspace.C (asLatexCommand): use an explict temp variable.
11514 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11516 * Makefile.am: use FRONTEND_*
11518 2002-03-01 Juergen Vigna <jug@sad.it>
11520 * tabular.C (SetWidthOfMulticolCell): changed to something better
11521 I hope but still work in progress.
11522 (recalculateMulticolumnsOfColumn): renamed function from
11523 recalculateMulticolCells as it is more appropriate now.
11524 (SetWidthOfCell): calculate multicols better.
11526 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11528 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11530 * lyxfunc.C (processKeySym): print sequence also if it is
11531 `deleted' (complete)
11533 * kbsequence.C (print): print sequence even if it is deleted
11534 (complete would be a better word, actually).
11536 * lyxfunc.C (dispatch): print complete options after a prefix key
11538 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11540 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11542 * text2.C (setCharFont): eliminate setCharFont code duplication.
11544 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11546 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11547 LFUN_TABULAR_FEATURE (bug #177)
11549 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11551 * Makefile.am: remove figure.h
11553 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11555 * Bufferview_pimpl.C:
11567 * text2.C: remove #include "lyx_gui_misc.h".
11569 * LaTeX.C: added #include <cstdio>
11571 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11573 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11574 that the paragraph following this one can have.
11576 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11578 * vspace.C (asLatexCommand): fix bogus gcc warning
11580 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11582 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11584 * text2.C (setLayout): get rid of redundant code
11586 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11588 * text2.C (incDepth): make sure depth cannot be increased beyond
11591 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11593 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11594 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11596 * PainterBase.h (image):
11597 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11598 a LyXImage const *.
11600 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11604 * BufferView_pimpl.C:
11605 * BufferView_pimpl.h:
11625 * sp_spell.C: remove fig inset, and the crap house of
11626 cards that follows it
11628 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11633 * os2_errortable.h:
11634 * nt_defines.h: move .h into support/
11636 * vms_defines.h: remove
11638 * WorkArea.C: add space in debug output
11642 * buffer.C: add WITH_WARNINGS
11646 * bufferlist.C: s/retrive/retrieve/, add docs
11655 * chset.C: add docs
11657 * lyxgui.C: add ID to X error handler
11659 * lyxtestclass.c: fix typo
11661 2002-02-26 Juergen Vigna <jug@sad.it>
11663 * tabular_funcs.C (write_attribute): changed so that some default
11664 attributes are not written at all.
11665 (getTokenValue): set default values before trying to read the
11666 value so we have the return value always set as default if we don't
11667 find the token we search for.
11669 * tabular.C (Write): write bools as bools not as strings!
11671 2002-02-22 Juergen Vigna <jug@sad.it>
11673 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11674 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11676 * text.C (leftMargin): don't add an indent for paragraphs inside
11677 tabular cells (fix #208).
11679 2002-02-21 José Matos <jamatos@fep.up.pt>
11681 * tabular.C (docBook): fixed support for long tables.
11683 2002-02-20 Juergen Vigna <jug@sad.it>
11685 * text2.C (getFont): get the drawing font of the Inset if this
11686 paragraph is inside an inset (only important for InsetERT for now).
11688 * buffer.C (insertErtContents): use new lanugage params in ERT
11691 * CutAndPaste.C: commenting out seemingly uneeded code.
11693 2002-02-19 Allan Rae <rae@lyx.org>
11695 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11696 Iterators might be simple to use but they also get invalidated.
11697 (removeAutoInsets): renamed saved cursor tracking variables and added
11698 some comments to clarify what everything does.
11700 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11707 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11708 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11711 * vc-backend.h: remove #include "support/syscall.h"
11715 * converter.C: rearrange #includes in Lars' approved fashion.
11717 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11718 forward declare class Timeout in the header file.
11720 * XFormsView.C: changes due to the above.
11722 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11723 similar to LyXView.
11725 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11726 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11728 2002-02-18 José Matos <jamatos@fep.up.pt>
11730 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11733 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11735 * a lot of small ws changes
11736 * add a lot of using std::XXX
11737 * use std construcs some places where approp.
11738 * use some exisint stuff from lyxfunctional where approp.
11739 * Make file changes to use partial linking (lets test this now...)
11741 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11745 remove #include "support/syscontr.h" as it's redundant. Always has been.
11753 change Systemcalls::System to Systemcalls::Wait and
11754 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11755 No change of functionality, just reflects the stripped down Systemcalls
11758 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11760 * debug.[Ch]: add a GRAPHICS type to the enum.
11762 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11764 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11766 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11769 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11771 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11772 match the changes below.
11774 * text2.C (toggleInset): if there is not editable inset at cursor
11775 position, try to see if cursor is _inside_ a collapsable inset
11778 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11780 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11781 document menu has a nice checkbox
11783 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11785 * lyxlength.C (asLatexString): change PW to output as percent of
11788 * lengthcommon.C: change '%' to 't%'
11790 * lyxfunc.C (dispatch): a few comments from Martin
11792 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11796 * BufferView_pimpl.h:
11797 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11800 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11802 * vspace.C (inPixels): fix compiler warning
11804 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11806 * lyxfunc.C (getStatus): fix status message for disabled commands.
11808 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11810 * BufferView_pimpl.C: fix crash on close buffer
11811 during selection (#227)
11813 2002-01-27 Herbert Voss <voss@lyx.org>
11815 * buffer.C: link old Figure to new graphic inset
11817 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11819 * FontLoader.C (getFontinfo): Change the latex font names in order
11820 to match the names of type1inst.
11822 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11824 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11826 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11827 (extchanged): ditto
11829 (remove_files_with_extension): ditto
11830 (remove_file): ditto
11833 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11834 document is smaller than the work area height. Do not initialize
11835 static variables to 0.
11837 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11839 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11841 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11842 LFUN_LAYOUT_PARAGRAPHS.
11844 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11845 tabular. It is possible to provide a possible cell, which will
11846 typically be the actcell from the corresponding insettabular
11848 * lyxfunc.C (getStatus): small cleanup; disable
11849 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11852 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11854 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11856 * paragraph.C (startTeXParParams):
11857 (endTeXParParams): new methods. The LaTeX code to
11858 start/end paragraph formatting
11859 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11860 empty (fixes bug #200)
11862 * vspace.C (inPixels): adapt to the change below
11863 (inPixels): [later] more cleanups (remove unused variables)
11865 * lyxlength.C (inPixels): change to use a width and a height as
11868 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11870 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11871 Replaced with \paperwidth
11873 * DepTable.C (insert): add std:: qualifier
11875 2002-01-18 Allan Rae <rae@lyx.org>
11877 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11880 * text.C (drawInset): Turned out I didn't know enough about how
11881 rebreaking worked. This fixes most of the redraw problems. I see
11882 an occasional cursor trail when a line is broken now and the cursor
11883 placement can seem out by a few pixels also after a rebreak.
11885 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11887 * buffer.C (parseSingleLyXformat2Token): update because minipage
11888 width is now a LyXLength
11890 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11892 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11895 2002-01-17 Juergen Vigna <jug@sad.it>
11897 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11899 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11900 is set correctly and the inset is updated correctly.
11902 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11904 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11905 the beginning of the loop.
11907 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11909 * lyxrc.C: improve help for use_scalable_fonts
11911 2002-01-17 Allan Rae <rae@lyx.org>
11913 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11915 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11917 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11918 make sure to set their inset_owner to the right value (bug #171)
11920 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11923 * DepTable.C: Implement mtime checking to reduce time spent doing
11926 2002-01-16 Juergen Vigna <jug@sad.it>
11928 * tabular.C (GetAdditionalHeight): one of error fixed.
11930 * lyxrc.C (output): small fix in writing use_pspell.
11932 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11934 * sp_base.h: #include LString.h
11936 2002-01-16 Allan Rae <rae@lyx.org>
11938 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11939 Can someone check this please?
11941 * text.C (drawInset): It was possible that p.row would be removed by
11942 breakAgainOneRow upsetting a few other settings. There may be another
11943 small tweak possible by setting need_break_row = 0 when p.row has been
11944 removed but I don't know enough about the logic here.
11946 2002-01-15 Allan Rae <rae@lyx.org>
11948 * text.C (insertChar): removed conditional truism.
11950 * BufferView2.C (removeAutoInsets): More tweaks.
11951 cur_par_prev could be a stray pointer. Check for trailing empty line
11952 in case last line was cur_par and only had an error inset on it.
11954 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11956 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11959 * vc-backend.C (most methods):
11960 * exporter.C (Export):
11961 * converter.C (convert):
11963 * LyXSendto.C (SendtoApplyCB):
11964 * lyxfunc.C (dispatch):
11968 * lyx_cb.C (AutoSave):
11970 * BufferView_pimpl.C (MenuInsertLyXFile):
11971 * buffer.C (runChktex): use Buffer::filePath().
11973 * buffer.h: rename filename to filename_; rename filepath to
11974 filepath_ and make it private
11975 (filePath): new method
11977 * buffer.C (writeFile): use fileName()
11980 * lyx_main.C (init): fix starting of LyX when the binary is a
11981 link from so,ewhere else.
11983 * minibuffer.C: include <cctype> for isprint
11985 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11987 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11988 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11989 name clash with InsetCollapsable's width function.
11991 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11993 * lastfiles.C: include <iterator>
11995 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11997 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
12000 * buffer.C (makeLaTeXFile): ditto.
12001 Also make loop operation more transparent.
12003 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
12005 * ToolbarDefaults.C: remove trailing comma closing namespace.
12007 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
12009 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
12012 * trans.C (Load): comment out unused variable, allowed.
12014 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12016 * minibuffer.[Ch] (append_char): new method to recieve input from the
12017 drop-down completion browser. If a key was pressed, then recieve this
12018 char and append it to the existing string.
12019 (peek_event): modify the positioning data passed to the completion
12020 browser so that it can be placed above the minibuffer rather than below.
12021 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
12023 * LyXAction.C (init): alloe error-next for readonly documents.
12025 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12028 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12030 * bufferlist.C (readFile): create the buffer _after_ checking that
12033 * lyxfunc.C (verboseDispatch): fix handling of arguments
12035 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12037 * lyxrc.C: use string::erase() instead of initializing to "".
12040 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12042 * BufferView_pimpl.h:
12043 * BufferView_pimpl.C:
12046 * text2.C: tell X when we have made a selection for copying
12048 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12050 * BufferView_pimpl.C (MenuInsertLyXFile):
12051 * lyxfunc.C (menuNew):
12053 (doImport): add shortcuts to directory buttons
12055 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12058 * lyxfunc.C (setStatusMessage):
12059 (getStatusMessage): new methods
12060 (getStatus):use setStatusMessage instead of setErrorMessage
12061 (dispatch): when function is disabled, set error message here
12062 [instead of in getStatus previously]
12064 * BufferView_pimpl.C (workAreaButtonRelease): update
12065 toolbar/menubar here too.
12067 2002-01-13 Allan Rae <rae@lyx.org>
12069 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12070 Now seems indestructible. Remaining task is to audit all other
12071 code affected by deleteEmptyParagraphMechanism. One small quirk
12072 left is that an empty document with an error in the preamble can
12073 be made to report an error but no error box appears. I don't know
12075 (removeAutoInsets): Improved comments.
12077 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12080 * Thesaurus.C: update for Aiksaurus 0.14
12082 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12084 * text2.C (firstParagraph): removed member function, all uses
12085 replaces with ownerParagraph
12086 (redoParagraphs): here
12087 (updateInset): here
12088 (toggleAppendix): here
12089 * BufferView2.C (insertErrors): here
12090 (setCursorFromRow): here
12092 2002-01-13 Allan Rae <rae@lyx.org>
12094 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12095 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12096 There is still a way to segfault this although you may have to do this
12097 multiple times: Have an InsetERT with an unknown command in it.
12098 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12099 <down-arrow>, <Enter> again, View->DVI, BANG!
12101 * text2.C (setCursor):
12102 (deleteEmptyParagraphMechanism):
12103 * lyxtext.h (setCursor):
12104 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12105 Making use of the return value may help fix other bugs.
12107 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12109 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12111 * LyXView.C (updateMenubar): call MenuBar::update here
12112 (updateToolbar): but not here
12113 (showState): do not update toolbar/menubar
12115 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12116 should need to care about that.
12118 * lyxfunc.C (verboseDispatch): simplify a bit
12119 (getStatus): have a version which takes a pseudoaction, and
12120 another which requires a (kb_action,string).
12122 * LyXAction.C (retrieveActionArg): make it work also when action
12123 is not a pseudo-action.
12124 (getActionName): simplify a bit
12127 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12129 * lyxfunc.C (verboseDispatch): new families of methods with
12130 several ways to specify a command and a bool to indicate whether
12131 the command name and shortcut should be displayed in minibuffer
12132 (eventually, we could extend that to a finer bitmask like
12133 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12134 (dispatch): the pristine dispatch command which just, well,
12135 dispatchs! Note it still sets its result to minibuffer; I'm not
12138 * lyxfunc.h: remove setHintMessage
12140 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12142 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12144 * BufferView_pimpl.C (specialChar): delete new inset if we have
12145 not been able to insert it.
12147 * kbmap.C: revert to using int instead of kb_action, since all we
12148 are dealing with is pseudo-actions.
12150 * LyXAction.C (searchActionArg): change to return int instead of
12151 kb_action, since the result is a pseudoaction.
12153 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12155 * buffer.C (insertErtContents): Fix (partially) the font bug.
12157 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12159 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12160 as the other one is broken on my machine!
12162 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12165 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12167 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12169 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12170 reflect their actual use. Provide compatibility code for older lyxrc
12173 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12175 change names of popup font variables in line with the changes to lyxrc.C
12177 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12179 * buffer.C (asciiParagraph): avoid outputing a word twice after
12182 * lyxrc.C (getDescription): document that document_path and
12183 template_path can be empty.
12185 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12187 * LaTeXFeatures.C (getMacros):
12188 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12190 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12192 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12194 (getPackages): rename feature "floats" to "float". Use an array to
12195 iterate over 'simple' features (i.e. just a \usepackage). Add
12196 handling of "amsmath" (renamed from "amsstyle").
12198 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12200 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12203 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12205 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12206 FuncStaus::FuncStatus & FuncStaus::some_method().
12208 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12210 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12211 of the func_satus stuff. Edited and massaged in various ways by
12214 * lyxfunc.C (getStatus): use FuncStatus
12216 2002-01-08 Juergen Vigna <jug@sad.it>
12218 * text.C (nextBreakPoint): use function Inset::isChar().
12220 * paragraph.C (TeXOnePar): use function
12221 Inset::forceDefaultParagraphs.
12223 * buffer.C (latexParagraphs): use function
12224 Inset::forceDefaultParagraphs.
12226 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12228 * lyx_gui.C (init): set the style of the menu popups to
12229 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12231 2002-01-07 Juergen Vigna <jug@sad.it>
12233 * text.C (setHeightOfRow): small fix
12234 (prepareToPrint): don't look at alignment if we don't have the place
12237 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12239 * box.C: New file. Move the Box methods and functions out of box.h,
12240 following Lars' suggestion.
12242 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12244 * box.h: #include "support/LOstream.h", needed for inlined function.
12247 * lyxtextclasslist.C: added some using std declarations.
12249 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12251 * box.h: make signed dimensions to allow insets wider than
12252 the screen (bug #162)
12254 * BufferView_pimpl.C: add some insetHit debug
12256 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12258 * vc-backend.C: add FIXME
12260 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12262 * lyxfunc.C (getStatus): enable code for showing math font status
12265 2002-01-07 Juergen Vigna <jug@sad.it>
12267 * text.C (nextBreakPoint): removed debug output not needed anymore.
12269 2002-01-06 Juergen Vigna <jug@sad.it>
12271 * text.C (nextBreakPoint): fixed up this function we had this bug
12272 since ever but now hopefully we break row better.
12273 (insertChar): we have to check if an inset is the next char as it
12274 could now happen that a large inset is causing a break.
12276 2002-01-05 Juergen Vigna <jug@sad.it>
12278 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12279 if it doesn't like to be drawed.
12281 2002-01-04 Juergen Vigna <jug@sad.it>
12283 * BufferView2.C (lockInset): forgot to set a cursor.
12285 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12287 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12289 * FormMathsPanel.C:
12292 * form_maths_panel.C:
12293 * form_maths_panel.h:
12294 * form_maths_panel.fd: implemented sub- and super- buttons in math
12297 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12298 (or ^ space) to be used as in TeX (req'd by André).
12300 * lyxfunc.C: Allow ^ and _ again to be used both as
12301 super/subscript (mathed) and as themselves (in text).
12303 2002-01-03 Allan Rae <rae@lyx.org>
12305 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12306 "LyX" or the filename of the current buffer if it has one. This is a
12307 modified form of John Levon's patch.
12309 * XFormsView.C (setWindowTitle): also set icon title.
12311 * LyXView.h (setWindowTitle): signature changed.
12312 * XFormsView.h (setWindowTitle): ditto.
12314 2002-01-02 Juergen Vigna <jug@sad.it>
12316 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12318 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12320 * screen.C (topCursorVisible): introduce a temp var for
12321 text->cursor.row(), handle the case where this row is null. (kindo
12324 * text2.C (setCursor): add a couple of asserts.
12326 * paragraph.h (inset_iterator): add -> operator
12328 * paragraph.[Ch] (autoDeleteInsets): remove member function
12330 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12331 cursor pos correctly and handle inset deletion by itself.
12332 (insertErrors): move iterator declaration out of for expression
12334 * lyxtextclass.C: add <algorithm>
12336 * Makefile.am: added the new files to sources, removed layout.C
12338 * layout.C: removed file
12340 * layout.h: remove LYX_DUMMY_LAYOUT
12342 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12346 * lyxtextclass.[Ch]:
12347 * lyxtextclasslist.[Ch]: new files
12349 * include order changes to a lot of files, also changes because of
12352 2001-12-27 Juergen Vigna <jug@sad.it>
12354 * buffer.C (asciiParagraph): more fixes.
12356 * tabular.C (ascii): make ascii export support export of only the
12357 data separated by a column-delimiter.
12358 (ascii): better support for ascii export.
12360 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12362 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12364 * tabular_funcs.C: use a "using std::getline" instead of the
12365 previous fix from Angus (necessary for cxx + lyxstring)
12367 2001-12-24 Juergen Vigna <jug@sad.it>
12369 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12371 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12372 problems. First check a minipage also if we have some ert-contents
12373 (not only on par->size(), second set the right depth of the paragraph
12374 on the relink to the root-paragraph-list!
12376 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12377 which then did not anymore update the main paragraphs on undo/redo!
12379 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12381 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12382 code. Support all font-changing funcs (even those which are not in
12383 menu currently). Support for reporting font settings in
12384 mathed (disabled until Andre provides a function on mathed's side).
12386 * func_status.h (toggle): small helper function to set toggle
12389 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12391 * tabular_funcs.C: getline -> std::getline
12393 2001-12-21 Juergen Vigna <jug@sad.it>
12395 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12396 accessed and could be 0 (I couldn't generate this but it seems
12399 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12401 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12402 * tabular_funcs.h: here and include iosfwd
12404 2001-12-20 Juergen Vigna <jug@sad.it>
12406 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12407 inside inset but undo_par was.
12409 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12411 * Thesaurus.C: always include <config.h> in sources.
12415 * box.h: do not include <config.h> in header files
12417 * text.C (paintLastRow): remove unused variable
12419 * text.C (transformChar):
12421 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12423 * Painter.C (text):
12424 * font.C (width): rewrite to use uppercase() instead of
12427 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12429 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12431 * lyxfind.C: clean up of find failure position change
12433 2001-12-20 Juergen Vigna <jug@sad.it>
12435 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12437 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12438 (TeXRow): added to LaTeX a single tabular row.
12439 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12440 (Latex): simplified and finally good LT-h/f support.
12441 (various_functions): just small adaptions for LT-h/f support.
12443 * tabular_funcs.[hC]: added and moved here all not classfunctions
12446 2001-12-19 Juergen Vigna <jug@sad.it>
12448 * tabular.[Ch]: better support for longtabular options (not finished
12451 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12453 * text.C (paintLastRow): use the label font instead of the font of
12454 the last character to compute the size of *_BOX. This makes more
12455 sense and avoids a crash with empty paragraphs.
12456 Use Painter::rectangle to draw EMPTY_BOX.
12458 2001-12-19 Juergen Vigna <jug@sad.it>
12460 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12461 the paragraphs if the replaced paragraph is not the first one!
12462 Tried to delete not used paragraphs but does not work yet so for
12463 now it's inside #ifdef's and by default off!
12465 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12467 * MenuBackend.C: include "lyx_main.h" instead of declaring
12468 lastfiles (actually was declared as LastFiles* instead of a
12471 2001-12-17 Juergen Vigna <jug@sad.it>
12473 * tabular.C (AppendColumn): applied John's fix
12475 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12479 * BufferView_pimpl.h:
12480 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12483 * box.h: new start of class for above
12485 * lyxfunc.C: ignore space-only minibuffer dispatches.
12486 Show the command name when it doesn't exist
12488 * minibuffer.C: don't add empty lines to the history
12490 * minibuffer.C: add a space on dropdown completion
12492 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12494 * text.C: fix line above/below drawing in insets
12496 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12498 * lyxlength.C (LyXLength): Initialize private variables.
12500 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12502 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12503 when inserting error insets.
12505 2001-12-13 Juergen Vigna <jug@sad.it>
12507 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12508 actually sometimes the before-paragraph.
12509 (setUndo): don't clear the redostack if we're not actually undoing!
12511 2001-12-06 Juergen Vigna <jug@sad.it>
12513 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12514 and fixed redoing of main paragraph, so we can use it now ;)
12516 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12518 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12520 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12523 2001-12-13 André Pönitz <poenitz@gmx.net>
12526 * undo_func.C: minor cleanup
12528 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12530 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12531 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12532 font in urw-fonts package which is marked as -urw-fontspecific and
12533 does not work (incidentally, changing the encoding in the
12534 fonts.dir of this package to -adobe-fontspecific fixes the
12537 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12538 is a crash when undoing first paragraph (Juergen, please take a
12539 look). THis does not mean the undo fix is wrong, just that it
12542 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12543 the (Paragraph*) version when needed instead of duplicating the
12546 * text.C (workWidth): use Inset::parOwner to find out where the
12547 inset has been inserted. This is a huge performance gain for large
12548 documents with lots of insets. If Inset::parOwner is not set, fall
12549 back on the brute force method
12551 * paragraph_pimpl.C (insertInset):
12552 * paragraph.C (Paragraph):
12553 (cutIntoMinibuffer): set parOwner of insets when
12554 inserting/removing them
12556 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12558 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12564 * mathed/formulabase.C:
12565 * mathed/math_cursor.[Ch]:
12566 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12569 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12571 * lyxlength.[Ch] (operator!=): new function
12573 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12575 * text.C (workWidth): use Inset::parOwner to find out where the
12576 inset has been inserted. This is a huge performance gain for large
12577 documents with lots of insets. If Inset::parOwner is not set, fall
12578 back on the brute force method
12580 * paragraph_pimpl.C (insertInset):
12581 * paragraph.C (Paragraph):
12582 (cutIntoMinibuffer): set parOwner of insets when
12583 inserting/removing them
12585 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12587 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12589 * tabular-old.C (getTokenValue):
12590 * tabular.C (getTokenValue):
12591 (write_attribute): new versions for LyXLength
12592 (everywhere): adjust the use of widths
12594 * tabular.h: change the type of widths from string to LyXLength
12596 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12598 * paragraph.C: fixed missing line number count when exporting
12599 Environments to LaTeX file
12601 * buffer.C: added informational message for checking line numbers.
12603 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12605 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12606 paragraph, do the 'double space' part, but not the 'empty
12609 * text.C (workWidth): small optimization
12610 (getLengthMarkerHeight): use minimal size for negative lengths.
12612 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12614 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12616 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12618 2001-12-11 André Pönitz <poenitz@gmx.net>
12621 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12623 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12625 * text2.C: keep selection on a setFont()
12627 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12629 * lyx_cb.C: another bv->text misuse, from insert label
12631 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12634 * kbsequence.C: re-instate nmodifier mask
12636 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12638 * lyx_main.h: make lyxGUI private.
12640 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12642 * lyxfind.C: place the cursor correctly on failed search
12644 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12646 * text.C (getLengthMarkerHeight): for small heights, the arrows
12647 are not always on top/bottom of the text
12648 (drawLengthMarker): smaller arrows; take the left margin in
12649 account; draw also vfills.
12651 (paintLastRow): remove special code for vfill and standard spaces,
12652 since everything is handled in drawLengthMarker now.
12654 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12656 * buffer.C (insertErtContents): try to handle font and language
12657 interaction a bit better.g
12659 * ColorHandler.C (updateColor): change the hash to cover the whole
12660 LColor enum, ws cleanup
12661 (getGCLinepars): ditto
12662 (getGCLinepars): only lookup in the linecache once.
12664 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12666 * iterators.C (operator++): Make the iterator more robust
12668 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12670 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12672 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12675 * text.C: better added space drawing
12677 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12680 * BufferView2.C: fix layout combo update on inset unlock
12682 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12684 * Makefile.am: don't compile unused files
12686 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12690 * LyXAction.C: remove old LFUN_LAYOUTNO
12692 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12694 * paragraph_pimpl.h:
12695 * paragraph_pimpl.C: isTextAt() doesn't need font param
12697 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12700 * lyxlex.C: little cleanup
12702 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12704 * BufferView_pimpl.C: fix insertAscii for insets
12706 2001-12-05 Juergen Vigna <jug@sad.it>
12708 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12709 set the right font on the "multi" paragraph paste!
12711 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12717 * lyxlength.C: remove out-commented code.
12719 * BufferView_pimpl:
12733 * vc-backend.C: change "while(" to "while ("
12735 * lyxlength.[Ch]: add zero function to check if length is zero or
12737 * lyxgluelength.C: use it
12739 2001-12-05 Allan Rae <rae@lyx.org>
12741 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12742 Works for 2.95.3, from what I understand of Garst's reports this should
12743 work for other g++ versions. We're screwed if the abs(int) definition
12744 changed between bugfix releases of gcc.
12746 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12748 * text.C: fix chapter label offset !
12750 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12753 * text.C: fix hfill at end of line, clean up
12755 2001-12-04 Juergen Vigna <jug@sad.it>
12757 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12758 that we force an update of the inset and it's owners if neccessary.
12760 2001-12-03 Juergen Vigna <jug@sad.it>
12762 * text.C (rowLast): simplified code
12764 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12766 * lyxfunc.C: fix show options on timeout
12768 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12770 * screen.C (topCursorVisible): scroll half a page when the cursor
12771 reached top of bottom of screen
12773 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12775 * minibuffer.C: deactivate on loss of focus
12777 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12779 * vspace.[Ch] (operator!=): add operator.
12781 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12783 * BufferView_pimpl.C: refuse to open an inset when
12784 there's a selection.
12786 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12788 * BufferView_pimpl.C: allow to click on RHS of full row insets
12790 2001-11-30 Juergen Vigna <jug@sad.it>
12792 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12793 insets for undo reasons.
12795 2001-11-28 André Pönitz <poenitz@gmx.net>
12797 * vspace.[Ch]: cosmetical changes
12799 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12809 * kbsequence.C: part re-write of old kb code
12812 * WorkArea.C: remove Lgb_bug_find_hack
12814 2001-11-30 José Matos <jamatos@fep.up.pt>
12816 * buffer.C (makeDocBookFile): add a comment to point a hack.
12817 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12818 Fixed a double write of labels.
12820 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12823 * LaTeX.h Fixed bug in LaTeX class where it would not
12824 re-run latex if no depfiles were changed, but the .dvi was removed.
12826 2001-11-28 André Pönitz <poenitz@gmx.net>
12828 * all the files from the change on 2001/11/26:
12829 use lyx::layout_type instead of LyXTextClass::size_type
12830 use lyx::textclass_type instead of LyXTextClassList::size_type
12832 2001-11-29 Juergen Vigna <jug@sad.it>
12834 * text.C: added support for paragraph::isFreeSpacing()
12836 * buffer.C: same as above
12838 * paragraph.h: inserted isFreeSpacing() function to enable
12839 FreeSpacing inside InsetERT.
12841 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12842 of the paragraph's in the cut/copy buffer to 0!
12844 * text2.C (removeRow): remove the assert as it can!
12846 * lyxtext.h: added helper function firstRow returning firstrow and
12847 made firstrow private again.
12849 * BufferView2.C (lockInset): don't relock if we're already locked!
12851 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12852 the only paragraph.
12853 (removeRow): added Assert::(firstrow)
12855 * debug.C: forgot to add INSETTEXT here.
12857 2001-11-28 Juergen Vigna <jug@sad.it>
12859 * sp_spell.C (initialize): changed error text to more general
12860 spellchecker command use (not only ispell!)
12862 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12864 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12866 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12868 * vspace.C: initialise lyxgluelength on failure
12870 2001-11-28 Allan Rae <rae@lyx.org>
12872 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12873 declaration & definition that looks like a function declaration.
12875 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12877 * BufferView2.C (copy):
12878 (copyEnvironment): do not clear the selection when doing a copy.
12880 * text.C (paintFirstRow): compilation fix
12882 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12884 * tabular.C (Latex): correct line count when writing latex.
12886 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12888 * paragraph_pimpl.h:
12889 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12892 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12896 * LColor.C: change vfillline->added_space
12898 * text.C: add markers and text for added space
12900 * vspace.C: fix comment
12902 2001-11-28 André Pönitz <poenitz@gmx.net>
12904 * paragraph.C: whitespace changes
12905 * all the other files from the change on 2001/11/26:
12906 change *::pos_type into lyx::pos_type
12908 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12910 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12911 language of the document when inserting error insets.
12913 2001-11-26 André Pönitz <poenitz@gmx.net>
12915 * BufferView_pimpl.[Ch]:
12923 * paragraph_pimpl.[Ch]:
12926 * text2.C: reduce header dependencies, introduce type for positions
12928 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12930 * <various>: change to use Alert.h
12932 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12934 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12935 when encountering an unknown token.
12936 (readLyXformat2): Show an error message if there were unknown tokens.
12938 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12941 * BufferView_pimpl.C:
12945 * text2.C: use par->isInset()
12947 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12949 * paragraph_pimpl.h:
12950 * paragraph_pimpl.C: cleanup
12952 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12954 * text2.C (removeRow):
12955 * text.C (setHeightOfRow): remove useless (and costly) call to
12958 2001-11-20 Allan Rae <rae@lyx.org>
12960 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12961 Now need Inset*::checkInsertChar() to return true for appropriate
12962 cases so that the characters in the minibuffer will actually be
12965 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12967 * text.C: change the order of the includes.
12968 (workWidth): initialize it at once.
12969 (workWidth): make maxw unsigned
12970 (setHeightOfRow): remove unused variable (inset)
12971 (selectSelectedWord): remove unused variable (inset)
12972 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12974 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12976 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12977 server is not running.
12979 (closeConnection): add debug info when server is disabled.
12981 * ColorHandler.C (getGCForeground): send debug message to GUI
12984 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12986 * kbmap.C (bind): modify because return conventions of
12987 kb_sequence::parse have changed.
12989 * kbsequence.C (parse): only ignore spaces and not any stupid
12990 control character. This avoids tests like s[i] <= ' ', which are
12991 guaranteed to fail with 8bit characters and signed chars.
12992 Change return code to string::npos when there have been no error
12993 (0 was a bad idea when error is at first character)
12995 2001-11-14 José Matos <jamatos@fep.up.pt>
12998 * buffer.C (simpleDocBookOnePar): removed unused argument.
13000 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13002 * text.C (selectNextWordToSpellcheck): do not test explicitely for
13003 insets which are part of a word. Paragraph::isLetter takes care of
13004 that now. Use Paragraph::isInset to identify insets.
13005 (selectSelectedWord): do not test for hyphenation break.
13007 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
13008 that protected spaces are considered as spaces.
13010 * paragraph.C (isLetter): cleanup the code for ispell extras; use
13013 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
13016 * lyxserver.C: fix it. and small cleanup.
13018 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13020 * BufferView_pimpl.C: use inline helpers
13023 * LaTeXFeatures.C: fix typos
13026 * Spacing.C: move spacing_string into class
13028 * ToolbarDefaults.C: move stuff into namespace anon
13030 * layout.h: update enum
13032 * lyxfunc.C: use better debug
13034 * minibuffer.h: fix typo
13038 * WorkArea.C: add and use Debug::WORKAREA
13042 * text2.C: code re-organisation, inline helpers
13044 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13046 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13047 std::vector.empty().
13049 2001-11-09 Allan Rae <rae@lyx.org>
13051 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13052 '\n's after tables. Tabular and ERT inset work now makes this no
13055 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13058 * minibuffer.C: fix crash, improve drop-down completion
13060 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13063 * lyxserver.C: invalidate fd's when doing endPipe()
13065 2001-11-08 José Matos <jamatos@fep.up.pt>
13067 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13068 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13071 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13073 2001-11-07 José Matos <jamatos@fep.up.pt>
13076 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13079 * buffer.C (sgmlOpenTag):
13080 * buffer.C (sgmlCloseTag): removed debug info.
13082 * buffer.h (sgmlOpenTag):
13083 * buffer.h (sgmlCloseTag): made public.
13085 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13087 * buffer.C (saveParamsAsDefaults):
13088 * lyx_cb.C (MenuLayoutSave): remove
13090 * LyXAction.C (init):
13092 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13094 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13096 * buffer.C (setPaperStuff): removed from here...
13098 * bufferparams.C (setPaperStuff): ... and moved there.
13100 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13104 * XFormsView.C: add support for drop-down completion
13106 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13108 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13111 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13113 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13116 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13118 * lyx_main.C: change ref to known bugs
13120 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13122 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13123 to work around older babel problems.
13125 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13127 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13129 2001-10-24 Juergen Vigna <jug@sad.it>
13131 * tabular-old.C (ReadOld): below variable changes reflected.
13133 * tabular.[Ch]: added ltType struct for longtable header/footer
13134 defines and changed all instances where they are used. Added
13135 future support for double top/bottom rows.
13137 2001-10-24 José Matos <jamatos@fep.up.pt>
13139 * buffer.h (docbookHandleCaption):
13140 * buffer.C (docbookHandleCaption): removed unused function.
13141 (makeDocBookFile): moved docbook supported version to v4.1.
13143 2001-10-24 José Matos <jamatos@fep.up.pt>
13146 * tabular.C (docbookRow): new function to export docbook code of a row.
13147 (DocBook): now honors the longtable flags.
13149 2001-10-23 José Matos <jamatos@fep.up.pt>
13152 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13153 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13155 * buffer.C (makeLinuxDocFile):
13156 (makeDocBookFile): reworked the preamble, more clean, and with
13157 support for lyx defined entities. Changed the document declaration
13158 to be more XML friendly.
13160 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13161 if we need to output XML that should be done with a filter.
13163 2001-10-22 Juergen Vigna <jug@sad.it>
13165 * sp_pspell.h (class PSpell): add alive function needed in the
13166 controller to see if the spellchecker could be started.
13168 2001-10-22 Juergen Vigna <jug@sad.it>
13170 * buffer.C (insertStringAsLines): modify the font for inserting
13171 chars in certain conditions by calling checkInsertChar(font).
13173 2001-10-19 Juergen Vigna <jug@sad.it>
13175 * text.C (workWidth): use getRow instead of wrong algorithm.
13176 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13178 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13183 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13185 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13187 * text.C (workWidth): do not search for the exact row when
13188 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13189 optimization for big documents.
13191 2001-10-18 Juergen Vigna <jug@sad.it>
13193 * text.C (workWidth): new function with added Inset * parameter.
13195 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13197 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13199 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13200 change return type of getColumnNearX.
13203 * text.C (changeRegionCase): use uppercase/lowercase instead of
13206 (rightMargin): simplify code by factoring out the uses of
13211 (appendParagraph): use Paragraph::size_type
13213 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13215 * vspace.C (asLatexString): add a missing break
13217 2001-10-15 Herbert Voss <voss@perce.de>
13219 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13221 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13223 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13226 2001-10-10 André Pönitz <poenitz@gmx.net>
13228 * lyxfunc.C: removed greek_kb_flag.
13230 2001-10-10 Herbert Voss <voss@perce.de>
13232 * lyx_main.C: delete global string help_lyxdir.
13234 2001-10-09 Herbert Voss <voss@perce.de>
13236 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13238 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13240 * lyx_main.C: added global string help_lyxdir.
13242 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13244 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13246 * lyxrc.C (set_font_norm_type): support iso8859-4
13248 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13250 * LaTeX.C (deplog): add another regex for MikTeX
13252 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13254 * lyxrc.C (set_font_norm_type): support iso8859-3
13256 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13258 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13260 * LaTeXFeatures.C: remove special case of french and index
13262 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13263 before \begin{document}). This solves several incompatibilities.
13265 2001-10-03 Garst Reese <reese@isn.net>
13267 * lyx_cb.C: change CheckTex error msg.
13269 2001-10-03 José Matos <jamatos@fep.up.pt>
13271 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13273 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13275 * .cvsignore: update
13277 * lyx_main.C (commandLineVersionInfo): use new style version info.
13279 * buffer.C (writeFile):
13281 (makeLinuxDocFile):
13282 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13284 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13286 * version.h: update to use stuff in version.C
13288 * version.C.in: new file. Contains version information determined
13289 at compile time. This is a merging of version.h and
13292 2001-10-03 Juergen Vigna <jug@sad.it>
13294 * BufferView_pimpl.C (update): don't change "dirty" status in
13297 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13299 * WorkArea.C (c-tor): re-position version string slightly.
13301 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13303 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13304 revert to previous code.
13306 WorkArea.[Ch]: (show, destroySplash): methods removed.
13308 WorkArea.C: rework code so that it's an amalgam of the codes before and
13309 after the splash screen was moved to WorkArea.
13311 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13314 * vspace.C (inPixels):
13317 * buffer.C (insertStringAsLines):
13318 (asciiParagraph): fix types to be large enough
13320 * lyxlex_pimpl.h: change member status from short to int
13322 * layout.h: fix type of endlabeltype
13325 * kbsequence.C (parse): change return type to string::size_type
13327 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13330 * Bullet.C (bulletSize):
13331 (bulletEntry): do not use short ints as parameters
13333 * BufferView2.C (insertLyXFile): change a char to an int.
13335 * WorkArea.C (WorkArea): remove unneeded floats in computation
13337 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13339 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13341 * paragraph.C (asString): Do not ignore newline/hfill chars when
13342 copying to the clipboard.
13344 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13346 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13347 after a multi-line inset.
13349 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13351 * paragraph.C (validate): Set NeedLyXFootnoteCode
13353 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13355 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13356 and decrease-error to decrease.
13358 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13360 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13361 it more readable (should be equivalent)
13363 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13365 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13367 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13369 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13370 of a cursor (row, etc.) after a character has been deleted
13371 (deleteEmptyParagraphMechanism): call the method above on _all_
13372 cursors held by the LyXText when a double space has been
13375 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13377 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13379 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13381 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13382 background. Use greyOut() and the new show() methods to toggle between
13383 the foreground and background. Add code to remove the splash after
13384 its initial showing.
13386 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13387 (create_forms): no longer call Dialogs::showSplash.
13389 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13391 * .cvsignore: add version_info.h
13393 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13395 * version_info.h.in: new file
13397 * Makefile.am: add version_info.h.in
13399 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13400 version_info.h instead of VERSION_INFO
13402 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13404 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13405 The ERT inset now returns string().
13407 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13409 * lyxtext.h, text.C (selectNextWord): renamed as
13410 selectNextWordToSpellcheck.
13412 * text.C (selectNextWordToSpellcheck): Modified to not select
13413 words inside an ERT inset.
13415 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13417 * lyx_cb.C (MenuLayoutSave): change a bit the question
13419 * sp_base.h: include <sys/types.h>
13421 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13423 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13425 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13427 * several files: fix typos in user-visible strings
13429 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13431 * text2.C (pasteSelection): do not set the selection, since it
13432 will be cleared later. Actually, the intent was to fix the way the
13433 selection was set, but I figured rmoving the code was just as good.
13435 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13437 * FontLoader.C (available): Check if font is available without
13440 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13442 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13444 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13446 * lyxrc.[Ch]: added display_graphics variable and associated code.
13448 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13450 * bufferparams.C (hasClassDefaults): new method. Returns true if
13451 the buffer parameters correspond to known class defaults
13453 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13455 * XFormsView.C (show): set minimum size to the main window.
13457 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13459 * text2.C (copySelection):
13461 * lyxfind.C (LyXReplace):
13462 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13463 LyXText::selectionAsString.
13465 * paragraph.C (asString): add "label" argument to the second form
13467 * text2.C (selectionAsString): add "label" argument and pass it to
13468 Paragraph::asString.
13470 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13472 * lyx_main.C (commandLineHelp): remove version information
13474 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13476 * lyx_main.C: add -version commandline option
13478 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13480 * paragraph.h: make the optional constructor arg required instead.
13481 some modifications to other files because of this.
13483 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13485 * lyxserver.C (C_LyXComm_callback): make it static
13487 * lyx_main.C (error_handler): make it static
13489 * lyx_gui.C (LyX_XErrHandler): make it static
13491 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13493 * WorkArea.C: make the extern "C" methods static.
13495 * Makefile.am (lyx_LDADD): simplify
13497 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13499 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13500 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13502 * LyXAction.C (init):
13503 * lyxfunc.C (dispatch): associated code removal.
13505 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13507 * lyxfont.h (isSymbolFont): shut off warning
13509 * text.C (setHeightOfRow):
13510 (getVisibleRow): fix crash with empty paragraphs which have a
13513 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13515 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13518 2001-09-04 José Matos <jamatos@fep.up.pt>
13521 * tabular.C (docbook): rename docBook method to docbook.
13523 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13525 * Makefile.am: add dependencies to main.o.
13527 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13529 * FontLoader.C (available): Return false if !lyxrc.use_gui
13531 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13533 * FontInfo.C (query):
13534 * converter.C (view):
13535 * importer.C (Import):
13536 * exporter.C (Export): Can not -> cannot.
13538 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13540 * BufferView_pimpl.C: allow to create index inset even if
13543 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13545 * buffer.C (getLists): replace boost::tie code with an explicit pair
13546 as boost::tie can break some compilers.
13548 * iterators.h: Added a std:: declaration to the return type of
13551 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13553 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13556 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13558 * iterators.[Ch]: New files. Provide paragraph iterators.
13560 * buffer.C (changeLanguage): Use paragraph iterators.
13561 (isMultiLingual): ditto
13563 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13565 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13567 * FontLoader.C: Support for cmr font.
13569 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13571 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13572 (available): New method.
13574 * FontInfo.C (getFontname): Use scalable fonts even when
13575 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13578 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13580 * converter.C (Formats::view): reverted! Incorrect fix.
13582 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13584 * converter.C (Formats::view): only output the -paper option
13585 if the dvi viewer is xdvi, thereby fixing bug #233429.
13587 2001-08-23 Herbert Voss <voss@perce>
13589 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13591 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13593 * Spacing.h (Spacing): Set space to Default on in the default
13596 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13598 * vc-backend.h (RCS::versionString): add RCS to version
13599 (CVS::versionString): add CVS to version
13601 * vc-backend.C (scanMaster): do not add CVS to version.
13602 (scanMaster): do not add RCS to version
13604 * lyxvc.C (versionString): new method
13606 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13608 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13610 * Spacing.C (set): initialize fval
13612 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13614 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13617 2001-08-16 Juergen Vigna <jug@sad.it>
13619 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13621 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13623 * BufferView_pimpl.C:
13626 * text2.C: setParagraph takes linespacing now
13628 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13630 * LyxAction.C: add internal LFUN_CITATION_INSERT
13632 * LyXView.C: actually apply fix
13634 * bufferlist.C: fix open non-existent file
13636 * lyxfind.C: fix indentation
13638 * lyxfunc.C: remove unneeded assert, fix typo
13640 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13642 * MenuBackend.C: use "Floatname List"
13644 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13646 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13647 when converting LaTeX layout to insetERT.
13648 Generate a non-collapsed float when reading old float
13650 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13652 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13655 2001-08-13 Juergen Vigna <jug@sad.it>
13657 * text.C (fill): return 0 instead of 20 as this seems to be the more
13660 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13662 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13665 2001-08-13 Juergen Vigna <jug@sad.it>
13667 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13669 (SearchBackward): comment out the unlocking of the inset_owner this
13670 should not be needed!
13672 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13674 * Many files: Remove inherit_language, and add latex_language
13676 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13677 collapsible insets.
13679 2001-08-10 Juergen Vigna <jug@sad.it>
13681 * text.C (prepareToPrint): fixed hfill-width in draw!
13683 * BufferView2.C (selectLastWord): save the selection cursor as this
13684 now is cleared in the function LyXText::clearSelection!
13686 2001-08-08 Juergen Vigna <jug@sad.it>
13688 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13689 BACKSPACE type functions.
13691 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13692 is only cutted from the document but not put in the cut-buffer, where
13693 still the old stuff should be.
13695 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13697 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13699 * tabular.C (SetWidthOfCell): fixed special case where the width
13701 (LeftLine): handle '|' in align_special.
13703 (LeftAlreadyDrawed): ditto
13704 (SetWidthOfCell): ditto
13706 2001-08-07 Juergen Vigna <jug@sad.it>
13708 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13710 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13712 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13713 * lyxlex.[hC]: ditto
13715 2001-08-06 Juergen Vigna <jug@sad.it>
13717 * text.C (getVisibleRow): fix up row clearing a bit.
13719 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13721 * minibuffer.C: make sure the X server sees the changes in the input.
13723 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13725 * paragraph.C (getFont): split into...
13726 (getLabelFont): this
13727 (getLayoutFont): and this
13728 * paragraph_pimpl.C (realizeFont): calling this
13730 * text2.C (getFont): split into...
13731 (getLayoutFont): this
13732 (getLabelFont): and this
13733 (realizeFont): all three calling this
13735 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13738 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13740 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13742 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13744 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13745 layouts from the Quote inset insertion.
13747 2001-08-03 Juergen Vigna <jug@sad.it>
13749 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13751 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13752 only if status not is already CHANGED_IN_DRAW (second level).
13754 * text.C (draw): don't set the need_break_row when inside an
13757 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13759 * buffer.C (parseSingleLyXformat2Token): handle more latex
13762 * bufferview_funcs.[hC]: change function names to
13763 begin with small char, adjust other files.
13765 2001-08-02 André Pönitz <poenitz@gmx.net>
13768 BufferView_pimpl.C: remove broken special code for math-greek
13770 2001-08-02 Juergen Vigna <jug@sad.it>
13772 * BufferView_pimpl.C (update): redone this function so that we
13773 update the text again if there was a CHANGE_IN_DRAW.
13775 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13776 (drawFromTo): added a new internal bool which is used by draw() and
13778 (general): some cursor drawing problems fixed.
13780 2001-08-01 Juergen Vigna <jug@sad.it>
13782 * lyxfind.C (LyXFind): fixed
13783 (SearchForward): ditto
13784 (SearchBackward): ditto
13786 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13787 spurius drawing of the cursor in the main area.
13789 * text2.C (status): small fix which could lead to a segfault!
13790 (clearSelection): remove unneeded BufferView param.
13792 2001-08-01 André Pönitz <poenitz@gmx.net>
13794 * lyxfunc.C: small change due to changed mathed interface
13796 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13798 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13800 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13802 * lyxfunc.c: fail gracefully if file doesn't exist
13807 * BufferView_pimpl.C: IsDirWriteable() proto changed
13809 * LyXView.C: fix updateWindowTitle() to store the last title
13811 2001-07-31 Juergen Vigna <jug@sad.it>
13813 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13814 the font (wrong since using of Paragraph::highestFontInRange).
13816 * paragraph.C (highestFontInRange): added a default_size parameter.
13818 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13819 (setHeightOfRow): reformat
13821 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13823 * converter.[hC] + affected files: move to (inital-char)lowercase
13826 * ParagraphParameters.C (ParagraphParameters): remove commented code
13828 * PainterBase.[Ch]: remove commented code
13830 * LaTeXFeatures.h: add "bool floats" for float.sty
13832 * LaTeXFeatures.C (LaTeXFeatures): init floats
13833 (require): handle float
13834 (getPackages): do it with floats
13836 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13838 * BufferView_pimpl.C (Dispatch): improve handling of
13839 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13841 * commandtags.h: #include lyxfont.h here temporarily to avoid
13844 * bufferlist.h: include LString.h here.
13846 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13848 * text2.C (getStringToIndex): new method.
13850 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13852 * *: Reduced header file dependencies all over.
13854 2001-07-30 Baruch Even <baruch@lyx.org>
13856 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13858 2001-07-29 Baruch Even <baruch@lyx.org>
13860 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13862 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13864 * ParameterStruct.h (endif): add a default constructor to make
13865 sure that all variables is initialized.
13867 * ParagraphParameters.C (ParagraphParameters): adjust
13869 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13871 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13872 index; also, check that there is something to index, and that it
13873 does not span over several paragraphs.
13874 (doubleClick): use WHOLE_WORD_STRICT for double click.
13876 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13878 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13881 2001-07-26 Baruch Even <baruch@lyx.org>
13883 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13884 an InsetFig figure, backwards compatible reading of old figure code.
13886 2001-07-27 Juergen Vigna <jug@sad.it>
13888 * text2.C: font.realize function adaption.
13890 * text.C (draw): add a warnings lyxerr text if needed.
13892 * layout.C: font.realize function adaption.
13894 * language.C: add inherit_language and implement it's handlings
13896 * bufferview_funcs.C (StyleReset): remove language parameter from
13897 font creation (should be language_inherit now).
13899 * bufferparams.C (writeFile): handle ignore_language.
13901 * paragraph.C (getFontSettings): the language has to be resolved
13902 otherwise we have problems in LyXFont!
13904 * lyxfont.C (lyxWriteChanges): added document_language parameter
13905 (update): removed unneeded language parameter
13907 * paragraph.C (validate): fixed wrong output of color-package when
13908 using interface colors for certain fonts in certain environments,
13909 which should not seen as that on the final output.
13911 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13913 * BufferView_pimpl.C:
13918 * LyXAction.C: add thesaurus support
13921 * lyxfind.C: add "once" parameter, for thesaurus, to not
13922 move to the next match
13924 2001-07-26 Juergen Vigna <jug@sad.it>
13926 * lyxfont.C (realize): honor ignore_language too!
13929 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13931 * text.C (draw): one place more for ignore_language to not draw
13934 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13936 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13938 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13940 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13941 the minipage conversion problem.
13943 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13945 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13948 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13950 * BufferView.h: don't forward declare WorkArea
13952 * BufferView.C: don't include WorkArea.h
13954 2001-07-25 André Pönitz <poenitz@gmx.net>
13958 * lyxfunc.C: new LFUN 'math-space'
13960 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13962 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13964 * text2.C (toggleInset): call open/close
13966 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13968 * lyxfunc.C (dispatch): add debug for the disabled case
13970 * font.C (buttonText): make similar to rectText
13972 * buffer.C (readInset): comment out parsing of insetlist and
13975 * PainterBase.C (rectText): small correction
13977 * BufferView_pimpl.C: comment out insettheorem and insetlist
13978 * LyXAction.C: ditto
13979 * commandtags.h: ditto
13981 2001-07-24 Juergen Vigna <jug@sad.it>
13983 * text.C (draw): honor the ignore_language.
13985 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13987 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13989 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13992 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13994 * lyxtext.h: remove unused (and unimplemented) methods
13996 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13998 * text.C (getVisibleRow): honor background color
14001 * Painter.h: remove default color argument for fillRectangle
14003 * text.C (backgroundColor): new method
14005 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14007 * text.C (getVisibleRow): adjust
14009 * font.[Ch] (rectText): new method, metrics
14010 (buttonText): new method, metrics
14012 * PainterBase.[hC]: make rectText and buttonText always draw and take
14015 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14017 * ToolbarDefaults.C (read):
14018 * MenuBackend.C (read): allow escaping in all strings
14020 * BufferView_pimpl.C (insertAndEditInset): new method.
14021 (Dispatch): use insertAndEditInset whenever appropriate.
14023 * BufferView_pimpl.C (insertNote): removed
14025 * BufferView_pimpl.C (smartQuote): new method, moved from
14026 BufferView; if an insetquote cannot be inserted, insert a '"'
14029 * BufferView2.C: remove insertCorrectQuote();
14031 * lyxfunc.C (getStatus): Add support for all remaingin
14032 inset-insert lfuns.
14034 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14036 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14037 command (necessary to pass " as parameter of self-insert.
14039 * text.C (selectWordWhenUnderCursor):
14040 (selectWord): add word_location parameter
14041 (selectWordWhenUnderCursor): same + remove special code for word
14043 (selectNextWord): use kind() to guess type of insetspecialchar,
14046 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14047 (insertErtContents): create ert insets as collapsed.
14048 (readInset): better compatibility code for Info inset.
14050 2001-07-20 Juergen Vigna <jug@sad.it>
14052 * lyxfunc.C (dispatch): use always LyXFind now!
14054 * text2.C (init): add a reinit flag so that the LyXText can be
14055 reinited instead of deleted and reallocated (used in InsetText).
14057 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14063 2001-07-18 Juergen Vigna <jug@sad.it>
14065 * text.C (selectNextWord): handle insets inside inset by calling
14066 always the bv->text functions so that we can go up the_locking_inset!
14068 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14069 in strange locations when inside an inset!
14071 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14072 handling to include insets.
14074 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14076 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14078 * LyXAction.C (init):
14080 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14081 LIGATURE_BREAK, since the name is so stupid.
14083 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14085 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14088 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14090 * sp_form.[Ch]: remove.
14092 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14094 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14097 * src/buffer.C (readInset): ditto.
14099 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14101 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14102 menuSeparator(), endOfSentenceDot(), ldots() and
14103 hyphenationPoint(), which are therefore removed.
14104 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14106 * LyXAction.C (init):
14107 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14109 * paragraph.C (getWord): removed.
14111 * BufferView_pimpl.C (Dispatch): use last word or selection for
14112 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14114 * lyx_main.C (queryUserLyXDir): do not ask before creating
14115 user_dir, except if it has been named explicitely.
14117 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14119 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14120 a document of zero size.
14122 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14124 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14125 approriately in the c-tor and in require().
14126 (getPackages): output the appropriate LaTeX for natbib support.
14128 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14129 variables "use_natbib" and "use_numerical_citations" when reading the
14131 (readInset): read the various natbib cite commands.
14132 (validate): white-space change.
14134 * bufferparams.[Ch]: new variables "bool use_natbib" and
14135 "bool use_numerical_citations".
14136 (writeFile): output them in the LyX file.
14138 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14140 * lyxfunc.C (getStatus): add support for all the inset insertion
14143 * text2.C (insertInset):
14144 * paragraph.C (insetAllowed):
14145 * BufferView_pimpl.C (insertInset): update to take in account the
14146 renaming of insertInsetAllowed
14148 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14150 * text2.C (getInset): new method. returns inset at cursor position.
14152 * BufferView_pimpl.C (Dispatch): changes because of this.
14154 * LyXAction.C (init): rename open-stuff to inset-toggle.
14156 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14158 * text2.C (toggleInset): renamed from openStuff; use
14161 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14163 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14165 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14167 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14169 * buffer.C (readLyXformat2): Add filename to the error dialog
14171 2001-07-18 Juergen Vigna <jug@sad.it>
14173 * tabular.C (GetCellNumber): put an assert here instead of the check!
14175 2001-07-17 Juergen Vigna <jug@sad.it>
14177 * BufferView_pimpl.C (toggleSelection): adapted too.
14179 * text.C (selectNextWord): adapted for use with insets.
14180 (selectSelectedWord): ditto
14182 2001-07-17 Juergen Vigna <jug@sad.it>
14184 * sp_spell.C (PSpell): fix initialitation order.
14186 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14188 * paragraph.C: spacing
14190 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14192 * sp_spell.C: repair language selection for pspell
14194 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14196 * lyxfunc.h: change more methods to begin with lower char.
14198 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14200 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14201 for unknown layouts.
14203 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14205 * buffer.C (readLyXformat2): Generate an error dialog if there are
14208 2001-07-16 Juergen Vigna <jug@sad.it>
14210 * sp_spell.C: always compile ISpell part.
14212 * lyxrc.C: added use_pspell entry and it's handling.
14214 2001-07-13 Juergen Vigna <jug@sad.it>
14216 * sp_spell.C: removed double includes.
14218 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14220 Consistent use of Lsstream.h:
14221 * Lsstream.h: added using std::stringstream for consistencies sake.
14223 * buffer.C: removed using std::stringstream
14225 * lyxfont.C (stateText):
14226 * paragraph.C (asString):
14227 * text.C (selectNextWord, selectSelectedWord):
14228 * text2.C (setCounter):
14229 * vspace.C (asString, asLatexString):
14230 std::ostringstream -> ostringstream.
14232 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14234 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14235 * commandtags.h: add LFUN_HELP_ABOUTLYX
14236 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14238 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14240 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14242 * lyx_gui_misc.C: remove spellchecker
14243 * lyxfunc.C: showSpellchecker
14245 * sp_ispell.h: added
14246 * sp_pspell.h: added
14247 * sp_spell.C: added
14248 * sp_form.[Ch]: removed
14249 * spellchecker.[Ch]: removed
14251 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14253 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14255 (simpleTeXSpecialChars): Simply print the input character without
14256 any special translation if pass_thru is set.
14258 * layout.h: Added bool pass_thru to layout class for being able to
14259 implement pass through of a paragraph for Literate Programming.
14261 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14262 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14263 * layout.C (Read): add "passthru" to list of layout tags and add
14264 code to set the pass_thru boolean when it is read.
14266 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14268 * trans_decl.h: remove allowed from KmodInfo
14270 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14271 remove allowed code
14274 * paragraph_pimpl.C (erase): use boost::prior
14276 * Painter.C (text): use data() instead of c_str() when length is
14278 * WorkArea.C (putClipboard): ditto
14279 * font.h (width): ditto
14281 * BufferView2.C: use it-> instead of (*it). for iterators
14283 * paragraph_pimpl.C: ditto
14284 * paragraph.C: ditto
14285 * minibuffer.C: ditto
14286 * language.C: ditto
14288 * encoding.C: ditto
14289 * counters.C: ditto
14290 * converter.C: ditto
14292 * Variables.C: ditto
14293 * TextCache.C: ditto
14294 * MenuBackend.C: ditto
14295 * LyXAction.C: ditto
14297 * FloatList.C: ditto
14298 * DepTable.C: ditto
14299 * ColorHandler.C (LyXColorHandler): ditto
14301 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14303 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14305 * text2.C (openStuff): reintroduce this method (which had been
14306 nuked in NEW_INSETS frenzy).
14308 * lyxfunc.C (Dispatch): when an action has not been handled, use
14309 its name in the error message, not its number.
14311 * paragraph.C (inInset): change method name to begin with lowercase.
14314 * text2.C: updates because of this.
14316 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14318 * ToolbarDefaults.C (add): add spaces in error message
14320 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14322 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14323 (readLyXformat2): rename return_par to first_par, use lyxlex's
14324 pushToken and remove the manual push handling.
14325 (parseSingleLyXformat2Token): add another ert comp. variable:
14326 in_tabular, rename return_par to first_par. handle newlines better
14328 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14330 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14332 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14334 * text2.C (getParFromID): removed
14336 * buffer.C (getParFromID): new method moved form lyxtext.
14337 * BufferView2.C (insertErrors): adjust
14338 (setCursorFromRow): adjust
14339 * BufferView_pimpl.C (restorePosition): adjust
14340 * lyxfunc.C (Dispatch): adjust
14341 * undo_funcs.C (textUndo): adjust
14343 (textHandleUndo): adjust
14344 (textHandleUndo): adjust
14346 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14348 * buffer.C: up' the LYX_FORMAT
14350 * lyxfont.h: turn NO_LATEX on as default
14352 * buffer.C (insertErtContents): new methods of tex style compability.
14353 (parseSingleLyXformat2Token): use it several places.
14354 * tabular.C (OldFormatRead): and here
14356 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14358 * text2.C: remove some commented code.
14361 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14362 * trans.C: changes because of the above.
14364 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14366 * text2.C (setCounter): Fix counters bug with bibliography layout.
14368 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14370 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14371 own member functions
14372 (simpleTeXSpecialChars): ditto
14374 2001-07-06 Juergen Vigna <jug@sad.it>
14376 * a lot of files: changed the access to LyXText::status and the
14377 call of undo-functions.
14379 * undo.[Ch]: added a inset_id to the undo informations.
14381 * undo_funcs.[Ch]: added and moved here all undo functions.
14383 * lyxtext.h: give the status enum a weight, made status_ a private
14384 variable and made accessor functions for it, removed the whole bunch
14385 of undo-functions as they are now in their own file, make some
14386 functions publically available. Added function ownerParagraph with
14389 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14390 made InInset() a const function, added getParFromID() function.
14392 * buffer.[Ch]: added const version for inset_iterator functions,
14393 added getInsetFromID() function.
14395 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14396 changed undo functions for new version.
14398 2001-07-05 Juergen Vigna <jug@sad.it>
14400 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14401 unknow mechanism does not call the proper constructor but only this
14402 one also if I request the other!?
14404 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14406 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14408 * text2.C (LyXText): use initialization lists.
14410 * lyxtext.h (Selection): initialize set_ and mark_
14411 (init): remove method
14413 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14415 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14417 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14419 * screen.[Ch]: change method names to begin with lowercase
14421 * BufferView_pimpl.C (updateScrollbar): simplify further and
14422 hopefully make it a bit faster.
14424 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14426 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14427 calling directly xforms functions.
14429 * Painter.C (Painter):
14430 * lyx_cb.C (MenuWrite):
14431 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14434 * lyx_gui.C: remove bogus guiruntime extern declaration.
14436 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14438 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14440 (redoDrawingOfParagraph): ditto
14441 (redoParagraphs): ditto
14442 (cutSelection): don't create a object for CutAndPaste use the
14443 static method directly
14444 (pasteSelection): ditto
14446 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14449 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14451 * modifications to some other files because of this.
14453 * Makefile.am (lyx_SOURCES): add XFormsView
14455 * XFormsView.[Ch]: new files
14457 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14458 the main window. Move the gui dependent stuff to XFormsView
14460 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14462 * tabular.C (GetCellInset): update cur_cell also in the row/col
14463 version of this function.
14465 * lyxfunc.C: no need to include figure_form.h here.
14471 * lyxvc.C: no need to include forms.h here.
14473 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14475 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14477 * lyxfunc.C (Dispatch):
14479 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14480 constructor argument.
14482 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14484 * paragraph.C (Paragraph): dont't clear, and just set layout.
14485 (makeSameLayout): use params's copy contructor.
14487 * ParagraphParameters.[Ch] (makeSame): delete method
14489 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14491 * Variables.[Ch]: fix indentation, rename set to isSet
14493 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14495 * lyxfunc.C (Dispatch): fix typo
14497 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14499 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14502 * bufferlist.C: include assert.h for emergencyWrite().
14504 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14506 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14507 give up at last (bug #425202) !
14509 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14515 * spellchecker.C: strip spellchecker options and bring up
14516 preferences tab instead
14518 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14520 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14521 the istringstream constructor
14523 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14525 * paragraph.C (getLayout): fix return value
14527 * paragraph.h: do not declare getLayout as inline.
14529 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14531 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14533 * lyxcursor.h (operator<): new func
14534 (operator>): new func
14535 (operator>=): new func
14536 (operator<=): new func
14538 * text.C (changeCase): use selection.start and selection.end
14539 (changeRegionCase): require from to be <= to. Require par to be a
14542 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14544 2001-06-27 Juergen Vigna <jug@sad.it>
14546 * text.C (cursorLeftOneWord): changed to return the cursor and added
14547 overlay with BufferView * parameter which calls this one.
14549 (selectWord): use new getWord function.
14550 (changeCase): renamed from changeWordCase as and extended to work
14551 also on selections.
14553 * lyxtext.h: added enum word_location
14555 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14556 changeCase as this operates now also on selections.
14558 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14560 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14562 * many files: send debug output to Debug::INFO instead of
14565 * converter.C (View):
14567 (Move): send debug output to Debug::FILES instead of console.
14569 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14571 * lyxfunc.C (getStatus): use func_status
14573 * func_status.h: new header, describing the results of
14574 LyXFunc::getStatus;
14576 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14579 2001-06-25 The LyX Project <jug@sad.it>
14581 * buffer.C (sgmlOpenTag):
14583 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14585 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14587 * text2.C: remove some dead code
14589 * tabular.C (GetCellInset): store the last cell checked (gotten)
14591 * tabular.h: add the helper for the speedup
14593 * lyxtext.h: remove some dead code
14595 2001-06-26 The LyX Project <Asger>
14597 * paragraph.C: Change export to LaTeX of alignment to
14598 \begin{center} and family for better roundtrip work with reLyX.
14600 * Tune the math drawing a bit.
14602 2001-06-25 The LyX Project <Asger>
14604 * LColor.C (LColor): New color for math background. New color
14607 2001-06-25 The LyX Project <jug@sad.it>
14609 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14611 * lyxfunc.C (Open):
14612 * bufferlist.C (newFile): do not restrict to files ending with
14615 * BufferView_pimpl.C (MenuInsertLyXFile):
14617 2001-06-24 The LyX Project <jug@sad.it>
14619 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14622 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14624 * lyxtext.h: rename most methods to begin with a small char.
14625 Lots of changes because of this.
14627 * paragraph.C (Paragraph): do not call fitToSize
14628 (erase): call Pimpl::erase
14629 (insertChar): call Pimpl::insertChar
14630 (insertInset): call Pipl::insertInset
14631 (breakParagraph): do not call fitToSize
14632 (breakParagraphConservative): do not call fitToSize
14633 (fitToSize): remove method
14635 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14637 2001-06-24 The LyX Project <Asger>
14639 * Fix Qt compilation^2
14641 2001-06-24 The LyX Project <jug@sad.it>
14643 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14644 depthHook(getDepth()-1).
14647 * ParagraphParameters.h:
14648 * ParameterStruct.h: change type of depth to unsigned int ==
14649 depth_type. Many adaptations to other files before of that.
14651 2001-06-24 The LyX Project <Asger>
14653 * Fix Qt compilation.
14655 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14657 * paragraph.h: renamed several methods to begin with small letter.
14658 several changes to many parts of the code because of this.
14660 2001-06-23 The LyX Project <jug@sad.it>
14662 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14663 rewritten to discard all double spaces when KeepEmpty is off
14664 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14665 to only handle newlines but not fiddle with spaces and friends.
14667 * lyxfunc.C (MenuNew): when doing 'new from template', use
14668 template_path as default directory
14670 2001-06-23 The LyX Project <Asger>
14672 * Clean-up of header file includes all over
14673 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14675 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14677 * paragraph.h: renamed from lyxparagraph.h
14679 2001-06-23 Asger <lyx@violet.home.sad.it>
14681 * Buffer.h: Removed Buffer::resize
14682 * BufferList.h: Removed BufferList::resize
14683 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14684 the document lazily when we change the width, or the font settings.
14686 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14688 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14690 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14692 * buffer.h: remove out of date comment
14694 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14697 * screen.C: fix "theoretical" GC leak
14699 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14701 * LaTeX.C (scanAuxFile):
14702 (deplog): remove trailing \r when reading stream (useful under
14705 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14707 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14708 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14709 and BufferView::theLockingInset(Inset*), so should use them and not
14710 access bv_->text->the_locking_inset directly.
14712 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14714 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14717 * tex-defs.h: remove old unused file
14719 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14721 * BufferView_pimpl.C: fix typo, remove minibuffer message
14722 when buffer has loaded
14724 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14726 * lyxfunc.C (Dispatch): use stringstream
14727 (MenuNew): use stringstream
14728 (Open): use stringstream
14730 * importer.C (Import): use stringstream
14732 * bufferview_funcs.C (CurrentState): use stringstream
14734 * LaTeX.C (run): use stringstream
14736 * BufferView_pimpl.C (savePosition): use stringstream
14737 (restorePosition): use stringstream
14738 (MenuInsertLyXFile): use stringstream
14740 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14753 * vspace.C: removed // -*- C++ -*- as first line.
14756 * version.h: added // -*- C++ -*- as first line.
14758 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14760 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14762 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14765 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14767 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14770 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14772 * gettext.C: include LString.h even when --disable-nls is on.
14774 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14776 * converter.h (Get): changed argument type from int to
14777 FormatList::size_type to avoid unnecessary conversion.
14779 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14782 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14784 * gettext.h: include LString.h even when --disable-nls is on.
14786 2001-06-07 Juergen Vigna <jug@sad.it>
14788 * text.C (BreakAgain): subst spaces with tabs.
14790 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14791 (resizeInsetsLyXText): set force on resizeLyXText.
14793 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14795 * gettext.h (gettext_init):
14796 (locale_init): use a real definition instead of a macro
14798 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14800 * Bufferview_pimpl.C:
14802 * LColor.C: further lcolor tidies
14804 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14806 * BufferView_pimpl.C (updateScrollbar): simplify.
14808 * BufferView2.C: don't include insets/insetinfo.h, change
14809 prototype for insertInset and call the Pimpl version. let
14810 updateInset call Pimpl version.
14812 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14813 gotoInset to BufferView::Pimpl
14815 2001-06-01 Juergen Vigna <jug@sad.it>
14817 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14818 inside a LockingInset (is the update needed at all?).
14820 2001-05-31 Juergen Vigna <jug@sad.it>
14822 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14823 here not the old one otherwise how should we compare it afterwards
14826 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14831 * FontInfo.C: bring C functions into global namespace when
14834 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14836 * LString.h: make sure config.h has been loaded before LString.h.
14838 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14839 (one for each char read by EatLine!).
14841 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14844 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14846 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14847 to the same as the par we break from
14849 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14851 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14853 * MenuBackend.C (expand): also create menu entries for wide
14854 versions of the floats.
14856 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14858 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14860 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14861 frontends/Makefile.am
14867 * tabular.C (getTokenValue): add std::
14869 * tabular-old.C (getTokenValue): add std::
14870 (getTokenValue): ditto
14871 (getTokenValue): ditto
14873 * screen.C (ToggleSelection): adjust
14875 * lyxtext.h: put selection cursors inside a Selection struct.
14877 * lyxfunc.C (moveCursorUpdate): adjust
14879 * lyxfont.C (latexWriteStartChanges): add std::
14881 * lyxfind.C: adjust
14883 * font.h: delete with(char const *, LyXFont const &)
14885 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14887 * FontInfo.C (getFontname): add std::
14889 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14890 (workAreaButtonPress): adjust
14891 (tripleClick): adjust
14893 (moveCursorUpdate): adjust
14896 * BufferView2.C (gotoInset): adjust
14898 2001-05-30 Juergen Vigna <jug@sad.it>
14900 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14901 to check pspell I add this as default as I now have new pspell
14902 libraries and they seem to use this.
14904 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14906 * text2.C (CutSelection): make the cursor valid before the call to
14909 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14911 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14912 relied on 0 terminated strings and other horrors. Bug found due to
14913 the new assert in lyxstring!
14915 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14918 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14920 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14923 * lyxfunc.C (processKeySym): change method of getting to the
14926 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14927 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14928 * BufferView_pimpl.[Ch]: here as private methods.
14930 2001-05-28 Juergen Vigna <jug@sad.it>
14932 * text.C (SetHeightOfRow): added the update() call again as it is
14933 needed to initialize inset dimensions!
14935 2001-05-16 Juergen Vigna <jug@sad.it>
14937 * text2.C (SetCharFont): Add new function with BufferView * and
14938 bool toggleall parameters for setting insets internal fonts.
14939 (SetFont): Freeze the undo as we may change fonts in Insets and
14940 all this change should be inside only one Undo!
14942 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14943 setting font's in insets as for them we have the SetFont function!
14945 2001-05-15 Juergen Vigna <jug@sad.it>
14947 * text2.C (ClearSelection): to be sure we REALLY don't have any
14950 * tabular.C (TeXCellPreamble): fixed the left border problem for
14953 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14955 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14958 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14960 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14961 LFUN_BREAKPARAGRAPH.
14963 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14964 help test to "internal only", similar for LFUN_INSERT_URL
14966 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14967 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14968 auto_region_delete and deadkeys.
14970 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14973 * LColor.C: remove some dead entries, tidy a little
14975 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14977 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14979 (Dispatch): implement LFUN_ESCAPE
14981 * commandtags.h: add LFUN_ESCAPE
14983 * LyXAction.C (init): add entry for LFUN_ESCAPE
14985 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14986 Remove commented code.
14987 (insertNote): moved here
14988 (open_new_inset): moved here
14990 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14993 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14995 * kbmap.C (findbinding): clean it up and make it work correctly.
14997 * lyx_main.C (init): do not pass argc and argv as parameters
14999 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
15001 * buffer.C: fix path for OS/2 & Win32
15005 * lyx_main.C: Added os:: class.
15007 * os2_defines.h: update
15009 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15011 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
15012 better by trying again with reduced state.
15014 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15016 * lyxrc.C (read): print error about invalid key sequence only when
15017 debugging (because not all latinX keysyms are known to some X
15020 * kbsequence.C (getiso): add a few std:: qualifiers
15021 (getiso): comment out extra return statement.
15023 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
15025 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
15027 (Dispatch): enhance the accent inset a bit. (not perfect)
15029 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15031 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15033 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15035 * bufferlist.C (emergencyWrite): fix assert() call
15037 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15039 * text.C (InsertChar): Added trivial patch to only send the "you
15040 can not do multiple spaces this way" message once during a
15043 2001-05-08 Baruch Even <baruch@lyx.org>
15045 * Makefile.am: Changed order of libraries to get LyX to link properly
15046 with the gnome frontend.
15048 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15050 * LaTeXFeatures.h: add a std:: qualifier
15052 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15054 * paragraph.C (String): use stringstream
15056 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15058 * paragraph.C (writeFile): remove footflag arg
15060 * buffer.C (makeLaTeXFile): use stringstream
15061 (latexParagraphs): remove footnot gurba
15063 * LaTeXFeatures.C (getPackages): use stringstream
15064 (getMacros): likewise
15065 (getTClassPreamble): likewise
15066 (getFloatDefinitions): new method
15068 * paragraph.C (writeFile): reindent
15071 * WorkArea.h: revert the xpos + etc changes.
15073 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15075 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15077 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15078 (pasteSelection): likewise
15079 * text2.C (CreateUndo): likewise
15081 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15083 * minibuffer.C (peek_event): temporarily reduce the functionality
15084 of the minibuffer (to allow args on lfuns)
15086 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15087 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15089 * buffer.C (readInset): add compability reading of old float
15090 lists, add reading of new style float list.
15091 (readInset): avoid reevaluation of inscmd.getCmdName()
15092 (getLists): reindent
15094 * MenuBackend.C (MenuItem): implement parsing of
15095 md_floatlistinsert and md_floatinsert.
15096 (expand::LastFiles): move initalizaton of iterators out of loop,
15097 avoid reevaluation.
15098 (expand::Documents): introduce typdedef vector<string> Strings,
15100 (expand::ExportFormats): introduce typedef vector<Format const *>
15101 Formats, and use it.
15102 (expand): implement FloatListInsert and FloatInsert.
15104 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15105 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15106 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15108 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15110 (Dispatch::LFUN_FLOAT_LIST): implement
15112 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15114 * LaTeX.C (run): Fix problem with --export code.
15116 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15118 * BufferView.[Ch] (workarea): removed.
15119 (getClipboard) new method; wrapper for workarea()->getClipboard()
15121 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15124 * WorkArea.h (width, height, xpos, ypos): These methods all
15125 returned the dimensions of the work_area sub-area of WorkArea,
15126 resulting in a position error if the WorkArea were resized. Now
15127 return the dimensions of the entire WorkArea.
15129 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15131 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15133 * LaTeX.C (deplog): correct the syntax of regex reg1
15135 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15137 * undo.C: remove !NEW_INSETS cruft
15139 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15141 * text2.C: remove !NEW_INSETS cruft
15143 * text.C: remove !NEW_INSETS cruft
15145 * tabular.C: remove !NEW_INSETS cruft
15147 * spellchecker.C: remove !NEW_INSETS cruft
15149 * lyxtext.h: remove !NEW_INSETS cruft
15151 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15153 * lyxfunc.C: remove !NEW_INSETS cruft
15155 * lyxfind.C: remove !NEW_INSETS cruft
15157 * lyx_cb.C: remove !NEW_INSETS cruft
15159 * figureForm.C: remove !NEW_INSETS cruft
15161 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15163 * buffer.[Ch]: remove !NEW_INSETS cruft
15165 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15167 * CutAndPaste.C: remove !NEW_INSETS cruft
15169 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15171 * BufferView2.C: remove !NEW_INSETS cruft
15173 * BufferView.h: remove !NEW_INSETS cruft
15175 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15177 * Lsstream.h: include LString.h before the sstream headers to
15178 fix problem with gcc 2.95.3 and lyxstring
15180 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15182 * lyx_main.C: add using directives when needed for C functions
15183 declared in std:: namespace.
15185 2001-04-27 Juergen Vigna <jug@sad.it>
15187 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15188 (SetHeightOfRow): comment out the update call should not be needed!
15190 2001-04-13 Juergen Vigna <jug@sad.it>
15192 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15193 (LyXTabular): tried to minimize operator= operations (and realized
15194 hopfully Lars wish).
15196 2001-04-27 Juergen Vigna <jug@sad.it>
15198 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15200 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15202 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15204 * buffer.C (readInset): hack to make listof algorithm work
15206 * BufferView_pimpl.C: hack to make listof algorithm work
15208 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15210 * LyXAction.C: removed all !NEW_INSETS cruft
15211 (init): moved lfun_item in method
15213 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15215 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15217 * BufferView2.C (theLockingInset): white space.
15219 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15221 * minibuffer.C: include <iostream>
15223 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15225 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15227 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15229 * text.[Ch] (TransposeChars): new method
15231 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15233 * call message directly through LyXView instead of through LyXFunc
15234 * BufferView2.C: adjust
15235 * BufferView_pimpl.C: adjust
15236 * FontLoader.C: adjust
15238 * bufferview_funcs.C: adjust
15239 * converter.C: adjust
15240 * figureForm.C: adjust
15241 * importer.C: adjust
15243 * lyx_gui_misc.C: adjust
15244 * lyxfunc.C: adjust
15247 + more files in subdirs
15249 * lyxparagraph.h (size): move up int file
15252 * adjust all uses of Assert to lyx::Assert.
15254 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15255 lyxfunctional in namespace lyx
15256 * layout.C (hasLayout): ditto
15259 (delete_layout): ditto
15260 (NumberOfClass): ditto
15261 * converter.C (GetFormat): ditto
15266 * bufferlist.C (getFileNames): ditto
15267 (emergencyWriteAll): ditto
15270 * MenuBackend.C (hasSubmenu): ditto
15273 * BufferView_pimpl.C (getInsetByCode): ditto
15275 2001-04-18 Juergen Vigna <jug@sad.it>
15277 * vspace.C (asLatexString): fixed the 100% problem.
15279 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15281 * lyxfunc.C (Dispatch):
15283 * minibuffer.h: add a few std:: qualifiers
15285 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15287 * minibuffer.[Ch]: reimplement so that commands is initiated and
15288 run from lyxfunc, simplified som handling, and made the completion
15289 and history code for complete. wip.
15291 * lyxfunc.C (processKeySym): call message
15292 (miniDispatch): new temporary method
15293 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15294 (LFUN_MESSAGE): implement
15295 (LFUN_MESSAGE_PUSH): implement
15296 (LFUN_MESSAGE_POP): implement
15297 (initMiniBuffer): the initial/defualt minibuffer message.
15299 * lyxfont.[Ch]: inline some more getters
15301 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15303 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15305 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15306 (AutoSave): use LFUN_MESSAGE
15307 (Reconfigure): ditto
15309 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15311 * figureForm.C: use LFUN_MESSAGE
15313 * converter.C (runLaTeX): use LFUN_MESSAGE
15315 * bufferview_funcs.C: use LFUN_MESSAGE
15317 (changeDepth): ditto
15319 * bufferparams.h: use boost::
15321 * bufferlist.h: inherit privately from noncopyable
15323 * bufferlist.C (loadLyXFile): remove some commented code.
15325 * buffer.C (runChktex): use LFUN_MESSAGE
15327 * ShareContainer.h: inherit privately from noncopyable
15329 * ParagraphParameters.[hC] (depth): inline it.
15331 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15333 (message): new method
15334 (messagePush): ditto
15335 (messagePop): ditto
15336 (show): init minibuffer
15337 (showState): direct call
15339 * LaTeX.[Ch]: inherit privately from noncopyable
15340 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15341 instead of WriteStatus.
15343 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15345 * BufferView_pimpl.C (buffer): don't init minibuffer
15346 (workAreaButtonPress): use LFUN_MESSAGE
15347 (workAreaButtonRelease): ditto
15348 (savePosition): ditto
15349 (restorePosition): ditto
15350 (MenuInsertLyXFile): ditto
15351 (workAreaExpose): don't init minibuffer
15352 (update): remove commented code, simplify
15354 * BufferView2.C (openStuff): use LFUN_MESSAGE
15355 (toggleFloat): ditto
15358 (copyEnvironment): ditto
15359 (pasteEnvironment): ditto
15364 (updateInset): remove some commented code
15366 * lastfiles.h: inherit privately from noncopyable
15369 * lyx_main.h: ditto
15371 * lyxlex_pimpl.h: ditto
15373 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15374 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15375 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15377 * LyXAction.h: inherit privately from noncopyable, add methods
15378 func_begin, func_end, returning iterators to the func map.
15380 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15381 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15382 (func_begin): new method
15383 (func_end): new method
15385 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15387 (copySelection): ditto
15388 (pasteSelection): ditto
15390 * BufferView.C: whitespace change
15391 * BufferView.h: inherit privately from noncopyable
15393 2001-04-16 Allan Rae <rae@lyx.org>
15395 * tabular-old.C (l_getline):
15396 * spellchecker.C (sc_check_word):
15397 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15398 an unrecognised preprocessor directive. So ensure they're wrapped.
15400 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15402 * src/exporter.C (Export): Give an error message when path to file
15405 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15407 * LaTeX.C (deplog): Always check that foundfile exists.
15409 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15412 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15414 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15416 * tabular.[Ch] (getLabelList): implement new method
15418 * minibuffer.h: comment ouf setTiimer
15420 * minibuffer.C (ExecutingCB): constify res
15421 (peek_event): constify s
15422 (Set): constify ntext
15423 (Init): constify nicename
15425 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15427 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15428 (savePosition): use two params to Minibuffer::Set
15429 (restorePosition): ditto
15431 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15433 * lyx_main.C: include language.h
15435 * Makefile.am (lyx_main.o): add language.h
15437 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15443 * CutAndPaste.C: include gettext.h
15445 * lyxfont.h: remove old hack with ON and OFF.
15448 * lyxfont.h: do not include language.h...
15453 * bufferview_funcs.C:
15459 * paragraph.C: ... but do it here instead
15461 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15463 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15465 * tabular.C: small reformat
15467 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15470 (BreakParagraph): ditto
15471 (SetOnlyLayout): ditto
15474 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15477 * lastfiles.C: removed most using decl, add std:: where needed
15479 * buffer.C: ws changes
15481 * MenuBackend.C (class compare_format): put into anon namespace
15482 (expand): constify label, names, action, action2
15485 * text.C (SingleWidth): constify font
15486 (IsBoundary): constify rtl2
15487 (GetVisibleRow): constify ww
15489 * LaTeX.C (deplog): constify logfile
15491 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15493 (workAreaExpose): constify widthChange, heightChange
15495 * lyxrow.C (par): moved
15498 * lyxrow.h: as inlines here
15500 * lyxfont.h (shape): moved from lyxfont.C
15501 (emph): moved from lyxfont.C
15503 * lyxfont.C (LyXFont): use initialization list for all
15505 (shape): move to lyxfont.h as inline
15506 (emph): move to lyxfont.h as inline
15509 2001-04-04 Juergen Vigna <jug@sad.it>
15511 * vspace.C: had to include stdio.h for use of sscanf
15513 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15516 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15517 independent of xforms.
15519 2001-04-02 Juergen Vigna <jug@sad.it>
15521 * spellchecker.C: fixed namespace placing!
15523 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15525 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15526 the LyXParagraph * is 0.
15528 2001-03-29 Juergen Vigna <jug@sad.it>
15530 * vspace.C: added support for %, c%, p%, l%.
15531 (stringFromUnit): added helper function.
15532 (asLatexString): changed to give right results for the %-values.
15534 * buffer.C: convert the widthp in a width%.
15536 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15538 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15541 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15542 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15544 * lyx_cb.[Ch]: see above.
15546 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15550 * lyx.[Ch]: replaced by figure_form.[Ch].
15554 * lyxfunc.C: changed headers associated with above changes.
15556 2001-03-27 Juergen Vigna <jug@sad.it>
15558 * BufferView_pimpl.C: set the temporary cursor right!
15560 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15562 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15564 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15566 * LString.h: removed "using std::getline"!
15568 * BufferView_pimpl.C (Dispatch): changes due to changes in
15569 InsetInclude::Params.
15571 * buffer.C (tag_name): removed redundant break statements as they were
15572 producing lots of warnings with my compiler.
15574 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15576 * LString.h: add "using std::getline" when using the real <string>.
15578 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15580 * buffer.C: removed bitset usage.
15581 PAR_TAG moved to an anonymous name space.
15582 (tag_name): new funtion, also in the anonymous namespace.
15583 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15584 (makeDocBookFile): clean code. Completed transition from string arrays
15586 (SimpleDocBookOnePar): code clean.
15588 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15590 * tabular.C: add some comments.
15592 2001-03-22 Juergen Vigna <jug@sad.it>
15594 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15595 compatibility read a bit and fixed bug with minipage in different
15598 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15600 * buffer.C (pop_tag): removed.
15601 (push_tag): removed.
15602 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15603 array replaced with vector. Added support for CDATA sections.
15604 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15606 (makeDocBookFile): XML conformant declaration of CDATA section,
15607 fixed bug related to <emphasis> in the first paragraph char.
15608 (sgmlOpenTag): exclude empty tags.
15609 (sgmlCloseTag): ditto.
15611 * buffer.h (pop_tag): removed.
15612 (push_tag): removed.
15614 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15616 * language.h (Languages): added size_type and size().
15618 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15620 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15621 response on compability reading of minipages. One probliem is that
15622 the old usage of minipages was «flertydig»
15624 * several files here and in subdirs: don't use static at file
15625 scope use anon namespaces instead.
15627 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15629 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15630 LaTeX output. This is necessary for Literate document
15633 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15635 * buffer.C: insert hfill when needed.
15637 * tabular.C (l_getline): use string::erase, small whitespace change.
15639 * BufferView_pimpl.C: try the anon namespace.
15640 * WorkArea.C: ditto
15642 2001-03-16 Juergen Vigna <jug@sad.it>
15644 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15645 otherwise it won't open options-dialogs.
15647 * buffer.C: honor pextraWidth(p) on converting minipages.
15649 * tabular.C (l_getline): changed the functions to strip trailing \r.
15651 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15653 * BufferView_pimpl.C:
15654 * minibuffer..C: added "using SigC::slot" declaration.
15656 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15658 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15664 * paragraph.C: ditto
15666 * lyxtext.h: NO_PEXTRA
15668 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15670 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15671 * ParameterStruct.h: ditto
15672 * ParagraphParameters.h: ditto
15673 * lyxparagraph.h: ditto
15675 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15677 * buffer.C: add compability for minipage alignment.
15678 (latexParagraphs): remove unwanted pextra check.
15680 * several files: remove CXX_WORKING_NAMESPACES
15682 * buffer.C (pop_tag): tie is in namespace boost
15684 * BufferView.h: noncopyable is in namespace boost
15686 * lyx_main.h: ditto
15689 * lastfiles.h: ditto
15690 * bufferlist.h: ditto
15691 * ShareContainer.h: ditto
15693 * LyXAction.h: ditto
15696 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15698 * Merging changes from BRANCH_MVC back into HEAD.
15700 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15702 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15704 * BufferView_pimpl.C: change from intl.C
15708 * Makefile.am: move combox.*
15714 * intl.C: remove dialog (covered by prefs)
15716 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15718 * lyxfunc.C (Dispatch): removed redundant break statement.
15720 2001-03-14 Juergen Vigna <jug@sad.it>
15722 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15724 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15726 * buffer.C: add hack to fix compability reading of minipages.
15728 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15730 * buffer.C (getLists): Cleanup.
15732 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15734 * lyxfont.C (update): don't honor toggleall on font size.
15736 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15740 * Makefile.am: moved to frontends/xforms/
15744 * BufferView_pimpl.C: changes for moved mathpanel
15746 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15748 * gettext.h: fix gettext_init() in --disable-nls
15750 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15752 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15754 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15757 * lyx.h: strip external form
15759 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15761 * BufferView_pimpl.C: add comment, destroySplash()
15763 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15765 * BufferView_pimpl.C:
15769 * lyxfunc.C: use re-worked insetinclude
15771 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15773 * buffer.C: add using std::stringstream.
15775 * lyx_cb.C: readd using std::ios.
15777 * buffer.C: add using std::map.
15779 * BufferView_pimpl.C: add using std::vector.
15781 * ShareContainer.h: add std:: to swap.
15783 * buffer.h: add some typedefs
15784 * buffer.C (getLists): use them
15785 (getLists): renamed from getTocList.
15786 add a counter for the different float types and use it in the
15788 (getLists): use the same counter for the NEW_INSETS and the "non"
15791 * lyx_cb.h: remove unused items, includes, using etc.
15793 * ShareContainer.h: remove some commented code, add more comments
15794 and "documentation".
15796 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15798 * buffer.C (getTocList): make the list also when NEW_INSETS is
15801 * buffer.h: remove TocType
15803 * buffer.C (getTocList): change to return a map<string,
15804 vector<TocItem> >, implement for dynamic number of list.
15806 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15807 * text2.C (PasteSelection): adjust
15808 * CutAndPaste.C (pasteSelection): adjust
15810 * FloatList.C (FloatList): update from the new_insets branch.
15811 * Floating.[Ch]: ditto
15812 * LaTeXFeatures.C: ditto
15814 * lyxlex_pimpl.C: ditto
15816 * paragraph.C (Last): remove when NEW_INSETS is defined.
15818 * other file: changes because of the above.
15820 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15822 * lyxparagraph.h: rename next to next_, previous to previous_,
15823 make them private for NEW_INSETS. Rename Next() to next(),
15824 Previous() to previous().
15826 * other files: changes because of the above.
15828 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15831 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15834 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15836 * main.C (main): pass lyx_localedir to gettext_init().
15838 * gettext.h: remove locale_init and gettext_init macros
15840 * gettext.C (locale_init): new function
15841 (gettext_init): new function
15843 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15846 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15848 * Moved credits to frontends:
15849 * credits.[Ch]: removed
15850 * credits_form.[Ch]: removed
15851 * lyx_gui_misc.C: remove credits stuff
15854 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15856 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15858 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15859 unneeded destructor.
15861 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15862 a standalone pointer again.
15864 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15866 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15872 * ToolbarDefaults.C:
15881 * BufferView_pimpl.C: use new file dialog in GUII
15884 * lyx_cb.C: remove LayoutsCB to Toolbar
15886 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15888 * ShareContainer.h (get): add std:: qualifier
15890 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15892 * ShareContainer.h: define a proper ShareContainer::value_type
15893 type (and use typename to please compaq cxx)
15895 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15897 * lyxparagraph.h: move serveral local vars to
15898 ParameterStruct/ParagraphParameters., use ShareContainer in
15899 FontTable., make vars in FontTable private and add getter and
15902 * paragraph.C: changes because of the above.
15904 * lyxfont.h: remove copy constructor and copy assignment. (the
15905 default ones is ok), move number inside FontBits. move inlines to
15908 * lyxfont.C: add number to initializaton of statics, move several
15909 inlines here. constify several local vars. some whitespace
15910 cleanup. Dont hide outerscope variables.
15912 * Spacing.h: add two new constructors to match the set methods.
15914 * ShareContainer.h: new file, will perhaps be moved to support
15916 * ParameterStruct.h: new file
15918 * ParagraphParameters.h: new file
15920 * ParagraphParameters.C: new file
15922 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15923 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15925 * BufferView_pimpl.C: ParagraphParameter changes.
15926 * buffer.C: Likewise.
15927 * bufferview_funcs.C: Likewise.
15928 * text.C: Likewise.
15929 * text2.C: Likewise.
15931 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15933 * lyxfind.C (LyXReplace): do not redefine default argument in
15935 (IsStringInText): ditto
15936 (SearchForward): ditto
15937 (SearchBackward): ditto
15939 2001-03-06 Juergen Vigna <jug@sad.it>
15941 * lyxfind.C (IsStringInText): put parentes around expressions.
15943 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15945 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15947 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15949 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15951 * stl_string_fwd.h: add comment
15953 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15956 * tabular.C: remove unused DocBook methods
15962 killed DO_USE_DEFAULT_LANGUAGE
15964 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15966 * lyx_gui.C: do not include language.h.
15968 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15969 arguments in function implementation.
15971 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15973 * BufferView_pimpl.C: add <ctime>
15975 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15977 * BufferView_pimpl.C: add using std::find_if
15979 2001-02-27 José Matos <jamatos@fep.up.pt>
15981 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15984 2001-02-11 José Matos <jamatos@fep.up.pt>
15986 * buffer.C (makeDocBookFile): command styles now have a parameter as
15987 "title" by default.
15989 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15991 * layout_forms.[Ch]: removed
15992 * lyx_cb.[Ch]: out character
15993 * lyx_gui.C: out character
15994 * lyx_gui_misc.C: out character
15995 * bufferview_funcs.C: : out character,
15996 added toggleall as parameter in ToggleAndShow
15998 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
16000 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
16002 * text2.C (SetCurrentFont): Disable number property at boundary.
16004 2001-02-26 Juergen Vigna <jug@sad.it>
16006 * lyxfunc.C (getStatus): added a string argument override function so
16007 that this is correctly called from LyXFunc::Dispatch if it contains a
16008 do_not_use_argument which is used!
16009 (Dispatch): added check for "custom" export and call appropriate func.
16011 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
16013 * lyxrc.C: Add language_command_local, language_use_babel and
16014 language_global_options.
16016 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
16018 * buffer.C (makeLaTeXFile): Use language_use_babel and
16019 language_global_options.
16021 2001-02-23 Juergen Vigna <jug@sad.it>
16023 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
16024 which works with LyXText and putted it inside BufferView. Here now we
16025 only call for that part the BufferView::Dispatch() function.
16027 * BufferView.C (Dispatch): added.
16029 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16030 functions which needs to use a LyXText over from LyXFunc.
16031 (MenuInsertLyXFile): added
16032 (getInsetByCode): added
16033 (moveCursorUpdate): added
16034 (static TEXT): added
16036 2001-02-22 Juergen Vigna <jug@sad.it>
16038 * BufferView_pimpl.C (update): call a status update to see if LyXText
16041 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16043 * vc-backend.C (revert): implement for CVS
16044 (getLog): implement for CVS
16046 2001-02-20 Juergen Vigna <jug@sad.it>
16048 * text2.C (ClearSelection): added BufferView param for inset_owner call
16050 * lyxfunc.C (TEXT): added this function and use it instead of
16051 directly owner->view()-text of getLyXText().
16053 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16055 * src/layout_forms.C: out preamble
16056 * src/layout_forms.h: out preamble
16057 * src/lyx_cb.C: out preamble
16058 * src/lyx_cb.h: out preamble
16059 * src/lyx_gui.C: out preamble
16060 * src/lyx_gui_misc.C: out preamble
16061 * src/lyxfunc.C: connect with guii preamble
16063 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16065 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16067 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16069 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16070 whether to run bibtex.
16072 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16074 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16076 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16078 * Makefile.am (lyx_SOURCES): removed bibforms.h
16080 * vspace.h: doxygen
16082 * text.C (GetVisibleRow): make several local vars const
16084 * tabular.C: small cleanup.
16086 * lyxserver.C (callback): use compare instead of strncmp
16088 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16089 inlines to after class or to paragraph.C
16091 * lyxfont.h: remove friend operator!=
16093 * converter.h: move friend bool operator< to non friend and after
16096 * combox.h: small cleanup
16098 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16099 to inlines after class def.
16101 * buffer.C (pop_tag): use string operations instead of strcmp
16103 * bmtable.c: doxygen, small cleanup
16105 * LaTeX.h: remove friend operator==
16107 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16119 * BufferView_pimpl.C:
16120 * BufferView.[Ch]: remove cruft
16122 2001-02-14 Juergen Vigna <jug@sad.it>
16124 * lyxfunc.C: removed #if 0 unused code
16126 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16128 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16130 * text2.C (SetSelection): added a BufferView * parameter
16132 2001-02-13 Juergen Vigna <jug@sad.it>
16134 * lyxfunc.C (Dispatch): fixed protected blank problem.
16135 * BufferView2.C (protectedBlank): added LyxText * parameter.
16137 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16138 (AppendColumn): same as above for column_info.
16140 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16141 (moveCursorUpdate): use a LyXText param for support of InsetText.
16143 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16144 (tripleClick): ditto
16146 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16148 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16150 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16152 * text2.C (SetSelection): set correct update status if inset_owner
16153 (ToggleFree): ditto
16155 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16157 * tabular.C: remove some commented code.
16159 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16161 * BufferView_pimpl.C: call hideSplash()
16163 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16166 * bibforms.h: remove
16169 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16170 add LFUN_CHILD_CREATE
16172 * counters.h: fix tiny typo
16177 * lyx.C: move splash to frontends/xforms/
16179 * lyx_gui_misc.C: move Include and Bibform to frontends
16181 * lyxvc.h: clarify comment
16183 * vspace.C: tiny housekeeping
16185 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16187 * text.C (PrepareToPrint): RTL Fix.
16189 * paragraph.C (GetUChar): New method.
16190 (String): Use GetUChar.
16192 * buffer.C (asciiParagraph): Use GetUChar.
16194 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16196 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16198 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16201 * buffer.C: rename to getLogName(), handle
16202 build log / latex log nicely
16204 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16207 * MenuBackend.h: remove support for reference menuitem type.
16209 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16211 * BufferView_pimpl.C: housekeeping
16212 * BufferView_pimpl.h:
16217 * minibuffer.h: move Timeout GUI-I
16219 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16221 * lyxrc.C (read): Update converters data-structures.
16223 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16225 * LaTeX.h (operator!=): add operator != for Aux_Info
16227 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16229 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16231 * LaTeXLog.C: deleted, useful code moved to Buffer
16234 * buffer.C: new function getLatexLogName()
16240 * lyxfunc.C: use frontends for LaTeX and VC logs
16242 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16244 * LaTeX.h: yet another std:: that Allan forgot.
16246 * Variables.C (set): renamed from isset(), because this clashes
16247 with some HP-UX macros (grr).
16249 2001-02-06 Allan Rae <rae@lyx.org>
16251 * LaTeX.h: Another bug fix. Missing std:: this time.
16253 2001-02-04 Allan Rae <rae@lyx.org>
16255 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16256 floats problem. I've left it commented out because it's not quite
16257 correct. It should also test that the current object is a table or
16258 figure inset. But I haven't gotten around to figuring out how to do
16259 that. I *think* it'll be something like: "table" == inset.type()
16261 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16264 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16266 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16267 all the citation/databases/styles in the auxilary file.
16268 (run): Rerun latex if there was a babel language error.
16270 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16272 * text.C (Backspace): Preserve the font when changing newline char
16274 (BreakParagraph): If the cursor is before a space, delete the space.
16276 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16278 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16280 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16281 new argument (code).
16282 (ChangeCitationsIfUnique): New method.
16284 * paragraph.C (GetPositionOfInset): Handle bibkey.
16286 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16288 * BufferView_pimpl.h: change type of Position::par_pos to
16289 LyXParagraph::size_type.
16291 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16293 * BufferView_pimpl.C (savePosition, restorePosition): Write
16294 messages to minibuffer.
16296 2001-01-28 José Matos <jamatos@fep.up.pt>
16298 * buffer.C (makeDocBookFile): adds support for document language.
16299 A silly restriction on the name of LatexCommand types where removed.
16300 Added support for CDATA sections, allows to chars unescaped, used
16301 among others in code, to avoid escape < and >.
16303 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16305 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16306 saved positions instrad of a stack. Furthermore, a position is
16307 stored using paragraph id/paragraph position.
16309 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16310 Remove LFUN_REF_BACK.
16312 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16314 * converter.C (dvipdfm_options): New method.
16316 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16318 * vspace.C (isValidLength): Fix for empty input string.
16320 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16322 * LyXAction.C (init): change description of LFUN_FIGURE to
16325 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16327 * LaTeX.C: add using directive
16329 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16331 * MenuBackend.C (expand): Fix the sorting of the formats.
16333 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16335 * lyx_main.C: tiny error message fix
16337 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16339 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16340 calling fl_initialize(). This fixes the problem with ',' as
16341 decimal separator in text files.
16343 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16345 * trans.C (process): Fix the keymap bug.
16347 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16349 * LaTeX.C (scanAuxFiles): New method. Provides support for
16350 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16351 (scanLogFile) Scan for "run BibTeX" messages.
16353 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16354 OT1 font encoding. Also, load the aecompl package if the ae
16357 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16359 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16361 * texrow.C (increasePos): turn two error messages into debug
16364 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16366 * LaTeX.C (scanAux): Handle the \@input macro.
16367 (runBibTeX): Use scanAux().
16369 * language.C (latex_options_): New field.
16371 * LaTeXFeatures.C (getMacros): Add language macros.
16373 * buffer.C (makeLaTeXFile): Small fix.
16375 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16377 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16379 * text2.C: add a using directive.
16381 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16386 * lyxfunc.C: kill LyXBell.
16388 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16390 * text.C (IsBoundary): Remove the error message
16392 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16394 * lyxrc.C (setDefaults): Correct initialization value for
16397 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16399 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16402 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16403 and GotoNextNote().
16405 * src/LyXAction.C: Added reference-next.
16407 * text.C (InsertChar): Use contains instead of strchr.
16409 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16411 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16413 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16414 alignment commands (when needed).
16416 * text.C (InsertChar): Add ':' to number separator chars.