1 2004-11-07 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * converter.C (move): don't lie in the error message
4 * converter.h (isReachable, move): document
6 2004-11-07 Lars Gullik Bjonnes <larsbj@gullik.net>
8 * buffer.C: remove unused using lyx::support::atoi
9 * paragraph_funcs.C: ditto
11 2004-11-06 Lars Gullik Bjonnes <larsbj@gullik.net>
13 * bufferlist.C (exists): use bind and equal_to instead of
16 * lyxtextclasslist.C (NumberOfClass): ditto
18 * cursor.C (insert): use for_each instead of explicit for loop
20 * bufferlist.C (getFileNames): use std::transform and
21 std::back_inserter instead of std::copy and lyx::back_inserter_fun.
23 * buffer_funcs.C (bufferErrors): use for_each instead of explicit
26 * buffer.C (changeLanguage): use for_each instead of explicit for
28 (hasParWithID): implement using getParFromID
30 * LaTeXFeatures.C: ws change only
32 * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
35 * BufferView_pimpl.C (trackChanges): use for_each instead of
38 2004-11-04 André Pönitz <poenitz@gmx.net>
41 * undo.C (textUndoOrRedo): fix crash when creating undo information.
43 * dociterator.C (asDocIterator): use hard assert again.
45 2004-11-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
47 * lyxlength.C (asLatexString): rewrite so that it does not use
50 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
52 * text3.C (specialChar, dispatch): make sure cursor moves to the
53 right after inserting an inset
55 2004-11-02 José Matos <jamatos@lyx.org>
57 * output_docbook.C (docbook):
58 * paragraph.C (getID):
59 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
60 garantee that the output is always legal.
62 * tabular.C (docbook):
63 * outputprams.[Ch]: remove mixed contents.
65 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
67 * text2.C (setCounter): prevent endless loop
69 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
71 * exporter.C (copyFile): use the mover instead of support::copy()
72 * exporter.C (Export): pass format and latex name to copyFile()
73 * exporter.h (addExternalFile): document
74 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
76 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
78 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
80 2004-10-30 José Matos <jamatos@lyx.org>
82 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
83 text and no inset or font change. This allows to use CDATA
84 sections just for the whole paragraph.
86 2004-10-30 José Matos <jamatos@lyx.org>
88 * paragraph.C (getFirstWord): remove unused variable.
90 2004-10-30 José Matos <jamatos@lyx.org>
92 * paragraph.C (getFirstWord): the content should always be escaped
94 (simpleDocBookOnePar):
95 * output_docbook.C (makeEnvironment): replace reference to CDATA
98 2004-10-30 José Matos <jamatos@lyx.org>
100 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
102 2004-10-30 José Matos <jamatos@lyx.org>
104 * output_docbook.C (makeParagraphs):
105 * paragraph.[Ch] (emptyTag): for docbook and company, if the
106 standard paragraph has only a given type of content drop the wrapper.
108 2004-10-29 José Matos <jamatos@lyx.org>
110 * output_docbook.C (makeEnvironment):
112 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
114 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
116 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
117 (cleanID): sanitize any id.
119 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
121 * buffer.C, lyxlex_pimpl.C:
122 * lyxlex_pimpl.C (setFile):
123 s/getExtFromContents/getFormatFromContents/
125 2004-10-28 José Matos <jamatos@lyx.org>
127 * output_docbook.C (makeEnvironment): move id to broadest possible
130 * sgml.C (openTag): apply substitution of <> for all attributes.
132 2004-10-28 José Matos <jamatos@lyx.org>
134 * buffer.C (makeLinuxDocFile, makeDocBookFile):
135 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
136 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
138 * sgml.[Ch]: new version for open and closeTag for paragraph and
139 for strings. Now they handle the ids of paragraphs.
141 2004-10-26 Angus Leeming <leeming@lyx.org>
143 * Makefile.am: add mover.[Ch].
145 * converter.C (convert, move): use the new Movers to move external
146 files to the temp directory.
148 * lyx_main.C (init): ensure that the global system_movers data
151 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
154 * mover.[Ch]: new files, defining a Mover as a utility to move an
155 external file between directories and, if necessary, manipulate this
156 file using a helper script.
158 2004-10-25 José Matos <jamatos@lyx.org>
160 * output_docbook.C (makeCommand): merge two if's that tested the
163 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
165 * sgml.C (escapeString): fix warning in a better way
167 2004-10-25 José Matos <jamatos@lyx.org>
169 * sgml.C (escapeString): import the require boosts header file for
170 tie, and avoid a signed unsigned comparison.
172 2004-10-25 José Matos <jamatos@lyx.org>
174 * sgml.h: add #include <string>
176 2004-10-25 José Matos <jamatos@lyx.org>
178 * sgml.[Ch] (escapeString): new function to escape all the string.
180 2004-10-24 José Matos <jamatos@lyx.org>
182 * paragraph.[Ch] (getFirstWord): new function to get the first
183 word. Useful for description.
184 (simpleDocBookOnePar): remove depth argument, add another that
185 says where to start the paragraph.
187 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
188 use the new functions to fix cleanly the support for descriptions.
190 2004-10-24 José Matos <jamatos@lyx.org>
192 * buffer.C (makeLinuxDocFile, makeDocBookFile):
193 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
194 * output_linuxdoc.C (linuxdocParagraphs):
195 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
196 add buffer as argument.
198 2004-10-24 José Matos <jamatos@lyx.org>
200 * output_docbook.C (makeEnvironment, searchEnvironment): place
201 CDATA inside paragraphs and fix scope for listitems.
203 2004-10-24 José Matos <jamatos@lyx.org>
205 * output_docbook.C: remove using statement for stack.
207 2004-10-23 José Matos <jamatos@lyx.org>
209 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
210 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
211 docbook. The new scheme is recursive and makes use of iterators, the
212 same as latex export works.
213 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
214 directly with the paragraph contents. This code was moved up to
215 output_docbook.C (docbookParagraphs).
216 * sgml.C (openTag, closeTag): removed unneeded newlines.
217 (closeEnvTags) removed.
219 2004-10-23 André Pönitz <poenitz@gmx.net>
221 * undo.C (textUndoOrRedo):
222 * dociterator.C (asDocIterator): work around crash
224 * cursor.C (getStatus): replace ASSERT by more verbose error message
225 and manual correction of the problem. Should increase stability
226 while providing more sensible information.
228 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
230 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
232 * bufferlist.C (previous, next): new methods
235 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
237 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
239 * buffer.C (makeDocBookFile): add dsssl stylesheet control
240 entities to preamble.
242 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
244 * messages.C (Pimpl): strip off translation context information
246 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
248 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
249 the cursor is correct (bug 1694)
251 2004-10-13 José Matos <jamatos@lyx.org>
253 * output_docbook.C (docbookParagraphs): fix closing tags in the
256 2004-10-09 José Matos <jamatos@lyx.org>
258 * buffer.C: format up to 237.
259 * bufferparams.C (write): use tostr to convert booleans to strings.
261 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
263 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
265 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
267 * LaTeX.C: implement use of babel language in xindy.
269 2004-10-05 José Matos <jamatos@lyx.org>
271 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
272 Add new translators to help reading and writing the lyx file.
274 2004-10-05 José Matos <jamatos@lyx.org>
276 * ParagraphParameters.C (read):
277 * text.C (readParToken): replace nexToken by more appropriate lex
280 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
282 * LaTeX.C (runMakeIndex):
283 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
284 (usually 'makeindex') configurable.
286 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
287 with a variable rather than with a number.
289 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
291 * output_latex.C (TeXOnePar): make sure font setting is the first
292 thing that gets output (and the last at the end). Should fix bug
295 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
297 * pch.h: use proper signal include
299 * LaTeX.h: Use preferred calling of Boost.Signal
302 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
304 * pch.h: dont include <boost/function/function0.hpp>
306 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
308 * paragraph_pimpl.h: remove usage of ShareContainer
310 * paragraph_pimpl.C: remove initialization of ShareContainer.
312 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
316 * BufferView.C (putSelectionAt): change the semantics when
317 backwards == true: now, this just swaps cursor and anchor wrt the
320 * BufferView.h (putSelectionAt): add some documentation
322 * lyxfind.C (findBackwards): rewrite using while(). In particular,
323 make sure backwardChar is done at least once (to avoid getting
325 (findNextChange): use putSelectionAt in the forward direction
326 (operator()): use Paragraph::isWord
328 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
330 * Spacing.C (set): c_str fix
332 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
334 * lyx_cb.C (Reconfigure): quote the name of configure script in
335 case it contains spaces
337 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
341 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
342 (BOOST_LIBS): use top_buildir when looking for the file
344 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
346 * pch.h: do not use include boost/format.hpp, multiple symbols
347 will result (gcc bug)
350 2004-08-23 José Matos <jamatos@lyx.org>
352 * bufferparams.C (readToken): fix reading of the author field.
354 2004-08-20 José Matos <jamatos@lyx.org>
356 * lyxrc.C: remove support/translator.h inclusion since it is not used.
358 2004-08-20 José Matos <jamatos@lyx.org>
360 * lyxlex.[Ch] (findToken): remove function.
362 * ParagraphParameters.C (findToken):
363 * bufferparams.C (findToken): replace call for previous function
364 with local copy. This local function has one more argument, the
365 read string argument.
367 2004-08-16 José Matos <jamatos@lyx.org>
369 * ParagraphParameters.C (write):
370 * Spacing.C (writeFile):
371 * bufferparams.C (writeLaTeX):
372 * lyx_cb.C (Reconfigure):
373 * paragraph.C (write):
374 * tabular.C (write): remove unnecessary space at end of line.
377 2004-08-16 José Matos <jamatos@lyx.org>
379 * text.C (readParagraph): remove debug message.
381 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
383 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
386 * output_plaintext.C (asciiParagraph): set depth correctly
388 * outputparams.h: add member depth
390 * paragraph_funcs.C (ownerPar): remove.
392 * text2.C (setCounter): remove first_pit; comment out some
393 non-working code that uses ownerPar
395 * BufferView.C (getParentLanguage): remove. Not used anymore, and
398 2004-08-16 José Matos <jamatos@lyx.org>
400 * text.C (readParToken, readParagraph, read): report all unknown tokens.
401 For the same level of importance use the same chanel to report problems.
402 (read): add code to deal with \begin_body and \end_body.
405 2004-08-15 José Matos <jamatos@lyx.org>
407 * lyxlex.C (getString): fix comment, buffer::readBody is now
410 * tex-strings.C (string_papersize): Default -> default,
411 Custom -> custom, for consistency with other options.
413 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
417 * Makefile.am: support pch
419 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
421 * text.C (readParToken): remove the static LyXFont variable and
422 pass it as a parameter instead. This fixes a nasty bug where an
423 inset will be inserted with a bad font in some situations
424 (readParagraph): adapt
426 * text2.C (setCounter): reduce number of calls to pars_[pit]
428 * text.C (singleWidth): add an assert, fix a test
430 * rowpainter.C (paintText): reduce number of calls to singleWidth
432 * paragraph.C (isHfill):
435 2004-08-14 André Pönitz <poenitz@gmx.net>
440 * lyxtext.h (several functions): use a Paragraph & argument
443 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
445 * metricsinfo.h: add a new field ltr_pos to PainterInfo
447 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
449 * text.C (singleWidth): remove useless test
451 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
453 * tabular.h: remove bogus comments
455 * tabular.C (getDescentOfRow):
456 (isPartOfMultiColumn): add assertions
458 * lyxlength.C (inPixels): remove #warning
460 2004-08-14 André Pönitz <poenitz@gmx.net>
462 * paragraph.h: inline getChar()
464 * BufferView.h: remove unused declarations
466 2004-08-14 José Matos <jamatos@lyx.org>
468 * Buffer.[Ch] (readDocument): new name for old readBody.
469 * Buffer.C: new file format, new keywords: \begin_document,
470 \begin_header, \begin_body, \end_body.
472 * bufferparams.C (readToken): replace all calls to lex.nextToken
473 by lex.next(). Do the same to eatLine except where really needed.
475 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
476 line when writing to the lyx file.
478 * output_plaintext.C (asciiParagraph): fix Bibliography style
481 * text.C (read): fix end of file handling.
483 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
485 * MenuBackend.C (Menu::operator[]): new method to access
486 individual menu items
487 (Menu::hasFunc): new method. search for an item that corresponds
489 (MenuBackend::specialMenu): new method
490 (MenuBackend::expand): if a special menu has been set, skip
491 entries whose func() appears in this menu
493 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
495 * text3.C: use Debug::DEBUG a bit more
497 * text.C (leftMargin): try to simplify a tiny bit change var x to
498 l_margin. Dont output the wide margins always.
499 (rightMargin): no margin in inner texts
501 * rowpainter.h (nestMargin): new func
502 (changebarMargin): new func
503 (rightMargin): new func
505 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
509 * factory.C (createInset): modify setDrawFrame
511 * cursor.C: use Debug::DEBUG a bit more
513 2004-08-14 André Pönitz <poenitz@gmx.net>
516 * Makefile.am: new files to accomodate an 'external' (x,y)-position
517 cache for all insets in (at least partially) visible (top-level)
520 * BufferView_pimpl.C: reset external coord cache before every update.
521 This means the coord cache only contains valid entries.
523 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
526 * BufferView_pimpl.C (getInsetByCode): move function out of class
527 and change in to a template in anon namespace. Also fix to do what
530 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
533 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
535 (breakParagraph): rename par to par_offset and use a local
536 reference. Add code to keep the language over a rebreak.
537 (breakParagraphConservative): rename par to par_offset, use a
539 (mergeParagraph): ditto
541 (isFirstInSequence): ditto
542 (outerFont): rename pit to par_offset
544 * paragraph.C: ws change
549 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
551 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
554 * paragraph.C (simpleTeXOnePar): when we have a \item with
555 optional argument, enclose the argument with curly brackets (in
556 case it contains a closing square bracket)
560 * text3.C (checkInsetHit): constify
562 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
564 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
567 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
569 Fix toggling of collapsable insets with the mouse (bug 1558)
571 * lyxfunc.C (dispatch): adapt to LCursor changes
573 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
574 make sure that dispatch is not invoked twice
576 * cursor.C (needsUpdate): new method
577 (dispatch): return void
578 (result): new method, to access the DispatchResult of the cursor.
580 2004-08-13 José Matos <jamatos@lyx.org>
582 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
584 2004-08-13 André Pönitz <poenitz@gmx.net>
586 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
588 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
591 2004-08-12 André Pönitz <poenitz@gmx.net>
593 * text3.C: take out the 'cursor right' form insertInset and only
594 do it in those places when it is really needed. Fixes crash on
597 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
599 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
601 * BufferView_pimpl.C (setBuffer): initialize the current font of
602 the underlying LyXText
604 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
606 * kbsequence.C (print): use UI native formatting for menu
609 * text.C (insertChar): call Paragraph::insertChar with a font
612 * paragraph.C (insertInset, insertChar): the version that takes a
613 LyXFont argument is now a wrapper around the other one (the
614 opposite used to be true).
616 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
617 argument. Font setting is done in Paragraph now.
619 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
621 * outputparams.h: add new members intitle and lang.
623 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
624 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
626 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
628 * text3.C (dispatch): remove special handling of button 4 and 5,
629 it is now taken care of in the frontend code.
631 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
633 * Spacing.h: add <string> (STLPort compile fix)
635 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
637 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
639 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
641 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
644 * converter.C (showMessage): inherit from unary_function, make
647 * buffer.C (writeFile): initialize retval
649 * InsetList.h: rename private variable list to list_
650 * InsetList.[Ch]: adjust accordingly.
652 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
654 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
655 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
656 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
657 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
658 * ParagraphParameters.C, LaTeXFeatures.C: replace
659 "support/std_sstream.h" with <sstream>
661 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
663 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
664 * lyxsocket.C (LyXServerSocket): ditto
665 (serverCallback): ditto
667 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
669 * LaTeXFeatures.C: check release date when loading jurabib.
671 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
673 * lyxserver.C (startPipe): call register_socket_callback
674 (endPipe): call unregister_socket_callback
676 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
678 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
679 (LyXServerSocket): register the callback
680 (LyXServerSocket): unregister the callback
681 (fd): delete function
682 (serverCallback): improve error checking and setup the callbacks.
683 (dataCallback): change arg to fd.
684 (writeln): new func (copied fro the client socket) used for server
686 (LyXDataSocket): simplify
687 (~LyXDataSocket): close ann unregiser callback
688 (server): delete function
689 (fd): delete function
690 (readln): small changes, improve some std::string usage
691 (writeln): constify a bit
693 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
695 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
698 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
700 * BufferView_pimpl.C (setBuffer): set the layout combox value only
701 after it has been populated
703 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
705 * text2.C (insertInset): move cursor when inserting inset.
707 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
709 * kbmap.C (findbindings): a couple of new methods. returns a
710 container of kb_sequence objects. The real work is done by the
711 private recursive version
712 (printbindings): uses findbindings to print out a bracketed list
713 of bindings (renamed from findbinding).
715 * MenuBackend.C (binding): use kb_keymap::findbindings
717 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
719 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
721 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
723 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
725 * paragraph.C (isWord): return true on insets that report
728 * text.C (getWord): use Paragraph::isWord to decide what is in a
729 word and what is not; fix bug 1609.
731 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
733 * tex-strings.C: add "none" to string_paperpackages[], fixes
734 off-by-one-error in the paperpackage selection.
737 * tex-strings.[Ch]: char const * string[n]
738 -> char const * const string[]
740 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
742 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
743 command, return early.
745 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
747 * debug.h: add DEBUG to enum and fix size of ANY.
749 * debug.C: add support for Debug::DEBUG
750 (showTags): cast errorTags.level to unsigned int
752 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
753 (redoCurrentBuffer): ditto
754 (updateScrollbar): ditto
755 * cursor.C (dispatch): ditto
756 * text2.C (setLayout): ditto
758 (updateCounters): ditto
760 (deleteEmptyParagraphMechanism): ditto
762 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
764 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
765 annotations to cleanup the Makefile slightly.
767 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
769 * lyxrc.C: do not set user_email to a default value but use empty
770 instead. The entry used to be translated, which does not work
771 since at the point where lyxrc is constructed there is no
772 translation service available
774 * messages.C (getLocaleDir): remove and use directly
775 lyx_localedir() instead
777 2004-06-02 Angus Leeming <leeming@lyx.org>
779 Fix crash caused by dereferencing null pointer 'exportdata' in
780 OutputParams by creating a new ExportData variable on the heap,
781 storing it in a boost::shared_ptr.
782 The crash was triggered when generating an Instant Preview
783 of an external inset.
785 * Makefile.am: add outputparams.C
787 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
788 (c-tor): allocate memory to it.
790 * exporter.C (c-tor): associated changes.
792 2004-06-01 Angus Leeming <leeming@lyx.org>
794 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
795 contains data before calling isInset(0). (Bug 1513.)
797 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
799 * exporter.C (checkOverwrite): new method
800 * exporter.C (copyFile): new method
801 * exporter.C (Export): copy referenced files to the document dir
802 * exporter.[Ch]: new class ExportedFile
803 * exporter.[Ch]: new class ExportData. Contains currently the
804 names of referenced external files
805 * outputparams.h: add exportdata member.
807 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
809 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
812 2004-05-19 Angus Leeming <leeming@lyx.org>
817 * lyxfunc.C: small changes due to the introduction of namespace
818 lyx::frontend and the moving of namespace biblio to lyx::biblio.
820 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
822 * text3.C (dispatch): supress update when only moving the cursor
823 * cursor.C (selHandle): remove commented code
825 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
827 * paragraph.C (startTeXParParams): correct column count
828 * CutAndPaste.C (pasteSelection): remove const_cast
829 * output_docbook.C (docbookParagraphs): remove const_cast
830 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
831 const_cast and return ParagraphList::const_iterator
832 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
833 * output_plaintext.C (writeFileAscii): remove const_cast
834 * paragraph.[Ch] (simpleTeXOnePar): make const
835 * paragraph_funcs.C (outerPar): use const iterators
836 * paragraph_pimpl.C (validate): use const iterators
837 * text.C (setHeightOfRow): use const iterators
839 2004-05-17 Angus Leeming <leeming@lyx.org>
842 * LyXAction.C (init): new LFUN_INSET_REFRESH.
844 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
845 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
846 if the citation engine has changed.
848 2004-05-14 José Matos <jamatos@lyx.org>
850 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
851 if the textclass does not provide it. Have it different for sgml and
853 support the language of document.
854 * output_docbook.C (docbookParagraphs):
855 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
856 first anchor as the id of the paragraph, remove special case code.
857 * sgml.C (escapeChar): escape only < & >.
859 2004-05-14 Angus Leeming <leeming@lyx.org>
861 * bufferparams.h: move biblio::CiteEngine enum here to minimize
862 dependencies on src/frontends/controllers/biblio.h. Define a
863 CiteEngine_enum wrapper class to enable the enum to be forward
866 2004-05-12 Angus Leeming <leeming@lyx.org>
868 * buffer.C: up LYX_FORMAT to 234.
869 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
870 use_numerical_citations with a single biblio::CiteEngine cite_engine
872 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
874 2004-05-13 José Matos <jamatos@lyx.org>
877 * converter.C (Converter, readFlags): add xml member.
878 * outputparams.h: add XML flavor.
879 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
881 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
883 * lyxfunc.C (dispatch):
884 (getStatus): fix handling of LFUN_SEQUENCE
886 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
888 * debug.C (showLevel): do not forget the end-of-line marker
890 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
892 * kbmap.C (read): do not stop parsing a bind file when an error
895 2004-04-29 Angus Leeming <leeming@lyx.org>
900 * text2.C: wrap a bunch of #warning statements
901 inside #ifdef WITH_WARNINGS blocks.
903 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
905 * buffer.C: increment format to 233.
907 2004-04-28 Angus Leeming <leeming@lyx.org>
909 * BufferView_pimpl.C:
912 s/updateToolbar()/updateToolbars()/
913 s/Toolbar.h/Toolbars.h/
915 2004-04-28 Angus Leeming <leeming@lyx.org>
917 * BufferView.[Ch] (c-tor):
918 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
919 No longer passes these data to the WorkArea generator.
921 2004-04-28 Angus Leeming <leeming@lyx.org>
923 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
925 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
927 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
929 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
931 * output_latex.C (TeXEnvironment): make sure that there is a line
932 break before \end{foo} for the last paragraph of a document
933 (TeXOnePar): if the paragraph is at the end of the document (or
934 inset) and the language has to be reset, then make sure that the
935 line break is _before_ the language command, not after (fixes bug
936 1225); also make sure that the language reset command is the first
937 thing after the paragraph (to ensure proper nesting of
938 environments and thus fix bug 1404)
940 2004-04-21 John Levon <levon@movementarian.org>
943 * ToolbarBackend.C: make "name" be a programmatic name
944 and a gui_name field.
946 * lyxfunc.C: display the minibuffer on M-x
948 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
950 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
953 2004-04-19 Angus Leeming <leeming@lyx.org>
955 * BufferView_pimpl.C (setBuffer): changed preview interface.
957 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
960 2004-04-19 John Levon <levon@movementarian.org>
962 * BufferView_pimpl.C:
963 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
965 2004-04-05 Angus Leeming <leeming@lyx.org>
967 * text.C (redoParagraphs): add call to updateCounters(), thereby
968 fixing the missing "Figure #:" label from the caption of a
971 2004-04-13 Angus Leeming <leeming@lyx.org>
973 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
974 cursor is clicked out of an inset.
976 2004-04-13 Angus Leeming <leeming@lyx.org>
978 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
979 than an InsetOld one.
981 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
983 * format.[Ch]: add editor to Format
984 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
985 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
987 2004-04-08 André Pönitz <poenitz@gmx.net>
989 * metricsinfo.h: remove PainterInfo::width member
991 2004-04-08 Angus Leeming <leeming@lyx.org>
993 * lyx_sty.C (boldsymbol_def): modify so that it outputs
994 "\providecommand" rather than "\newcommand", thereby preventing
995 clashes with packages that define "\boldsymbol" themselves.
998 2004-04-08 Angus Leeming <leeming@lyx.org>
1000 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
1001 thereby squashing an unnecessary warning.
1003 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1005 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
1008 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
1010 * BufferView.C (setCursor): call redoParagraph (some insets could
1012 (putSelectionAt): remove the 'double update' trick
1014 * BufferView_pimpl.C (fitCursor): call refreshPar
1015 (workAreaDispatch): remove an uneeded update call
1016 (dispatch): remove some manual update calls
1018 * cursor.[Ch]: remove cached_y_, updatePos
1019 (selHandle): set noUpdate when appropriate
1021 * lyxfunc.C (dispatch): track if we need an update
1023 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
1025 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
1026 (paintSelection): cheap optimization, do not call cursorX when not
1028 (paintPars): change signature
1031 (paintTextInset): adjust
1035 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1037 * lengthcommon.C: compilation fix: remove explicit array size from
1038 unit_name[] and friends
1040 2004-04-05 Angus Leeming <leeming@lyx.org>
1042 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
1044 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
1045 present only for the preferences dialog.
1046 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
1048 2004-04-05 Angus Leeming <leeming@lyx.org>
1050 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1051 to enable the frontends to export changes to lyxrc correctly.
1053 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1055 2004-04-07 André Pönitz <poenitz@gmx.net>
1057 * cursor.[Ch] (selClear, adjust): remove math
1059 * cursor_slice.C: more agressive assert
1062 * BufferView_pimpl.C: rework mouse event dispatch
1069 2004-04-05 André Pönitz <poenitz@gmx.net>
1071 * cursor.[Ch] (valign, halign...): remove unneeded functions
1073 2004-04-05 Angus Leeming <leeming@lyx.org>
1075 * lyxlength.[Ch] (unit_name et al.): const-correct.
1077 2004-04-05 Angus Leeming <leeming@lyx.org>
1079 * BufferView_pimpl.C:
1088 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1090 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1092 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1094 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1096 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1097 * BufferView_pimpl.[Ch] (getStatus)
1098 * BufferView.[Ch] (getStatus): add
1099 * lyxfunc.C (getStatus): move lfuns handled in
1100 BufferView::dispatch to te function above
1101 * Cursor.C (setSelection): set selection() = true
1103 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1105 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1107 2004-03-31 Angus Leeming <leeming@lyx.org>
1109 * lyxfunc.C (dispatch): Fall through to the generic
1110 Dialogs::show("preamble").
1112 2004-03-31 Angus Leeming <leeming@lyx.org>
1114 * lyxfunc.C (dispatch): Fall through to the generic
1115 Dialogs::show("spellchecker").
1117 2004-03-31 Angus Leeming <leeming@lyx.org>
1119 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1122 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1127 * insetiterator.[Ch]:
1132 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1134 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1136 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1137 insets where we are putting the cursor.
1139 2004-03-31 Angus Leeming <leeming@lyx.org>
1142 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1144 * lyxrc.[Ch] (read, write): overloaded member functions taking
1145 a std::[io]stream arguments.
1147 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1149 2004-03-31 Angus Leeming <leeming@lyx.org>
1151 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1152 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1154 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1155 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1157 2004-03-31 Angus Leeming <leeming@lyx.org>
1159 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1160 the LFUN_ALL_INSETS_TOGGLE code.
1162 2004-03-30 Angus Leeming <leeming@lyx.org>
1164 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1165 has died. Fall through to the generic Dialogs::show("document").
1167 2004-03-30 Angus Leeming <leeming@lyx.org>
1170 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1171 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1173 * lyxfunc.C (getStatus, dispatch): define the actions for these
1174 lfuns. Little more than a cut and pste job from ControlDocument.C
1176 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1178 2004-03-30 Angus Leeming <leeming@lyx.org>
1181 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1182 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1184 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1185 open/closed state of ollapsable insets. Usage:
1187 all-inset-toggle <state> <name>, where
1188 <state> == "open" || "closed" || "toggle" and
1189 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1191 * lyxtext.h, text2.C (toggleInset): removed.
1193 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1194 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1195 now passes LFUN_INSET_TOGGLE to the found inset.
1197 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1198 is now invoked as "all-insets-toggle toggle branch".
1200 2004-03-30 Angus Leeming <leeming@lyx.org>
1204 * pariterator.[Ch]: added/corrected header blurb.
1206 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1208 * dociterator.[Ch]: add an inset_ member
1209 (backwardPos): implemented
1210 (backwardPos, forwardPos): use inset_ when the stack is empty.
1211 (doc_iterator_begin, doc_iterator_end): implemented
1212 * pariterator.[Ch]: adjust, add begin, end
1213 * insetiterator.[Ch]: adjust, add begin, end
1217 * BufferView_pimpl.C:
1218 * CutAndPaste.C: adjust
1220 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1222 * buffer.C: increment file format to 232.
1223 * LaTeXFeatures.C: add bibtopic package.
1224 * bufferparams.[Ch]: param \use_bibtopic.
1226 * lyxrc.[Ch]: add lyxrc bibtex_command
1227 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1229 * buffer.C: increment file format to 231.
1231 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1233 * dociterator.C: implement forwardPar
1234 * iterators.[Ch]: remove, replaced by
1235 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1237 * BufferView_pimpl.C:
1240 * bufferview_funcs.C:
1246 * Makefile.am: adjust
1248 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1250 * CutAndPaste.C (pasteSelection): fix 2 crashes
1251 (eraseSelection): fix a crash
1252 * paragraph_funcs.C: remove a warning
1254 2004-03-28 Angus Leeming <leeming@lyx.org>
1257 * LyXAction.C (init): new LFUN_PRINT.
1259 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1261 2004-03-27 Angus Leeming <leeming@lyx.org>
1264 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1266 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1268 2004-03-27 Angus Leeming <leeming@lyx.org>
1270 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1271 insetlist always contains non-null pointers to insets.
1273 2004-03-26 Angus Leeming <leeming@lyx.org>
1275 * src/BufferView_pimpl.C:
1276 * src/CutAndPaste.C:
1279 * src/output_plaintext.C:
1280 * src/outputparams.h:
1281 * src/paragraph_funcs.C:
1285 * src/frontends/controllers/ControlErrorList.C:
1286 * src/frontends/gtk/FileDialogPrivate.C:
1287 * src/frontends/gtk/GPainter.C:
1288 * src/frontends/gtk/GToolbar.C:
1289 * src/frontends/qt2/QRef.C:
1290 * src/mathed/math_scriptinset.C: squash compiler warnings.
1292 2004-03-26 Angus Leeming <leeming@lyx.org>
1294 * ispell.C (LaunchIspell::start):
1295 * lyx_cb.C (AutoSaveBuffer::start):
1296 invoke run(DontWait) rather than runNonBlocking().
1298 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1300 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1302 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1304 * kbsequence.C (print): adjust
1306 * kbmap.C (printKeySym): rename and change signature
1307 (printKey): use LyXKeySym::print()
1309 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1311 * undo.C: add using std::advance to compile for stlport
1313 2004-03-24 Angus Leeming <leeming@lyx.org>
1315 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1316 it leads to a crash when no buffer is present.
1318 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1319 Martin Vermeer <martin.vermeer@hut.fi>
1321 * lyxfunc.C (dispatch):
1322 * bufferparams.C (readToken): use the new LColor::setColor
1324 * LColor.[Ch] (setColor): new version that takes two strings as
1325 argument and creates a new color entry if necessary
1327 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1329 * buffer.C (makeLaTeXFile): if the main latex file that is
1330 processed is usually a subdocument of some master, then pretend
1331 for a while that it is actually the master
1333 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1335 * buffer.C (getLabelList):
1336 (getBibkeyList): use getMasterBuffer()
1337 (getMasterBuffer): new method. Returns the main document in the
1338 case where one is using included documents.
1340 2004-03-25 André Pönitz <poenitz@gmx.net>
1344 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1346 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1348 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1349 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1351 * ParameterStruct.h: merge with ParagraphParameters
1353 * lyxtext.h: remove LyXText::parOffset() and getPar()
1355 * text3.C: Remove all 'manual' update calls. We do now one per user
1356 interaction which is completely sufficient.
1360 * BufferView_pimpl.C:
1361 * FontIterator.[Ch]:
1363 * ParagraphParameters.[Ch]:
1368 * cursor_slice.[Ch]:
1375 * output_docbook.[Ch]:
1376 * output_latex.[Ch]:
1377 * output_linuxdoc.[Ch]:
1378 * output_plaintext.[Ch]:
1380 * paragraph_funcs.[Ch]:
1381 * paragraph_pimpl.[Ch]:
1389 * frontends/controllers/ControlDocument.C:
1390 * frontends/controllers/ControlErrorList.C:
1391 * frontends/controllers/ControlSpellchecker.C:
1394 * insets/insetbase.h:
1395 * insets/insetbibitem.C:
1396 * insets/insetbox.C:
1397 * insets/insetbranch.C:
1398 * insets/insetcaption.C:
1399 * insets/insetcharstyle.C:
1400 * insets/insetcharstyle.h:
1401 * insets/insetcollapsable.C:
1402 * insets/insetcollapsable.h:
1403 * insets/insetert.C:
1404 * insets/insetfloat.C:
1405 * insets/insetfoot.C:
1406 * insets/insetmarginal.C:
1407 * insets/insetnote.C:
1408 * insets/insetoptarg.C:
1409 * insets/insettabular.C:
1410 * insets/insettext.C:
1411 * insets/insettext.h:
1412 * insets/insetwrap.C:
1413 * mathed/math_mboxinset.C:
1414 * mathed/math_nestinset.C:
1415 * mathed/math_scriptinset.C:
1416 * mathed/math_scriptinset.h:
1419 2004-03-24 Angus Leeming <leeming@lyx.org>
1421 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1422 deal with any child processes that have finished but are waiting to
1423 communicate this fact to the rest of LyX.
1425 2004-03-24 Angus Leeming <leeming@lyx.org>
1427 64-bit compile fixes.
1429 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1430 (c-tor): pass lyx::pos_types rather than ints.
1432 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1435 * text.C (Delete): compile fix.
1436 (getPar): ensure that function declaration is the same as that in
1439 2004-03-23 Angus Leeming <leeming@lyx.org>
1441 * ispell.C (LaunchIspell):
1442 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1443 a boost::shred_ptr rather than a std::auto_ptr.
1445 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1447 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1448 handle LFUN_FILE_INSERT_*
1450 * lyxrc.C (setDefaults, getDescription, output, read):
1451 * lyxrc.h: remove ps_command
1453 2004-03-22 Angus Leeming <leeming@lyx.org>
1455 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1456 Ensure that error_handler is processed once only and that all data
1457 is saved before attempting to output any warning messages.
1459 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1461 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1463 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1465 2004-03-19 André Pönitz <poenitz@gmx.net>
1467 * cursor.[Ch] (reset): take main text inset as argument
1469 * BufferView: adjust
1470 * BufferView_pimpl.C: adjust
1472 * paragraph.[Ch]: fix completely broken operator=()
1474 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1476 * LColor.C (getFromLyXName): make sure that the color name is used
1479 2004-03-17 Angus Leeming <leeming@lyx.org>
1482 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1484 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1485 dialog and to kill a forked process.
1487 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1489 * text2.C (setCursorFromCoordinates): fix font problem
1491 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1493 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1494 bogus "rebuild cursor" code
1496 2004-03-11 André Pönitz <poenitz@gmx.net>
1498 * buffer.[Ch]: use InsetText instead of LyXText as container for
1501 * dociterator.[Ch]: drop the BufferView * member which is not needed
1502 anymore after the change to buffer.C
1504 * paragraph_funcs.C:
1508 * BufferView_pimpl.[Ch]:
1510 * cursor_slice.[Ch]: adjust
1512 * text3.C: fix bug in mathDispatch
1514 2004-03-08 André Pönitz <poenitz@gmx.net>
1516 * undo.[Ch]: use 'StableDocumentIterator' as base for
1519 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1522 * bufferparams.[Ch]: add jurabib support and param.
1524 * LaTeX.C: add FIXME/comment.
1526 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1528 * buffer.C: increment file format to 230.
1530 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1532 * cursor.C (dispatch): avoid infinite loops
1534 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1536 * rowpainter.C (paintSelection): fix x coordinates
1538 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1540 * text.C (rowBreakPoint): fix breaking before displayed insets
1542 2004-03-01 André Pönitz <poenitz@gmx.net>
1544 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1546 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1550 * BufferView_pimpl.C:
1558 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1564 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1565 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1567 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1569 * Bidi.[Ch] (computeTables): const correctness
1570 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1571 fill_hfill, fill_label_hfill and x from Row
1572 * lyxtext.h: prepareToPrint returns a RowMetrics
1573 * rowPainter.C: adjust
1574 * text.C (prepareToPrint): use width, not textWidth. adjust
1575 (redoParagraphInternal, cursorX): adjust
1576 * text2.C (getColumnNearX): adjust
1577 (init): put a default value to the top LyXText::width
1579 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1581 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1583 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1585 * lyxtext.h: add FontIterator class
1587 * text.C (FontIterator, operator*, operator->, operator++): add
1588 (rowBreakPoint, setRowWidth): adjust (fixing a
1591 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1593 * BufferView_pimpl.C (workAreaDispatch): allow also
1594 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1596 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1598 * text.C (rowBreakPoint): fix a bug showing with very large insets
1600 2004-02-25 André Pönitz <poenitz@gmx.net>
1603 * cursor.[Ch]: move some mathed specific code to mathed
1605 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1607 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1608 use_tempdir in preferences
1609 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1611 * lyx_main.C: ensure that tempdir is valid
1612 * lyxlex.h: correct typo
1613 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1614 * paragraph.[Ch] (isMultiLingual): make const
1615 * cursor.[Ch] (openable): make const
1617 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1619 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1621 2004-02-20 André Pönitz <poenitz@gmx.net>
1623 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1625 * cursor.[Ch]: prepare for localized getStatus()
1631 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1633 2004-02-20 André Pönitz <poenitz@gmx.net>
1635 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1637 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1639 * text2.C (setCursorFromCoordinates): switch to absolute coords
1641 (cursorDown): adjust
1642 * text3.C (dispatch): adjust
1644 2004-02-16 André Pönitz <poenitz@gmx.net>
1646 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1649 * cursor_slice.[Ch]: remove unneeded acessor function
1651 * lyxtext.h: rename rtl() to isRTL()
1659 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1661 * rowpainter.C (paintSelection): coord fix
1663 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1665 * Spacing.C: compile fix
1667 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1669 * cursor.C (dispatch): restore current_ before returning
1671 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1673 * text2.C (cursorUp, cursorDown): fix coords
1676 2004-02-12 André Pönitz <poenitz@gmx.net>
1681 * text3.C: add LCursor & parameter to most cursor movement functions
1682 remove usage of LyXText::cursorRow() and cursorPar()
1684 * cursor.[Ch]: add textRow() needed members
1687 * BufferView_pimpl.C:
1690 * BufferView_pimpl.C: adjust
1692 2004-02-11 André Pönitz <poenitz@gmx.net>
1696 * BufferView_pimpl.C: shift undo/redo handling
1698 * cursor.[Ch]: fix mathed crash
1701 * lyxtext.h: move selectionAsText to LCursor
1709 * rowpainter.C: fix excessive drawing
1711 2004-02-06 André Pönitz <poenitz@gmx.net>
1714 * BufferView_pimpl.[Ch]:
1715 * text3.C: move some text specific LFUN handling
1717 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1719 * text3.C (checkInsetHit): adjust coords
1720 * text2.C (getColumnNearX): adjust coords
1721 (edit): adjust coords
1722 * text.C (getRowNearY): add two asserts
1724 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1727 * format.C: add using std::distance to compile on gcc 2.95/stlport
1729 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1731 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1733 2004-02-04 André Pönitz <poenitz@gmx.net>
1735 * BufferView.[Ch] (insertInset):
1736 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1741 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1743 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1744 on the default clause of the switch
1745 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1746 wasn't catched by LCursor::dispatch
1748 2004-02-03 André Pönitz <poenitz@gmx.net>
1751 * cursor.[Ch]: some additional asserts
1753 * undo.[Ch]: remove LyXText dependency in interface
1757 * lyxtext.h (firstPar, lastPar): remove dead functions
1762 * paragraph.[Ch]: adjust
1764 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1766 * lyxfind.C (find): fix argument order in call to ::find
1768 2004-02-02 André Pönitz <poenitz@gmx.net>
1770 * cursor.[Ch]: remove direct access to anchor
1772 * text.C: remove findText() hack
1774 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1776 * iterators.[Ch] (lockPath): remove in favour of...
1777 * BufferView.[Ch] (setCursor): this addition
1778 * BufferView.C (putSelectionAt): adjust
1779 * undo.C (performUndoOrRedo): adjust
1780 * lyxfunc.C (dispatch): adjust
1782 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1784 * iterators.C (lockPath): add a missing slice
1785 * undo.C (performUndoOrRedo): remove redundant positioning code
1787 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1789 * vc-backend.C (scanMaster): ";" -> ';'
1791 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1793 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1794 std::binary_function
1796 * lyxtextclass.C (compare_name): rename to...
1797 (LayoutNamesEqual): ...this
1799 * lyxlex_pimpl.C (compare_tags): inherit from
1800 std::binary_function, put back into anon namespace
1802 * lyxfind.C (MatchString): inherig from std::binary_function
1803 (findChange): use empty() istead of !size()
1805 * format.C (FormatNamesEqual): new functor
1812 * converter.C (compare_Converter): rename to...
1813 (ConverterEqual): ...this, and fixup a bit.
1814 (getConverter): use it, and make function const
1815 (getNumber): use it, and make function const
1819 * bufferlist.C: add using boost::bind
1821 * MenuBackend.C (MenuNamesEqual): new functor
1822 (hasMenu): use it, and make function const
1823 (hasSubmenu): use nested bind to get rid of compare_memfun.
1825 2004-01-30 André Pönitz <poenitz@gmx.net>
1827 * BufferView_pimpl.C:
1830 * cursor_slice.[Ch]:
1833 * paragraph_funcs.C:
1834 * paragraph_funcs.h:
1838 * text3.C: move some of the edit(x,y) handling to the insets
1839 some coordinate changes.
1841 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1843 * text.C: add using statements for std::advance and std::distance
1845 * paragraph.C: add using statement for std::distance
1847 * lyxfind.C: add using statement for std::advance
1849 * cursor.C (region): remove std:: from swap
1850 (openable): use nucleus in stead of operator->
1852 * BufferView.C: add using statements for std::distance and std::swap
1854 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1856 * iterators.C: Remove the pimple, move the needed structures to
1857 the header file. Create accessor for the positions stack.
1858 (asPosIterator): remove function
1860 * PosIterator.C (PosIterator): move constructors to top of file
1861 (PosIterator): reimplement the constructor taking a ParIterator in
1863 (setFrom): new function
1864 (operator!=): inline it
1866 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1868 * lyxfind.C (replaceAll): use std::advance
1870 * iterators.h: inherit from std::iterator.
1872 * PosIterator.C (advance, distance): remove
1873 * PosIterator.h: interit from std::iterator.
1875 2004-01-26 André Pönitz <poenitz@gmx.net>
1878 * BufferView_pimpl.[Ch]:
1882 * bufferview_funcs.C:
1892 * output_linuxdoc.C:
1893 * output_plaintext.C:
1895 * paragraph_funcs.[Ch]:
1896 * paragraph_pimpl.[Ch]:
1902 * text3.C: more IU: dumps most of the rest of the mathcursor
1903 implementation into cursor.[Ch]; "globalize" a bit of it.
1905 2004-01-25 Angus Leeming <leeming@lyx.org>
1907 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1909 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1911 * LaTeXFeatures.h: add nice_ and nice() const
1912 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1914 2004-01-20 André Pönitz <poenitz@gmx.net>
1917 * BufferView_pimpl.C:
1919 * bufferview_funcs.C:
1921 * cursor_slice.[Ch]:
1932 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1933 LCursor and mathcursor parts to LCursor and InsetBase.
1935 2004-01-15 André Pönitz <poenitz@gmx.net>
1937 * cursor_slice.[Ch]: add a few covienience functions
1939 * funcrequest.[Ch]: remove BufferView * member
1941 * BufferView_pimpl.C:
1948 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1950 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1952 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1953 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1955 2004-01-13 André Pönitz <poenitz@gmx.net>
1958 * lyxtext.h: hide cursor and selection anchor behind accessor function
1961 * BufferView_pimpl.[Ch]:
1963 * bufferview_funcs.C:
1973 * cursor_slice.[Ch]: some integer type changes for inset unification
1975 * lyxcursor.[hC]: remove, it's CursorSlice now.
1978 * BufferView_pimpl.[Ch]:
1979 * bufferview_funcs.C:
1985 * textcursor.[Ch]: adjust
1987 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1989 * text2.C (undoSpan): add and use
1990 * text.C (breakParagraph): use undoSpan (fix bug 578)
1993 2004-01-08 Angus Leeming <leeming@lyx.org>
1995 * BufferView_pimpl.C (MenuInsertLyXFile):
1996 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1997 * lyxfunc.C (menuNew, open, doImport):
1998 FileFilterList change to the FileDialog open and save functions.
2000 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
2002 * ShareContainer.h: make isEqual and isUnique adaptable
2004 * CutAndPaste.C: make resetOwnerAndChanges adaptable
2006 2004-01-07 Angus Leeming <leeming@lyx.org>
2009 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
2011 * BufferView_pimpl.C (dispatch): act on these LFUNs.
2013 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
2014 functions replacing find, replace and replaceAll.
2016 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
2017 LFUN_WORDFIND(FORWARD|BACKWARD).
2019 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2021 * text.C (breakParagraph): remove an outdated #warning
2023 2004-01-07 André Pönitz <poenitz@gmx.net>
2025 * lyxfind.C: somewhat clearer logic
2027 * text.C: prevent crash in cursorX on unitialized row cache
2029 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
2031 * lyxcursor.[Ch] (operator>): add
2032 * textcursor.C (selStart, selEnd): use std::min and std::max
2034 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
2036 * Chktex.C: include boost/format.hpp
2038 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
2040 * InsetList.C: replace functor MathcIt with adaptable functor
2042 (insetIterator): modify accordingly
2044 * BranchList.h: move the BranchNamesEqual functor here from...
2045 * BranchList.C: ... to here
2047 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2049 (add): replace a finding loop with std::find_if.
2051 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2053 * output_docbook.C: moving LatexParam functionality into
2056 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2058 * buffer.C: increment format to 229.
2060 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2063 * lyx_sty.[Ch]: remove minipageindent_def
2069 * text3.C: remove LFUN_INSET_MINIPAGE
2071 2003-12-28 Angus Leeming <leeming@lyx.org>
2073 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2075 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2077 * text2.C (setParagraph): fix off-by-one crash
2079 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2081 * output_docbook.C: header stuff for AGU
2083 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2085 * text2.C (redoCursor): remove
2088 * BufferView_pimpl.C: remove calls to redoCursor and
2089 setCursor(cursor.par(), cursor.pos()) all around
2091 2003-12-15 Angus Leeming <leeming@lyx.org>
2093 * buffer.C: up the format to 228.
2095 2003-12-15 André Pönitz <poenitz@gmx.net>
2097 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2102 * BufferView_pimpl.C:
2111 2003-12-15 Angus Leeming <leeming@lyx.org>
2113 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2114 than getFromGUIName to manipulate the color.
2116 2003-12-14 Angus Leeming <leeming@lyx.org>
2118 * BranchList.[Ch]: minimize the API.
2119 (Branch::getBranch, getColor): now return a 'const &'.
2120 (Branch::setSelected) now returns a bool set to true if the
2121 selection status changes.
2122 (BranchList::clear, size, getColor, setColor, setSelected,
2123 allBranches, allSelected, separator): removed.
2124 (BranchList::find): new functions, returning the Branch with
2126 (BranchList::add, remove): return a bool indicating that
2127 the operation was successful.
2129 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2130 new InsetBranch::isBranchSlected member function.
2132 * LColor.[Ch]: mimimize the API.
2133 (fill): renamed as addColor and made private.
2134 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2135 versions of these functions taking a string arg have been removed.
2137 * bufferparams.C (readToken):
2138 * lyxfunc.C (dispatch):
2139 * lyxrc.C (read): changes due to the altered BranchList and
2142 * factory.C (createInset, readInset): changes due to altered
2145 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2148 * lyxfunc.C: remove insetminipage. "minipage-insert"
2149 now produces a frameless minipage box inset.
2151 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2153 * textcursor.[Ch] (selStart,selEnd): add new methods
2154 remove selection::start, end, use LyXCursor::operator<
2155 * lyxcursor.[Ch] (operator<): add
2156 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2157 * BufferView.[Ch] (unsetXSel): add
2158 * text2.C (clearSelection): use unsetXSel,adjust
2161 * rowpainter.C: adjust
2162 * bufferview_funcs.C (put_selection_at): adjust
2164 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2166 * BufferView_pimpl.C: small coord. correction
2168 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2170 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2171 dragging over the splash screen.
2173 2003-12-11 Angus Leeming <leeming@lyx.org>
2175 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2176 as it is now handled in LyXText::dispatch.
2178 * text3.C (doInsertInset): remove a level of nesting.
2180 2003-12-11 Angus Leeming <leeming@lyx.org>
2182 * factory.C (createInset): changes due to the changed interface to
2183 InsetCommandMailer::string2params.
2185 2003-12-10 Angus Leeming <leeming@lyx.org>
2187 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2188 'dialog-show-new-inset <inset name>'
2190 2003-12-10 Angus Leeming <leeming@lyx.org>
2192 * buffer.C: up the format to 227.
2194 * factory.C: the box inset is now identified simply by 'Box'.
2196 2003-12-10 Angus Leeming <leeming@lyx.org>
2198 * buffer.C: up the format to 226.
2200 * factory.C: the note inset is now identified simply by 'Note'.
2202 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2204 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2205 when a pit is enough. Standarize a couple of loops.
2207 2003-12-05 Angus Leeming <leeming@lyx.org>
2209 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2210 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2211 data to the re-worked "log" dialog.
2213 2003-12-03 André Pönitz <poenitz@gmx.net>
2219 * paragraph_funcs.C:
2221 * text2.C: use Inset::getText instead of Inset::getParagraph
2223 2003-12-03 André Pönitz <poenitz@gmx.net>
2227 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2228 InsetText::read() as LyXText::read()
2230 2003-12-02 Angus Leeming <leeming@lyx.org>
2232 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2233 type. Add a comment in the implementation that the function uses
2234 the stream's bad() function rather than fail() as the std::streams
2237 2003-12-02 André Pönitz <poenitz@gmx.net>
2239 * lyxlex.[Ch]: make interface more similar to std::stream
2241 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2243 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2245 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2247 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2249 * vspace.[Ch]: remove VSpace::NONE
2251 2003-12-01 André Pönitz <poenitz@gmx.net>
2254 * lyxtext.h: move ParagraphList member to LyXText
2255 rename LyXText::ownerParagraphs to LyXText::paragraph
2258 * bufferview_funcs.C:
2268 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2270 * undo.C: fix cursor positioning
2272 2003-12-01 John Levon <levon@movementarian.org>
2274 * BufferView_pimpl.C: fix a crash on exit with
2277 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2279 * BranchList.C: fix setSelected() method.
2281 2003-11-28 André Pönitz <poenitz@gmx.net>
2283 * ParagraphParameters.[Ch]:
2284 * ParameterStruct.h: remove space above/below from Paragraph to
2287 * BufferView_pimpl.C:
2293 * paragraph_funcs.C:
2299 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2301 * factory.C: Syntax change for CharStyles
2303 2003-11-28 André Pönitz <poenitz@gmx.net>
2308 * buffer.[Ch]: move LyXText member
2310 2003-11-28 André Pönitz <poenitz@gmx.net>
2312 * BufferView.[Ch]: make LyXText * text a private member
2314 * BufferView_pimpl.C:
2325 * output_plaintext.C: cleanup
2327 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2330 * lyxtextclass.[Ch]: parametrize SGML document header
2332 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2335 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2338 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2340 * text2.C (setFont): rework using PosIterator (no more recursive)
2341 (setCharFont): no more needed
2342 (setLayout): no more selection cursors fiddling (done by redoCursor)
2343 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2344 destroy remaining ones)
2346 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2348 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2350 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2353 * text3.C: adjust + re-allow multi par depth changes
2354 * textcursor.C: simplify a bit
2356 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2362 * src/output_docbook.C:
2363 * src/output_latex.C:
2368 * src/text2.C: Introducing a number of tags parametrizing various
2369 XML formats that we may want to support
2371 2003-11-25 André Pönitz <poenitz@gmx.net>
2373 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2375 * lyxtext.h (leftMargin/rightMargin): simplify interface
2382 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2384 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2385 master file to any child files. Fixes bug 546.
2387 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2389 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2391 2003-11-24 André Pönitz <poenitz@gmx.net>
2393 * rowpainter.C: simplification
2395 * text2.C (updateCounters): remove call to redoParagraph on
2396 changed labels as this is far too expensive.
2398 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2400 * converter.C (convert): fix a crash: this function gets
2401 called with buffer == 0 from importer code.
2403 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2405 * text3.C (cursorPrevious): make sure that we do not compare
2406 iterators form different containers.
2409 * rowpainter.C (paintSelection): make sure that we do not compare
2410 iterators from different containers.
2412 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2413 iterators from different ParagraphList containers.
2416 * text2.C (LyXText): change order of initialization slightly
2417 (operator=): new function. copy all variables except cache_par_
2418 (moveUp): make sure that we do not compare iterators from
2419 different ParagraphList constainers.
2422 * text.C (firstPar): new function
2423 (lastPar): new function
2424 (endPar): new function
2426 * lyxtext.h: move things around and group public functions, public
2427 variables, private functions, private variables
2429 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2431 * factory.C: change call to InsetERT constructor to avoid
2432 additional invocation of method status
2433 * text2.C (toggleInset): remove redundant update() call
2434 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2435 instead of a Bufferview pointer
2437 2003-11-21 André Pönitz <poenitz@gmx.net>
2439 * rowpainter.C: simplification
2441 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2443 * text3.C (dispatch): make possible to extend a word/row selection
2446 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2448 * lyxtext.h: x0_,y0_ -> xo_,yo_
2449 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2450 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2451 * rowpainter.C (paintRows): paint full paragraphs
2453 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2455 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2458 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2460 * lyxtext.h: add x0_, y0_
2461 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2462 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2464 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2466 * text2.C (setCursorIntern): move the x_target update here *
2467 * text3.C: change some bv() to true/false in calls to
2468 cursorUp/Down/Right/Left
2469 * cursor.C: use helper function.
2471 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2473 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2474 * paragraph_funcs.[Ch]: correct comment
2475 * rowpainter.C: do not paint selections away from bv->cursor()
2476 Fix a long standing selection painting bug.
2477 * text3.C: generalize mouse-selection code to LyXTexts other that
2479 * textcursor.C: do not use y coords if we can use par offsets
2481 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2483 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2484 cursor position after e.g. inset insert)
2486 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2488 * lyxfind.C (replace): adjust to locking removal + some
2491 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2493 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2496 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2499 * output_docbook.C: XML sanitation: new layout
2500 parameters InnerTag and CommandDepth
2502 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2504 * BufferView_pimpl.C:
2506 * text3.C: Fix the insertion and modification of button-style
2509 2003-11-13 André Pönitz <poenitz@gmx.net>
2511 * InsetList.[Ch]: remove deleteLyXText
2513 * paragraph.[Ch]: cache beginOfBody position
2518 * text3.C: remove superfluous update() calls
2522 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2524 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2525 * BufferView.C (fitLockedInsetCursor): remove
2526 * cursor.[Ch] (getDim): add
2527 * text.C (getRowNearY): add faster version
2528 * text3.C: remove some update calls
2530 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2542 * text3.C: The Character Style /XML short element patch.
2544 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2547 * factory.C: Small step to solving 'unable to insert some insets'
2550 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2552 * cursor.[Ch] (updatePos): new function for updating the y
2553 position of the tip inset
2554 * bufferview_funcs.C (put_selection_at):
2555 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2557 2003-11-11 André Pönitz <poenitz@gmx.net>
2559 * text.C: remove big comment on invalid Paragraph pointers as it is
2562 2003-11-11 André Pönitz <poenitz@gmx.net>
2564 * text_funcs.[Ch]: merge with ...
2572 * Makefile.am: remove text_funcs.[Ch]
2574 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2576 * cursor.C (getPos): return absolute cached y coord
2578 * BufferView_pimpl.C (fitCursor): new simplistic code
2579 (workAreaDispatch): add a fitCursor call
2581 2003-11-10 André Pönitz <poenitz@gmx.net>
2584 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2586 2003-11-10 André Pönitz <poenitz@gmx.net>
2588 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2589 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2590 indicate that the cursor needs to leave an inset
2592 * lyxtext.h: remove inset locking
2594 * cursor.[Ch]: re-implement functionality provided by inset locking
2597 * BufferView_pimpl.[Ch]:
2599 * bufferview_funcs.[Ch]:
2611 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2613 * PosIterator.[Ch]: replace the stack with a vector, add inset
2615 * iterators.[C]: adjust
2617 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2619 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2621 * paragraph_funcs.C (readParToken): put the correct id in the
2622 error item, not the id of the top paragraph
2624 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2626 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2627 * bufferview_funcs.C (put_selection_at): use the above
2629 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2631 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2633 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2635 * output_linuxdoc.h:
2636 * output_plaintext.h:
2638 * output_docbook.h: add #include statements
2640 2003-11-05 José Matos <jamatos@lyx.org>
2642 * output_docbook.[Ch]:
2643 * output_latex.[Ch]:
2644 * output_linuxdoc.[Ch]:
2645 * output_plaintext.[Ch]: New files for output formats.
2646 * output.[Ch]: New file for helper functions.
2649 * paragraph_funcs.[Ch]: output functions moved to new files.
2651 * outputparams.h: rename of latexrunparams.h
2659 * paragraph_funcs.[Ch]:
2660 * paragraph_pimpl.[Ch]:
2661 * tabular.[Ch]: rename ascii to plaintext
2662 and LatexRunParams to OutputParams.
2664 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2666 * iterators.[Ch] (text): require bv argument
2667 * undo.C (recordUndo):
2668 * lyxfunc.C (dispatch):
2669 * bufferview_funcs.C (put_selection_at): adjust
2671 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2673 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2675 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2677 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2680 2003-11-04 André Pönitz <poenitz@gmx.net>
2682 * cursor.[Ch]: restructure
2685 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2687 * iterators.[Ch] (asCursor): remove
2689 * lfuns.h: remove LFUN_INSET_EDIT
2695 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2697 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2699 * lyxfind.[Ch]: complete overhaul
2700 * BufferView_pimpl.C:
2702 * paragraph.[Ch] (insert): add
2704 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2708 * text.C: remove dead spellcheck code
2710 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2712 * dispatchresult.h: add a val setter
2714 * cursor.C (dispatch): use a tempvar for data_[i]
2716 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2718 * PosIterator.[Ch]: compile fix
2720 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2722 * text.C (cursorPar): deactivate the cursor cache
2724 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2726 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2728 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2730 * text3.C (dispatch): adjust for new DisptchResult semantics.
2732 * lyxfunc.C (dispatch): handle update when return from
2733 Cursor::dispatch, adjust for new DispatchResult semantics.
2735 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2736 DispatchResult(true) mean to not update. Add class functions for
2737 setting dispatched and update, as well as reading.
2739 * cursor.C (dispatch): don't handle update here
2741 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2743 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2744 * trans_mgr.C: adjust
2746 * paragraph_funcs.C (readParToken): exception safety
2748 * lyxvc.h: store the vcs pointer in a scoped_ptr
2751 * lyxsocket.C (serverCallback): exception safety
2753 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2755 * ispell.C (clone): make it return a auto_ptr
2757 * factory.C (createInset): exception safety
2758 (readInset): exception safety
2760 * bufferlist.C (newBuffer): exception safety
2762 * Thesaurus.C (Thesaurus): use initialization for aik_
2764 * MenuBackend.C (expandToc): exception safety.
2766 2003-11-03 André Pönitz <poenitz@gmx.net>
2770 * bufferview_funcs.C: remove getInsetFromId()
2773 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2779 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2781 * PosIterator.C (distance, advance): new
2782 * bufferview_funcs.[Ch] (put_selection_at): new
2783 * iterators.[Ch] (lockPath): new
2785 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2787 * iterators.[Ch] (asPosIterator): added
2788 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2789 * PosIterator.[Ch]: added
2791 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2795 * cursor.C (dispatch):
2796 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2798 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2799 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2800 contructor, add a class function dispatched. Remove operator>=
2802 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2804 * debug.C: only use the default constructor for debugstream
2807 * main.C (main): include debug.h and setup the lyxerr streambuf
2810 2003-10-31 José Matos <jamatos@lyx.org>
2812 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2814 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2815 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2816 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2817 * paragraph_pimpl.C (simpleTeXSpecialC):
2818 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2819 add LatexRunParams argument.
2821 * exporter.C (Export): change call accordingly.
2823 * latexrunparams.h: add new member to take care of the other backends.
2824 2003-10-30 José Matos <jamatos@lyx.org>
2826 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2827 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2828 factorise code for paragraph output.
2830 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2833 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2835 * text3.C (dispatch):
2836 * lyxfunc.C (dispatch):
2837 * cursor.C (dispatch):
2838 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2840 * dispatchresult.h: make the dispatch_result_t ctor explicit
2842 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2845 * buffer.C: small refactoring of docbook stuff
2847 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2849 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2852 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2854 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2855 operator dispatch_result_t, and operators for == != and >=
2857 * cursor.C (dispatch): adjust for operator dispatch_result_t
2858 removal. comment out call to update
2860 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2862 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2870 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2873 * dispatchresult.h: new file, DispatchResult broken out of
2876 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2878 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2880 * text.C (rowBreakPoint): put a hack inside #if 0
2882 2003-10-28 André Pönitz <poenitz@gmx.net>
2886 * paragraph_funcs.C:
2889 * text2.C: general cleanup (lots of small stuff)
2891 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2893 * text2.C (cursorEnd): simple fix to the "end key goes to one
2894 before the end on last row" bug
2896 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2898 * text.C (backspace): fix the "zombie characters"
2900 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2902 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2904 2003-10-27 André Pönitz <poenitz@gmx.net>
2906 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2908 * factory.C: handle new InsetPagebreak, InsetLine
2910 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2911 and move handling into new InsetPagebreak, InsetLine
2913 * BufferView_pimpl.C:
2915 * ParagraphParameters.C:
2916 * ParameterStruct.h:
2921 * paragraph_funcs.C:
2922 * paragraph_pimpl.C:
2928 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2931 * lyxrow_funcs.[Ch]:
2937 * text3.C: remove lastPos uses in favour of Row::endpos
2939 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2941 * undo.C (performUndoOrRedo): fix two crashes by setting a
2942 cursor by hand and reordering some calls. Use bv->lockInset instead
2943 of inset->edit because the latter loses cursor information
2945 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2947 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2949 (rowBreakPoint): fix width. change point to point + 1.
2950 Add a missing check.
2952 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2955 * lyxfunc.C: fix (at least partly) the problems
2956 with the Nav menu and headers inside branch insets
2959 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2961 * paragraph.C (getChar): add strong asserts
2963 * lyxrow_funcs.C (lastPos): remove hideous hack
2965 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2966 (fill): adjust to that (avoid an infinite loop)
2968 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2970 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2972 2003-10-23 André Pönitz <poenitz@gmx.net>
2974 * RowList_fwd.h: change list<> to vector<> to gain speed
2975 after suggestion from Alfredo
2977 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2979 * lyxtext.h: move the bidi stuff from here...
2982 * Bidi.[Ch]: ... to here
2984 2003-10-23 André Pönitz <poenitz@gmx.net>
2987 * text.C (isLastRow, isFirstRow): new functions
2989 * paragraph.h: new width cache member
2991 * rowpainter.C: replace RowList::iterator with Row & where possible
2993 * lyxfunc.C: replace several view()->text with a single call
2995 * toc.C: fix 'unused' warning
2997 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2999 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
3000 when woring with stream::pos_type
3001 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
3003 2003-10-22 André Pönitz <poenitz@gmx.net>
3006 * text.C: use Row & instead of RowList::iterator
3008 * lyxrow.h: rename end() to endpos()
3014 2003-10-22 Angus Leeming <leeming@lyx.org>
3016 * buffer.[Ch] (fully_loaded): new member function, returning true
3017 only when the file has been loaded fully.
3018 Used to prevent the premature generation of previews and by the
3019 citation inset to prevent computation of the natbib-style label.
3021 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
3022 templates are all set up.
3024 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
3026 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
3028 * text.C: fixed an "oops" in the "is a bit silly"
3031 2003-10-21 André Pönitz <poenitz@gmx.net>
3033 * FuncStatus.[Ch]: small stuff, whitespace
3035 * lyxfont.[Ch]: operator<<() for debug reasons
3039 * lyxtext.h: whitespace, spelling
3041 * paragraph.C: naming of variables
3044 * text2.C: small stuff
3047 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3049 * text.C: (1) finish off the inset display() work;
3050 (2) fix the "is a bit silly" bug (accessing char
3053 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3055 * text.C: re-introduce display() for insets, fixing the
3056 various bugs (stretch of line above, math inset
3059 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3061 * text.C (rightMargin): remove spurious semicolon
3063 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3066 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3068 * text3.C: fix one crash due to wrong cursor def
3070 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3072 * vc-backend.C (scanMaster): make the regex static
3074 * LaTeX.C (scanAuxFile): make the regexs static
3076 * text3.C (doInsertInset, dispatch, dispatch):
3077 * text2.C (cursorUp, cursorDown):
3078 * text.C (selectNextWordToSpellcheck):
3079 * BufferView_pimpl.C (dispatch):
3080 * lyxfunc.C (dispatch): localDispatch -> dispatch
3082 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3084 * lyxsocket.C: include <cerrno>
3086 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3088 * lyxfunc.C (dispatch): remove textcache stuff
3090 * bufferlist.C (release): remove textcache stuff
3093 * TextCache.C: delete file
3094 * TextCache.h: delete file
3096 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3098 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3099 delete of the bv_->text.
3100 (resizeCurrentBuffer): remove texcache stuff
3101 (workAreaResize): ditto
3103 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3105 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3108 2003-10-16 André Pönitz <poenitz@gmx.net>
3115 * text3.C: speed up by storing y positions per paragraph plus per-row
3116 offset instead of having a 'full' y position in the row.
3118 2003-10-15 André Pönitz <poenitz@gmx.net>
3122 * undo.[Ch]: make undo aware of inner insets
3124 2003-10-14 Angus Leeming <leeming@lyx.org>
3126 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3127 static member functions LyX::ref() and LyX::cref.
3128 (lastfiles): new accessor functions for the new lastfiles_ member var.
3129 (addLyXView, views_): add a new LyXView to the list of views_.
3130 (updateInset): loop over all LyXViews to call their own updateInset
3131 member function, returning a pointer to the Buffer owning the inset.
3133 * BufferView_pimpl.C (loadLyXFile):
3134 * MenuBackend.C (expandLastfiles):
3135 * bufferlist.C (MenuWrite, QuitLyX):
3136 lastfiles is no longer a global variable.
3137 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3139 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3140 static function. Access through LyX::cref().emergencyCleanup().
3142 2003-10-14 André Pönitz <poenitz@gmx.net>
3144 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3146 * undo.[Ch]: restoring part of 'undo in insets'
3149 * undo_funcs.[Ch]: merge with undo.[Ch]
3151 * tabular.C: small cleansing stuff
3153 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3155 * paragraph_funcs.C (readParToken): report unknown insets as error
3156 boxes. Use the outer paragraph as location (also for unknown
3159 * factory.C (readInset): do not abort on reading an unknown inset.
3160 Eat it and return 0.
3162 2003-10-13 Angus Leeming <leeming@lyx.org>
3164 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3166 * lyxrc.C: displayTranslator is now a function,
3167 declared in GraphicsTypes.h.
3169 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3171 * format.C: new placeholder $$a to pass the socket address.
3173 * bufferlist.[Ch]: new function getBufferFromTmp.
3175 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3176 files in the temporary dir.
3178 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3180 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3182 * Makefile.am: add lyxsocket.[Ch].
3184 * lyx_main.C (error_handler): handle SIGPIPE.
3186 2003-10-13 André Pönitz <poenitz@gmx.net>
3188 * BufferView_pimpl.C:
3193 * undo_funcs.[Ch]: use paroffset_type instead of
3194 ParagraphList::iterators to prevent multiple conversion
3195 (and get a more robust interface)
3197 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3199 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3201 * text3.C (dispatch): ditto
3203 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3205 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3206 move the onlyfile, use onlyfile instead of foundfile in a couple
3209 * DepTable.C (update): flush the error stream a bit more
3211 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * lyxserver.C (callback): adjust
3215 * lyxfunc.C (getStatus): add a missing brace in commented code
3216 (ensureBufferClean): reindent
3217 (dispatch): delete version taking a string
3219 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3221 * LaTeX.C (deplog): move found file handlig from here...
3222 (handleFoundFile): .. to new function here.
3223 (deplog): make sure to discover several files mentioned on the
3226 2003-10-10 André Pönitz <poenitz@gmx.net>
3233 * text3.C: fix some of the tabular crashes
3235 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3237 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3239 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3241 2003-10-09 André Pönitz <poenitz@gmx.net>
3243 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3246 * BufferView_pimpl.C:
3247 * bufferview_funcs.C:
3258 * undo_funcs.C: adjust
3260 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3262 * text2.C (incrementItemDepth): new function, use a backtracking
3263 algorithm to discover the correct item depth.
3264 (resetEnumCounterIfNeeded): new function, use a backtracking
3265 algorithm to discover if counter reset is needed.
3266 (setCounter): use them. Simplify a bit. Add different labels for
3267 different item depths for itemize.
3269 * paragraph.C (Paragraph): remove initialization of enumdepth
3272 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3273 enumerate and itemize. Change the type of itemdepth to signed char.
3275 2003-10-08 André Pönitz <poenitz@gmx.net>
3277 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3282 * tabular.[Ch]: fix crash after 'row-insert'
3284 2003-10-08 Angus Leeming <leeming@lyx.org>
3286 Fix doxygen warnings.
3288 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3289 Remove CutAndPaste:: prefix from header file declaration.
3291 * LColor.h (fill): remove LColor:: prefix from declaration.
3293 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3294 use lyx::depth_type rather than Paragraph::depth_type so that
3295 header file and .C file match.
3297 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3299 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3300 * aspell.C: \file aspell_local.C -> \file aspell.C
3301 * gettext.C: \file gettext.C -> \file src/gettext.C
3302 * gettext.h: \file gettext.h -> \file src/gettext.h
3303 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3304 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3305 * text.C: \file text.C -> \file src/text.C
3307 * toc.C: move comment so that doxygen is not confused.
3309 2003-10-07 Angus Leeming <leeming@lyx.org>
3311 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3313 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3316 * aspell_local.h: add forgotten std::string's.
3318 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3325 * text3.C: The Box patch. Fancybox support, minipage, parbox
3327 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3333 * ParagraphParameters.h:
3343 * lyxtextclasslist.h:
3346 * paragraph_pimpl.C:
3347 * textcursor.h: add <string> and other small fixes to make Lars'
3348 std::string patch compile with STLport.
3350 2003-10-06 Angus Leeming <leeming@lyx.org>
3352 * LColor.h: Add missing #include <string>.
3354 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3356 * All most all file in all subdirs: Make <string> be the prefered
3357 way of getting to std::string, add using declarations.
3359 2003-10-06 André Pönitz <poenitz@gmx.net>
3361 * metricsinfo.C: initialize LyXFont before changing attribute.
3362 (fixes the 'math in \emph is upright' bug)
3364 2003-10-06 André Pönitz <poenitz@gmx.net>
3366 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3368 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3371 * paragraph_pimpl.C: Small fixes to build using STLport
3373 2003-10-02 André Pönitz <poenitz@gmx.net>
3376 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3378 2003-10-01 André Pönitz <poenitz@gmx.net>
3380 * factory.C: assert early
3382 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3384 * lyx_main.C: remove the global debug object
3386 * debug.h: adjust for new debugstream
3388 * debug.C: adjust for new debugstream and keep the global debug
3391 2003-09-22 Angus Leeming <leeming@lyx.org>
3393 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3394 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3395 an incomplete class LyXFont.
3397 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3399 * factory.C: bug fix in branches
3401 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3403 * lyxfunc.C (processKeySym): adjust
3405 (dispatch): change arg name from ev to func, adjust
3406 (sendDispatchMessage): ditto
3408 * lyx_main.C (defaultKeyBindings): adjust keybindings
3409 (deadKeyBindings): ditto
3411 * kbsequence.C (addkey): return a FuncRequest
3413 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3415 * kbmap.C (bind): take a FuncRequest as arg, adjust
3418 (defkey): change to take a FuncRequest as arg, adjust
3419 (findbinding): take a FuncRequest as arg, adjust.
3421 * funcrequest.h (operator=): added
3423 * funcrequest.C (FuncRequest): default kb_action changed from
3424 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3426 * buffer.C (dispatch): simplify
3427 (dispatch): adjust to take a FuncRequest as arg, adjust
3429 * boost.C (assertion_failed): change assertion message slightly
3431 * ToolbarBackend.C (read): simplify
3433 * MenuBackend.C (binding): adjust call to findbinding, add a
3434 message if no binding is found.
3436 (expandToc): correct by adding a empty FuncRequest
3438 * LyXAction.C: include <boost/assert.hpp>
3439 (isPseudoAction): delete function
3440 (LookupFunc): change name to...
3441 (lookupFunc): this. change return type to FuncRequest.
3442 (getActionName): take kb_action as arg, simplify
3443 (funcHasFlag): add an assert, simplify.
3445 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3447 * toc.C (action): return a FuncRequest, simplify
3449 * lyxfunc.C (processKeySym): adjust
3450 (getStatus): delete version that takes an int.
3452 (dispatch): delete version that takes action as int
3454 (sendDispatchMessage): simplify and adjust
3456 * funcrequest.C (getArg): take unsigned int as arg
3458 * ToolbarBackend.C (read): adjust
3459 (add): delete version that takes func as a string.
3460 (getIton): take a FuncRequest as arg
3462 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3465 * MenuBackend.C (MenuItem): add a new construct that only takes a
3466 Kind, simplify the constructor use for submenus.
3468 (expandLastfiles): adjust
3469 (expandDocuments): adjust
3470 (expandFormats): adjust
3471 (expandFloatListInsert): adjust
3472 (expandFloatInsert): adjust
3473 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3475 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3476 Remove class variables lyx_pseudo_map and lyx_arg_map
3478 * LyXAction.C (searchActionArg): delete function
3479 (getPseudoAction): delete function
3480 (retrieveActionArg): delete function
3481 (LookupFunc): make it return kb_action, simplify.
3482 (getActionName): simplify
3484 * factory.C (createInset): fix new bug
3486 2003-09-19 Angus Leeming <leeming@lyx.org>
3488 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3489 masterFilename_ parameter in the include inset.
3491 * factory.C (createInset): changes due to the changes to InsetInclude.
3493 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3495 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3497 2003-09-18 Angus Leeming <leeming@lyx.org>
3500 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3501 Inset::fillWithBibKeys.
3502 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3504 2003-09-18 Angus Leeming <leeming@lyx.org>
3506 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3508 (ctor): pass and store a 'Buffer const &'
3509 (buffer): new member function.
3511 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3512 '*this' to the LaTeXFeatures ctor.
3514 2003-09-18 Angus Leeming <leeming@lyx.org>
3520 * text.C: rename EnumLColor as LColor_color.
3522 2003-09-18 Angus Leeming <leeming@lyx.org>
3524 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3525 remove #include "insets/insetbase.h" from cursor.h.
3527 2003-09-18 Angus Leeming <leeming@lyx.org>
3529 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3530 InsetOld_code to remove #include "inset.h".
3532 * iterators.C: add #include "insets/inset.h"
3534 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3536 * BufferView.C: remove more locking stuff that apparently doesn't
3537 do anything sensible.
3539 2003-09-16 André Pönitz <poenitz@gmx.net>
3542 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3545 2003-09-16 Angus Leeming <leeming@lyx.org>
3547 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3549 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3552 * paragraph.h: remove #include "lyxfont.h". Forward declare
3555 2003-09-16 Angus Leeming <leeming@lyx.org>
3557 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3558 of support/textutils.h.
3559 (isWord): move the contents of support/textutils.h's IsWordChar here.
3565 * text2.C: add #include "paragraph.h".
3568 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3570 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3576 * LaTeX.C: use namespace alias for lyx::support::os
3578 2003-09-16 Angus Leeming <leeming@lyx.org>
3581 * bufferview_funcs.C:
3584 * paragraph_pimpl.C:
3586 * text.C: add #include "LColor.h".
3588 2003-09-16 Angus Leeming <leeming@lyx.org>
3590 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3591 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3593 Store the FontBits::color variable as an int rather than as an
3594 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3597 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3598 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3599 string calls together.
3601 * lyxrc.C: add #include "LColor.h".
3603 2003-09-15 Angus Leeming <leeming@lyx.org>
3605 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3608 2003-09-15 Angus Leeming <leeming@lyx.org>
3610 * LColor.h: add an EnumLColor wrapper for LColor::color.
3612 * lyxfont.[Ch] (color, setColor, realColor):
3613 * lyxtext.h, text.C (backgroundColor):
3614 pass EnumLColor args to/from the functions, rather than LColor::color
3618 * lyxtext.h: forward declare EnumLColor.
3620 * lyx_main.C: add #include "LColor.h".
3622 2003-09-15 Angus Leeming <leeming@lyx.org>
3624 * .cvsignore: add lyx-gtk.
3626 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3631 * ParagraphParameters.C
3635 * bufferview_funcs.C
3645 * vc-backend.C: remove usage of STRCONV
3647 2003-09-15 Angus Leeming <leeming@lyx.org>
3649 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3650 explicitly define the color passed to the painter.
3652 2003-09-15 Angus Leeming <leeming@lyx.org>
3654 * bufferparams.C (BufferParams): reorder member initializers to avoid
3657 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3659 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3660 * text.C (updateRowPositions): remove an unusual nop
3662 2003-09-12 André Pönitz <poenitz@gmx.net>
3664 * BufferView_pimpl.C:
3673 * Counters.[Ch]: finish the 'automatic counters' job
3675 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3677 * aspell.C: include <boost/assert.cpp> (compile fix)
3679 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3681 * boost.C (assertion_failed): use lyx::support::abort instead of
3684 2003-09-10 Angus Leeming <leeming@lyx.org>
3686 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3687 with their _fwd progeny.
3689 2003-09-09 Angus Leeming <leeming@lyx.org>
3691 134 files throughtout the source tree: replace 'using namespace abc;'
3692 directives with the appropriate 'using abc::xyz;' declarations.
3694 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3696 * boost.C (emergencyCleanup): moved here from LAssert.c
3697 (assertion_failed): new function, called by BOOST_ASSERT
3699 * several files: change Assert to BOOST_ASSERT
3701 2003-09-09 Angus Leeming <leeming@lyx.org>
3703 * buffer.[Ch]: Add an Impl class and move Buffer's member
3704 variables into it. As a result move several header files out of
3707 Add header files to lots of .C files all over the tree as a result.
3709 2003-09-09 Angus Leeming <leeming@lyx.org>
3711 * buffer.[Ch]: make Buffer's member variables private. Add
3714 Lots of changes all over the tree as a result.
3716 2003-09-08 Angus Leeming <leeming@lyx.org>
3718 * graph.C: #include <config.h>.
3720 2003-09-08 Angus Leeming <leeming@lyx.org>
3724 * BufferView_pimpl.C:
3753 * toc.C: remove redundant using directives.
3755 2003-09-07 Angus Leeming <leeming@lyx.org>
3757 * LaTeXFeatures.h: remove #include "support/types.h".
3758 * ToolbarBackend.h: remove #include <algorithm>.
3759 * changes.h: remove #include <ctime>.
3760 * debug.h: remove #include <iosfwd>.
3761 * graph.h: remove #include "support/std_string.h".
3762 * lyx_main.h: remove #include <csignal>.
3763 * lyxlex_pimpl.h: remove #include <fstream>.
3764 * sgml.h: remove #include <algorithm>, <utility>.
3765 * toc.h: remove #include "support/std_ostream.h".
3766 Add #include <iosfwd>.
3768 2003-09-07 Angus Leeming <leeming@lyx.org>
3770 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3772 * converter.h: forward declare LatexRunParams.
3773 * encoding.h: remove #include "lyxrc.h".
3774 * lyxtext.h: remove #include "LColor.h".
3775 * lyxtextclass.h: remove #include "support/types.h".
3776 * trans.h: remove #include "tex-accent.h".
3777 * trans_mgr.h: remove #include "tex-accent.h".
3778 * insets/inset.h: remove #include "support/types.h", <vector>.
3779 * insets/insetcollapsable.h: remove #include "LColor.h".
3780 * insets/insetinclude.h: remove #include "dimension.h".
3781 * insets/insetlatexaccent.h: remove #include "dimension.h".
3782 * insets/insetoptarg.h:: remove #include "insettext.h".
3783 * insets/insettext.h: remove #include "dimension.h",
3784 <boost/shared_ptr.hpp>
3786 * insets/renderers.h: add #include "dimension.h".
3787 * insets/updatableinset.h: add #include "support/types.h".
3789 * many .C files: Associated changes.
3791 2003-09-06 Angus Leeming <leeming@lyx.org>
3793 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3794 one, inside testInvariant.
3796 * PrinterParams.C: new file.
3797 * PrinterParams.[Ch]: move the function bodies out of line.
3799 2003-09-06 Angus Leeming <leeming@lyx.org>
3801 * ParagraphParameters.h: forward declare ParameterStruct rather than
3802 including its header file.
3803 (depth): moved out-of-line.
3805 2003-09-06 Angus Leeming <leeming@lyx.org>
3807 * BufferView_pimpl.h:
3810 * lyxfunc.h: forward declare LyXKeySym rather than
3811 #include "frontends/LyXKeySym.h".
3813 * BufferView_pimpl.C:
3816 * lyxfunc.C: associated changes.
3818 2003-09-06 Angus Leeming <leeming@lyx.org>
3820 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3821 As a result, can remove the #include "insets/inset.h" from BufferView.h
3823 2003-09-06 Angus Leeming <leeming@lyx.org>
3825 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3826 As a result, can remove the #include "insets/inset.h" from BufferView.h
3828 2003-09-06 Angus Leeming <leeming@lyx.org>
3834 * bufferview_funcs.C:
3835 * BufferView_pimpl.C:
3840 * ParagraphParameters.C:
3845 * frontends/controllers/ControlDocument.C:
3846 * insets/insetcaption.C: rearrange the #includes into some sort of
3849 * buffer.h: remove #includes ErrorList.h, undo.h
3851 2003-09-06 Angus Leeming <leeming@lyx.org>
3853 * support/types.h: add a 'depth_type' typedef, used to store the
3854 nesting depth of a paragraph.
3857 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3858 defining explicitly.
3861 * paragraph_funcs.h:
3862 * ParagraphParameters.h:
3863 * sgml.h: use lyx::depth_type rather than Paragraph or
3864 ParameterStruct's depth_type.
3867 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3870 * BufferView_pimpl.C:
3872 * ParagraphParameters.C:
3875 * bufferview_funcs.C:
3882 * frontends/LyXView.C:
3883 * frontends/controllers/ControlDocument.C:
3884 * frontends/controllers/ControlErrorList.C:
3885 * insets/insetbibitem.C:
3886 * insets/insetbranch.C:
3887 * insets/insetcaption.C:
3888 * insets/insetcollapsable.C:
3889 * insets/insetenv.C:
3890 * insets/insetert.C:
3891 * insets/insetfloat.C:
3892 * insets/insetfoot.C:
3893 * insets/insetfootlike.C:
3894 * insets/insetnewline.C:
3895 * insets/insetquotes.C:
3896 * insets/insettabular.C:
3897 * insets/insettext.C:
3898 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3900 * frontends/controllers/ControlChanges.C: #include "changes.h".
3902 2003-09-06 Angus Leeming <leeming@lyx.org>
3904 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3905 than #including paragraph.h.
3908 * RowList.h: deleted. Superfluous.
3918 * insets/insettext.h: use ParagraphList_fwd.h rather than
3921 * paragraph.h: don't forward declare ParagraphList.
3924 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3925 rather than ParagraphList.h. paragraph.h is still needed for the
3926 Paragraph::depth_type parameters.
3928 * textcursor.h: enable it to compile stand-alone in light of the
3931 * bufferview_funcs.C:
3943 * frontends/controllers/ControlParagraph.C:
3944 * frontends/controllers/ControlTabular.C:
3945 * insets/insetmarginal.C:
3946 * insets/insetminipage.C:
3947 * insets/insetnote.C:
3948 * insets/insetoptarg.C: add header files needed to compile again.
3950 2003-09-06 Angus Leeming <leeming@lyx.org>
3952 * RowList_fwd.h: new file, forward-declaring Row rather than
3953 #including lyxrow.h.
3958 * insets/insettext.h: use it instead of RowList.h
3960 * bufferview_funcs.C:
3967 * text3.C: #include "RowList.h".
3969 2003-09-05 Angus Leeming <leeming@lyx.org>
3971 * factory.C (createInset):
3972 * vspace.C (c-tor): replace sscanf call with an istringstream.
3973 * ispell.C: re-add missing HP/UX headers.
3974 * lyxserver.C: re-add missing os2 headers.
3976 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3985 * text3.C: re-add missing system headers, needed for 2.95.2.
3987 2003-09-05 Angus Leeming <leeming@lyx.org>
3989 Changes most place everywhere due to the removal of using directives
3990 from support/std_sstream.h.
3992 2003-09-05 Angus Leeming <leeming@lyx.org>
3994 Replace LString.h with support/std_string.h,
3995 Lsstream.h with support/std_sstream.h,
3996 support/LIstream.h with support/std_istream.h,
3997 support/LOstream.h with support/std_ostream.h.
3999 Changes resulting throughout the tree.
4001 2003-09-05 Angus Leeming <leeming@lyx.org>
4003 * sgml.h: ensure that the header file can be compiled stand-alone.
4004 * *.C: strip out redundant #includes. (320 in total.)
4006 2003-09-04 Angus Leeming <leeming@lyx.org>
4008 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
4009 here (from getPackages).
4011 * debug.[Ch]: add a new EXTERNAL tag.
4013 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4015 * text2.C (cursorEnd): simplify
4017 (getColumnNearX): adjust
4019 * text.C (computeBidiTables): adjust
4022 * rowpainter.C (paintChars): adjust
4023 (paintSelection): adjust
4024 (paintChangeBar): adjust
4027 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
4029 (numberOfSeparators): adjust
4031 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4037 * text3.C: Restricts the mouse click functionality
4038 of insets like bibtex, include, toc and floatlist to the visible
4039 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
4040 up the dialogs. Cursor has to be in front of the inset (i.e.
4041 start of row) for this to function.
4043 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4045 * bufferview_funcs.C (currentState): output row information
4047 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4049 * bufferview_funcs.C (currentState): output paragraph position
4051 2003-09-04 Angus Leeming <leeming@lyx.org>
4053 * FloatList.h: move out #include "Floating.h".
4054 * LaTeX.h: move out #include "DepTable.h".
4055 * LyXAction.h: move out #include "funcrequest.h".
4056 * buffer.h: move out #include "author.h", "iterators.h".
4057 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4058 * lyx_main.h: move out #include "errorlist.h".
4059 * lyxfunc.h: move out #include "FuncStatus.h".
4060 * lyxtext: move out #include "lyxcursor.h".
4061 * paragraph_pimpl.h: move out #include "counters.h".
4063 2003-09-03 Angus Leeming <leeming@lyx.org>
4065 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4066 preamble_snippets list, enabling us to add snippets to the preamble
4067 only if the snippet was not there already.
4069 2003-09-04 Angus Leeming <leeming@lyx.org>
4071 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4073 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4075 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4078 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4080 * BranchList.C: point fix, earlier forgotten
4082 2003-09-02 Angus Leeming <leeming@lyx.org>
4084 * box.C (contains): renamed from 'contained' after a fantastic
4087 2003-09-02 John Levon <levon@movementarian.org>
4093 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4095 2003-09-02 John Levon <levon@movementarian.org>
4097 * text2.C: simplification of cursorEnd(), including partial
4100 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4102 * buffer.C (readFile): add a space
4104 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4106 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4108 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4110 * buffer.C (readFile): new function, take a filename and a
4111 ParagraphList::iterator
4113 (readFile): adjust, make it private. don't use setStream, make
4114 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4115 always contain the filename.
4117 * BufferView.C (insertLyXFile): simplify and make it work for
4120 2003-08-30 John Levon <levon@movementarian.org>
4122 * Makefile.am: fix dist (from Kayvan)
4124 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4126 * most files: change to use const Buffer refs
4128 2003-08-27 André Pönitz <poenitz@gmx.net>
4130 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4131 on top of ownerPar().
4133 2003-08-27 John Levon <levon@movementarian.org>
4135 * funcrequest.C: properly initialise POD members
4137 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4139 * lyxtext.h (top_y): move top_y from here
4144 * BufferView_pimpl.[Ch]: to here
4145 * frontends/screen.C:
4146 * insets/insettabular.C:
4147 * insets/insettext.C: adjust
4148 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4150 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4153 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4155 2003-08-26 André Pönitz <poenitz@gmx.net>
4157 * paragraph_func.[Ch] (outerPar): new function
4160 * paragraph_funcs.C:
4161 * paragraph_funcs.h:
4162 * paragraph_pimpl.C:
4163 * text2.C: remove Inset::par_owner
4165 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4170 * text2.C: eliminates the needFullRow/display() stuff
4171 altogether, putting the logic in metrics/draw in the insets.
4173 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4175 * text2.C (redoParagraphInternal, redoParagraphs):
4176 * text.C (redoParagraph): add a call to updateRowPositions at the
4177 end of each 'metrics-like' call. Remove all others.
4178 (getRow): remove the 'y-computing' version.
4179 (getRowNearY): do not compute nor return the real y. Solve the
4180 'y < 0' problem and simplify.
4182 2003-08-22 Angus Leeming <leeming@lyx.org>
4184 * *.[Ch]: clean-up of licence and author blurbs.
4185 Also move config.h out of a few .h files and into a few .C files.
4187 2003-08-22 André Pönitz <poenitz@gmx.net>
4189 * lyxrow.[Ch]: add x_ and *fill_ members
4194 * text2.C: adjust/remove prepareToPrint() calls
4196 2003-08-22 André Pönitz <poenitz@gmx.net>
4198 * lyxrow.[Ch]: add end_ member
4200 * lyxrow_funcs.C: use LyXRow::end_
4202 * lyxtext.h (singleWidth): add LyXFont parameter
4205 * text2.C: adjust LyXText::singleWidth() calls
4207 * text.C (redoParagraph): simplify row breaking logic
4210 2003-08-19 André Pönitz <poenitz@gmx.net>
4212 * funcrequest.C: initialize button_ member
4215 * rowpainter.[Ch]: interface consolidation
4217 2003-08-18 André Pönitz <poenitz@gmx.net>
4220 * BufferView_pimpl.C:
4222 * paragraph_funcs.C:
4224 * text3.C: remove LyXScreen::draw() and fitCursor calls
4226 * BranchList.h: remove spurious semicolons
4228 * MenuBackend.C: fix branchlist related crash
4230 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4238 * bufferparams.[Ch]:
4242 * text3.C: implements the 'branch inset'
4243 idea. This allows the output of various versions of a document
4244 from a single source version, selectively outputing or suppressing
4245 output of parts of the text.
4246 This implementation contains a 'branch list editor' in a separate
4247 tab of the document settings dialog. Branches are user definable
4248 and have a "display colour" to distinguish them on-screen.
4250 ColorHandler was somewhat cleaned up.
4251 (1) make possible a dynamically growing LColor list by allowing
4252 the graphic context cache to grow along (vector);
4253 (2) eliminate an IMHO unnecessary step in colour allocation.
4255 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4257 * BufferView_pimpl.C: compile fix
4259 2003-08-15 André Pönitz <poenitz@gmx.net>
4261 * rowpainter.C: remove extra metrics calls
4263 * lyxtext.h: merge the two constructors into a single one,
4264 pass reference to owner's par list
4266 * BufferView_pimpl.C:
4270 2003-08-15 André Pönitz <poenitz@gmx.net>
4272 * lyxrow_funcs.[Ch]:
4275 * paragraph_funcs.C:
4280 * text_funcs.C: split LyXText::rowlist_ into individual
4281 Paragraph::rows_ chunks
4284 * BufferView_pimpl.[Ch]:
4287 * text3.C: remove toggleSelection()
4289 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4291 * bufferlist.C: beautify two alerts (shorter text of buttons)
4292 * buffer.C: Remove redundant ' ' from message
4294 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4295 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4296 rename VALIGN_CENTER to VALIGN_MIDDLE
4298 2003-08-11 André Pönitz <poenitz@gmx.net>
4300 * lyxtext.h (getPar):
4301 * text.C: new function
4303 2003-08-11 André Pönitz <poenitz@gmx.net>
4306 * tracer.[Ch]: remove unneeded files
4308 * InsetList.[Ch]: remove resizeInsetsLyXText()
4313 * text3.C: merge insertParagraphs() and appendParagraph()
4314 remove breakAgain(), update()
4316 * BufferView_pimpl.[Ch]:
4317 * bufferview_funcs.[Ch]:
4321 * tabular.C: adjust after text & InsetList changes.
4323 2003-08-08 André Pönitz <poenitz@gmx.net>
4325 * text.C (insertChar, backspace): replace rowlist fiddling
4326 with rebreak of full par
4329 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4330 checkParagraph, updateInset): removed
4332 2003-08-07 André Pönitz <poenitz@gmx.net>
4335 * text3.C: merge some LFUN handlers, remove dead code
4337 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4339 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4341 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4343 * text2.C (DEPM): fix part of bug 1255 and 1256
4345 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4347 * BufferView_pimpl.C (workAreaDispatch): change to use
4348 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4349 that are no mouse related.
4351 2003-08-05 André Pönitz <poenitz@gmx.net>
4354 * BufferView_pimpl.[Ch]:
4355 * bufferview_funcs.C:
4357 * text3.C: rip out "deep update"
4359 * textcursor.[Ch] (last_sel_cursor): remove unused member
4361 2003-08-04 André Pönitz <poenitz@gmx.net>
4364 * BufferView_pimpl.[Ch]:
4365 * ParagraphParameters.C:
4366 * bufferview_funcs.C:
4372 * text3.C: replace "complicated" BufferView::update(...) calls with
4375 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4377 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4379 * Makefile.am (lyx_SOURCES): add paper.h
4381 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4383 * Makefile.am: move things around so that both lyx-qt and
4384 lyx-xforms can be built (according to --with-frontend). Then lyx
4385 is a symbolic link to lyx-[firstfrontend]
4387 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4389 * Always use std::endl with lyxerr
4391 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4393 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4395 2003-08-01 André Pönitz <poenitz@gmx.net>
4398 * BufferView_pimpl.[Ch]:
4400 * text3.C: merge BufferView::repaint() and BufferView::update()
4402 2003-08-01 José Matos <jamatos@lyx.org>
4404 * buffer.[Ch]: file_format is no longer a buffer data element.
4406 2003-08-01 André Pönitz <poenitz@gmx.net>
4411 * text2.C: make redoParagraph more independent of current cursor
4413 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4415 * text2.C: remove unneeded members
4417 2003-07-30 André Pönitz <poenitz@gmx.net>
4419 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4421 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4422 create a single function...
4424 * paragraph_funcs.C (moveItem): ... here.
4427 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4429 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4431 * LColor.[Ch]: Add comment and greyedout logical colors.
4433 2003-07-30 André Pönitz <poenitz@gmx.net>
4435 * tabular.C: don't use Assert too heavily. This crashes where it
4438 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4440 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4441 is disabled (bug 1232)
4443 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4445 * factory.C: limited 'arg' scope
4447 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4449 * factory.C: fixed Note submenu issues
4451 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4453 * factory.C: submenu for Note/Comment/Greyedout
4455 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4458 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4460 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4463 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4464 greyedout. Patch provided by Jürgen Spitzmüller.
4466 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4468 * kbmap.C (read): fix error message when reading bind files
4470 2003-07-29 Angus Leeming <leeming@lyx.org>
4472 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4473 certainly does not do what it purports to do. I am doing it, and
4474 us, a favour by killing it.
4476 2003-07-28 José Matos <jamatos@lyx.org>
4478 * buffer.C (readBody, do_writeFile):
4479 * paragraph.C(readParagraph): \end_document replaces \the_end.
4481 2003-07-29 André Pönitz <poenitz@gmx.net>
4484 * BufferView_pimpl.[Ch]:
4488 * textcursor.[Ch]: remove toggleToggle & Co
4490 2003-07-28 José Matos <jamatos@fep.up.pt>
4492 * buffer.C (readParagraph):
4493 * params_func (readParToken, readParagraph):
4494 * paragraph.C (write): \layout -> \begin_layout.
4496 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4498 * lyxlex_pimpl.C (setFile): clean up slightly.
4500 * bufferparams.h: add compressed var
4502 * buffer_funcs.C (readFile): adjust for LyXLex change
4503 (newFile): ditto + simplify
4505 * buffer.C (writeFile): handle writing of compressed files
4507 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4508 Check if the file is compressed and set a bufferparm if so.
4510 * Makefile.am (lyx_LDADD): remove explicit -lz
4512 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4514 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4515 makeDocBookFile): put the real LyX version in the first line of
4519 * version.C.in: remove lyx_docversion
4521 * tabular.C (write_attribute): add a template-based version to
4522 write enums properly
4524 2003-07-28 André Pönitz <poenitz@gmx.net>
4529 * text3.C: use doubles again for x-coordinates. They are needed.
4531 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4533 * messages.C (getLocaleDir): use lyx_localedir()
4535 * lyxlex_pimpl.C (setFile): compress stuff
4537 * buffer.C (writeFile): add some compression stuff
4538 (do_writeFile): new func, dont call expliti close... will this
4541 * Makefile.am (lyx_LDADD): add -lz
4543 2003-07-28 José Matos <jamatos@fep.up.pt>
4545 * buffer.C: increment file format.
4546 * paragraph_funcs (readParagraph, readParToken):
4547 * paragraph.C (readParagraph): add \end_layout.
4549 2003-07-27 Angus Leeming <leeming@lyx.org>
4551 * Makefile.am: remove special casing for configure-time setting of
4552 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4554 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4555 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4557 2003-07-26 André Pönitz <poenitz@gmx.net>
4559 * paragraph_func.[Ch]:
4560 * paragraph.C (realizeFont): inline it whereever it is used
4565 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4568 2003-07-26 André Pönitz <poenitz@gmx.net>
4572 * text2.C: get rid of LyXText::need_break_row
4574 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4576 * toc.[Ch]: put namespace toc inside namespace lyx
4578 * MenuBackend.C (expandToc2): adjust for lyx::toc
4581 * lyxfunc.C (dispatch): adjust for lyx::find
4583 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4584 lyx::find instead. Reorganize a bit.
4585 (LyXReplace): rename to replace
4586 (LyXFind): rename to find
4588 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4591 2003-07-26 André Pönitz <poenitz@gmx.net>
4593 * text.C (setHeightOfRow): restrict scope of temporary variable
4595 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4596 code (never has been used?)
4598 2003-07-27 Asger Alstrup <alstrup@local>
4600 * text.C (fill): Optimise algorithm to exploit that we can reuse
4601 the LyXFont for many characters.
4602 (setHeightOfRow): Same thing.
4603 (rowBreakPoint): Same thing.
4605 2003-07-26 Asger Alstrup <alstrup@local>
4607 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4609 * text.C (singleWidth): Spurious font copying in hot-spot
4610 singleWidth avoided. Reorder tests for arabic for efficiency.
4612 * text.C (fill): handle empty paragraphs better.
4614 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4617 * encoding.h: add includes
4619 * lyxrc.C: remove reading of bind files
4621 * lyx_main.C (init): setup bindings and menus only if we have a
4624 * kbmap.C (read): new method. Do the actual reading of bind
4627 * converter.C (dvipdfm_options):
4630 (output): adapt PAPER_* enums.
4632 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4634 * bufferparams.h: remove paper-related enums from there
4636 * paper.h: New file. A trivial header file to hold paper-related
4637 enums. It should later expand to contain many paper-related
4640 * lyxrc.C: declare extern displayTranslator
4642 2003-07-27 José Matos <jamatos@fep.up.pt>
4644 * tabular.[Ch] (linuxdoc): add support for tables and figures
4647 2003-07-27 José Matos <jamatos@fep.up.pt>
4649 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4650 consistency in both functions.
4651 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4653 2003-07-26 Asger Alstrup <alstrup@local>
4655 * rowpainter.C (paintRows): Change algorithm to work directly on
4656 the insets rather than asking every character in the document
4657 whether its an inset.
4659 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4661 * buffer.C (openFileWrite): factorize some code
4663 2003-07-26 Angus Leeming <leeming@lyx.org>
4666 * lyx_main.[Ch]: replace occurances of system_tempdir with
4669 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4671 * rename Inset to InsetOld
4673 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4675 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4676 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4677 which I think is a bit clearer. EDIT is gone, since it was
4678 premature optimisation, and broken for mathed anyway.
4679 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4680 with cursor positioning in insets as well (math insets still do not
4681 work, but that's a different story anyway.) It mysteriously
4682 crashes sometimes with undo in the first paragraph, but I'm fairly
4683 confident that this is a compiler bug.
4685 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4687 * paragraph.C (Paragraph): adjust for new clone return type
4689 (copyIntoMinibuffer): ditto
4691 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4693 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4694 by not having a special case, and always doing a full rebreak of
4695 the document after undo.
4697 2003-07-23 Angus Leeming <leeming@lyx.org>
4699 * factory.C (createInset): InsetExternal::setParams now takes a
4702 2003-07-23 Angus Leeming <leeming@lyx.org>
4704 * factory.C (createInset): changed interface to the external and
4705 graphics mailers' string2params functions.
4707 2003-07-23 Angus Leeming <leeming@lyx.org>
4709 * factory.C (createInset): pass a
4710 Buffer const * parameter to InsetExternalMailer's string2params.
4712 2003-07-22 John Levon <levon@movementarian.org>
4714 * Thesaurus.h: include the right aiksaurus header
4716 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4718 * MenuBackend.C (expand): check menu shortcuts unconditionally
4720 2003-07-21 Angus Leeming <leeming@lyx.org>
4722 * factory.C (createInset): pass a
4723 buffer_path parameter to InsetGraphicsMailer's string2params.
4725 2003-07-21 Angus Leeming <leeming@lyx.org>
4727 * BufferView_pimpl.C (buffer):
4730 * lyxfunc.C (dispatch):
4731 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4732 rather than the grfx shortcut.
4734 2003-07-21 André Pönitz <poenitz@gmx.net>
4736 * rowpainter.C: remove unused variables
4739 * tabular_funcs.h: move to tabular.C
4740 * Makefile.am: adjust
4742 * tabular.[Ch]: basic optical cleaning
4744 * author.h: pass references, not values
4746 2003-07-18 André Pönitz <poenitz@gmx.net>
4754 * text3.C: two-phase drawing for InsetText and InsetTabular
4755 some float -> int changes.
4757 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4759 * lyx_main.C: fix the fix
4761 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4763 * lyx_main.C: fix a crash in batch mode if no files specified
4766 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4768 * format.[Ch] (papersize): moved to BufferParams
4769 * converter.[Ch] (dvips_options): moved to BufferParams
4770 (dvipdfm_options): moved to anon namespace
4771 * bufferparams.[Ch]: added above functions.
4773 2003-07-17 André Pönitz <poenitz@gmx.net>
4777 * text2.C: don't call inset->update() anymore
4779 * metricsinfo.[Ch]: add convenience constructor
4781 2003-07-16 André Pönitz <poenitz@gmx.net>
4786 * text2.C: replace the LyXCursor::irow_ member with
4787 on-demand computation of the value
4789 2003-07-16 John Levon <levon@movementarian.org>
4791 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4793 2003-07-15 André Pönitz <poenitz@gmx.net>
4796 * text2.C: remove no more needed refresh_row
4798 2003-07-15 André Pönitz <poenitz@gmx.net>
4803 * text3.C: refresh_status tristate -> need_update bool
4805 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4807 * lyxtext.h (init): remove reinit argument (act as if always true)
4808 * text2.C: adjust to that
4810 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4812 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4813 * text3.C: use it to delete selections in some cases
4814 (bugs 441, 673, 702, 954).
4816 2003-07-14 André Pönitz <poenitz@gmx.net>
4818 * rowpainter.[Ch]: reduce interface
4820 2003-07-14 André Pönitz <poenitz@gmx.net>
4822 * BufferView_pimpl.C:
4823 * text2.C: adjust after removing unused BufferView * argument
4825 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4827 * text2.C (init): fix a crash fired on resize
4829 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4831 * buffer.[Ch]: added new closing signal
4832 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4833 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4834 BufferView::Pimpl via the closing the signal
4836 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4838 * buffer.[Ch]: take out all bv-related from buffer
4840 * BufferView_pimpl.[Ch]: connect to new signals
4841 * CutAndPaste.C: removed useless asserts
4842 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4845 * lyxfunc.C: moved view-related funciontality from vc here
4846 * paragraph.C: removed outdated comments
4849 2003-07-10 André Pönitz <poenitz@gmx.net>
4851 * BufferView_pimpl.C:
4855 * text2.C: remove InsetText::InnerCache, clean up consequences
4857 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4859 * ispell.C: fix two typos in error messages
4861 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4863 * Extend Note inset to other forms of annotation like Comment
4864 and Greyedout. Right button click gives dialog.
4866 Files modified or added (+):
4870 * ControlNote.[Ch] +
4872 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4873 frontends/controllers
4877 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4879 * aspell.C: add missing namespace lyx::support
4881 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4883 * BufferView.[Ch] (newFile): Add
4884 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4885 * LaTeX.[Ch] (message): added this signal and use it
4886 * buffer.[Ch] (busy, message): added these signals and use them
4887 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4891 * importer.C: use buffer signals instead of direct bv calling
4892 * lyx_cb.[Ch] (ShowMessage): removed
4895 * paragraph_funcs.C:
4896 * text2.C: use buffer signals
4898 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4900 * introduce namespace lyx::graphics
4902 2003-07-02 André Pönitz <poenitz@gmx.net>
4904 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4906 2003-07-01 André Pönitz <poenitz@gmx.net>
4913 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4914 text*.C to text_func.C
4916 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4918 * introduce namespace lyx::support
4920 2003-06-30 André Pönitz <poenitz@gmx.net>
4925 * text.C: re-enable --with-included-string
4927 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4929 * textcursor.C: add <config.h>
4931 * text.C (getWord): remove const from word_location arg
4933 * lyxvc.C (getLogFile): fix const type order
4935 * lyxtext.h: remove const from word_location arg, add arg name
4937 * lyxlayout.h: currect type on labeltype.
4939 * importer.C: correct \file
4941 * converter.C (intToFormat): use std:: on ret val, ws changes
4943 * bufferlist.h: correct \file
4945 * buffer.C (makeLinuxDocFile): fix const type order
4946 (makeDocBookFile): ditto
4947 (fillWithBibKeys): use std:: on stdlib args.
4949 * CutAndPaste.C: fix authors.
4950 (availableSelections): use std:: on return vector
4952 2003-06-27 André Pönitz <poenitz@gmx.net>
4954 * BufferView_pimpl.C:
4955 * bufferview_funcs.C:
4963 * text3.C: remove LyXCursor::row_ member
4966 * text.C: rename fullRebreak() to partialRebreak() and implement
4967 a fullRebreak() that really bereks fully
4969 * textcursor.h: new struct for cursor-related data
4971 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4973 * lyx_main.C (LyX): get full path of document loaded on the
4976 2003-06-26 André Pönitz <poenitz@gmx.net>
4978 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4979 remove unused/broken operator>,<,>=.
4981 * text.C: remove only use of broken operator<= in an Assert().
4983 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4985 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4986 moved errorlist_.clear to showErrorList
4988 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4990 * converter.C (scanLog, runLaTeX):
4991 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4992 move the bv->showErrorList call to the callers
4993 * lyxfunc.C: i.e. here...
4995 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4996 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4997 namespace, the second to...
4998 * buffer_funcs (BufferFormat, parseErrors): added
4999 * errorlist.C (ErrorList(TeXErrors const &)): removed
5001 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5003 * ToolbarBackend.C (getIcon): complain when icon cannot be found
5005 2003-06-24 "Garst R. Reese" <reese@isn.net>
5009 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5011 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
5013 * version.C.in: change docversion to 1.4
5015 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
5017 * buffer.C: fix a bug just introduced
5019 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
5021 * buffer.[Ch]: added the parseError signal and use it, removed
5023 * BufferView.[Ch] (addError): moved to ...
5024 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
5025 to the Buffer::parseError signal to catch (guess what) parse errors
5026 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
5028 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
5030 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
5031 ability to create a buffer and to return an existing one from
5032 the list. Moved these functions to...
5033 * buffer_funcs.[Ch]: added
5034 * BufferView.[Ch] (loadLyXFile): added
5035 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
5036 job removed from bufferlist::loadLyXFile.
5037 * buffer.C (setReadOnly): make it work without view
5038 (i.e added an if (users))
5040 2003-06-19 Angus Leeming <leeming@lyx.org>
5043 * LyXAction.C (init):
5044 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
5045 with LFUN_DIALOG_SHOW <name> <data>.
5047 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5049 * CutAndPaste.C (availableSelections): small compilation fix for
5050 ancient (gcc 2.9x) compilers
5052 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5054 * text3.C (cursorNext): add tmp var
5056 * text2.C (updateCounters): for function calling out of for clause
5057 (replaceSelectionWithString): ditto
5058 (insertStringAsParagraphs): ditto
5059 (getColumnNearX): add tmp var
5060 (setCursorFromCoordinates): add tmp var
5061 (cursorDownParagraph): add tmp var
5062 (deleteEmptyParagraphMechanism): add tmp var
5064 * text.C (insertChar): add tmp var
5066 * rowpainter.C (paintDepthBar): add tmp var
5068 * CutAndPaste.C (availableSelections): potentially check all
5069 paragraphs in a cut to fill the shown strings.
5071 2003-06-18 André Pönitz <poenitz@gmx.net>
5073 * kbmap.[Ch]: use vector<> instead of list<>
5075 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5077 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5078 pasteSelection with index
5080 * text2.C (pasteSelection): modify, call pasteSelection with index
5082 * paragraph.C (asString): reimplement version with no interval to
5083 call the one with interval.
5085 * lyxtext.h: add index arg to pasteSelection
5087 * MenuBackend.C (MenuItem): handle PasteRecent
5088 (Menu::read::Menutags): add md_pasterecent
5090 (expandPasteRecent): new function
5093 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5095 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5097 (availableSelections): new function
5099 2003-06-17 Angus Leeming <leeming@lyx.org>
5101 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5103 2003-06-17 Angus Leeming <leeming@lyx.org>
5106 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5108 * lyxfunc.C (dispatch): invoke it.
5110 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5112 * iterators.C (operator++, ParPosition): reintroduce some
5113 const_cast for the benefit of older compilers.
5115 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5117 * text3.C (dispatch): do not modify clipboard when doing
5118 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5119 LFUN_DELETE_SKIP on a selection selection
5121 2003-06-16 André Pönitz <poenitz@gmx.net>
5127 * tabular.[Ch]: IU of clone() and getLabelList();
5129 2003-06-13 André Pönitz <poenitz@gmx.net>
5131 * tabular.h: compactification
5133 2003-06-12 André Pönitz <poenitz@gmx.net>
5137 * tabular_funcs.h: some renaming plus whitespace
5139 2003-06-12 André Pönitz <poenitz@gmx.net>
5142 * BufferView_pimpl.C:
5148 * toc.C: Return a Paragraph & for ParIterator::operator*()
5150 2003-06-11 John Levon <levon@movementarian.org>
5154 * ToolbarBackend.C: add "Toolbars" section and
5157 2003-06-10 Angus Leeming <leeming@lyx.org>
5160 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5162 * lyxfunc.C (dispatch): invoke it.
5164 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5166 * main.C: protect <ios> with HAVE_IOS
5167 (main): protect sync_with_stdio with HAVE_IOS
5169 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5171 * text2.C (cutSelection): adjust
5172 (pasteSelection): adjust
5174 * messages.C: handle get of empty string
5176 * main.C (main): use sync_with_stdio(false)
5178 * lyxfunc.C (dispatch): adjust
5180 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5181 (WriteAs): remove unneeded BufferView arg.
5183 * bufferparams.h: use correct types on papersize, papersize2 and
5186 * bufferparams.C (readToken): adjust for type
5187 (writeLaTeX): add missing cases to switch.
5189 * bufferlist.C (quitWriteBuffer): adjust
5192 * buffer.C (asciiParagraph): remove some commented code.
5194 * CutAndPaste.C: remove current_view extern variable.
5195 (cutSelection): add BufferParams arg.
5196 (eraseSelection): add BufferParams arg.
5197 (pasteSelection): add Buffer const & arg
5199 2003-06-07 John Levon <levon@movementarian.org>
5202 * paragraph_funcs.C:
5203 * paragraph_pimpl.C:
5207 * paragraph.C: allow InsetERT to freely space lines,
5208 and some consolidation of code
5210 2003-06-06 José Matos <jamatos@fep.up.pt>
5212 * buffer.C (makeDocBookFile): fix bug #821
5214 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5216 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5218 2003-06-04 Angus Leeming <leeming@lyx.org>
5220 * buffer.C: bump format to 224.
5222 2003-06-05 André Pönitz <poenitz@gmx.net>
5224 * text2.C (redoParagraphs): remove two const_cast<>
5226 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5228 * ParagraphList.h: remove last remnants of NO_STD_LIST
5230 2003-06-03 Angus Leeming <leeming@lyx.org>
5232 * factory.C (createInset): small change to the way InsetExternal's params
5235 2003-06-04 André Pönitz <poenitz@gmx.net>
5237 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5239 * paragraph_pimpl.h:
5240 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5242 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5244 * undo_funcs.C: make some simple cases of undo work again
5246 2003-06-03 John Levon <levon@movementarian.org>
5248 * ispell.C: HPUX doesn't have sys/select.h
5251 2003-06-03 John Levon <levon@movementarian.org>
5253 * CutAndPaste.C: update tabular and include inset
5258 * paragraph.C: remove owningBuffer(), don't pass Buffer
5261 * factory.C: insetGraphicsParams changed
5263 2003-06-02 John Levon <levon@movementarian.org>
5269 * text3.C: remove insetparent
5271 2003-06-02 John Levon <levon@movementarian.org>
5274 * buffer.C: fix inset_iterator.end(), move out of line
5277 2003-06-01 John Levon <levon@movementarian.org>
5279 * text3.C: use a proper cut/paste when doing inset
5280 insert (from Jürgen Spitzmüller)
5282 2003-06-01 John Levon <levon@movementarian.org>
5284 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5286 2003-05-30 André Pönitz <poenitz@gmx.net>
5288 * rowpainter.C: unify second drawing phase
5290 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5292 * trans_mgr.C: remove one case of current_view
5294 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5296 * paragraph_funcs.h: remove paragraph.h include
5298 * paragraph.h: delete NO_STD_LIST stuff
5300 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5302 * buffer.h: remove paragraph.h include
5304 * ParagraphList.C: delete file
5306 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5308 * toc.C (getTocList): adjust
5310 * paragraph_pimpl.C (validate): adjust
5312 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5314 * paragraph.C (Paragraph): adjust
5315 (getPositionOfInset): use const_iterator, adjust
5316 (bibitem): use const_iterator, adjust
5317 (setInsetOwner): adjust
5319 * iterators.C (operator++): adjust
5321 * InsetList.[Ch]: Replace selfmade iterator with standard
5322 vector::iterator also introduce const_iterator. Remove getPos,
5323 getInset and setInset from InsetTable. Adjust accordingly.
5325 * BufferView.C (lockInset): adjust
5326 (ChangeInsets): adjust
5328 * tabular.[Ch]: delete commented same_id functions
5330 2003-05-28 John Levon <levon@movementarian.org>
5332 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5334 2003-05-28 André Pönitz <poenitz@gmx.net>
5336 * metricsinfo.[Ch]: remove 'fullredraw' member
5338 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5340 * lyxtextclass.C (operator): remove caching.
5342 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5346 * text2.C (cursorBottom): adjust
5347 (setCounter): use ParagraphList::find, adjust
5349 * text.C (workWidth): use ParagraphList::find, adjust
5351 * lyxcursor.C (LyXCursor): adjust
5353 * buffer.C (inset_iterator): adjust
5355 * ParagraphList.h: make iterator(value_type) private, make
5356 ParagraphList a friend of iterator.
5358 * ParagraphList.C (find): new function
5360 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5362 2003-05-27 André Pönitz <poenitz@gmx.net>
5364 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5366 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5368 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5370 2003-05-26 John Levon <levon@movementarian.org>
5372 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5374 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5376 * remove same_id from function signatures, adjust.
5378 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5380 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5382 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5384 * paragraph.C (Paragraph): get rid of same_ids parameter
5386 * ParagraphList.C (insert): adjust
5389 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5391 * paragraph_funcs.C (breakParagraph): adjust
5392 (breakParagraphConservative): adjust
5394 * buffer.C (readParagraph): adjust
5396 * ParagraphList.C (insert): take a reference instead of a pointer
5399 * paragraph.[Ch] (id): new function
5401 * bufferlist.C (newFile): adjust
5403 * ParagraphList.C (ParagraphList): adjust
5405 (push_back): take a reference instead of a pointer.
5407 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5409 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5412 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5413 set else use old code.
5415 * ParagraphList.C: remove all NO_NEXT code and only compile this
5416 code of NO_STD_LIST is set.
5418 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5420 * BufferView_pimpl.C:
5430 * graphics/GraphicsConverter.C:
5431 * graphics/PreviewLoader.C: header adjustment
5433 2003-05-23 Angus Leeming <leeming@lyx.org>
5435 * LaTeXFeatures.[Ch] (useBabel): new method.
5436 * bufferparams.C (writeLaTeX): use it.
5438 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5440 * ParagraphList.h (set): remove unused function.
5442 2003-05-23 André Pönitz <poenitz@gmx.net>
5445 * BufferView_pimpl.C:
5449 * undo_funcs.C: setUndo reworked
5451 * iterators.[Ch]: add access to topmost ParagraphList
5453 * lyxtext.[Ch] (workWidth): add a const
5455 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5457 * texrow.[Ch] (increasePos): remove function
5458 * exporter.C (export): removed unused var and outdated comment
5460 2003-05-23 Angus Leeming <leeming@lyx.org>
5462 * latexrunparams.h: rename fragile as moving_arg.
5463 * paragraph.C (simpleTeXOnePar): ditto.
5464 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5466 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5468 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5470 (textUndoOrRedo): comment out a currently unused var.
5472 * paragraph.h (NO_NEXT): enable NO_NEXT
5474 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5476 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5478 * exporter.C (Export): adjust for removeAutoInsets removal.
5480 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5482 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5484 * BufferView.[Ch] (removeAutoInsets): delete function
5486 2003-05-22 Angus Leeming <leeming@lyx.org>
5488 * latexrunparams.h: add a free_spacing variable.
5490 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5491 to pass moving_arg, as the data is stored in runparams.fragile.
5493 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5494 to Inset::latexOptional or to simpleTeXOnePar.
5496 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5497 free_spacing arg to Inset::latexOptional.
5499 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5502 2003-05-22 Angus Leeming <leeming@lyx.org>
5504 * latexrunparams.h: add fragile and use_babel variables.
5506 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5507 * buffer.C (makeLaTeXFile): store this returned value in
5508 runparams.use_babel, thus passing it to the inset::latex methods.
5510 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5511 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5513 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5514 longer has a fragile arg, as it is stored in runparams.fragile.
5516 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5517 moving_arg parameter as the data is stored in runparams.fragile.
5519 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5520 a fragile parameter as the data is stored in runparams.fragile.
5522 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5524 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5526 2003-05-22 Angus Leeming <leeming@lyx.org>
5528 * latexrunparams.h: add a 'bool nice' which defaults to false.
5530 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5531 now encapsulated within runparams.
5533 * bufferlist.C (updateIncludedTeXfiles):
5534 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5536 2003-05-22 Angus Leeming <leeming@lyx.org>
5538 * latexrunparams.h: new file containing struct LatexRunParams.
5539 * Makefile.am: add new file.
5541 * LaTeX.[Ch] (c-tor, run):
5542 * buffer.[Ch] (makeLaTeXFile):
5543 * bufferlist.[Ch] (updateIncludedTeXfiles):
5544 * converter.C (convert, scanLog):
5545 * converter.[Ch] (runLaTeX):
5546 * exporter.C (Export):
5547 * paragraph.[Ch] (simpleTeXOnePar):
5548 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5549 * paragraph_funcs.[Ch] (latexParagraphs):
5550 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5551 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5552 pass around a LatexRunParams parameter.
5554 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5556 * paragraph.[Ch]: remove unused constructor
5558 * ParagraphList.C (erase): new function, taking two iterators
5560 2003-05-22 André Pönitz <poenitz@gmx.net>
5562 * undo_funcs.C: remove duplicated code
5564 * iterator.[Ch]: operator=
5566 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5568 * tabular.C (SetMultiColumn): ws changes
5570 * rowpainter.C (paintFirst): get rid of a ->previous
5572 * lyx_cb.C (getPossibleLabel): parlist simplification
5574 * BufferView.C (ChangeInsets): simplify slightly.
5576 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5578 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5579 * lfuns.h: new LFUN_SPACE
5580 * lyxfunc.C: protected space has a new lfun
5581 * paragraph_funcs.C: read new space insets
5583 * factory.C: handle new space insets
5585 2003-05-22 André Pönitz <poenitz@gmx.net>
5588 * BufferView_pimpl.C:
5591 * undo_funcs.C: return a ParIterator from getParFromID.
5593 * iterators.[Ch]: add two const's
5595 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5597 * toc.C (getTocList): adjust
5599 * iterators.[Ch]: rework for parlist
5601 * buffer.C (par_iterator_begin): adjust
5602 (par_iterator_end): adjust
5604 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5606 * BufferView.C (removeAutoInsets): adjust
5607 (ChangeInsets): adjust
5609 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5611 * text.C (top_y): fix bug 1110
5613 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5615 * errorlist.[Ch]: added
5618 * BufferView_pimpl.C:
5619 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5622 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5624 * Makefile.am: ensure that lyx is relinked upon changes to the
5625 various "convenience" libs.
5627 2003-05-20 Angus Leeming <leeming@lyx.org>
5629 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5630 files are compiled in alphabetical order again.
5632 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5634 2003-05-19 Angus Leeming <leeming@lyx.org>
5636 * gettext.[Ch]: remove "char const * _(char const *)".
5638 2003-05-19 André Pönitz <poenitz@gmx.net>
5640 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5649 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5651 2003-05-19 André Pönitz <poenitz@gmx.net>
5655 * lyxtextclass.[Ch]:
5657 * paragraph_funcs.[Ch]:
5659 * text3.C: more insetenv work
5661 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5663 * ParagraphParameters.C (params2string): small bug fixed
5665 2003-05-16 André Pönitz <poenitz@gmx.net>
5668 * bufferview_funcs.C: patch from Kornel Benko to prevent
5669 crash when _(...) is called twice in a statement
5671 2003-05-16 André Pönitz <poenitz@gmx.net>
5678 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5680 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5682 * lyx_main.C (init): remove spurious static_cast
5684 2003-05-14 André Pönitz <poenitz@gmx.net>
5686 * BufferView.C: fix format string
5688 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5690 * BufferView.[Ch] (insertErrors): removed
5691 * BufferView.[Ch] (showErrorList): added
5692 * buffer.C (runChkTeX):
5693 * converter.C (scanLog): call showErrorList instead of inserterrors
5695 2003-05-13 André Pönitz <poenitz@gmx.net>
5697 * BufferView_pimpl.C:
5699 * bufferview_func.C:
5706 * tabular_funcs.h: tostr() from its own header
5708 * ParagraphParameters.C:
5713 * text3.C: STRCONV()
5715 2003-05-12 André Pönitz <poenitz@gmx.net>
5718 * BufferView_pimpl.C:
5722 * ParagraphParameters.C:
5726 * bufferview_funcs.C:
5739 * paragraph_funcs.C:
5743 * text3.C: boost::format -> bformat all over the place
5746 2003-05-09 André Pönitz <poenitz@gmx.net>
5748 * LColor.[Ch]: Pimpl the #include <map> away
5750 2003-05-09 John Levon <levon@movementarian.org>
5752 * bufferlist.C: never remove emergency saves
5754 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5756 * Makefile.am: better lib building
5758 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5760 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5762 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5763 (simpleTeXSpecialChars): adjust
5764 (simpleTeXSpecialChars): adjust
5765 * paragraph.C (simpleTeXOnePar): adjust
5766 * buffer.C (makeLaTeXFile): adjust
5768 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5770 * text2.C (changeDepth): parlist cleanup
5771 (getColumnNearX): ditto
5773 * rowpainter.C (getLabelFont): parlist cleanup
5775 * bufferlist.C (newFile): parlist cleanup
5777 * CutAndPaste.C (eraseSelection): parlist cleanup
5779 * BufferView_pimpl.C (trackChanges): parlist cleanup
5782 * BufferView.C (lockInset): parlist cleanup.
5783 (ChangeInsets): ditto
5785 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5787 * CutAndPaste.h: Update file header.
5789 * CutAndPaste.C: Update file header.
5790 Store the parts cut out of the Document in a limited_stack.
5791 (copySelection): adjust
5792 (pasteSelection): new function, takes the index in the limited stack.
5793 (nrOfParagraphs): adjust
5794 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5795 simplify error inset insertion.
5796 (checkPastePossible): adjust
5798 2003-05-06 John Levon <levon@movementarian.org>
5800 * text2.C: don't cast wrap inset to float
5802 2003-05-05 André Pönitz <poenitz@gmx.net>
5805 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5807 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5808 few naked Paragraph *.
5810 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5812 * bufferparams.C: Output warning if a document with missing
5813 TeX document class is loaded
5814 * exporter.C: Disable TeX exports if the document class is missing
5817 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5818 isTeXClassAvailable()
5820 2003-05-03 John Levon <levon@movementarian.org>
5823 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5824 explicit cursor show/hide
5826 * BufferView_pimpl.h:
5827 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5828 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5830 * lyxfunc.C: hide cursor before dispatching.
5835 * text3.C: remove explicit cursor hides
5837 2003-05-02 André Pönitz <poenitz@gmx.net>
5839 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5842 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5845 * text2.C: tiny whitespace
5847 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5849 * undo_funcs.C: almost only ws changes.
5851 * ParagraphList.C (splice): just return if pl is empty.
5853 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5855 * ParagraphList.C (splice): new function.
5857 * CutAndPaste.C (pasteSelection): use it
5859 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5861 * CutAndPaste.C (pasteSelection): remove the last next and
5862 previous from this file.
5864 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5866 * CutAndPaste.C (pasteSelection): more clean up, user proper
5867 ParagraphList functions for pasteing.
5869 * ParagraphList.C (insert): new function, three arg insert
5871 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5873 * ParagraphList.C (insert): new function, three arg insert
5875 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5878 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5880 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5882 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5884 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5886 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5888 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5889 (copySelection): clean up a bit.
5890 (pasteSelection): use make_pair
5892 * ParagraphList.C (ParagraphList): implement copy constructor
5893 (operator=): implement, base on copy constructor.
5896 * paragraph.C (erase): return a bool
5898 * paragraph_pimpl.C (erasePos): remove function, move contents...
5899 (erase): ... here. Return a bool.
5900 (erase): call erase instead of erasePos.
5902 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5904 * ParagraphList.h: define PitPosPair
5905 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5906 ParagraphList, fix a bug on pasting multiple pars
5907 * text2.C: change interface to C&P
5909 2003-04-30 André Pönitz <poenitz@gmx.net>
5911 * undo_func.C: revert part of yesterday's patch 2
5913 2003-04-30 John Levon <levon@movementarian.org>
5915 * LColor.C: s/tabular/table/
5917 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5919 * text3.C (dispatch): do not convert iterator -> pointer
5920 * undo_funcs.C (setCursorParUndo): ditto
5921 * text_funcs.C (transposeChars): ditto
5923 * text2.C (setLayout): ws changes only
5925 * text.C (breakParagraph): do not convert iterator -> pointer
5927 (acceptChange): ditto
5928 (rejectChange): ditto
5933 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5936 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5938 * text3.C (gotoInset): YABG (yet another bad getChar)
5940 2003-04-29 André Pönitz <poenitz@gmx.net>
5942 * paragraph.h: make operator= private unimplemented as long as
5945 * ParagraphList.C: whitespace
5948 * paragraph_pimpl.[Ch]:
5949 * paragraph_funcs.C:
5951 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5954 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5956 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5958 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5959 * paragraph.[Ch] (erase):
5960 * paragraph_pimpl.[Ch] (erase): change return type and value
5961 * text2.C (cutSelection): some rework
5963 2003-04-28 John Levon <levon@movementarian.org>
5965 * bufferlist.C: changes for unsaved changes dialog
5967 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5969 * bufferlist.C (newFile): set language (messages_) for new
5972 * buffer.C (readFile): ws changes only.
5974 2003-04-28 André Pönitz <poenitz@gmx.net>
5979 * BufferView_pimpl.C:
5980 * BufferView.C: getParFromID related ParagraphList::iterator changes
5982 2003-04-28 André Pönitz <poenitz@gmx.net>
5984 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5987 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5989 * messages.C: remove one more localedir class variable.
5991 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5993 * messages.C (getLocaleDir): singleton generation function
5995 (Messages): add a default constructor.
5997 * main.C (main): do not setup localedir here, do not call
6000 * gettext.C (_): use it.
6001 (gettext_init): delete funciton
6003 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6005 * gettext.C (getLyXMessages): new singleton generating function.
6007 * buffer.C (updateDocLang): adjust
6009 * Makefile.am (messages.o): add target
6010 (main.o): remove target
6012 2003-04-27 John Levon <levon@movementarian.org>
6017 * lyxvc.C: specify cancel button in Alert::prompt
6019 2003-04-26 John Levon <levon@movementarian.org>
6024 * LyXAction.C: add LFUN_INSET_SETTINGS
6026 * lyxfunc.C: don't enable tabular-feature when there's
6027 just any locking inset
6029 2003-04-26 John Levon <levon@movementarian.org>
6031 * bufferlist.C: re-add Cancel to buffer close question
6033 * lyxfunc.C: fix import UI a bit
6035 2003-04-25 John Levon <levon@movementarian.org>
6037 * gettext.C: remove the broken asserts for now
6039 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
6041 * messages.C: make case where setlocale cannot comply work better.
6043 * buffer.C (updateDocLang): new function
6044 (changeLanguage): use it
6047 * text2.C (setCounter): use B_ a bit.
6049 * lyxlayout.C (Read): be sure to trim the label strings.
6051 * messages.C (Messages): fix typo in comment
6053 * buffer.C (readFile): set message_ after file is loaded.
6054 (makeDocBookFile): remove double return
6055 (changeLanguage): reset message_ upon language change.
6056 (B_): new func, use this to get translated buffer strings.
6058 * main.C: add myself and Jean Marc as authors.
6060 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6062 * messages.[hC]: pimplify Messages, and three different pimpls to be
6063 used in different circumstances.
6065 * gettext.[Ch]: change for use with new message code.
6067 2003-04-24 André Pönitz <poenitz@gmx.net>
6069 * factory.C: support for eqref
6071 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6073 * messages.[Ch]: add missing char
6075 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6077 * messages.[Ch]: New files
6079 2003-04-18 John Levon <levon@movementarian.org>
6083 * BufferView_pimpl.C:
6087 * text2.C: remove layout-copy/paste (bug 778)
6089 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6091 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6093 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6095 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6096 if they succeed. Act accordingly.
6098 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6100 * text2.C (setCharFont): adjust
6101 (setCounter): adjust
6102 (insertStringAsLines): adjust
6104 * text.C (leftMargin): adjust
6105 (setHeightOfRow): adjust
6107 * rowpainter.C (paintFirst): adjust
6110 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6112 (isFirstInSequence): ditto
6113 (getEndLabel): ditto
6116 * paragraph.C (getParLanguage): comment out some hard stuff.
6118 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6120 (simpleDocBookOnePar): ditto
6121 (makeDocBookFile): use ParagraphList::iterator
6123 * CutAndPaste.C (pasteSelection): adjust
6125 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6127 * text2.C (getFont): adjust
6128 (getLayoutFont): adjust
6129 (getLabelFont): adjust
6131 * paragraph_funcs.C (TeXOnePar): adjust
6133 * buffer.C (simpleLinuxDocOnePar): adjust
6134 (simpleDocBookOnePar): adjust
6136 * CutAndPaste.C (pasteSelection): adjust
6138 * BufferView.C (getEncoding): adjust
6140 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6142 2003-04-16 John Levon <levon@movementarian.org>
6144 * lyxfind.C: use parlist stuff for search/changes
6146 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6148 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6150 * text2.C (deleteEmptyParagraphMechanism): adjust
6152 * text2.[Ch] (ownerParagraph): delete func (both of them
6154 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6156 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6158 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6160 * ParagraphList.C: prepare for NO_NEXT
6162 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6164 * text2.C (getFont): adjust
6165 (getLayoutFont): adjust
6166 (getLabelFont): adjust
6168 * paragraph.C (getFont): adjust
6169 (getLabelFont): adjust
6170 (getLayoutFont): adjust
6172 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6174 2003-04-15 John Levon <levon@movementarian.org>
6178 * lyx_main.C: handle Include in .ui files
6180 2003-04-15 John Levon <levon@movementarian.org>
6182 * MenuBackend.C: make the doc files length shorter
6185 * ToolbarBackend.C: handle toolbar placement flags,
6188 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6190 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6193 * paragraph_funcs.C (TeXOnePar): adjust
6195 * paragraph.C (getLabelFont): add outerfont arg, adjust
6196 (getLayoutFont): ditto
6197 (simpleTeXOnePar): adjust
6199 * paragraph_pimpl.C (realizeFont): delete func
6201 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6203 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6204 row argument, constify cur argument.
6206 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6208 * text2.C (getFont): adjust
6209 (getLayoutFont): adjust
6210 (getLabelFont): adjust
6212 * paragraph_funcs.C (TeXOnePar): adjust
6213 (outerFont): new func...
6214 (realizeFont): ...moved out from here, changed this to facilitate
6217 * paragraph.C (getFont): take outerfont as arg, adjust
6218 (simpleTeXOnePar): add outerfont arg, adjust
6220 * buffer.C (simpleLinuxDocOnePar): adjust
6221 (simpleDocBookOnePar): adjust
6223 * CutAndPaste.C (pasteSelection): adjust
6225 * BufferView.C (getEncoding): adjust
6227 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6229 * text2.C (setCharFont): adjust
6230 (setCounter): adjust
6232 * text.C (leftMargin): adjust
6233 (setHeightOfRow): adjust
6235 * rowpainter.C (paintFirst): adjust
6238 * paragraph_pimpl.C (realizeFont): adjust
6240 * paragraph.C (isFirstInSequence): move from here...
6241 * paragraph_funcs.C (isFirstInSequence): ...to here
6243 * paragraph.C (outerHook): move from here...
6244 * paragraph_funcs.C (outerHook): ...to here
6246 * paragraph.C (depthHook): move from here...
6247 * paragraph_funcs.C (depthHook): ...to here
6249 * paragraph.C (getEndLabel): move from here...
6250 * paragraph_funcs.C (getEndLabel): ...to here
6252 * text2.C (realizeFont): move from here...
6253 * paragraph_funcs.C (realizeFont): ...to here
6255 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6257 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6259 2003-04-14 Angus Leeming <leeming@lyx.org>
6261 * LColor.[Ch]: scrap LColor mathcursor.
6263 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6265 * lyxlex.[Ch] (text): delete function
6266 * trans.C (Load): adjust
6267 * paragraph_funcs.C (readParToken): adjust
6269 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6271 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6272 vector<char> instead of a char[].
6274 * lyxlex_pimpl.C (getString): adjust
6276 (lex): use getString
6280 * lyxlex.C (text): use pimpl_->getString()
6284 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6286 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6287 (makeFontEntriesLayoutSpecific): temp var for par.size()
6288 (setLayout): temp var for ownerParagraphs().end()
6289 (fullRebreak): temp var for rows().end()
6290 (selectionAsString): temp var for boost::next(startpit), realize
6291 that the while really is a regular for loop.
6292 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6293 setCursor in one place.
6294 (setParagraph): temp vr for ownerParagraphs().end()
6295 (updateCounters): make the while loop a for loop
6296 (cutSelection): temp var for ownerParagraphs().end()
6297 (updateInset): make the do {} while() a regular for loop
6298 (getCursorX): use temp vars
6299 (setCurrentFont): use temp vars
6300 (getColumnNearX): use temp vars
6302 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6304 * text.C (transformChar): use temp var for getChar
6305 (computeBidiTables): use temp var for row->par()
6306 (fill): move temp vars for row->par() and pit->layout() earlier in
6308 (labelFill): use temp var for row->par()
6309 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6310 asc and desc, realize that pit never changes and that firstpit is
6311 just a duplicate and not needed. Exchange rit->par() with pit in a
6313 (breakAgain): use a temp var for boost::next(rit)
6314 (breakAgainOneRow): ditto
6315 (breakParagraph): use a temp var for rows().begin()
6316 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6317 (cursorRightOneWord): use temp var for cursor.par() and
6318 cursor.pos(), remove usage of tmpcursor.
6319 (cursorLeftOneWord): use temp var for cursor.par() and
6320 cursor.pos() only set cur at end of function.
6322 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6324 * text.C, text2.C: exchange all usage of Paragraph::next with
6325 boost::next(ParagraphList::iterator)
6327 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6329 * text2.C (cursorTop): simplify implementation
6330 (cursorBottom): ditto
6331 (setParagraph): use ParagraphList::iterator
6332 (setCurrentFont): adjust
6333 (getColumnNearX): adjust
6334 (cursorRight): adjust
6335 (cursorLeft): remove usage of Paragraph::previous
6336 (cursorUpParagraph): ditto
6337 (deleteEmptyParagraphMechanism): slight cleanup
6339 * text.C (isBoundary): take a Paragraph const & instead of a
6341 (addressBreakPoint): ditto
6342 (leftMargin): remove usage of Paragraph::previous.
6343 (setHeightOfRow): ditto
6344 (cursorLeftOneWord): ditto
6345 (selectNextWordToSpellcheck): ditto
6348 (breakParagraph): remove one usage of Paragraph::next
6349 (redoParagraph): ditto
6350 (acceptChange): ditto
6351 (insertChar): adjust
6352 (rowBreakPoint): adjust
6354 * bufferview_funcs.C (toggleAndShow): adjust
6356 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6358 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6359 methods to access it.
6361 * text.C: Added updateRowPositions to compute all row positions.
6362 Make top_y and getRowNearY() to use the cached y position
6364 2003-04-11 John Levon <levon@movementarian.org>
6366 * text.C (rowBreakPoint): reintroduce the labelEnd
6367 checks, code copied from the row fill stuff. Deep voodoo.
6369 * text.C (fill): add a comment and debugging for the
6372 2003-04-11 John Levon <levon@movementarian.org>
6374 * text.C: make sure fullrow insets get wrapped to the next line,
6375 even when they're in a manual label
6377 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6379 * text2.C (insertParagraph): make it take ParagraphList::iterator
6381 (setLayout): make it return ParagraphList::iterator
6382 (redoParagraphs): ditto
6384 (checkParagraph): ditto
6386 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6388 * text2.C: adjust several funcs.
6389 (realizeFont): take a ParagraphList::iterator as arg.
6390 (getLayoutFont): ditto
6391 (getLabelFont): ditto
6392 (setCharFont): ditto
6394 * text.C: adjust several funcs.
6396 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6398 * text.C (selectNextWordToSpellcheck): don't accidentally
6401 2003-04-10 John Levon <levon@movementarian.org>
6403 * ToolbarBackend.C (getIcon): special handling for
6406 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6408 * text2.C (cursorRight): a getChar assert fixed
6410 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6412 * text2.C (getFont): change to take a ParagraphList::iterator
6413 instead of Paragraph*
6414 Adjust several functions.
6416 * text.C (transformChar): change to take a ParagraphList::iterator
6417 instead of Paragraph*
6418 (singleWidth): ditto
6419 Adjust several functions.
6421 * rowpainter.C: adjust several functions
6422 * rowpainter.h:store a ParagraphList::iterator and not a
6426 2003-04-09 John Levon <levon@movementarian.org>
6431 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6432 and the "help" bits as well
6434 2003-04-09 John Levon <levon@movementarian.org>
6437 * ToolbarBackend.C: allow multiple toolbars
6439 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6441 * undo_funcs.C (setCursorParUndo): adjust
6443 * text_funcs.C (transposeChars): adjust
6445 * text3.C (gotoNextInset): adjust
6448 * text2.C (setLayout): adjust
6449 (changeDepth): adjust
6451 (redoParagraphs): adjust
6452 (selectionAsString): adjust
6453 (setParagraph): adjust
6454 (insertInset): adjust
6455 (cutSelection): adjust
6456 (copySelection): adjust
6457 (pasteSelection): adjust
6458 (insertStringAsLines): adjust
6459 (updateInset): adjust
6460 (setCursor): change to take a ParagraphList::iterator parameter
6461 (setCursorIntern): change to take a ParagraphList::iterator parameter
6462 (setCurrentFont): adjust
6463 (cursorLeft): adjust
6464 (cursorRight): adjust
6465 (deleteEmptyParagraphMechanism): adjust
6467 * text.C (breakParagraph): adjust
6468 (insertChar): adjust
6469 (acceptChange): adjust
6470 (rejectChange): adjust
6471 (selectNextWordToSpellcheck): adjust
6472 (changeCase): adjust
6476 * lyxfind.C (SearchForward): adjust
6477 (SearchBackward): adjust
6478 (nextChange): adjust
6480 * lyxcursor.C (par): adjust
6482 * lyxcursor.h: store a ParagraphList::iterator instead of a
6485 * lyx_cb.C (getPossibleLabel): adjust
6487 * bufferview_funcs.C (toggleAndShow): adjust
6489 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6492 * BufferView.C (removeAutoInsets): adjust
6493 (lockedInsetStoreUndo): adjust
6495 2003-04-09 John Levon <levon@movementarian.org>
6497 * ToolbarBackend.C: try icon without argument
6498 if with argument fails
6500 2003-04-08 John Levon <levon@movementarian.org>
6503 * ToolbarBackend.C: add getIcon(), handle tooltip,
6504 and change from "Icon" to "Item".
6506 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6508 * BufferView.C (lockInset): another bad getchar crunched
6510 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6512 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6515 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6517 * lyxfind.C (searchForward, searchBackwards): bug 782
6519 2003-04-07 John Levon <levon@movementarian.org>
6521 * paragraph.C: remove dead comment
6523 * text.C: remove troublesome depth-fiddling code
6524 in leftMargin() and rightMargin() (bug 1017)
6526 * text.C: fix breaking of rows in nested lists
6529 * text2.C (updateCounters): fix up depth values
6532 2003-04-07 John Levon <levon@movementarian.org>
6534 * BufferView_pimpl.C: clear message when doc finishes resizing,
6535 and after a mouse event
6537 * lyxfunc.C: clear message after exiting inset
6539 2003-04-07 John Levon <levon@movementarian.org>
6541 * bufferview_funcs.C: show math status not outside
6542 status in the statusbar
6544 2003-04-07 John Levon <levon@movementarian.org>
6546 * lyxfunc.C: note status changed after a depth change
6548 2003-04-04 Angus Leeming <leeming@lyx.org>
6550 * LaTeX.h: move AuxInfo operator==, != out of line.
6551 Remove LaTeX virtual destructor; nothing derives from it.
6552 Move operator()() out of public area and rename it startscript().
6553 Change protected for private.
6555 2003-04-04 Angus Leeming <leeming@lyx.org>
6558 * text2.C: remove unneeded #includes.
6560 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6562 * text2.C (dEPM): fix the heigth of the next row
6564 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6566 * text.C: squashed an invalid getChar requester + some ws changes
6568 2003-04-03 John Levon <levon@movementarian.org>
6570 * bufferview_funcs.h:
6571 * bufferview_funcs.C:
6574 * text2.C: make getStatus work for the env depth lfuns
6576 2003-04-03 John Levon <levon@movementarian.org>
6578 * bufferview_funcs.h:
6579 * bufferview_funcs.C:
6582 * text2.C: parlistize decDepth(), by merging it with incDepth()
6584 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6586 * lyxrow.h: store a ParagraphList::iterator instead of a
6587 Paragraph* and adjust other class functions to suit.
6589 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6592 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6594 * text2.C (setCursor): do not anchor to cursor row for the time being
6596 2003-04-02 John Levon <levon@movementarian.org>
6603 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6605 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6607 * paragraph.h: make ParagraphList and ParagraphList::iterator
6608 friends of Paragraph.
6610 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6612 * ParagraphList.C: Use the private next_ and previous_ from
6615 2003-04-01 John Levon <levon@movementarian.org>
6619 * Makefile.am: rename, remove defaults gunk
6622 * MenuBackend.C: remove defaults gunk
6625 * Languages.C: remove defaults gunk
6628 * lyx_main.C: error out if files couldn't be found.
6630 2003-04-02 John Levon <levon@movementarian.org>
6632 * text2.C: make incDepth() use parlist
6634 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6636 * undo_funcs.C (firstUndoParagraph): adjust
6638 * text3.C (gotoInset): adjust
6639 (dispatch): adjust, and rewrite loop.
6641 * text2.C (init): adjust, and rewrite loop.
6642 (redoParagraphs): adjust
6643 (updateInset): adjust, and rewrite loop.
6644 (deleteEmptyParagraphMechanism): adjust
6646 * tabular.C (LyXTabular): adjust
6647 (SetMultiColumn): adjust
6650 * lyxtext.[Ch] (ownerParagraph): delete function
6651 (ownerParagraphs): new function returns a ParagraphList.
6653 * BufferView.C (removeAutoInsets): adjust
6654 (insertErrors): adjust
6655 (setCursorFromRow): adjust
6657 2003-04-01 Angus Leeming <leeming@lyx.org>
6659 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6662 2003-04-02 John Levon <levon@movementarian.org>
6668 * text_funcs.C: make transposeChars a free function
6670 * lyxrow_funcs.C: remove wrong comment
6672 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6675 * rowpainter.C: adjust
6680 * lyxrow_funcs. [Ch]: new files
6682 * lyxrow.[Ch]: remove next and previous pointers
6683 (next,previous): remove accessor functions
6684 (isParEnd): move to lyxrow_funcs
6685 (lastPos): move to lyxrow_funcs
6686 (nextRowIsAllInset): move to lyxrow_funcs
6687 (lastPrintablePos): move to lyxrow_funcs
6688 (numberOfSeparators): move to lyxrow_funcs
6689 (numberOfHfills): move to lyxrow_funcs
6690 (numberOfLabelHfills): move to lyxrow_funcs
6691 (hfillExpansion): move to lyxrow_funcs
6695 * bufferview_funcs.C (toggleAndShow): adjust
6697 * RowList.h: Remove class RowList from file leave just a
6700 * RowList.C: delete file
6702 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6705 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6707 * text3.C (cursorPrevious): adjust
6708 (cursorNext): adjust
6711 * text2.C (redoHeightOfParagraph): adjust
6712 (redoDrawingOfParagraph): adjust
6715 * text.C (breakParagraph): adjust
6716 (insertChar): adjust
6719 * rowpainter.C (RowPainter): adjust
6720 (leftMargin): simplify and adjust
6721 (most rowpainter functions): adjust.
6723 * rowpainter.h: store the row as RowList::iterator not as Row*
6725 * lyxcursor.C (row): taka RowList::iterator as arg
6728 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6731 2003-04-01 Angus Leeming <leeming@lyx.org>
6733 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6734 stuff like bool Bool.
6736 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6738 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6741 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6743 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6746 * lyxtext.h (rows): drop one version and leve a const variant that
6747 returns a RowList::iterator.
6749 2003-03-31 Angus Leeming <leeming@lyx.org>
6751 * text.C (fill): ensure that the signature is the same as that in the
6754 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6756 * text2.C (redoParagraphs): adjust
6757 (updateCounters): adjust
6758 (checkParagraph): adjust
6759 (getColumnNearX): adjust and reformat a bit.
6761 * text.C (top_y): adjust
6763 (leftMargin): adjust
6764 (prepareToPrint): adjust
6766 (getRowNearY): adjust
6768 * lyxtext.h: make rowlist_ mutable.
6770 * RowList.h: add const_iterator
6771 * RowList.C: adjust for RowList::const_iterator.
6773 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6776 2003-03-31 John Levon <levon@movementarian.org>
6779 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6781 * lyx_main.C: set default fonts from using lyx_gui funcs
6783 * exporter.C: pdf_mode moved from lyxrc
6786 * lyxfunc.C: changes from above
6788 2003-03-31 John Levon <levon@movementarian.org>
6790 * lyx_main.C: fix to the last fix
6792 2003-03-31 John Levon <levon@movementarian.org>
6794 * bufferlist.C: "Load original" -> "Load Original"
6800 * format.C: more Alert cleanups
6802 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6804 * text2.C (removeParagraph): make it take a RowList::iterator as
6806 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6807 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6809 * text.C (anchor_row): make it take a RowList::iterator as arg,
6811 (computeBidiTables): make it take a const reference to Row instead
6812 of Row pointer, adjust.
6813 (leftMargin): make it take a RowList::iterator as arg, adjust.
6814 (rowBreakPoint): adjust
6815 (breakAgainOneRow): make it take a RowList::iterator as arg,
6817 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6819 * bufferview_funcs.C (toggleAndShow): adjust
6821 2003-03-30 John Levon <levon@movementarian.org>
6825 * boost-inst.C: moved to support
6827 * several files: changes as a result
6829 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6831 * text2.C (LyXText): adjust.
6833 (removeRow): make it take a RowList::iterator as arg, adjust.
6834 (fullRebreak): adjust
6835 (deleteEmptyParagraphMechanism): adjust
6836 (clearPaint): adjust
6839 * text.C (top_y): adjust
6840 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6841 (breakAgain): make it take a RowList::iterator as arg, adjust.
6842 (breakParagraph): adjust
6843 (insertChar): adjust
6846 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6847 need_break_row, and refresh_row.
6849 * text3.C (dispatch): adjust
6851 * text2.C (checkParagraph): adjust
6853 (setCursorFromCoordinates): adjust
6855 * text.C (top_y): adjust
6857 (getRow): make it return a RowList::iterator, adjust
6858 (getRowNearY): make it return a RowList::iterator, adjust
6860 * text2.C (init): adjust
6861 (insertRow): remove function
6862 (insertParagraph): adjust
6863 (redoParagraphs): adjust
6864 (fullRebreak): adjust
6865 (updateCounters): adjust
6867 * text.C (top_y): rewrite to use RowList iterators.
6869 (setHeightOfRow): rewrite to sue RowList iterators.
6870 (appendParagraph): adjust
6871 (breakAgain): adjust
6872 (breakAgainOneRow): adjust
6873 (breakParagraph): adjust
6875 (getRowNearY): adjust, and remove commented code.
6877 * lyxtext.h (firstRow): delete function
6878 (lastRow): delete function
6879 (rows): new function (const and non-const versions.)
6880 (insertRow): delete function
6882 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6884 2003-03-29 John Levon <levon@movementarian.org>
6886 * BufferView_pimpl.C: always update scrollbar top
6887 because pasting text when we're anchored could mean we
6888 miss an update altogether
6890 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6892 * text2.C (init): use rowlist_.end() and not 0.
6893 (insertRow): change to take a RowList::iterator as arg, adjust
6895 (insertParagraph): change to take a RowList::iterator as arg,
6897 (redoParagraphs): remove some debug msgs.
6899 * text.C (appendParagraph): change to take a RowList::iterator
6900 arg, adjust for this.
6901 (breakAgain): add an assert
6902 (breakAgainOneRow): ditto
6904 2003-03-29 John Levon <levon@movementarian.org>
6906 * text2.C: do not clear selection after inc/decDepth
6909 2003-03-29 John Levon <levon@movementarian.org>
6912 * buffer.C: fix broken strerrors according to Lars
6914 2003-03-29 John Levon <levon@movementarian.org>
6916 * converters.C: more Alert cleanups
6918 2003-03-29 John Levon <levon@movementarian.org>
6920 * bufferview_funcs.C: remove pointless Alert
6922 * buffer.C: fix confusing error message when
6923 a template is chmoded 000
6925 2003-03-29 John Levon <levon@movementarian.org>
6929 * BufferView_pimpl.C: Alert fixes
6933 * tabular-old.C: remove unused table compat reading
6935 2003-03-29 John Levon <levon@movementarian.org>
6940 * lyx_cb.C: more Alert cleanups
6942 * lyxfunc.C: don't allow chktex if not latex document
6944 2003-03-29 John Levon <levon@movementarian.org>
6948 * buffer.C: warnings pushed down from support/,
6951 2003-03-29 John Levon <levon@movementarian.org>
6953 * lyxfunc.C: safety check for C-r (revert)
6955 2003-03-29 John Levon <levon@movementarian.org>
6958 * bufferlist.C: several UI fixes using Alert::prompt.
6959 Fix the pointless looping quit code. Fix stupid revert
6964 * lyx_cb.C: use Alert::prompt
6966 * lyx_main.C: remove a silly question
6968 * lyxfunc.C: remove a couple of silly questions,
6971 2003-03-28 John Levon <levon@movementarian.org>
6973 * text2.C: fix bug 974 (End on empty par)
6975 2003-03-28 John Levon <levon@movementarian.org>
6977 * BufferView_pimpl.C:
6979 * lfuns.h: remove do-nothing math greek lfuns
6981 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6983 * lyxgluelength.h (isValidGlueLength): add default arg on
6984 parameter 2. Remove default arg from friend in class.
6986 * lyxlength.h (isValidLength): add default arg on parameter 2.
6987 Remove default arg from friend in class.
6989 * text2.C (LyXText): adjust, initialize refresh_row.
6993 (insertParagraph): adjst
6994 (redoParagraphs): adjust
6995 (fullRebreak): adjust
6996 (updateCounters): adjust
6997 (deleteEmptyParagraphMechanism): first attempt at fixing a
7000 * text.C (top_y): adjust
7001 (setHeightOfRow): adjust
7003 (getRowNearY): adjust
7005 * lyxtext.h: include RowList.h
7006 (~LyXText): not needed anymore, deleted.
7007 (firstRow): modify for RowList
7008 (lastRow): new function
7009 Delete firstrow and lastrow class variables, add a Rowlist
7010 rowlist_ class variable.
7012 * lyxrow.C (lastPos): use empty() and not !size() to check if a
7015 * RowList.C (insert): fix case where it == begin().
7017 2003-03-26 Angus Leeming <leeming@lyx.org>
7019 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
7020 the thesaurus dialog.
7022 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
7024 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
7026 * RowList.[Ch]: new files
7028 * ParagraphList.C (erase): handle the case where it == begin
7031 2003-03-25 John Levon <levon@movementarian.org>
7035 * aspell.C: add new aspell support
7038 * lyxrc.C: Make use_pspell be use_spell_lib. Always
7041 2003-03-25 Angus Leeming <leeming@lyx.org>
7044 * LyXAction.C (init): new LFUN_INSET_INSERT.
7046 * BufferView_pimpl.C (dispatch): split out part of the
7047 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7049 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7052 2003-03-25 Angus Leeming <leeming@lyx.org>
7054 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7056 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7059 * text3.C: remove useless row->height(0)
7061 2003-03-25 John Levon <levon@movementarian.org>
7065 * text3.C: rename the refreshing stuff to better names
7067 2003-03-24 John Levon <levon@movementarian.org>
7069 * BufferView_pimpl.h:
7070 * BufferView_pimpl.C: update layout choice on a mouse
7073 2003-03-23 John Levon <levon@movementarian.org>
7075 * Makefile.am: fix commandtags.h reference
7077 2003-03-22 John Levon <levon@movementarian.org>
7079 * BufferView_pimpl.C:
7084 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7086 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7089 * text.C: take the rtl methods out of line
7091 2003-03-21 André Pönitz <poenitz@gmx.net>
7093 * metricsinfo.[Ch]: new files containing structures to be passed around
7094 during the two-phase-drawing...
7096 2003-03-21 André Pönitz <poenitz@gmx.net>
7098 * lyxtextclass.C: read 'environment' tag.
7100 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7102 * text2.C (removeRow): fix bug 964
7104 2003-03-20 John Levon <levon@movementarian.org>
7108 * text2.C: paint cleanups. Inset::update() dropped font
7111 2003-03-19 John Levon <levon@movementarian.org>
7113 * lyxfunc.C: only fitcursor/markDirty if available()
7115 2003-03-19 John Levon <levon@movementarian.org>
7117 * commandtags.h: rename to ...
7119 * lfuns.h: ... this, and renumber / cleanup
7121 2003-03-19 John Levon <levon@movementarian.org>
7123 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7124 fit the cursor after an lfun
7128 * BufferView_pimpl.h:
7129 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7131 * LyXAction.C: layout-character should have ReadOnly
7133 * ParagraphParameters.C:
7135 * bufferview_funcs.C:
7142 * undo_funcs.C: changes from above
7144 2003-03-18 John Levon <levon@movementarian.org>
7146 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7147 remove it from update()
7149 * lyxfunc.C: update layout choice after an lfun
7151 * text3.C: remove extra updateLayoutChoice()s
7153 2003-03-18 John Levon <levon@movementarian.org>
7155 * text.C: top_y change means full repaint, fix
7156 a drawing bug with cursor movement
7158 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7162 * text2.C: anchor row on setCursor
7164 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7166 * lyxtext.h: remove almost all mutable keywords
7169 * text3.C: remove const keywords accordingly
7171 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7173 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7175 (TeXEnvironment): ditto
7178 2003-03-17 John Levon <levon@movementarian.org>
7180 * text.C (rowBreakPoint): remove attempt to fix displayed
7181 math insets inside a manual label
7183 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7185 * lyxtext.h: remove BufferView* as first arg from almost all class
7187 * other files: adjust.
7189 2003-03-17 John Levon <levon@movementarian.org>
7193 * text2.C: more paint cleanups
7195 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7198 * rowpainter.C: remove "smart" background painting code
7200 2003-03-16 John Levon <levon@movementarian.org>
7205 * text3.C: add helper functions for setting refresh_row/y
7207 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7209 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7210 newline inset which *can* get inserted in the pass_thru layouts.
7211 This is primarily for literate documents.
7213 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7215 * buffer.C: increment LYX_FORMAT to 223
7217 2003-03-14 André Pönitz <poenitz@gmx.net>
7219 * textclass.h: prepare for environment handling, ws changes
7220 * lyxlayout.C: read latexheader and latexfooter tags
7222 2003-03-14 John Levon <levon@movementarian.org>
7224 * text2.C: rewrite ::status() a bit
7226 2003-03-13 John Levon <levon@movementarian.org>
7228 * lyxtext.h: add some docs
7230 2003-03-13 John Levon <levon@movementarian.org>
7235 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7237 2003-03-13 John Levon <levon@movementarian.org>
7239 * text3.C: fix appendix redrawing
7241 2003-03-13 John Levon <levon@movementarian.org>
7243 * text.C (setHeightOfRow):
7245 * rowpainter.C: make appendix mark have the text
7246 "Appendix" so the user knows what it is
7249 * LColor.C: s/appendixline/appendix/ from above
7251 2003-03-13 John Levon <levon@movementarian.org>
7253 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7255 * text.C: fix a getChar(pos) bug properly
7257 2003-03-13 Angus Leeming <leeming@lyx.org>
7260 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7261 Probably only temporary. Let's see how things pan out.
7263 * BufferView.C (unlockInset):
7264 * BufferView_pimpl.C (fitCursor):
7265 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7267 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7268 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7270 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7271 new functions that convert ParagraphParameters to and from a string.
7273 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7274 BufferView::Pimpl's dispatch.
7275 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7277 2003-03-13 André Pönitz <poenitz@gmx.net>
7281 * factory.C: make it aware of InsetEnv
7283 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7285 * text2.C (setCursor): never ask for one past last
7286 (setCursor): add some debugging messages.
7288 * text.C (singleWidth): never ask for one past last
7289 (singleWidth): ditto
7291 (rightMargin): ditto
7292 (rowBreakPoint): ditto
7293 (setHeightOfRow): ditto
7294 (prepareToPrint): ditto
7296 * rowpainter.C (paintBackground): never ask for one past last
7297 (paintText): never ask for one past last
7299 * paragraph_pimpl.C (getChar): make the assert stricter, never
7300 allow the one past last pos to be taken
7302 * paragraph.C (getChar): ws changes only
7304 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7305 (numberOfSeparators): ditto
7306 (numberOfHfills): ditto
7308 2003-03-12 John Levon <levon@movementarian.org>
7314 * paragraph_funcs.C: fix per-buffer authorlists
7316 2003-03-12 John Levon <levon@movementarian.org>
7318 * text.C: fix newline in right address
7320 2003-03-12 Angus Leeming <leeming@lyx.org>
7322 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7323 duplicate those in LyXFunc::dispatch.
7327 * ToolbarDefaults.C:
7328 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7329 Add LFUN_FONTFREE_UPDATE.
7331 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7332 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7334 * bufferview_func.[Ch]: several new functions to facilliate
7335 transfer of data to and from the character dialog.
7337 2003-03-12 John Levon <levon@movementarian.org>
7342 * paragraph_funcs.C:
7343 * paragraph_pimpl.C:
7347 * text3.C: remove META_NEWLINE in favour of an inset
7350 * rowpainter.C: remove paintNewline (done by inset)
7352 2003-03-12 John Levon <levon@movementarian.org>
7354 * paragraph_pimpl.C: complain about bad getChar()s
7355 for a while at least
7357 2003-03-12 John Levon <levon@movementarian.org>
7360 * buffer.C: move paragraph read into a separate function,
7361 a little renaming to reflect that.
7364 * bufferparams.C: remove the author_ids map, not necessary now
7367 * factory.C: moved Buffer::readInset to here
7369 * paragraph_funcs.h:
7370 * paragraph_funcs.C: readParagraph free function moved from
7373 * tabular.C: name change
7375 2003-03-12 John Levon <levon@movementarian.org>
7378 * ParagraphParameters.C: move par params input to
7381 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7382 behave like a normal read from the stream wrt reading
7383 a line vs. a \\token
7385 2003-03-12 John Levon <levon@movementarian.org>
7388 * ParagraphParameters.h:
7389 * ParagraphParameters.C: move output code to a
7392 2003-03-12 John Levon <levon@movementarian.org>
7394 * BufferView.C (insertLyXFile):
7397 * tabular.C: use a parlist iterator for creating the
7400 2003-03-12 John Levon <levon@movementarian.org>
7402 * buffer.C: make current_change static local not
7405 2003-03-12 John Levon <levon@movementarian.org>
7407 * buffer.C: fix insertStringAsLines for change tracking
7409 2003-03-12 John Levon <levon@movementarian.org>
7416 * bufferparams.C: move author list into params. Rename some
7417 functions. Move the header reading into a separate token
7418 loop. Move the header token reading into BufferParams.
7420 2003-03-12 John Levon <levon@movementarian.org>
7422 * changes.C: put debug inside lyxerr.debugging() checks
7424 2003-03-11 André Pönitz <poenitz@gmx.net>
7426 * factory.C: make it aware of InsetHFill
7428 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7430 * buffer.C (latexParagraphs): move function from here...
7431 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7434 2003-03-10 Angus Leeming <leeming@lyx.org>
7436 * LyXAction.C (init): fix bug in poplating array with multiple entries
7437 with the same LFUN (spotted by JMarc).
7439 2003-03-10 John Levon <levon@movementarian.org>
7442 * text2.C: move getColumnNearX() near its
7445 2003-03-10 John Levon <levon@movementarian.org>
7447 * text.C: fix break before a minipage
7449 2003-03-10 John Levon <levon@movementarian.org>
7451 * text.C: fix the last commit
7453 2003-03-09 John Levon <levon@movementarian.org>
7457 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7458 bug 365 (don't break before insets unless needed). Don't
7459 return a value > last under any circumstances.
7461 2003-03-09 Angus Leeming <leeming@lyx.org>
7463 * BufferView_pimpl.C (trackChanges, dispatch): call
7464 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7466 2003-03-09 Angus Leeming <leeming@lyx.org>
7468 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7469 than Dialogs::showAboutlyx().
7471 2003-03-09 Angus Leeming <leeming@lyx.org>
7473 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7474 than Dialogs::showTabularCreate().
7476 2003-03-09 John Levon <levon@movementarian.org>
7480 * text2.C: 3rd arg to nextBreakPoint was always the same.
7483 2003-03-08 John Levon <levon@movementarian.org>
7490 * text2.C: Remove the "main" bit from the "main body"
7493 2003-03-08 John Levon <levon@movementarian.org>
7495 * text.C (leftMargin): The left margin of an empty
7496 manual label paragraph should not include the label width
7499 * text.C (prepareToPrint): don't attempt to measure hfills
7500 for empty manual label paragraphs - the answer should be 0
7502 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7504 * CutAndPaste.C: remove commented code and reindent.
7506 2003-03-08 John Levon <levon@movementarian.org>
7509 * lyxfunc.C: move reloadBuffer()
7512 * BufferView.C: to here
7514 * lyxvc.C: add comment
7517 * vc-backend.C: call bv->reload() to avoid
7518 getStatus() check on MENURELOAD
7520 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7522 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7523 to an old format .dep file.
7525 2003-03-07 Angus Leeming <leeming@lyx.org>
7527 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7528 when the LFUN_MOUSE_RELEASE should have been handled by
7529 inset->localDispatch.
7531 2003-03-07 Angus Leeming <leeming@lyx.org>
7533 * BufferView_pimpl.C (dispatch):
7534 * LyXAction.C (init):
7535 * ToolbarDefaults.C (init):
7537 * lyxfunc.C (getStatus):
7538 remove LFUN_INSET_GRAPHICS.
7540 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7542 2003-03-07 Angus Leeming <leeming@lyx.org>
7545 * LyXAction.C (init):
7546 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7548 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7551 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7553 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7554 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7556 2003-03-07 Angus Leeming <leeming@lyx.org>
7558 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7561 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7563 * ParagraphList.C (front): new function
7566 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7568 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7569 and top_row_offset_. removed var first_y.
7571 * text2.C (LyXText, removeRow):
7573 * BufferView_pimpl.C:
7574 use these methods instead of using first_y
7576 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7578 * text2.C (pasteSelection): adjust for checkPastePossible
7580 * CutAndPaste.C: remove Paragraph * buf and replace with
7581 ParagraphList paragraphs.
7582 (DeleteBuffer): delete
7583 (cutSelection): change the tc type to textclass_type
7584 (copySelection): change the tc type to textclass_type
7585 (copySelection): adjust for ParagraphList
7586 (pasteSelection): change the tc type to textclass_type
7587 (pasteSelection): adjust for Paragraphlist
7588 (nrOfParagraphs): simplify for ParagraphList
7589 (checkPastePossible): simplify for ParagraphList
7590 (checkPastePossible): remove unused arg
7592 * ParagraphList.C (insert): handle the case where there are no
7595 * CutAndPaste.h: make CutAndPaste a namespace.
7597 * text3.C (dispatch): adjust
7599 * text.C (breakParagraph): add a ParagraphList as arg
7601 * paragraph_funcs.C (breakParagraph): change to take a
7602 BufferParams and a ParagraphList as args.
7603 (breakParagraphConservative): ditto
7604 (mergeParagraph): ditto
7605 (TeXDeeper): add a ParagraphList arg
7606 (TeXEnvironment): ditto
7609 * buffer.C (readLyXformat2): adjust
7610 (insertStringAsLines): adjust
7611 (latexParagraphs): adjust
7613 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7614 (cutSelection): adjust
7615 (pasteSelection): adjust
7617 * BufferView_pimpl.C (insertInset): adjust
7619 2003-03-05 Angus Leeming <leeming@lyx.org>
7622 * LyXAction.C (init):
7623 * BufferView_pimpl.C (dispatch):
7624 * lyxfunc.C (getStatus):
7625 remove LFUN_CHILD_INSERT.
7627 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7629 2003-03-05 Angus Leeming <leeming@lyx.org>
7632 * LyXAction.C (init):
7633 * src/factory.C (createInset):
7634 * lyxfunc.C (getStatus):
7635 * text3.C (dispatch):
7636 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7638 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7640 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7642 * ParagraphList.C (insert): handle insert right before end()
7643 (erase): fix cases where it can be first or last paragraph.
7645 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7647 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7648 Paragraph::next and Paragraph::previous
7651 * text.C (breakParagraph): adjust
7653 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7654 BufferParams& as arg.
7655 (breakParagraph): use ParagraphList::insert
7656 (breakParagraphConservative): take a Buffer* instead of a
7657 BufferParams& as arg.
7658 (breakParagraphConservative): use ParagraphList::insert.
7660 * buffer.C (insertStringAsLines): un-const it
7661 (insertStringAsLines): adjust
7663 * ParagraphList.C (insert): new function
7665 * CutAndPaste.C (pasteSelection): adjust
7667 * text.C (backspace): adjust
7669 * tabular.C (SetMultiColumn): adjust
7671 * CutAndPaste.C (cutSelection): adjust
7672 (pasteSelection): adjust
7674 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7675 Buffer const * as arg
7677 * ParagraphList.C (erase): new function
7678 * paragraph_funcs.C (mergeParagraph): use it
7679 (mergeParagraph): make it take a Buffer* instead of a
7680 BufferParams* as arg
7682 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7684 (breakParagraphConservative): ditto
7686 * paragraph.h: remove the breakParagraph friend
7688 * paragraph.C (eraseIntern): new function
7689 (setChange): new function
7691 * paragraph_funcs.C (mergeParagraph): make it take a
7692 ParagraphList::iterator instead of a Paragraph *, adjust
7695 * paragraph.h: move an #endif so that the change tracking stuff
7696 also works in the NO_NEXT case.
7698 2003-03-04 Angus Leeming <leeming@lyx.org>
7701 * LyXAction.C: new LFUN_INSET_MODIFY.
7703 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7704 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7706 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7708 * several files: ws changes only
7710 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7711 (TeXEnvironment): ditto
7714 * buffer.C (makeLaTeXFile): adjust
7715 (latexParagraphs): make it take ParagraphList::iterator as args
7717 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7719 * buffer.C (latexParagraphs): adjust
7721 * paragraph.C (TeXOnePar): move function...
7722 (optArgInset): move function...
7723 (TeXEnvironment): move function...
7724 * paragraph_pimpl.C (TeXDeeper): move function...
7725 * paragraph_funcs.C: ...here
7727 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7729 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7731 * buffer.C (readInset): remove compability code for old Figure and
7734 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7736 * buffer.C: ws changes
7739 * BufferView_pimpl.C: ditto
7742 * bufferlist.h: ditto
7746 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7748 * converter.[Ch]: split into itself +
7751 * Makefile.am: += graph.[Ch] + format.[Ch]
7758 * lyxrc.C: added #include "format.h"
7760 2003-02-27 Angus Leeming <leeming@lyx.org>
7762 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7765 * factory.C (createInset): add "label" to the factory.
7767 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7768 string and do no more.
7770 2003-02-27 Angus Leeming <leeming@lyx.org>
7773 * LyXAction.C (init):
7774 * factory.C (createInset):
7775 * BufferView_pimpl.C (dispatch):
7776 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7778 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7780 * lyxfunc.C (dispatch):
7781 * text3.C (dispatch): pass name to params2string.
7783 2003-02-26 Angus Leeming <leeming@lyx.org>
7785 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7787 Rearrange the ~includes. Strip out the unnecessary ones.
7789 * factory.C (createInset): reformat.
7790 create new insets for the various LFUN_XYZ_APPLY lfuns.
7792 2003-02-26 John Levon <levon@movementarian.org>
7795 * lyxrow.C: add isParStart,isParEnd helpers
7797 * paragraph.h: make isInserted/DeletedText take refs
7799 * paragraph_funcs.h:
7800 * paragraph_funcs.C: remove #if 0'd code
7805 * text.C: use lyxrow helpers above.
7806 Move draw and paint routines to RowPainter.
7807 Make several methods use refs not pointers.
7808 Make backgroundColor() const.
7809 Add markChangeInDraw(), isInInset().
7810 Merge changeRegionCase into changeCase.
7811 Make workWidth() shouldn't-happen code into an Assert.
7814 * rowpainter.C: new class for painting a row.
7817 * vspace.C: make inPixels take a ref
7819 2003-02-26 Angus Leeming <leeming@lyx.org>
7821 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7824 2003-02-25 John Levon <levon@movementarian.org>
7826 * ispell.C: give the forked command a more accurate name
7828 2003-02-22 John Levon <levon@movementarian.org>
7831 * toc.C: make TocItem store an id not a Paragraph *
7834 2003-02-21 Angus Leeming <leeming@lyx.org>
7836 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7837 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7838 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7839 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7840 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7841 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7843 * BufferView_pimpl.C (dispatch):
7844 * LyXAction.C (init):
7845 * factory.C (createInset):
7846 * lyxfunc.C (getStatus, dispatch):
7847 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7849 2003-02-21 Angus Leeming <leeming@lyx.org>
7851 * BufferView_pimpl.C (MenuInsertLyXFile):
7852 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7853 * lyxfunc.C (menuNew, open, doImport):
7854 no longer pass a LyXView & to fileDlg.
7856 2003-02-21 Angus Leeming <leeming@lyx.org>
7858 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7859 * LyXAction.C: change, BIBKEY to BIBITEM.
7860 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7861 Change InsetBibKey to InsetBibitem.
7862 Change BIBKEY_CODE to BIBITEM_CODE.
7863 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7864 * factory.C: replace insetbib.h with insetbibitem.h.
7865 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7866 * paragraph.C: replace insetbib.h with insetbibitem.h.
7867 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7868 Change bibkey() to bibitem().
7869 * text.C: remove insetbib.h.
7870 * text2.C: replace insetbib.h with insetbibitem.h.
7871 change bibkey() to bibitem().
7872 * text3.C: remove insetbib.h.
7873 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7875 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7877 * lyxrc.C (output): enclose user email in quotes (in case there are
7880 2003-02-18 John Levon <levon@movementarian.org>
7882 * buffer.h: add std::
7884 2003-02-17 John Levon <levon@movementarian.org>
7890 * pspell.C: reworking. Especially in ispell, a large
7891 number of clean ups and bug fixes.
7893 * lyxfunc.C: fix revert to behave sensibly
7895 2003-02-17 André Pönitz <poenitz@gmx.net>
7898 * commandtags.h: new LFUN_INSERT_BIBKEY
7908 * paragraph_func.C: remove special bibkey handling
7910 2003-02-17 John Levon <levon@movementarian.org>
7912 * text.C (Delete): fix case where delete at the end of
7913 the very first paragraph would not merge the pars
7915 2003-02-17 John Levon <levon@movementarian.org>
7917 * lyxrow.C: fix lastPrintablePos()
7919 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7921 * bufferparams.C (writeLaTeX): add a std:here
7923 * buffer.C: and remove a using directive there
7925 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7927 * buffer.C (makeLaTeXFile): move the code that generates the
7930 * bufferparams.C (writeLaTeX): ... in this new method
7932 * LaTeXFeatures.C (getEncodingSet): make const
7933 (getLanguages): make const
7935 * MenuBackend.C (binding): returns the binding associated to this
7937 (add): sets the status of each item by calling getStatus. Adds
7939 (read): add support for OptSubMenu
7940 (expand): remove extra separator at the end of expanded menu
7942 2003-02-15 John Levon <levon@movementarian.org>
7945 * BufferView_pimpl.C:
7947 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7948 inset code that had no actual effect. Remove unneeded status
7951 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7953 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7956 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7958 * text.C (drawLengthMarker): also draw an arrow marker for
7959 symbolic lengths (medskip...)
7961 2003-02-14 John Levon <levon@movementarian.org>
7964 * tabular.C: better method names
7966 2003-02-14 John Levon <levon@movementarian.org>
7968 * BufferView_pimpl.C:
7973 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7974 it's a more accurate name. Remove some pointless uses.
7976 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7978 * text2.C (LyXText): change order of initilizers to shut off
7981 2003-02-14 John Levon <levon@movementarian.org>
7983 * buffer.C: use ParIterator for getParFromID()
7987 * paragraph_pimpl.h:
7988 * paragraph_pimpl.C: remove unused getParFromID()
7990 2003-02-14 John Levon <levon@movementarian.org>
7992 * buffer.C: remove some very old #if 0'd parse code
7994 2003-02-13 John Levon <levon@movementarian.org>
7998 * text2.C: move hfillExpansion(), numberOfSeparators(),
7999 rowLast(), rowLastPrintable(), numberofHfills(),
8000 numberOfLabelHfills() ...
8003 * lyxrow.C: ... to member functions here.
8008 * text.C: remove LyXText::beginningOfMainBody(), and call
8009 p->beginningOfMainBody() directly. Move the check for
8010 LABEL_MANUAL into the latter.
8017 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
8023 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
8024 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
8026 2003-02-13 John Levon <levon@movementarian.org>
8028 * CutAndPaste.C: remove debug
8030 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8032 * paragraph.C (asString): remove two unused variables
8034 * lyxtextclass.C (readTitleType):
8036 (LyXTextClass): handle new members titletype_ and titlename_
8038 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
8040 2003-02-09 John Levon <levon@movementarian.org>
8043 * buffer.C: replace hand-coded list with a map for the dep clean
8045 2003-02-08 John Levon <levon@movementarian.org>
8047 * LaTeX.C: consolidate code into showRunMessage() helper
8049 2003-02-08 John Levon <levon@movementarian.org>
8054 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8055 and pass the size in explicitly
8057 * BufferView_pimpl.h:
8058 * BufferView_pimpl.C:
8060 * BufferView.C: add getCurrentChange()
8062 * BufferView_pimpl.h:
8063 * BufferView_pimpl.C: handle change lfuns
8065 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8066 for changes. Mark pasted paragraphs as new.
8068 * support/lyxtime.h:
8069 * support/lyxtime.C:
8070 * DepTable.C: abstract time_t as lyx::time_type
8073 * LColor.C: add colours for new text, deleted text, changebars
8075 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8076 package use "usenames" option.
8080 * LyXAction.C: add change lfuns
8084 * author.C: author handling
8087 * buffer.C: add a per-buffer author list, with first entry as
8088 current author. Handle new .lyx tokens for change tracking. Output
8089 author list to .lyx file. Output dvipost stuff to .tex preamble.
8090 Bump lyx format to 222.
8093 * bufferlist.C: add setCurrentAuthor() to reset current author details
8097 * bufferparams.C: add param for tracking
8099 * bufferview_funcs.C: output change info in minibuffer
8103 * changes.C: add change-tracking structure
8106 * debug.C: add CHANGES debug flag
8109 * lyxfind.C: add code for finding the next change piece
8112 * lyxrc.C: add user_name and user_email
8115 * lyxrow.C: add a metric for the top of the text line
8118 * text.C: implement accept/rejectChange()
8121 * text.C: paint changebars. Paint new/deleted text in the chosen
8122 colours. Strike through deleted text.
8126 * paragraph_pimpl.h:
8127 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8128 in the current change to the insert functions. Rework erase to
8129 mark text as deleted, adding an eraseIntern() and a range-based
8130 erase(). Implement per-paragraph change lookup and
8133 * paragraph_funcs.C: Fixup paste for change tracking.
8135 * tabular.C: mark added row/columns as new.
8137 * text.C: fix rowLast() to never return -1. Don't allow
8138 spellchecking of deleted text. Track transpose changes. Don't
8139 allow paragraph break or merge where appropriate.
8141 * text2.C: leave cursor at end of selection after a cut.
8143 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8145 * text.C (getLengthMarkerHeight):
8146 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8147 visible on screen too.
8149 2003-02-07 John Levon <levon@movementarian.org>
8151 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8153 2003-02-05 Angus Leeming <leeming@lyx.org>
8155 * lyxserver.C (read_ready): revert my patch of 11 September last year
8156 as it sends PC cpu through the roof. Presumably this means that
8157 the lyxserver will no longer run on an Alpha...
8159 2003-01-30 Angus Leeming <leeming@lyx.org>
8161 * factory.C (createInset): create an InsetCommandParam of type "index"
8162 and use it to 'do the right thing'.
8164 * text2.C (getStringToIndex): ensure that cursor position is always
8165 reset to the reset_cursor position.
8167 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8169 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8172 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8176 * lyxfunc.C: Output messages with identical spelling, punctuation,
8179 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8181 * MenuBackend.C (expandFormats): List only viewable export formats
8184 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8187 * lyxfunc.C (getStatus): Make sure that formats other than
8188 "fax" can also be disabled
8190 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8192 * text3.C (dispatch): put the lfuns that insert insets in 3
8193 groups, and call doInsertInset with appropriate arguments.
8194 (doInsertInset): new function, that creates an inset and inserts
8195 it according to some boolean parameters.
8197 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8199 * buffer.C (readFile): remember to pass on 'par' when calling
8200 readFile recursively.
8202 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8204 * MenuBackend.C (expandFormats): add "..." to import formats.
8206 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8208 * paragraph.C (asString): Remove XForms RTL hacks.
8210 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8211 * buffer.C: fix typo
8213 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8215 * Makefile.am (LIBS): delete var
8216 (lyx_LDADD): add @LIBS@ here instead.
8218 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8220 * Clarify the meaning of "wheel mouse jump"
8222 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8224 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8227 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8229 * importer.C (Loaders): do not preallocate 3 elements in the
8230 vector, since one ends up with 6 elements otherwise
8232 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8234 * DepTable.C (write): write the file name as last element of the
8235 .dep file (because it may contain spaces)
8236 (read): read info in the right order
8238 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8240 * paragraph_pimpl.C (simpleTeXBlanks):
8241 (simpleTeXSpecialChars):
8242 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8244 * tabular.C (latex): add some missing case statements. Reindent.
8246 * MenuBackend.C (expandToc): remove unused variable.
8248 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8257 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8260 2003-01-05 John Levon <levon@movementarian.org>
8263 * BufferView.C: add getEncoding()
8266 * kbsequence.C: do not store last keypress
8269 * lyxfunc.C: store last keypress here instead. Pass encoding
8272 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8274 * lyx_main.C (init): remove annoying error message when following
8275 symbolic links (bug #780)
8277 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8279 * text.C (insertChar):
8280 * lyxrc.C (getDescription): remove extra spaces
8282 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8284 * lyxrc.C (getDescription): remove extra spaces
8286 2002-12-20 John Levon <levon@movementarian.org>
8288 * text3.C: hack fix for page up/down across tall rows
8290 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8292 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8295 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8297 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8298 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8299 thesaurus is not compiled in
8301 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8303 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8305 2002-12-16 Angus Leeming <leeming@lyx.org>
8308 * lyx_main.C (init): remove override_x_deadkeys stuff.
8310 2002-12-12 John Levon <levon@movementarian.org>
8312 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8313 insert. Only remove shift modifier under strict
8316 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8318 * MenuBackend.C (expandToc): fix crash.
8320 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8322 * MenuBackend.C (expandToc): gettext on float names.
8324 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8326 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8327 implement bool empty() [bug 490]
8329 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8331 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8333 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8335 * several files: ws changes
8337 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8339 * text2.C (setCounter): clean up a bit, use boost.format.
8340 (updateCounters): initialize par upon declaration.
8342 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8343 if the layout exists. We do not just store the layout any more.
8344 (SwitchLayoutsBetweenClasses): use boost.format
8346 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8348 * converter.C (convert): if from and to files are the same, use a
8349 temporary files as intermediary
8351 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8354 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8356 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8358 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8360 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8362 * tabular.C (asciiPrintCell): use string(size, char) instead of
8365 * sgml.C (openTag): fix order of arguments to string constructor
8368 * lyxfunc.C (dispatch): use boost.format
8370 * lots of files: change "c" -> 'c'
8372 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8374 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8376 2002-11-25 Angus Leeming <leeming@lyx.org>
8378 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8380 * lyx_main.C (init): compile fix.
8382 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8384 * lyx_cb.C (start): boost.formatify
8385 do not include <iostream>
8387 * lengthcommon.C: ws only
8389 * boost-inst.C,BoostFormat.h: add more explict instantations
8391 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8393 * lots of files: handle USE_BOOST_FORMAT
8395 2002-11-21 John Levon <levon@movementarian.org>
8397 * pspell.C: fix compile
8399 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8401 * lyxfunc.C (dispatch): use boost::format
8405 * lyxfont.C (stateText): use boost::format
8407 * lyx_main.C (LyX): use boost::format
8409 (queryUserLyXDir): ditto
8412 (typedef boost::function): use the recommened syntax.
8414 * importer.C (Import): use boost::format
8416 * debug.C (showLevel): use boost::format
8418 * converter.C (view): use boost::format
8423 * bufferview_funcs.C (currentState): use boost::format
8425 * bufferlist.C (emergencyWrite): use boost::format
8427 * buffer.C (readLyXformat2): use boost::format
8428 (parseSingleLyXformat2Token): ditto
8430 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8432 * LaTeX.C (run): use boost::format
8434 * Chktex.C (scanLogFile): use boost::format
8436 * BufferView_pimpl.C (savePosition): use boost::format
8437 (restorePosition): ditto
8438 (MenuInsertLyXFile): ditto
8440 * BoostFormat.h: help file for explicit instation.
8442 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8444 * tabular.C (latex): Support for block alignment in fixed width
8447 2002-11-17 John Levon <levon@movementarian.org>
8449 * BufferView_pimpl.C:
8451 * lyxfunc.C: split filedialog into open/save
8453 2002-11-08 Juergen Vigna <jug@sad.it>
8455 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8456 by my last patch (hopefully).
8458 2002-11-08 John Levon <levon@movementarian.org>
8467 * toc.C: ParConstIterator, and use it (from Lars)
8469 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8471 * lyxtextclass.[Ch]: revise and add doxygen comments
8473 2002-11-07 John Levon <levon@movementarian.org>
8475 * text.C: fix progress value for spellchecker
8477 * toc.C: fix navigate menu for insetwrap inside minipage
8479 * paragraph_funcs.C: added FIXME for suspect code
8481 2002-11-07 John Levon <levon@movementarian.org>
8483 * BufferView_pimpl.C: fix redrawing of insets
8486 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8488 * text2.C (updateCounters): fix bug 668
8490 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8492 * text3.C (dispatch): Do not make the buffer dirty when moving the
8495 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8497 * vc-backend.C: STRCONV
8500 * text2.C (setCounter): STRCONV
8502 * paragraph.C (asString): STRCONV
8504 * lyxlength.C (asString): STRCONV
8505 (asLatexString): ditto
8507 * lyxgluelength.C (asString): STRCONV
8508 (asLatexString): ditto
8510 * lyxfunc.C (dispatch): STRCONV
8513 * lyxfont.C (stateText): STRCONV
8515 * importer.C (Import): STRCONV
8517 * counters.C (labelItem): STRCONV
8518 (numberLabel): ditto
8519 (numberLabel): remove unused ostringstream o
8524 * bufferview_funcs.C (currentState): STRCONV
8526 * buffer.C (readFile): STRCONV
8527 (asciiParagraph): ditto
8528 (makeLaTeXFile): ditto
8530 * Spacing.C (writeEnvirBegin): STRCONV
8532 * LaTeXFeatures.C (getLanguages): STRCONV
8533 (getPackages): ditto
8535 (getBabelOptions): ditto
8536 (getTClassPreamble): ditto
8537 (getLyXSGMLEntities): ditto
8538 (getIncludedFiles): ditto
8542 (scanAuxFile): ditto
8545 * LString.h: add the STRCONV macros
8547 * BufferView_pimpl.C (savePosition): STRCONV
8548 (restorePosition): ditto
8549 (MenuInsertLyXFile): ditto
8551 * vc-backend.C (scanMaster): change from submatch[...] to
8554 * funcrequest.C: include config.h
8556 * factory.C: include config.h
8558 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8560 * box.C: include config.h
8562 * LaTeX.C (scanAuxFile): change from submatch[...] to
8566 2002-10-25 Angus Leeming <leeming@lyx.org>
8568 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8570 * ispell.[Ch] (setError): new method.
8571 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8572 Use setError() insetead of goto END.
8574 * lyx_cb.C (AutoSave): move out child process into new class
8577 2002-10-30 John Levon <levon@movementarian.org>
8579 * text3.C: make start appendix undoable
8581 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8583 * lyxlength.C (inPixels): Fix returned value.
8585 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8588 2002-10-24 Angus Leeming <leeming@lyx.org>
8590 * lyxgluelength.h: no need to forward declare BufferParams
8591 or BufferView, so don't.
8593 2002-10-21 John Levon <levon@movementarian.org>
8595 * BufferView.C: menuUndo ->undo, redo
8597 * BufferView.h: document, remove dead, make some methods private
8599 * paragraph_funcs.h:
8600 * paragraph_funcs.C:
8601 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8606 * sgml.C: move sgml open/close tag into sgml.C
8608 * bufferview_funcs.h: unused prototype
8611 * lyxfunc.C: remove unused
8614 * text.C: remove unused
8616 2002-10-21 John Levon <levon@movementarian.org>
8620 * BufferView_pimpl.h:
8621 * BufferView_pimpl.C: fix mouse wheel handling based on
8622 patch from Darren Freeman
8624 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8626 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8628 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8630 * lyxlength.C (inPixels): Fix hanfling of negative length.
8631 Fix LyXLength::MU case.
8633 2002-10-16 John Levon <levon@movementarian.org>
8635 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8637 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8639 * converter.C (view): add support for $$i (file name) and $$p
8640 (file path) for the viewer command. If $$i is not specified, then
8641 it is appended to the command (for compatibility with old syntax)
8643 2002-10-14 Juergen Vigna <jug@sad.it>
8645 * undo_funcs.C (textHandleUndo): alter the order in which the
8646 new undopar is added to the LyXText, as we have to set first
8647 the right prev/next and then add it as otherwise the rebuild of
8648 LyXText is not correct. Also reset the cursor to the right paragraph,
8649 with this IMO we could remove the hack in "redoParagraphs()".
8651 2002-10-09 Angus Leeming <leeming@lyx.org>
8653 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8654 to turn off an optimisation if a new inset is to be inserted.
8656 2002-10-11 André Pönitz <poenitz@gmx.net>
8658 * lyxtext.h: make some functions public to allow access
8659 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8661 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8663 * text3.C (dispatch): when changing layout, avoid an infinite loop
8666 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8668 * lyxrc.C (read): treat a viewer or converter command of "none" as
8671 * MenuBackend.C (expandFormats): for an update, also allow the
8672 formats that are not viewable
8674 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8675 script if it is newer than the lyxrc.defaults in user directory
8677 2002-10-07 André Pönitz <poenitz@gmx.net>
8679 * text.C: Vitaly Lipatov's small i18n fix
8681 2002-09-25 Angus Leeming <leeming@lyx.org>
8683 * ispell.h: doxygen fix.
8685 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8687 * buffer.h (readFile): Add a new argument to the method, to allow
8688 reading of old-format templates.
8690 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8692 * toc.C (getTocList): Get TOC from InsetWrap.
8694 2002-09-16 John Levon <levon@movementarian.org>
8696 * lyxfunc.C: check tabular for cut/copy too
8698 2002-09-12 John Levon <levon@movementarian.org>
8703 * factory.C: add header
8705 * paragraph_funcs.h:
8706 * paragraph_funcs.C: cleanup
8708 2002-09-11 John Levon <levon@movementarian.org>
8710 * PrinterParams.h: odd/even default to true
8712 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8714 * PrinterParams.h: update printer parameters for new xforms dialog
8716 2002-09-11 Angus Leeming <leeming@lyx.org>
8718 * lyxserver.C (read_ready): re-write to make it more transparent
8719 and to make it work in coherent fashion under Tru64 Unix.
8721 2002-09-11 André Pönitz <poenitz@gmx.net>
8725 * text3.C: implement LFUN_WORDSEL
8727 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8729 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8730 make floatlist_ a boost::shared_ptr<FloatList>
8732 * lyxtextclass.C: include FloatList.h
8733 (LyXTextClass): initialize floatlist_
8734 (TextClassTags): add TC_NOFLOAT
8735 (Read): match "nofloat" to TC_NOFLOAT and use it.
8736 (readFloat): modify call to floatlist_
8740 * FloatList.[Ch] (FloatList): remove commented out float
8742 (erase): new function
8744 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8746 * MenuBackend.C (expandToc): fix crash when there is no document
8749 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8751 * many files: Add insetwrap.
8753 2002-09-09 John Levon <levon@movementarian.org>
8755 * text2.C: remove confusing and awkward depth wraparound
8757 2002-09-09 John Levon <levon@movementarian.org>
8759 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8762 * buffer.C: remove getIncludeonlyList()
8765 * lyxfunc.C: remove headers
8767 2002-09-09 Juergen Vigna <jug@sad.it>
8769 * text.C (getColumnNearX): fix form Michael this is most
8770 probably a cut&paste bug.
8772 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8774 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8776 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8777 references, ws changes.
8779 * text2.C (init): update counters after init
8780 (insertParagraph): no need to set counter on idividual paragraphs.
8781 (setCounter): access the counters object in the textclass object
8782 on in the buffer object.
8783 (updateCounters): ditto
8785 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8786 shared_ptr<Counters> to avoid loading counters.h in all
8788 (LyXTextClass): initialize ctrs_
8789 (TextClassTags): add TC_COUNTER, and ...
8790 (Read): use it here.
8791 (CounterTags): new tags
8792 (readCounter): new function
8793 (counters): new funtion
8794 (defaultLayoutName): return a const reference
8796 * counters.C (Counters): remove contructor
8797 (newCounter): remove a couple of unneeded statements.
8798 (newCounter): simplify a bit.
8799 (numberLabel): some small formatting changes.
8801 * buffer.[Ch]: remove all traces of counters, move the Counters
8802 object to the LyXTextClass.
8804 2002-09-06 Alain Castera <castera@in2p3.fr>
8806 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8807 package to set the horizontal alignment on fixed width columns.
8810 * lyx_sty.h: added tabularnewline macro def.
8812 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8814 2002-09-06 John Levon <levon@movementarian.org>
8816 * LyXAction.C: tooltips for sub/superscript
8818 * MenuBackend.C: a bit more verbose
8820 * lyxfunc.C: tiny clean
8822 * undo_funcs.C: document undo_frozen
8824 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8826 * counters.C (Counters): add missing algorithm counter.
8828 * text2.C (setCounter): lookup the counter with layouts latexname
8829 instead of by section number.
8830 (setCounter): use a hackish way to lookup the correct enum
8832 a float name->type change
8833 reset enum couners with counter name directly instead of depth value.
8835 * counters.C (Counters): remove the push_backs, change to use the
8836 float type not the float name.
8837 (labelItem): remove unused string, float name->type change
8839 * counters.h: don't include vector, loose the enums and sects vectors
8841 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8843 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8844 (Read): add float->TC_FLOAT to textclassTags
8845 (Read): and handle it in the switch
8846 (readFloat): new function
8848 * FloatList.C (FloatList): comment out the hardcoded float
8851 * lyxlayout.h: ws change.
8853 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8855 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8857 2002-09-03 Angus Leeming <leeming@lyx.org>
8859 * BufferView_pimpl.h: qualified name is not allowed in member
8860 declaration: WorkArea & Pimpl::workarea() const;
8862 * factory.C: added using std::endl directive.
8864 * text3.C: added using std::find and std::vector directives.
8866 2002-08-29 André Pönitz <poenitz@gmx.net>
8869 * text2.C: remove unused member number_of_rows
8872 * BufferView2.C: remove file, move contents to...
8873 * BufferView.C: ... here
8875 * BufferView_pimpl.C:
8876 * factory.C: move more inset creation to factory
8878 * vspace.C: avoid direct usage of LyXText, ws changes
8881 don't provide direct access to WorkArea, use two simple
8882 acessors haveSelction() and workHeight() instead
8885 2002-08-29 John Levon <levon@movementarian.org>
8887 * BufferView_pimpl.C (dispatch): do not continue when
8890 2002-08-28 André Pönitz <poenitz@gmx.net>
8892 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8895 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8897 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8899 * buffer.C: increment LYX_FORMAT to 221
8901 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8902 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8904 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8906 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8908 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8910 * factory.C (createInset): use LyXTextClass::floats
8912 * MenuBackend.C (expandFloatListInsert):
8913 (expandFloatInsert):
8916 * text2.C (setCounter):
8918 * LaTeXFeatures.C (useFloat):
8919 (getFloatDefinitions):
8921 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8923 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8924 floatlist_, with accessor floats().
8926 * FloatList.h: remove global FloatList
8928 2002-08-26 André Pönitz <poenitz@gmx.net>
8930 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8934 * BufferView_pimpl.C:
8935 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8937 2002-08-25 John Levon <levon@movementarian.org>
8939 * LyXAction.C: fix margin note description
8941 2002-08-24 John Levon <levon@movementarian.org>
8945 * bufferview_funcs.C:
8947 * undo_funcs.C: cleanups
8949 * lyxfunc.C: disable CUT/COPY when no selection
8951 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8953 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8954 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8956 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8957 Add backward compatibility to "mono", "gray" and "no".
8959 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8961 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8962 (and file_format >= 200).
8964 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8966 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8968 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8970 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8972 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8974 * BufferView_pimpl.C:
8981 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8982 inset and code to make it work with the paragraph code. The inset
8983 can be anywhere in the paragraph, but will only do the expected
8984 thing in LaTeX if the layout file contains the parameter line
8986 (or more generally, a nonzero value) for that layout.
8988 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8990 * paragraph.h: remove the declaration of undefined counters class
8993 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8995 * text2.C (setCounter): fixed enumeration mis-count as reported by
8996 Dr. Richard Hawkins.
8998 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
9000 * paragraph_funcs.h: remove some unneeded includes
9002 * text.C (backspace): pasteParagraph now in global scipe
9004 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
9005 (pasteSelection): ditto
9007 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
9008 * paragraph_funcs.C (pasteParagraph): ... here
9010 2002-08-20 André Pönitz <poenitz@gmx.net>
9012 * commandtags.h: new LFUNs for swapping/copying table row/colums
9015 * lyxfunc.C: support for new lfuns
9017 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
9020 * buffer.[Ch]: remove NO_COMPABILITY stuff
9022 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
9024 * boost.C (throw_exception): new file, with helper function for
9025 boost compiled without exceptions.
9030 * ParameterStruct.h:
9031 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
9033 * bufferlist.C (emergencyWriteAll): use boost bind
9035 * BufferView_pimpl.C (moveCursorUpdate): remove inline
9037 * text.C: include paragraph_funcs.h
9038 (breakParagraph): breakParagraph is now in global scope
9040 * paragraph_funcs.[Ch]: new files
9042 * paragraph.C (breakParagraph,breakParagraphConservative): move to
9045 * buffer.C: include paragraph_funcs.h
9046 (insertStringAsLines): breakParagraph is now in global scope
9048 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9051 * CutAndPaste.C: include paragraph_funcs.h
9052 (cutSelection): breakParagraphConservative is now in global scope
9053 (pasteSelection): ditto
9055 * buffer.h: declare oprator== and operator!= for
9056 Buffer::inset_iterator
9058 * bufferlist.C (emergencyWrite): don't use fmt(...)
9060 * text3.C: add using std::endl
9062 * BufferView.C (moveCursorUpdate): remove default arg
9064 2002-08-20 André Pönitz <poenitz@gmx.net>
9066 * buffer.[Ch]: move inline functions to .C
9069 * BufferView_pimpl.C:
9071 * buffer.[Ch]: use improved inset_iterator
9074 * paragraph.[Ch]: write one paragraph at a time
9076 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9078 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9079 style if style is not specified.
9081 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9083 * text2.C (setCounter): when searching for right label for a
9084 caption, make sure to recurse to parent insets (so that a caption
9085 in a minipage in a figure float works) (bug #568)
9087 2002-08-20 André Pönitz <poenitz@gmx.net>
9089 * text3.C: new file for LyXText::dispatch() and helpers
9091 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9093 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9095 2002-08-19 André Pönitz <poenitz@gmx.net>
9098 * text.C: new LyXText::dispatch()
9100 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9102 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9104 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9106 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9109 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9111 * Makefile.am: use $(variables) instead of @substitutions@
9113 2002-08-15 André Pönitz <poenitz@gmx.net>
9116 * BufferView_pimpl.C: streamlining mathed <-> outer world
9120 * LyXAction.C: remove unused LFUN_MATH
9122 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9124 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9126 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9128 * paragraph.C (Paragraph): reformat a bit
9129 (cutIntoMinibuffer): use builtin InsetList function instad of
9133 * buffer.C: include boost/bind.hpp, add using std::for_each
9134 (writeFileAscii): use ParagraphList iterators
9135 (validate): use for_each for validate traversal of paragraphs
9136 (getBibkeyList): use ParagraphList iterators
9137 (resizeInsets): use for_each to resizeInsetsLyXText for all
9139 (getParFromID): use ParagraphList iterators
9141 * BufferView2.C (lockInset): use paragraph list and iterators
9143 2002-08-14 John Levon <levon@movementarian.org>
9145 * lyxserver.C: remove spurious xforms include
9147 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9149 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9151 2002-08-13 André Pönitz <poenitz@gmx.net>
9154 * lyxfunc.C: further cleaning
9156 2002-08-13 André Pönitz <poenitz@gmx.net>
9158 * funcrequest.h: new constructor
9160 * funcrequest.C: move stuff here from .h
9163 * BufferView_pimpl.C:
9166 * lyxfunc.C: subsequent changes
9168 * lyxfunc.h: new view() member function
9170 * lyxfunc.C: subsequent changes
9172 2002-08-13 Angus Leeming <leeming@lyx.org>
9175 * BufferView_pimpl.C:
9183 changes due to the changed LyXView interface that now returns references
9184 to member variables not pointers.
9186 2002-08-13 Angus Leeming <leeming@lyx.org>
9188 * WordLangTuple (word, lang_code): return references to strings,
9193 * lyxtext.h: forward-declare WordLangTuple.
9198 * text.C: #include "WordLangTuple.h".
9201 * text.C: (selectNextWordToSpellcheck): constify return type.
9203 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9209 * paragraph_pimpl.h:
9212 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9214 Made updateCounter always count from start of buffer, and removed
9215 second argument (par).
9216 Reverted floats number display to '#'. Perhaps I'll try again when the
9217 code base is sanitized a bit.
9219 2002-08-12 Angus Leeming <leeming@lyx.org>
9221 * buffer.[Ch] (getLabelList): constify.
9223 2002-08-07 André Pönitz <poenitz@gmx.net>
9225 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9227 * funcrequest.h: extension to keep mouse (x,y) position
9229 2002-08-12 Juergen Vigna <jug@sad.it>
9231 * BufferView2.C (insertErrors): forbid undo when inserting error
9234 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9236 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9238 * ParagraphList.[Ch]: new files
9240 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9242 * BufferView2.C (lockInset): ParagraphList changes
9245 * bufferlist.C: ditto
9249 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9251 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9252 unused class variable counter_,
9254 * paragraph.[Ch] (getFirstCounter): delete unused function
9256 * counters.C: include LAssert.h
9257 (reset): add a new function with no arg, change other version to
9258 not have def. arg and to not allow empty arg.
9260 * text2.C (setCounter): remove empty arg from call to Counters::reset
9262 2002-08-11 John Levon <levon@movementarian.org>
9264 * Makefile.am: add WordLangTuple.h
9266 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9268 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9269 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9271 * insets/insettext.C: InsetList changes
9273 * graphics/GraphicsSupport.C (operator()): InsetList changes
9275 * toc.C (getTocList): InsetList changes
9277 * paragraph_pimpl.[Ch]: InsetList changes
9279 * paragraph.[Ch]: InsetList changes
9281 * buffer.C (inset_iterator): InsetList changes
9282 (setParagraph): ditto
9283 * buffer.h (inset_iterator): ditto
9284 * iterators.C (operator++): ditto
9285 * iterators.h: ditto
9287 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9289 * InsetList.[Ch]: new files, most InsetList handling moved out of
9292 * BufferView2.C (removeAutoInsets): InsetList changes
9294 (ChangeInsets): ditto
9296 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9298 * paragraph_pimpl.h (empty): new function
9300 * paragraph.[Ch] (empty): new function
9302 * other files: use the new Paragraph::empty function
9304 2002-08-09 John Levon <levon@movementarian.org>
9306 * lyxtext.h: remove unused refresh_height
9308 2002-08-09 John Levon <levon@movementarian.org>
9315 * paragraph.C: move sgml char escaping out of paragraph
9318 * paragraph.C: remove id setter
9322 * paragraph_pimpl.C: remove dead tex_code_break_column
9324 * bufferview_funcs.C: small cleanup
9326 * lyxfunc.C: remove dead proto
9328 * lyxtext.h: make some stuff private. Remove some dead stuff.
9330 * lyxgluelength.C: make as[LyX]String() readable
9332 2002-08-08 John Levon <levon@movementarian.org>
9337 * ToolbarDefaults.C:
9340 * toc.C: lyxaction cleanup
9342 2002-08-08 John Levon <levon@movementarian.org>
9344 * BufferView2.C: small cleanup
9347 * lyxfind.C: move unnecessary header into the .C
9349 2002-08-08 John Levon <levon@movementarian.org>
9351 * funcrequest.h: just tedious nonsense
9354 * lyx_main.C: cleanups
9357 * vspace.C: remove dead header lyx_main.h
9359 2002-08-07 Angus Leeming <leeming@lyx.org>
9362 * paragraph_pimpl.h:
9363 Forward declare class Counters in paragraph.h by moving the ctrs member
9364 variable into Paragraph::Pimpl.
9365 (counters): new method, returning a reference to pimpl_->ctrs.
9367 * text2.C: ensuing changes.
9369 2002-08-07 John Levon <levon@movementarian.org>
9371 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9373 * BufferView_pimpl.C: announce X selection on double/triple
9376 * lyx_main.C: use correct bool in batch dispatch
9378 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9380 2002-08-07 André Pönitz <poenitz@gmx.net>
9382 * funcrequest.h: new class to wrap a kb_action and its argument
9385 * BufferView_pimpl[Ch]:
9389 * lyxrc.C: subsequent changes
9392 2002-08-07 John Levon <levon@movementarian.org>
9394 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9395 document options change.
9397 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9402 * makefile.am: move counters functionality over from
9403 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9405 2002-08-06 John Levon <levon@movementarian.org>
9407 * WordLangTuple.h: new file for word + language code tuple
9418 * BufferView2.C: use WordLangTuple
9421 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9423 2002-08-06 John Levon <levon@movementarian.org>
9425 * lyx_main.C: fix cmdline batch handling
9427 2002-08-06 André Pönitz <poenitz@gmx.net>
9429 * lyxrc.C: set default for show_banner to true
9431 2002-08-06 John Levon <levon@movementarian.org>
9433 * pspell.C: fix a crash, and allow new aspell to work
9435 2002-08-06 John Levon <levon@movementarian.org>
9438 * kbmap.C: small cleanup
9441 * vspace.C: add const
9443 2002-08-05 John Levon <levon@movementarian.org>
9445 * LyXAction.C: back to tabular-insert
9447 2002-08-04 John Levon <levon@movementarian.org>
9450 * BufferView.C: cosmetic change
9452 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9462 * BufferView2.C: purge all "Lyx" not "LyX" strings
9465 * lyxcursor.C: attempt to add some documentation
9470 * ToolbarDefaults.C:
9471 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9472 merge with LFUN_TABULAR_INSERT
9479 * pspell.C: split up i/pspell implementations into separate
9480 files, many cleanups
9482 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9484 * text2.C: some cleanup
9486 * lyxfunc.C: don't check for isp_command == "none" any more, it
9487 didn't make any sense
9489 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9494 * makefile.am: move counters functionality over
9495 from text2.C/paragraph.[Ch] to counters.[Ch], and
9497 2002-08-02 John Levon <levon@movementarian.org>
9499 * buffer.C: s/lyxconvert/lyx2lyx/
9501 2002-08-02 Angus Leeming <leeming@lyx.org>
9503 * lyxlex.C: revert John's change as it breaks reading of the user
9506 2002-08-02 Angus Leeming <leeming@lyx.org>
9508 * importer.C (Import):
9509 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9510 changes due to LyXView::view() now returning a boost::shared_ptr.
9512 2002-08-02 John Levon <levon@movementarian.org>
9514 * lyxlex.C: small cleanup
9516 2002-08-02 John Levon <levon@movementarian.org>
9518 * text2.C (status): small cleanup, no logic change
9520 2002-08-01 John Levon <levon@movementarian.org>
9523 * buffer.C (writeFile): don't output alerts, caller
9527 * lyx_cb.C: from above
9529 * lyxfunc.C: allow to open non-existent files
9531 2002-07-31 John Levon <levon@movementarian.org>
9533 * lyxserver.C: don't let incidental errors get
9536 2002-07-30 John Levon <levon@movementarian.org>
9538 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9540 2002-07-30 John Levon <levon@movementarian.org>
9543 * lyxserver.C: remove I/O callback too
9545 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9547 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9550 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9552 * many files: strip,frontStrip -> trim,ltrim,rtrim
9554 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9556 * PrinterParams.h: remove extern containsOnly, and include
9557 support/lstrings.h instead.
9559 * LaTeX.C (scanAuxFile): modify because of strip changes
9561 * buffer.C (makeLaTeXFile): ditto
9562 * bufferparams.C (writeFile): ditt
9563 * lyxfont.C (stateText): ditto
9564 * lyxserver.C (read_ready): ditto
9565 * vc-backend.C (scanMaster): ditto
9567 * BufferView_pimpl.h: ws changes
9569 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9571 2002-07-26 André Pönitz <poenitz@gmx.net>
9573 * kb_sequence.C: remove unnedred usings
9575 2002-07-26 Juergen Vigna <jug@sad.it>
9577 * lyxfind.C (LyXReplace): we have to check better if the returned
9578 text is not of theLockingInset()->getLockingInset().
9580 2002-07-25 Juergen Vigna <jug@sad.it>
9582 * lyxfind.C (LyXReplace): don't replace if we don't get the
9585 * undo_funcs.C (createUndo): remove debugging code.
9587 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9589 * buffer.C (parseSingleLyXformat2Token): Use default placement
9590 when reading old floats.
9592 * FloatList.C (FloatList): Change the default placement of figure
9593 and tables to "tbp".
9595 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9597 * MenuBackend.C: using std::max
9599 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9601 * MenuBackend.C (expandToc):
9602 (expandToc2): code moved from xforms menu frontend. It is now
9603 generic and TOCs are transparent to menu frontends.
9605 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9607 * toc.C (getTocList): protect against buf=0
9609 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9610 Menu as first parameter. Now, this calls itself recursively to
9611 expand a whole tree (this will be useful for TOC handling)
9612 (expandFloatInsert): remove 'wide' version of floats
9614 * MenuBackend.h (submenuname): returns the name of the submenu.
9615 (submenu): returns the submenu itself, provided it has been
9616 created by MenuBackend::expand
9618 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9620 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9621 insets which have noFontChange == true. (bug #172)
9623 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9625 * BufferView_pimpl.C: add connection objects and use them...
9628 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9630 * MenuBackend.C (expandLastfiles):
9633 (expandFloatListInsert):
9634 (expandFloatInsert):
9635 (expand): split expand in parts
9637 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9639 * lyx_gui.C: use lyx_gui::exit()
9641 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9643 * LyXAction.C: show the failing pseudo action
9645 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9647 * buffer.C (readFile): Run the lyxconvert script in order to read
9650 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9654 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9656 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9660 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9662 2002-07-22 Herbert Voss <voss@lyx.org>
9665 * lyxlength.[Ch]: add support for the vertical lengths
9667 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9669 * toc.[Ch]: std:: fixes
9671 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9673 * lyxrc.C: do not include lyx_main.h
9675 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9681 * BufferView2.C: include "lyxlex.h"
9684 * bufferparams.h: do not #include "lyxlex.h"
9686 * lyxtextclasslist.C (Add): remove method
9687 (classlist): renamed to classlist_
9689 * paragraph_pimpl.C:
9693 * bufferview_funcs.C:
9698 * toc.C (getTocList): use BufferParams::getLyXTextClass
9700 * toc.C (getTocList): use InsetFloat::addToToc
9702 * toc.[Ch]: new files, containing helper functions to handle table
9705 * lyxfunc.C (dispatch): no need to remove spaces around command
9707 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9708 first command of the sequence; it is not very clever, but I do not
9709 have a better idea, actually
9711 * LyXAction.C (LookupFunc): make sure to remove space at the
9712 beginning and end of the command
9714 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9716 * MenuBackend.C (getMenubar): new method: return the menubar of
9718 (read): treat differently reading of menu and menubar (in
9719 particular, the menubar has no name now)
9720 (Menu::menubar): remove
9722 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9725 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9727 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9728 a bibitem inset in a RTL paragraph.
9730 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9732 * paragraph_pimpl.C: constify
9734 * BufferView_pimpl.C:
9736 * lyxfunc.C: fix dispatch in a nicer way
9738 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9740 * lyxfunc.C (dispatch):
9741 * BufferView_pimpl.C:
9742 * BufferView_pimpl.h:
9744 * BufferView.h: rename Dispatch() to dispatch()
9746 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9748 * lyxlayout.C (Read): honor DependsOn tag
9750 * lyxlayout.[Ch] (depends_on): new method
9752 * version.C.in: update lyx_docversion
9754 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9756 * paragraph.C (validate): remove from here...
9757 * paragraph_pimpl.C (validate): ... and move here
9758 (isTextAt): make it const
9760 * buffer.C (getLists): ws cleanup
9762 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9764 * language.C (read): Use iso8859-1 encoding in latex_lang
9765 (this prevents LyX from crashing when using iso10646-1 encoding).
9767 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9769 * text2.C (toggleInset): if cursor is inside an inset, close the
9770 inset and leave cursor _after_ it
9772 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9774 * lyxfunc.C: move minibuffer completion handling out of here
9776 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9778 * BufferView_pimpl.C:
9779 * LaTeX.C: fix dispatch calls
9781 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9783 * text.C (drawChars): Fix Arabic text rendering.
9785 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9789 * lyxfunc.C: remove message-push/pop
9793 * lyxfunc.C: rationalise some code by removing verboseDispatch
9794 in favour of a bool argument to dispatch()
9796 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9798 * lyx_main.C (init): make sure to read symlinks as absolute paths
9800 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9803 * lyxfunc.C: no need for commandshortcut to be a member
9805 2002-07-15 André Pönitz <poenitz@gmx.net>
9807 * converter.C: add support for $$s (scripts from lib/scripts dir)
9808 * lyx_main.C: white space
9810 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9814 * lyxrc.C: remove second exit confirmation
9816 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9821 * BufferView_pimpl.h:
9822 * BufferView_pimpl.C:
9823 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9825 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9827 * MenuBackend.C (expand): add numeric shortcuts to document menu
9829 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9831 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9833 * lyxfont.C (setLyXFamily):
9840 * buffer.C (asciiParagraph): use ascii_lowercase
9842 2002-07-15 Mike Fabian <mfabian@suse.de>
9844 * lyxlex_pimpl.C (search_kw):
9845 * lyxlex.C (getLongString):
9846 * converter.h (operator<):
9847 * converter.C (operator<):
9848 * buffer.C (parseSingleLyXformat2Token):
9850 * ToolbarDefaults.C (read):
9851 * MenuBackend.C (checkShortcuts):
9853 * LColor.C (getFromGUIName):
9854 (getFromLyXName): use the compare_ascii_no_case instead of
9855 compare_no_case, because in turkish, 'i' is not the lowercase
9856 version of 'I', and thus turkish locale breaks parsing of tags.
9858 2002-07-16 Angus Leeming <leeming@lyx.org>
9860 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9861 now takes a Buffer const & argument.
9863 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9865 * BufferView.C (resize): check there's a buffer to resize
9867 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9869 * lyxfunc.C: remove dead code
9872 * lyxserver.C: use lyx_guii::set_read_callback
9874 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9876 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9877 an inset in a RTL paragraph.
9879 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9881 * lyxfunc.C: repaint after a font size update
9883 2002-07-15 André Pönitz <poenitz@gmx.net>
9885 * lyxlength.C: inBP should be able to return negative values
9887 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9889 * lyxfunc.C: use lyx_gui::update_fonts()
9891 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9893 * lyxfunc.C: use lyx_gui::update_color()
9895 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9901 * lyxrc.C: remove file->new asks for name option, and let
9902 buffer-new take an argument
9904 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9906 * BufferView_pimpl.C: remove unneeded extra repaint()
9908 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9910 * LyXAction.C: allow command-sequence with NoBuffer
9912 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9914 2002-07-10 Angus Leeming <leeming@lyx.org>
9916 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9918 2002-07-09 Angus Leeming <leeming@lyx.org>
9920 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9922 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9924 * lengthcommon.h: whitespace
9926 * lyxfunc.C: update scrollbar after goto paragraph
9928 * lyxtext.h: factor out page break drawing, and fix it so
9929 page break/added space paints as selected nicely
9931 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9933 * BufferView_pimpl.C: add FIXMEs, clean up a little
9935 2002-07-09 André Pönitz <poenitz@gmx.net>
9937 * lyxfont.[Ch]: support for wasy symbols
9939 2002-07-08 André Pönitz <poenitz@gmx.net>
9941 * BufferView_pimpl.C: apply John's patch for #93.
9943 2002-07-05 Angus Leeming <leeming@lyx.org>
9945 * BufferView_pimpl.C (buffer): generate previews if desired.
9947 * LColor.h: add "preview" to the color enum.
9949 * LColor.C (LColor): add a corresponding entry to the items array.
9951 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9954 2002-07-05 Angus Leeming <leeming@lyx.org>
9956 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9957 The body of the code is now in the method that is passed an ostream &
9958 rather than a file name.
9959 Pass an additional only_preamble parameter, useful for the forthcoming
9962 2002-07-03 André Pönitz <poenitz@gmx.net>
9964 * lyxfunc.C: simplify getStatus() a bit for math stuff
9966 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9968 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9970 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9972 * text.C (changeRegionCase): do not change case of all the
9973 document when region ends at paragraph end (bug #461)
9975 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9977 * paragraph.C (startTeXParParams):
9978 (endTeXParParams): add \protect when necessary
9980 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9982 * BufferView_pimpl.C (workAreaExpose): remove warning
9984 2002-06-27 Angus Leeming <leeming@lyx.org>
9986 * Makefile.am: add lyxlayout_ptr_fwd.h.
9988 2002-06-26 André Pönitz <poenitz@gmx.net>
9990 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9992 2002-06-25 Angus Leeming <leeming@lyx.org>
9994 * lyxfunc.C (dispatch): Comment out the call to
9995 grfx::GCache::changeDisplay. The method no longer exists now that the
9996 pixmap generation part of the graphics loader has been moved into
9999 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
10001 * text2.C: layout as layout
10003 * text.C: layout as layout
10005 * tabular.C (OldFormatRead): layout as layout
10007 * paragraph_pimpl.C (TeXDeeper): layout as layout
10008 (realizeFont): layout as layout
10010 * paragraph.C (writeFile): layout as layout
10011 (validate): layout as layout
10012 (getFont): layout as layout
10013 (getLabelFont): layout as layout
10014 (getLayoutFont): layout as layout
10015 (breakParagraph): layout as layout
10016 (stripLeadingSpaces): layout as layout
10017 (getEndLabel): layout as layout
10018 (getMaxDepthAfter): layout as layout
10019 (applyLayout): layout as layout
10020 (TeXOnePar): layout as layout
10021 (simpleTeXOnePar): layout as layout
10022 (TeXEnvironment): layout as layout
10023 (layout): layout as layout
10024 (layout): layout as layout
10026 * lyxtextclass.C (compare_name): new functor to work with
10027 shared_ptr, layout as layout
10028 (Read): layout as layout
10029 (hasLayout): layout as layout
10030 (operator): layout as layout
10031 (delete_layout): layout as layout
10032 (defaultLayout): layout as layout
10034 * lyxlayout_ptr_fwd.h: new file
10036 * lyxlayout.C (Read): layout as layout
10038 * lyx_cb.C (MenuInsertLabel): layout as layout
10040 * bufferlist.C (newFile): layout as layout
10042 * buffer.C (readLyXformat2): layout as layout
10043 (parseSingleLyXformat2Token): layout as layout
10044 (insertStringAsLines): layout as layout
10045 (asciiParagraph): layout as layout
10046 (latexParagraphs): layout as layout
10047 (makeLinuxDocFile): layout as layout
10048 (simpleLinuxDocOnePar): layout as layout
10049 (makeDocBookFile): layout as layout
10050 (simpleDocBookOnePar): layout as layout
10051 (getLists): layout as layout
10053 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10055 * CutAndPaste.C (cutSelection): layout as layout
10056 (pasteSelection): layout as layout
10057 (SwitchLayoutsBetweenClasses): layout as layout
10059 * BufferView_pimpl.C (Dispatch): layout as layout
10060 (smartQuote): layout as layout
10062 * BufferView2.C (unlockInset): layout as layout
10064 2002-06-24 André Pönitz <poenitz@gmx.net>
10066 * lyxfunc.C: fix #487
10068 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10072 * lyxfunc.C: remove display_shortcuts, show_banner
10074 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10076 * Buffer_pimpl.C: oops, update on resize
10078 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10085 * BufferView.C: use repaint()
10087 * BufferView_pimpl.h:
10088 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10089 as it's a clearer description. Remove superfluous
10092 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10094 * text.C: fix bug 488. Not ideal, but getting
10095 getWord() to work properly for the insets that
10096 matter is more difficult ...
10098 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10100 * BufferView_pimpl.C:
10103 * lyxfunc.C: remove the six million index lyxfuncs to just
10104 one, and DTRT (bug 458)
10106 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10110 * BufferView_pimpl.h:
10111 * BufferView_pimpl.C: clean up resize() stuff,
10112 and unnecessary updateScreen()s
10114 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10118 * BufferView_pimpl.h:
10119 * BufferView_pimpl.C:
10122 * minibuffer.C: remove focus management of workarea,
10123 not needed. Use screen's greyOut()
10125 2002-06-17 Herbert Voss <voss@lyx.org>
10127 * converter.C: (convert) do not post a message, when converting
10128 fails, let the calling function decide what to do in this case
10130 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10132 * lyxfunc.C: tidy up a little
10134 2002-06-16 <alstrup@diku.dk>
10136 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10137 Got rid of FORMS_H_LOCATION include. Now we are
10140 2002-06-15 LyX Development team <lyx@rilke>
10142 * buffer.[Ch] (sgmlOpenTag):
10143 (sgmlCloseTag): Added support for avoiding pernicious mixed
10144 content. Return number of lines written.
10146 (makeLinuxDocFile):
10147 (makeDocBookFile): Fixed calls to sgml*Tag.
10148 Simple white space clean.
10150 (simpleDocBookOnePar): Simple white space clean.
10152 * tabular.[Ch] (docBook): Renamed to docbook and got another
10153 argument to related with the pernicious mixed content.
10155 (docbookRow): Fixed calls for docbook inset method.
10157 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10159 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10160 so it's X11 independent.
10164 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10166 2002-06-15 Lyx Development team <lyx@electronia>
10168 * intl.h: Renamed getTrans to getTransManager.
10170 2002-06-14 Angus Leeming <leeming@lyx.org>
10172 * Makefile.am: nuke forgotten stl_string_fwd.h.
10174 2002-06-12 Angus Leeming <leeming@lyx.org>
10176 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10178 2002-06-13 Angus Leeming <leeming@lyx.org>
10181 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10183 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10185 * kbmap.C (getiso): add support for cyrillic and greek
10187 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10191 * BufferView_pimpl.h:
10192 * BufferView_pimpl.C: move bogus scrolling logic
10195 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10198 * BufferView_pimpl.C: view->resize() change
10200 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10202 * BufferView_pimpl.C: topCursorVisible
10205 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10209 * lyx_gui.C: move to frontends/
10213 * lyx_main.C: changes from above
10215 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10222 * lyx_main.C: minor tidy
10224 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10226 * BufferView_pimpl.h:
10227 * BufferView_pimpl.C:
10229 * BufferView.C: make painter() const,
10232 * BufferView2.C: use screen() accessor
10235 * lyx_main.C: some minor cleanup
10237 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10239 * BufferView_pimpl.h:
10240 * BufferView_pimpl.C: remove enter/leaveView,
10243 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10248 * BufferView_pimpl.h:
10249 * BufferView_pimpl.C: only construct screen once,
10252 * lyxrc.C: remove pointless comment
10254 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10257 * BufferView.C: remove active() and belowMouse()
10259 * BufferView_pimpl.h:
10260 * BufferView_pimpl.C: use workarea() not workarea_,
10261 and make it use a scoped_ptr instead
10263 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10265 * lyx_gui.C: add debug message on BadWindow
10267 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10269 * sp_spell.C: fdopen is not part of the C++ standard.
10271 * paragraph.C (InsetIterator): use >= instead of ==
10273 2002-06-07 Angus Leeming <leeming@lyx.org>
10275 Fixes needed to compile with Compaq cxx 6.5.
10276 * BufferView_pimpl.C:
10283 * lyxtextclasslist.C:
10288 all c-library variables have been moved into namespace std. Wrap
10289 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10294 Add a using std::abs declaration.
10296 * kbmap.h (modifier_pair):
10297 * paragraph.h (InsetTable, InsetList):
10298 * lyxfont.h (FontBits):
10299 type definition made public.
10301 * bufferlist.C (emergencyWriteAll): the compiler complains that
10302 there is more than one possible lyx::class_fun template to choose from.
10303 I re-named the void specialisation as lyx::void_class_fun.
10305 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10307 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10308 the compiler is is unable to find tostr in write_attribute.
10310 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10312 * buffer.C (sgmlError): hide #warning
10314 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10316 * xtl/*: get rid of xtl, which is not in use anyway
10318 * LyXAction.C (init):
10319 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10320 were unimplemented xtl experimentation
10322 2002-06-04 André Pönitz <poenitz@gmx.net>
10324 * lyxfunc.C: disable array operation on simple formulae
10326 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10328 * converter.C: constify a bit
10330 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10332 * lyx_gui.C: check xforms version correctly
10334 2002-04-30 Herbert Voss <voss@lyx.org>
10336 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10339 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10341 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10342 attempt to register it with a VCS)
10344 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10346 * lyx_main.C (init): honor variables LYX_DIR_13x and
10349 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10353 * lyx_main.C: fix a crash on bad command line,
10354 and give a useful exit status on error
10356 * lyxfunc.C (doImport): allow -i lyx to work
10358 2002-03-30 André Pönitz <poenitz@gmx.net>
10360 * lyxfunc.C: mathed font changes
10362 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10377 * trans_mgr.h: srcdocs, and some minor cleanups
10379 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10381 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10382 call getFont all the time)
10384 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10386 * switch from SigC signals to boost::signals
10388 2002-05-29 André Pönitz <poenitz@gmx.net>
10390 * paragraph_pimpl.C (getChar): don't call size() too often...
10392 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10394 * paragraph_pimpl.C (insertChar): do not try to update tables when
10395 appending (pos == size())
10397 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10398 in order to reduce drastically the number of comparisons needed to
10399 parse a large document
10401 2002-05-29 André Pönitz <poenitz@gmx.net>
10407 * textclasslist.[Ch]:
10408 * sp_ispell.h: whitespace change
10410 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10412 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10413 lyxaction directly now.
10415 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10419 * lyxvc.C: remove unused headers
10421 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10428 * undo_funcs.C: some cleanups. Use shared_ptr
10429 and a template for the undo stacks.
10431 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10433 * BufferView_pimpl.h:
10434 * BufferView_pimpl.C:
10441 * text2.C: use key_state/mouse_state
10443 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10445 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10448 * chset.C: change include order
10449 (loadFile): use boost regex and get rid of LRegex and LSubstring
10451 * Makefile.am (BOOST_LIBS): new variable
10452 (lyx_LDADD): use it
10454 * LaTeX.C: change include order.
10455 (scanAuxFile): use boost regex and get rid of LRegex and
10459 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10464 * FontInfo.C: moved to frontends/xforms/
10467 * FontLoader.C: moved into frontends for GUIIzation
10472 * lyxfunc.C: changes from above
10474 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10476 * LColor.C: remove spurious X include
10478 * BufferView_pimpl.C:
10483 * text2.C: move font metrics to frontends/
10485 2002-05-24 Juergen Vigna <jug@sad.it>
10487 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10488 setting the undo_cursor.
10490 * ParagraphParameters.h: include local includes first.
10492 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10494 * BufferView_pimpl.C:
10495 * BufferView_pimpl.h:
10499 * screen.C: move WorkArea into frontends/
10505 * BufferView2.C: move LyXScreen into frontends/
10509 * lyx_gui.C: move lyxlookup into frontends/xforms/
10511 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10514 * BufferView_pimpl.C:
10524 * bufferview_funcs.C:
10537 * vc-backend.C: move LyX/XFormsView into frontends/
10539 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10551 * text2.C: move Painter to frontends/
10553 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10555 * buffer.C: comment out some some code that depend upon lyx_format
10558 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10559 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10561 * buffer.h (NO_COMPABILITY): turn off compability
10563 * ColorHandler.C: include scoped_array.hpp
10565 * font.C: Use more specific smart_ptr header.
10568 * ShareContainer.h: ditto
10569 * lyx_main.h: ditto
10571 * FontInfo.h: ditto
10572 * BufferView_pimpl.h: ditto
10573 * ColorHandler.h: ditto
10575 * kbmap.C (defkey): change call to shared_ptr::reset
10577 2002-05-21 Juergen Vigna <jug@sad.it>
10579 * buffer.C (insertErtContents): fix to insert ert asis if it is
10580 non empty. Skip it completely if it contains only whitespaces.
10582 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10584 * BufferView_pimpl.C:
10585 * BufferView2.C: clear selection on paste (bug 393)
10587 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10589 * DepTable.C: include ctime
10591 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10593 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10595 2002-05-14 Juergen Vigna <jug@sad.it>
10597 * text.C (breakParagraph): fixed function to honor the keepempty
10598 layout in the right maner and also to permit the right breaking
10599 algorithm on empty or non empyt keepempty paragraphs.
10601 * paragraph.C (breakParagraph): we have to check also if the par
10602 is really empty (!size()) for isempty otherwise we do the wrong
10605 2002-05-10 Juergen Vigna <jug@sad.it>
10607 * buffer.[Ch] : The following are only changes to the ert
10608 compatibility read reading old LaTeX layout and font stuff and
10609 convert it to ERTInsets.
10611 * buffer.h: added isErtInset().
10613 * buffer.C (struct ErtComp): add a fromlayout bool to check
10614 if we're inside a LaTeX layout.
10615 (isErtInset): new helper function.
10616 (insertErtContents): look for other ert insets before this one
10617 and insert the contents there, so that we don't have subsequent
10618 ERT insets with nothing between them. This way we create only one
10619 inset with multiple paragraphs. Also check if we don't insert only
10620 spaces ' ' as they are ignored anyway afterwards in the .tex file
10621 so if we have only spaces we will ignore this latex part in the
10623 (parseSingleLyXformat2Token \\layout): better compatibility when
10624 reading layout-latex stuff.
10625 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10627 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10628 stuff after reading the inset only get the information back from
10631 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10633 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10635 * LaTeXFeatures.C (getBabelOptions): New method.
10637 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10639 * BufferView_pimpl.C (Dispatch): work around missing argument for
10642 2002-05-08 Juergen Vigna <jug@sad.it>
10644 * text.C (leftMargin): handle paragraph leftindent.
10646 * paragraph.C (writeFile): write the new \\leftindent tag.
10647 (validate): handle leftindent code.
10648 (TeXEnvironment): handle paragraphleftindent code again.
10650 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10652 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10653 for paragrap_extra indent code and new token \\leftindent.
10654 (latexParagraphs): handle the leftindent as environment.
10656 * ParameterStruct.h: added leftindent support.
10658 * ParagraphParameters.C (leftIndent): added support functions for
10659 the paragraph left indent.
10661 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10664 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10666 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10669 * text.C (computeBidiTables): No bidi in insetERT.
10671 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10674 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10676 * version.C.in: pre 5
10678 2002-05-02 José Matos <jamatos@fep.up.pt>
10679 * buffer.C (makeDocBookFile): white space changes, add newline to
10681 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10683 * tabular.C (docBook): fix typo.
10685 2002-05-03 Juergen Vigna <jug@sad.it>
10687 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10688 change in LyXText as we can not be sure it was not freed.
10689 (drawOneRow): remove unused code.
10691 * text.C (drawInset): redo the calculation of the need_break_row as
10692 it could have a row which was already freed.
10693 (draw): look at the return value of drawInset and return false if
10694 it also returned false.
10695 (paintRowText): look at the return value of draw and return false if
10696 it also returned false.
10698 * lyxtext.h: added bool return type to drawInset() and draw() so that
10699 if we have a change in the row so that the rowbreak has to be redone
10700 we abort drawing as it will be called again.
10702 2002-05-02 Juergen Vigna <jug@sad.it>
10704 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10705 a change in the maintext also if we're inside an inset.
10706 (Dispatch): set the cursor again after a break line and after the
10707 screen has been updated as it could be we're in a different row.
10709 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10710 to set the cursor behind the pargraph with > size().
10711 (setCursor): check also for the same paragraph when checking where
10712 to put the cursor if we have a NFR inset.
10714 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10715 parts of layout read further up as it still was in the wrong
10718 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10720 * screen.C (drawFromTo): change sine fullRebreak always return
10723 * buffer.C (parseSingleLyXformat2Token): reindent some
10725 * BufferView_pimpl.C (update): change since fullRebreak always
10727 (Dispatch): git rid of the last hardcoded "Standard"s.
10729 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10731 * text2.[Ch] (fullRebreak): make it return void now that we always
10734 2002-04-30 Juergen Vigna <jug@sad.it>
10736 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10737 ert compatibility check for "latex" layout.
10739 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10741 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10742 minipages: use col% instead of p%, and also use the current font.
10743 (makeLaTeXFile): Fix use babel condition.
10744 (parseSingleLyXformat2Token): Correct font when reading old floats.
10746 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10748 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10749 inserting list of floats.
10751 2002-04-25 Herbert Voss <voss@lyx.org>
10753 * MenuBackend.C (expand): don't add the graphics extensions to the
10756 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10758 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10759 non-existing layout, do not complain if it was the default layout
10760 of the original class (bug #342)
10762 2002-04-24 Juergen Vigna <jug@sad.it>
10764 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10765 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10767 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10769 * buffer.C (getBibkeyList): If using \bibliography, return the
10770 option field with the reference itself. Enables us to provide natbib
10771 support when using \bibliography.
10773 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10775 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10777 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10778 natbib is provided by the LaTeX class.
10780 2002-04-23 Juergen Vigna <jug@sad.it>
10782 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10785 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10787 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10789 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10791 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10792 ensuremath around textordmasculine, textordfeminine and
10795 2002-04-19 Juergen Vigna <jug@sad.it>
10797 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10798 reinitializing the buffer otherwise row-dimensions may be wrong.
10799 (update): reset also the selection cursors if they do exits otherwise
10800 their x/y positions may be wrong.
10802 * text2.C (cursorDown): don't enter the inset if we came from a row
10803 above and are one row over the inset.
10805 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10806 really leaving an inset.
10808 2002-04-18 Juergen Vigna <jug@sad.it>
10810 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10811 of the selected paragraph does not have the selected layout also if
10814 * text2.C (setLayout): fixed bug which did not change last selected
10817 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10818 changed the read and substituted \\end_float with \\end_inset!
10820 * BufferView_pimpl.C (cursorPrevious):
10821 (cursorNext): fixed to make it work with rows heigher than the work
10822 area without moving the cursor only the draw of the row.
10823 (workAreaMotionNotify): fix jumping over high rows.
10825 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10827 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10830 2002-04-16 Juergen Vigna <jug@sad.it>
10832 * text2.C (setCursor): set also the irow().
10833 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10835 (cursorDown): support for locking an inset if the x_fix value goes
10836 inside it. That way I can transverse insets too with cursor up/down.
10838 * lyxrow.h: added irow helper function same as other (i) functions.
10840 * BufferView_pimpl.C (cursorPrevious):
10841 (cursorNext): fixed for insets!
10843 2002-04-15 Juergen Vigna <jug@sad.it>
10845 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10846 position otherwise it is wrong in some cases.
10848 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10849 inside the inset before the call.
10851 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10853 * buffer.[Ch] (getBibkeyList): make it const.
10855 2002-04-12 Juergen Vigna <jug@sad.it>
10857 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10859 * text2.C (getCursorX): new helper function
10860 (setCursor): compute also ix_
10861 (setCursorFromCoordinates): set also ix.
10863 * lyxcursor.h: added ix_ and helper functions.
10865 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10867 * buffer.C (insertStringAsLines): dont break paragraph if the this
10868 paragraph is inside an inset which does not permit it!
10870 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10871 also with no chars on this paragraph.
10872 (paintRowText): only paint stuff if it's inside the workarea!
10874 * paragraph.C (breakParagraph): honor keepempty flag and break the
10875 paragraph always below not above.
10877 * BufferView2.C (unlockInset): update the paragraph layout on inset
10878 unlock as we changed paragraph in such a case.
10880 * lyxfind.C (LyXFind): clear the former selection if not found!
10882 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10883 again called in insertChar().
10885 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10886 an inset which uses the whole row!
10887 (rightMargin): ditto.
10888 (insertChar): force a rebreak if we inserted an inset!
10890 2002-03-28 Herbert Voss <voss@lyx.org>
10892 * lyxlength.[Ch]: add inBP() to get the right PS-point
10893 units (BigPoint). With inPixels we have rounding errors
10895 2002-04-11 Juergen Vigna <jug@sad.it>
10897 * text2.C (setCursorFromCoordinates): set iy to the right value.
10898 (setCursor): add check if row->previous exists!
10900 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10901 an old float_type as this was the case in the old code!
10903 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10905 * BufferView2.C (showLockedInsetCursor): use iy
10906 (fitLockedInsetCursor): ditto
10908 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10909 locked insets as there we have the right value now.
10911 * lyxcursor.C: added iy_ variable and iy functions to set to the
10912 baseline of cursor-y of the locked inset.
10914 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10915 (setCursor): fixed for insets which need a full row.
10917 * text.C (rowLastPrintable): don't ignore the last space when before
10918 an inset which needs a full row.
10919 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10920 as last character of a row when before a inset which needs a full row.
10922 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10924 * version.C.in: update date
10926 * text2.C (fullRebreak): try to always return true and see what
10929 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10931 * MenuBackend.C (expand): use Floating::listName
10933 * FloatList.C (FloatList): add listName argument to the built-in
10936 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10937 text associated with the float.
10939 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10941 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10943 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10945 * ShareContainer.h: add a couple of missing typenames.
10947 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10949 * lyxrc.C (getDescription): use _() correctly rather than N_().
10951 2002-03-28 Herbert Voss <voss@lyx.org>
10953 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10954 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10956 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10958 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10959 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10961 2002-03-29 Juergen Vigna <jug@sad.it>
10963 * lyxfunc.C (dispatch): add a missing fitCursor call.
10965 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10966 it was scrolled by a cursor move, so return the bool status.
10968 * BufferView.C (fitCursor): return the bool flag also to the outside
10969 world as this is needed.
10971 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10973 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10974 call the edit() as it is not needed (and wrong) IMO.
10975 (workAreaButtonPress): set the screen_first variable before evt.
10976 unlock the inset as this may change screen_first and then we have
10977 a wrong y position for the click!
10979 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10981 * MenuBackend.C (expand): another translation that I missed
10983 2002-03-28 Juergen Vigna <jug@sad.it>
10985 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10987 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10989 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10991 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10993 * MenuBackend.C (expand): fix export/view/update when there is no
10996 2002-03-27 Herbert Voss <voss@lyx.org>
10998 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
11001 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11003 * bufferview_funcs.C (currentState): only show paragraph number
11004 for is DEVEL_VERSION is set.
11006 * lyxfunc.C (dispatch): put warning in INFO channel
11008 * MenuBackend.C (expand): translate the name of floats
11010 * FloatList.C (FloatList): mark the float names for translation
11012 * converter.C (convert): use LibScriptSearch
11014 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11016 * MenuBackend.C (defaults): fix default menu (we might as well get
11019 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
11021 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
11024 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
11026 * lyxvc.C: reorder includes.
11028 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
11030 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
11033 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
11035 * CutAndPaste.C: change layouts earlier on paste
11036 to avoid crashing when calling getFont()
11038 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
11040 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
11043 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11045 * WorkArea.C: remove 'Pending' debug message.
11047 * most files: ws cleanup
11049 * buffer.[Ch]: ws changes
11051 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11053 2002-03-21 Juergen Vigna <jug@sad.it>
11055 * tabular.C (SetMultiColumn): collapse also the contents of the
11056 cells and set the last border right. Added a Buffer const * param.
11058 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11060 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11063 2002-03-19 Juergen Vigna <jug@sad.it>
11065 * text2.C (clearSelection): reset also xsel_cache.
11067 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11068 where it needs to be called (John tells us to do so too :)
11069 (selectionLost): reset sel_cache.
11071 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11073 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11075 * text2.C (setCursorIntern): put debuging code in INSETS channel
11077 2002-03-19 André Pönitz <poenitz@gmx.net>
11079 * lyxfunc.C: tiny whitespace change
11081 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11083 * ToolbarDefaults.C (init):
11084 * LyXAction.C (init):
11086 * BufferView_pimpl.C (Dispatch):
11087 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11089 2002-03-19 Allan Rae <rae@lyx.org>
11091 * exporter.C (Export): removeAutoInsets before doing anything else.
11092 While I've just introduced a dependency on BufferView this really is
11093 the best place to clean the buffer otherwise you need to cleanup in
11094 a dozen places before calling export or cleanup in a dozen functions
11097 * converter.C (runLaTeX):
11098 (scanLog): Better handling of removeAutoInsets and screen updates.
11100 * lyxfunc.C (dispatch): small whitespace changes
11102 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11104 * WorkArea.C (C_WorkAreaEvent): return a value.
11105 (event_cb): return 1 if we handled the event, 0 otherwise.
11107 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11109 2002-03-18 Juergen Vigna <jug@sad.it>
11111 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11112 (GetAdditionalWidth): ditto.
11113 (RightLine): ditto.
11116 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11117 inset if we're there actually (probably not used right now but this
11118 is the direction to go for unifying code).
11119 (paste): disable code to clear the selection.
11121 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11122 inside an InsetText and move the check further up as it is in the
11125 * text2.C (pasteSelection): set a selection over the pasted text.
11127 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11129 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11130 and libgraphics to build on Cygwin.
11132 2002-03-15 Juergen Vigna <jug@sad.it>
11134 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11135 inserting an Inset into the paragraph. I know this is not the best
11136 fix but we already use current_view in CutAndPaste so we will remove
11137 all of it's using at the same time.
11139 * buffer.C (sgmlError): deactivated function till it is rewritten in
11140 the right mode, now it can create problems.
11142 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11143 before accessing it.
11145 2002-03-14 Juergen Vigna <jug@sad.it>
11147 * undo_funcs.C (textHandleUndo): do the right thing when updating
11148 the inset after the undo/redo.
11150 * text2.C (setCursor): just some testcode for #44 not ready yet.
11152 * undo_funcs.C (textHandleUndo): set the next() and previous()
11153 pointers of the paragraph to 0 before deleting otherwise we have
11154 problems with the Paragraph::[destructor].
11156 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11157 on a paragraph insertion.
11159 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11161 * buffer.C (asciiParagraph): use += operator for char append to
11164 * paragraph.C (getFontSettings): compare >= not just >
11165 (highestFontInRange): ditto
11168 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11170 * paragraph.C: change several algorithm to be more appripriate for
11171 the problem domain. This is lookip in FontList and in the InsetList.
11173 2002-03-13 André Pönitz <poenitz@gmx.net>
11176 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11178 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11183 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11185 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11187 * Painter.C (display): anon helper function, adjust code for this
11189 (pixmap): remove function.
11191 * Painter.h: remove private display variable.
11193 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11195 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11197 * WorkArea.[Ch]: remove figinset_canvas cruft.
11199 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11201 * lyxtextclass.C (operator): add one item cache optimization.
11203 * bufferlist.h: doxy changes
11205 * bufferlist.C: ws changes
11207 * DepTable.[Ch] (ext_exist): place const in the right spot.
11209 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11211 (workAreaExpose): call resizeInsets when the with BufferView changes.
11212 (Dispatch): adjust for protectedBlank removal
11213 (specialChar): call updateInset if the insert went ok.
11215 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11216 specialChar instead.
11218 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11220 * BufferView.h: doxy change
11222 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11224 * lyxtextclass.C (operator[]): remove non-const version
11225 (defaultLayout): remove non-const version
11227 2002-03-12 Juergen Vigna <jug@sad.it>
11229 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11230 did resize the LyXText too.
11232 * buffer.C (readLyXformat2): set layout information on newly allocated
11235 * tabular.C (OldFormatRead): set layout information on the paragraph.
11237 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11239 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11241 2002-03-11 Juergen Vigna <jug@sad.it>
11243 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11245 (resizeCurrentBuffer): force also the insets to resize themselfes.
11246 (moveCursorUpdate): fixed up for InsetText.
11248 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11251 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11252 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11253 value of Dialogs::tooltipsEnabled().
11254 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11256 2002-03-08 Juergen Vigna <jug@sad.it>
11258 * BufferView_pimpl.C (updateInset): update inset inside inset also
11259 if it isn't inside theLockingInset().
11261 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11263 * buffer.C (asciiParagraph): redo some of the word and line length
11265 (getLists): look for Caption instead of caption.
11267 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11269 * buffer.C (Buffer): initialize niceFile to true
11271 (makeLinuxDocFile):
11272 (makeDocBookFile): make sure niceFile is true on exit
11274 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11276 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11278 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11280 * LyXSendto.C: remove.
11281 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11282 * lyx_gui.C: remove now-redundant comment.
11283 * ColorHandler.h: remove forward declaration of class WorkArea.
11284 * lyxfunc.C: remove #include "WorkArea.h".
11286 2002-03-07 Juergen Vigna <jug@sad.it>
11288 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11289 got moved away with the DEPM and also set the inset_owner always
11290 right which before could have been omitted.
11292 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11294 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11295 wanted layout is not found.
11297 2002-03-07 Juergen Vigna <jug@sad.it>
11299 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11301 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11303 * paragraph.C (breakParagraph): use default layout not layout of
11305 (Paragraph): clear ParagraphParameters.
11307 2002-03-06 Juergen Vigna <jug@sad.it>
11309 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11310 otherwise it would not be a valid lenght. Fixed a special case in
11311 the minipage compatibility read where we end the document with a
11314 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11315 was set as it could be 0 for InsetTexts first entry.
11317 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11319 * paragraph.C (writeFile): if layout is empty write out
11320 defaultLayoutName().
11322 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11323 file without named layout we set layout to defaultLayoutName().
11325 2002-03-06 Juergen Vigna <jug@sad.it>
11327 * CutAndPaste.C (copySelection): set layout for new paragraph.
11329 * text.C (prepareToPrint): leave ERT inset left aligned
11330 (leftMargin): don't indent paragraphs inside ERT insets
11332 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11334 * paragraph.C (breakParagraph): dont call clear do the work manually
11336 * paragraph.[Ch] (clear): remove function
11338 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11340 * paragraph.C (Paragraph): dont call clear, the work has already
11343 * lyxtextclass.C (operator): assert if n is empty
11345 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11346 work manually instead.
11348 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11350 * BufferView_pimpl.C: protect selectionLost against text == 0
11352 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11354 * text.C (breakParagraph): fix a setting layout to '0' problem.
11356 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11358 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11359 final location of file, for the included files, and graphics.
11361 2002-03-05 Juergen Vigna <jug@sad.it>
11363 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11365 2002-03-04 Juergen Vigna <jug@sad.it>
11367 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11369 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11370 last column of multicolumn cells.
11371 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11373 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11375 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11376 file if it doesn't go to a temporary file.
11378 * buffer.C (sgmlOpenTag):
11379 (sgmlCloseTag): remove extra newline insertion.
11381 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11383 * text.C (getRowNearY): comment out debug msg
11385 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11387 * text2.C: first -> first_y
11389 * text.C (getRowNearY): add some attemts at a possible
11390 optimization, not working.
11392 * tabular.[Ch]: add BufferParams to several function so that newly
11393 created paragraph can be initialized to he default layotu for the
11396 * tabular-old.C (ReadOld): add buf->params to call of Init
11398 * screen.C: rename text->first to text->first_y
11400 * paragraph.C (breakParagraph): always set layout in the broken
11403 * lyxtextclass.C (Read): remove lowercase
11406 (delete_layout): ditto
11408 * lyxtext.h: rename first -> first_y
11410 * lyxlayout.C (Read): remove lowercase
11413 (obsoleted_by): ditto
11415 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11417 * buffer.C (insertErtContents): add params are to InsetERT
11418 (parseSingleLyXformat2Token): add code to check if a paragraphs
11419 layout really exist.
11420 (parseSingleLyXformat2Token): add params to several inset
11422 (asciiParagraph): remove lowercase, do the layout comparisons with
11425 * BufferView_pimpl.C (cursorNext): first -> first_y
11426 (resizeCurrentBuffer): first -> first_y
11427 (updateScrollbar): first -> first_y
11428 (scrollCB): first -> first_y
11429 (workAreaMotionNotify): first -> first_y
11430 (workAreaButtonPress): first -> first_y
11431 (checkInsetHit): first -> first_y
11432 (cursorPrevious): first -> first_y
11433 (cursorNext): first -> first_y
11434 (Dispatch): add buffer_->params to severl inset contructors
11436 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11438 * lyxlayout.C (Read): remove some debug info that I forgot.
11440 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11441 clean up the code slightly.
11442 (makeLinuxDocFile): ditto
11443 (makeDocBookFile): ditto
11445 * text2.C: layout as string
11447 * text.C: layout as string
11449 * paragraph_pimpl.C: layout as string
11451 * paragraph.[Ch]: layout as string
11453 * lyxtextclasslist.[Ch]: layout as string
11455 * lyxtextclass.[Ch]: layout as string
11457 * lyxtext.h: layout as string
11459 * lyxlayout.[Ch]: layout as string
11461 * lyx_cb.C: layout as string
11463 * bufferview_funcs.C: layout as string
11465 * bufferparams.C: layout as string
11467 * buffer.C: layout as string
11469 * LyXView.[Ch]: layout as string
11471 * LaTeXFeatures.[Ch]: layout as string
11473 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11475 * BufferView_pimpl.C: change current_layout to string, remove
11480 (workAreaButtonRelease): layout as string
11482 * BufferView2.C (unlockInset): adjust
11484 * vspace.C (asLatexCommand): use an explict temp variable.
11486 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11488 * Makefile.am: use FRONTEND_*
11490 2002-03-01 Juergen Vigna <jug@sad.it>
11492 * tabular.C (SetWidthOfMulticolCell): changed to something better
11493 I hope but still work in progress.
11494 (recalculateMulticolumnsOfColumn): renamed function from
11495 recalculateMulticolCells as it is more appropriate now.
11496 (SetWidthOfCell): calculate multicols better.
11498 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11500 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11502 * lyxfunc.C (processKeySym): print sequence also if it is
11503 `deleted' (complete)
11505 * kbsequence.C (print): print sequence even if it is deleted
11506 (complete would be a better word, actually).
11508 * lyxfunc.C (dispatch): print complete options after a prefix key
11510 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11512 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11514 * text2.C (setCharFont): eliminate setCharFont code duplication.
11516 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11518 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11519 LFUN_TABULAR_FEATURE (bug #177)
11521 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11523 * Makefile.am: remove figure.h
11525 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11527 * Bufferview_pimpl.C:
11539 * text2.C: remove #include "lyx_gui_misc.h".
11541 * LaTeX.C: added #include <cstdio>
11543 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11545 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11546 that the paragraph following this one can have.
11548 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11550 * vspace.C (asLatexCommand): fix bogus gcc warning
11552 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11554 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11556 * text2.C (setLayout): get rid of redundant code
11558 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11560 * text2.C (incDepth): make sure depth cannot be increased beyond
11563 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11565 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11566 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11568 * PainterBase.h (image):
11569 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11570 a LyXImage const *.
11572 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11576 * BufferView_pimpl.C:
11577 * BufferView_pimpl.h:
11597 * sp_spell.C: remove fig inset, and the crap house of
11598 cards that follows it
11600 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11605 * os2_errortable.h:
11606 * nt_defines.h: move .h into support/
11608 * vms_defines.h: remove
11610 * WorkArea.C: add space in debug output
11614 * buffer.C: add WITH_WARNINGS
11618 * bufferlist.C: s/retrive/retrieve/, add docs
11627 * chset.C: add docs
11629 * lyxgui.C: add ID to X error handler
11631 * lyxtestclass.c: fix typo
11633 2002-02-26 Juergen Vigna <jug@sad.it>
11635 * tabular_funcs.C (write_attribute): changed so that some default
11636 attributes are not written at all.
11637 (getTokenValue): set default values before trying to read the
11638 value so we have the return value always set as default if we don't
11639 find the token we search for.
11641 * tabular.C (Write): write bools as bools not as strings!
11643 2002-02-22 Juergen Vigna <jug@sad.it>
11645 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11646 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11648 * text.C (leftMargin): don't add an indent for paragraphs inside
11649 tabular cells (fix #208).
11651 2002-02-21 José Matos <jamatos@fep.up.pt>
11653 * tabular.C (docBook): fixed support for long tables.
11655 2002-02-20 Juergen Vigna <jug@sad.it>
11657 * text2.C (getFont): get the drawing font of the Inset if this
11658 paragraph is inside an inset (only important for InsetERT for now).
11660 * buffer.C (insertErtContents): use new lanugage params in ERT
11663 * CutAndPaste.C: commenting out seemingly uneeded code.
11665 2002-02-19 Allan Rae <rae@lyx.org>
11667 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11668 Iterators might be simple to use but they also get invalidated.
11669 (removeAutoInsets): renamed saved cursor tracking variables and added
11670 some comments to clarify what everything does.
11672 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11679 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11680 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11683 * vc-backend.h: remove #include "support/syscall.h"
11687 * converter.C: rearrange #includes in Lars' approved fashion.
11689 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11690 forward declare class Timeout in the header file.
11692 * XFormsView.C: changes due to the above.
11694 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11695 similar to LyXView.
11697 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11698 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11700 2002-02-18 José Matos <jamatos@fep.up.pt>
11702 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11705 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11707 * a lot of small ws changes
11708 * add a lot of using std::XXX
11709 * use std construcs some places where approp.
11710 * use some exisint stuff from lyxfunctional where approp.
11711 * Make file changes to use partial linking (lets test this now...)
11713 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11717 remove #include "support/syscontr.h" as it's redundant. Always has been.
11725 change Systemcalls::System to Systemcalls::Wait and
11726 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11727 No change of functionality, just reflects the stripped down Systemcalls
11730 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11732 * debug.[Ch]: add a GRAPHICS type to the enum.
11734 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11736 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11738 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11741 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11743 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11744 match the changes below.
11746 * text2.C (toggleInset): if there is not editable inset at cursor
11747 position, try to see if cursor is _inside_ a collapsable inset
11750 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11752 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11753 document menu has a nice checkbox
11755 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11757 * lyxlength.C (asLatexString): change PW to output as percent of
11760 * lengthcommon.C: change '%' to 't%'
11762 * lyxfunc.C (dispatch): a few comments from Martin
11764 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11768 * BufferView_pimpl.h:
11769 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11772 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11774 * vspace.C (inPixels): fix compiler warning
11776 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11778 * lyxfunc.C (getStatus): fix status message for disabled commands.
11780 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11782 * BufferView_pimpl.C: fix crash on close buffer
11783 during selection (#227)
11785 2002-01-27 Herbert Voss <voss@lyx.org>
11787 * buffer.C: link old Figure to new graphic inset
11789 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11791 * FontLoader.C (getFontinfo): Change the latex font names in order
11792 to match the names of type1inst.
11794 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11796 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11798 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11799 (extchanged): ditto
11801 (remove_files_with_extension): ditto
11802 (remove_file): ditto
11805 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11806 document is smaller than the work area height. Do not initialize
11807 static variables to 0.
11809 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11811 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11813 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11814 LFUN_LAYOUT_PARAGRAPHS.
11816 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11817 tabular. It is possible to provide a possible cell, which will
11818 typically be the actcell from the corresponding insettabular
11820 * lyxfunc.C (getStatus): small cleanup; disable
11821 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11824 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11826 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11828 * paragraph.C (startTeXParParams):
11829 (endTeXParParams): new methods. The LaTeX code to
11830 start/end paragraph formatting
11831 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11832 empty (fixes bug #200)
11834 * vspace.C (inPixels): adapt to the change below
11835 (inPixels): [later] more cleanups (remove unused variables)
11837 * lyxlength.C (inPixels): change to use a width and a height as
11840 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11842 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11843 Replaced with \paperwidth
11845 * DepTable.C (insert): add std:: qualifier
11847 2002-01-18 Allan Rae <rae@lyx.org>
11849 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11852 * text.C (drawInset): Turned out I didn't know enough about how
11853 rebreaking worked. This fixes most of the redraw problems. I see
11854 an occasional cursor trail when a line is broken now and the cursor
11855 placement can seem out by a few pixels also after a rebreak.
11857 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11859 * buffer.C (parseSingleLyXformat2Token): update because minipage
11860 width is now a LyXLength
11862 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11864 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11867 2002-01-17 Juergen Vigna <jug@sad.it>
11869 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11871 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11872 is set correctly and the inset is updated correctly.
11874 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11876 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11877 the beginning of the loop.
11879 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11881 * lyxrc.C: improve help for use_scalable_fonts
11883 2002-01-17 Allan Rae <rae@lyx.org>
11885 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11887 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11889 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11890 make sure to set their inset_owner to the right value (bug #171)
11892 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11895 * DepTable.C: Implement mtime checking to reduce time spent doing
11898 2002-01-16 Juergen Vigna <jug@sad.it>
11900 * tabular.C (GetAdditionalHeight): one of error fixed.
11902 * lyxrc.C (output): small fix in writing use_pspell.
11904 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11906 * sp_base.h: #include LString.h
11908 2002-01-16 Allan Rae <rae@lyx.org>
11910 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11911 Can someone check this please?
11913 * text.C (drawInset): It was possible that p.row would be removed by
11914 breakAgainOneRow upsetting a few other settings. There may be another
11915 small tweak possible by setting need_break_row = 0 when p.row has been
11916 removed but I don't know enough about the logic here.
11918 2002-01-15 Allan Rae <rae@lyx.org>
11920 * text.C (insertChar): removed conditional truism.
11922 * BufferView2.C (removeAutoInsets): More tweaks.
11923 cur_par_prev could be a stray pointer. Check for trailing empty line
11924 in case last line was cur_par and only had an error inset on it.
11926 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11928 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11931 * vc-backend.C (most methods):
11932 * exporter.C (Export):
11933 * converter.C (convert):
11935 * LyXSendto.C (SendtoApplyCB):
11936 * lyxfunc.C (dispatch):
11940 * lyx_cb.C (AutoSave):
11942 * BufferView_pimpl.C (MenuInsertLyXFile):
11943 * buffer.C (runChktex): use Buffer::filePath().
11945 * buffer.h: rename filename to filename_; rename filepath to
11946 filepath_ and make it private
11947 (filePath): new method
11949 * buffer.C (writeFile): use fileName()
11952 * lyx_main.C (init): fix starting of LyX when the binary is a
11953 link from so,ewhere else.
11955 * minibuffer.C: include <cctype> for isprint
11957 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11959 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11960 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11961 name clash with InsetCollapsable's width function.
11963 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11965 * lastfiles.C: include <iterator>
11967 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11969 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11972 * buffer.C (makeLaTeXFile): ditto.
11973 Also make loop operation more transparent.
11975 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11977 * ToolbarDefaults.C: remove trailing comma closing namespace.
11979 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11981 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11984 * trans.C (Load): comment out unused variable, allowed.
11986 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11988 * minibuffer.[Ch] (append_char): new method to recieve input from the
11989 drop-down completion browser. If a key was pressed, then recieve this
11990 char and append it to the existing string.
11991 (peek_event): modify the positioning data passed to the completion
11992 browser so that it can be placed above the minibuffer rather than below.
11993 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11995 * LyXAction.C (init): alloe error-next for readonly documents.
11997 * BufferView2.C (ChangeRefsIfUnique): use standard version of
12000 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12002 * bufferlist.C (readFile): create the buffer _after_ checking that
12005 * lyxfunc.C (verboseDispatch): fix handling of arguments
12007 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
12009 * lyxrc.C: use string::erase() instead of initializing to "".
12012 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12014 * BufferView_pimpl.h:
12015 * BufferView_pimpl.C:
12018 * text2.C: tell X when we have made a selection for copying
12020 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12022 * BufferView_pimpl.C (MenuInsertLyXFile):
12023 * lyxfunc.C (menuNew):
12025 (doImport): add shortcuts to directory buttons
12027 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
12030 * lyxfunc.C (setStatusMessage):
12031 (getStatusMessage): new methods
12032 (getStatus):use setStatusMessage instead of setErrorMessage
12033 (dispatch): when function is disabled, set error message here
12034 [instead of in getStatus previously]
12036 * BufferView_pimpl.C (workAreaButtonRelease): update
12037 toolbar/menubar here too.
12039 2002-01-13 Allan Rae <rae@lyx.org>
12041 * BufferView2.C (removeAutoInsets): finished off earlier fix.
12042 Now seems indestructible. Remaining task is to audit all other
12043 code affected by deleteEmptyParagraphMechanism. One small quirk
12044 left is that an empty document with an error in the preamble can
12045 be made to report an error but no error box appears. I don't know
12047 (removeAutoInsets): Improved comments.
12049 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12052 * Thesaurus.C: update for Aiksaurus 0.14
12054 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12056 * text2.C (firstParagraph): removed member function, all uses
12057 replaces with ownerParagraph
12058 (redoParagraphs): here
12059 (updateInset): here
12060 (toggleAppendix): here
12061 * BufferView2.C (insertErrors): here
12062 (setCursorFromRow): here
12064 2002-01-13 Allan Rae <rae@lyx.org>
12066 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12067 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12068 There is still a way to segfault this although you may have to do this
12069 multiple times: Have an InsetERT with an unknown command in it.
12070 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12071 <down-arrow>, <Enter> again, View->DVI, BANG!
12073 * text2.C (setCursor):
12074 (deleteEmptyParagraphMechanism):
12075 * lyxtext.h (setCursor):
12076 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12077 Making use of the return value may help fix other bugs.
12079 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12081 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12083 * LyXView.C (updateMenubar): call MenuBar::update here
12084 (updateToolbar): but not here
12085 (showState): do not update toolbar/menubar
12087 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12088 should need to care about that.
12090 * lyxfunc.C (verboseDispatch): simplify a bit
12091 (getStatus): have a version which takes a pseudoaction, and
12092 another which requires a (kb_action,string).
12094 * LyXAction.C (retrieveActionArg): make it work also when action
12095 is not a pseudo-action.
12096 (getActionName): simplify a bit
12099 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12101 * lyxfunc.C (verboseDispatch): new families of methods with
12102 several ways to specify a command and a bool to indicate whether
12103 the command name and shortcut should be displayed in minibuffer
12104 (eventually, we could extend that to a finer bitmask like
12105 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12106 (dispatch): the pristine dispatch command which just, well,
12107 dispatchs! Note it still sets its result to minibuffer; I'm not
12110 * lyxfunc.h: remove setHintMessage
12112 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12114 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12116 * BufferView_pimpl.C (specialChar): delete new inset if we have
12117 not been able to insert it.
12119 * kbmap.C: revert to using int instead of kb_action, since all we
12120 are dealing with is pseudo-actions.
12122 * LyXAction.C (searchActionArg): change to return int instead of
12123 kb_action, since the result is a pseudoaction.
12125 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12127 * buffer.C (insertErtContents): Fix (partially) the font bug.
12129 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12131 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12132 as the other one is broken on my machine!
12134 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12137 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12139 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12141 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12142 reflect their actual use. Provide compatibility code for older lyxrc
12145 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12147 change names of popup font variables in line with the changes to lyxrc.C
12149 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12151 * buffer.C (asciiParagraph): avoid outputing a word twice after
12154 * lyxrc.C (getDescription): document that document_path and
12155 template_path can be empty.
12157 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12159 * LaTeXFeatures.C (getMacros):
12160 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12162 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12164 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12166 (getPackages): rename feature "floats" to "float". Use an array to
12167 iterate over 'simple' features (i.e. just a \usepackage). Add
12168 handling of "amsmath" (renamed from "amsstyle").
12170 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12172 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12175 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12177 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12178 FuncStaus::FuncStatus & FuncStaus::some_method().
12180 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12182 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12183 of the func_satus stuff. Edited and massaged in various ways by
12186 * lyxfunc.C (getStatus): use FuncStatus
12188 2002-01-08 Juergen Vigna <jug@sad.it>
12190 * text.C (nextBreakPoint): use function Inset::isChar().
12192 * paragraph.C (TeXOnePar): use function
12193 Inset::forceDefaultParagraphs.
12195 * buffer.C (latexParagraphs): use function
12196 Inset::forceDefaultParagraphs.
12198 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12200 * lyx_gui.C (init): set the style of the menu popups to
12201 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12203 2002-01-07 Juergen Vigna <jug@sad.it>
12205 * text.C (setHeightOfRow): small fix
12206 (prepareToPrint): don't look at alignment if we don't have the place
12209 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12211 * box.C: New file. Move the Box methods and functions out of box.h,
12212 following Lars' suggestion.
12214 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12216 * box.h: #include "support/LOstream.h", needed for inlined function.
12219 * lyxtextclasslist.C: added some using std declarations.
12221 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12223 * box.h: make signed dimensions to allow insets wider than
12224 the screen (bug #162)
12226 * BufferView_pimpl.C: add some insetHit debug
12228 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12230 * vc-backend.C: add FIXME
12232 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12234 * lyxfunc.C (getStatus): enable code for showing math font status
12237 2002-01-07 Juergen Vigna <jug@sad.it>
12239 * text.C (nextBreakPoint): removed debug output not needed anymore.
12241 2002-01-06 Juergen Vigna <jug@sad.it>
12243 * text.C (nextBreakPoint): fixed up this function we had this bug
12244 since ever but now hopefully we break row better.
12245 (insertChar): we have to check if an inset is the next char as it
12246 could now happen that a large inset is causing a break.
12248 2002-01-05 Juergen Vigna <jug@sad.it>
12250 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12251 if it doesn't like to be drawed.
12253 2002-01-04 Juergen Vigna <jug@sad.it>
12255 * BufferView2.C (lockInset): forgot to set a cursor.
12257 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12259 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12261 * FormMathsPanel.C:
12264 * form_maths_panel.C:
12265 * form_maths_panel.h:
12266 * form_maths_panel.fd: implemented sub- and super- buttons in math
12269 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12270 (or ^ space) to be used as in TeX (req'd by André).
12272 * lyxfunc.C: Allow ^ and _ again to be used both as
12273 super/subscript (mathed) and as themselves (in text).
12275 2002-01-03 Allan Rae <rae@lyx.org>
12277 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12278 "LyX" or the filename of the current buffer if it has one. This is a
12279 modified form of John Levon's patch.
12281 * XFormsView.C (setWindowTitle): also set icon title.
12283 * LyXView.h (setWindowTitle): signature changed.
12284 * XFormsView.h (setWindowTitle): ditto.
12286 2002-01-02 Juergen Vigna <jug@sad.it>
12288 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12290 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12292 * screen.C (topCursorVisible): introduce a temp var for
12293 text->cursor.row(), handle the case where this row is null. (kindo
12296 * text2.C (setCursor): add a couple of asserts.
12298 * paragraph.h (inset_iterator): add -> operator
12300 * paragraph.[Ch] (autoDeleteInsets): remove member function
12302 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12303 cursor pos correctly and handle inset deletion by itself.
12304 (insertErrors): move iterator declaration out of for expression
12306 * lyxtextclass.C: add <algorithm>
12308 * Makefile.am: added the new files to sources, removed layout.C
12310 * layout.C: removed file
12312 * layout.h: remove LYX_DUMMY_LAYOUT
12314 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12318 * lyxtextclass.[Ch]:
12319 * lyxtextclasslist.[Ch]: new files
12321 * include order changes to a lot of files, also changes because of
12324 2001-12-27 Juergen Vigna <jug@sad.it>
12326 * buffer.C (asciiParagraph): more fixes.
12328 * tabular.C (ascii): make ascii export support export of only the
12329 data separated by a column-delimiter.
12330 (ascii): better support for ascii export.
12332 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12334 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12336 * tabular_funcs.C: use a "using std::getline" instead of the
12337 previous fix from Angus (necessary for cxx + lyxstring)
12339 2001-12-24 Juergen Vigna <jug@sad.it>
12341 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12343 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12344 problems. First check a minipage also if we have some ert-contents
12345 (not only on par->size(), second set the right depth of the paragraph
12346 on the relink to the root-paragraph-list!
12348 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12349 which then did not anymore update the main paragraphs on undo/redo!
12351 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12353 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12354 code. Support all font-changing funcs (even those which are not in
12355 menu currently). Support for reporting font settings in
12356 mathed (disabled until Andre provides a function on mathed's side).
12358 * func_status.h (toggle): small helper function to set toggle
12361 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12363 * tabular_funcs.C: getline -> std::getline
12365 2001-12-21 Juergen Vigna <jug@sad.it>
12367 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12368 accessed and could be 0 (I couldn't generate this but it seems
12371 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12373 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12374 * tabular_funcs.h: here and include iosfwd
12376 2001-12-20 Juergen Vigna <jug@sad.it>
12378 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12379 inside inset but undo_par was.
12381 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12383 * Thesaurus.C: always include <config.h> in sources.
12387 * box.h: do not include <config.h> in header files
12389 * text.C (paintLastRow): remove unused variable
12391 * text.C (transformChar):
12393 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12395 * Painter.C (text):
12396 * font.C (width): rewrite to use uppercase() instead of
12399 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12401 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12403 * lyxfind.C: clean up of find failure position change
12405 2001-12-20 Juergen Vigna <jug@sad.it>
12407 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12409 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12410 (TeXRow): added to LaTeX a single tabular row.
12411 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12412 (Latex): simplified and finally good LT-h/f support.
12413 (various_functions): just small adaptions for LT-h/f support.
12415 * tabular_funcs.[hC]: added and moved here all not classfunctions
12418 2001-12-19 Juergen Vigna <jug@sad.it>
12420 * tabular.[Ch]: better support for longtabular options (not finished
12423 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12425 * text.C (paintLastRow): use the label font instead of the font of
12426 the last character to compute the size of *_BOX. This makes more
12427 sense and avoids a crash with empty paragraphs.
12428 Use Painter::rectangle to draw EMPTY_BOX.
12430 2001-12-19 Juergen Vigna <jug@sad.it>
12432 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12433 the paragraphs if the replaced paragraph is not the first one!
12434 Tried to delete not used paragraphs but does not work yet so for
12435 now it's inside #ifdef's and by default off!
12437 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12439 * MenuBackend.C: include "lyx_main.h" instead of declaring
12440 lastfiles (actually was declared as LastFiles* instead of a
12443 2001-12-17 Juergen Vigna <jug@sad.it>
12445 * tabular.C (AppendColumn): applied John's fix
12447 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12451 * BufferView_pimpl.h:
12452 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12455 * box.h: new start of class for above
12457 * lyxfunc.C: ignore space-only minibuffer dispatches.
12458 Show the command name when it doesn't exist
12460 * minibuffer.C: don't add empty lines to the history
12462 * minibuffer.C: add a space on dropdown completion
12464 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12466 * text.C: fix line above/below drawing in insets
12468 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12470 * lyxlength.C (LyXLength): Initialize private variables.
12472 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12474 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12475 when inserting error insets.
12477 2001-12-13 Juergen Vigna <jug@sad.it>
12479 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12480 actually sometimes the before-paragraph.
12481 (setUndo): don't clear the redostack if we're not actually undoing!
12483 2001-12-06 Juergen Vigna <jug@sad.it>
12485 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12486 and fixed redoing of main paragraph, so we can use it now ;)
12488 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12490 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12492 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12495 2001-12-13 André Pönitz <poenitz@gmx.net>
12498 * undo_func.C: minor cleanup
12500 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12502 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12503 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12504 font in urw-fonts package which is marked as -urw-fontspecific and
12505 does not work (incidentally, changing the encoding in the
12506 fonts.dir of this package to -adobe-fontspecific fixes the
12509 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12510 is a crash when undoing first paragraph (Juergen, please take a
12511 look). THis does not mean the undo fix is wrong, just that it
12514 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12515 the (Paragraph*) version when needed instead of duplicating the
12518 * text.C (workWidth): use Inset::parOwner to find out where the
12519 inset has been inserted. This is a huge performance gain for large
12520 documents with lots of insets. If Inset::parOwner is not set, fall
12521 back on the brute force method
12523 * paragraph_pimpl.C (insertInset):
12524 * paragraph.C (Paragraph):
12525 (cutIntoMinibuffer): set parOwner of insets when
12526 inserting/removing them
12528 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12530 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12536 * mathed/formulabase.C:
12537 * mathed/math_cursor.[Ch]:
12538 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12541 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12543 * lyxlength.[Ch] (operator!=): new function
12545 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12547 * text.C (workWidth): use Inset::parOwner to find out where the
12548 inset has been inserted. This is a huge performance gain for large
12549 documents with lots of insets. If Inset::parOwner is not set, fall
12550 back on the brute force method
12552 * paragraph_pimpl.C (insertInset):
12553 * paragraph.C (Paragraph):
12554 (cutIntoMinibuffer): set parOwner of insets when
12555 inserting/removing them
12557 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12559 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12561 * tabular-old.C (getTokenValue):
12562 * tabular.C (getTokenValue):
12563 (write_attribute): new versions for LyXLength
12564 (everywhere): adjust the use of widths
12566 * tabular.h: change the type of widths from string to LyXLength
12568 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12570 * paragraph.C: fixed missing line number count when exporting
12571 Environments to LaTeX file
12573 * buffer.C: added informational message for checking line numbers.
12575 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12577 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12578 paragraph, do the 'double space' part, but not the 'empty
12581 * text.C (workWidth): small optimization
12582 (getLengthMarkerHeight): use minimal size for negative lengths.
12584 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12586 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12588 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12590 2001-12-11 André Pönitz <poenitz@gmx.net>
12593 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12595 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12597 * text2.C: keep selection on a setFont()
12599 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12601 * lyx_cb.C: another bv->text misuse, from insert label
12603 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12606 * kbsequence.C: re-instate nmodifier mask
12608 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12610 * lyx_main.h: make lyxGUI private.
12612 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12614 * lyxfind.C: place the cursor correctly on failed search
12616 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12618 * text.C (getLengthMarkerHeight): for small heights, the arrows
12619 are not always on top/bottom of the text
12620 (drawLengthMarker): smaller arrows; take the left margin in
12621 account; draw also vfills.
12623 (paintLastRow): remove special code for vfill and standard spaces,
12624 since everything is handled in drawLengthMarker now.
12626 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12628 * buffer.C (insertErtContents): try to handle font and language
12629 interaction a bit better.g
12631 * ColorHandler.C (updateColor): change the hash to cover the whole
12632 LColor enum, ws cleanup
12633 (getGCLinepars): ditto
12634 (getGCLinepars): only lookup in the linecache once.
12636 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12638 * iterators.C (operator++): Make the iterator more robust
12640 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12642 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12644 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12647 * text.C: better added space drawing
12649 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12652 * BufferView2.C: fix layout combo update on inset unlock
12654 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12656 * Makefile.am: don't compile unused files
12658 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12662 * LyXAction.C: remove old LFUN_LAYOUTNO
12664 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12666 * paragraph_pimpl.h:
12667 * paragraph_pimpl.C: isTextAt() doesn't need font param
12669 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12672 * lyxlex.C: little cleanup
12674 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12676 * BufferView_pimpl.C: fix insertAscii for insets
12678 2001-12-05 Juergen Vigna <jug@sad.it>
12680 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12681 set the right font on the "multi" paragraph paste!
12683 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12689 * lyxlength.C: remove out-commented code.
12691 * BufferView_pimpl:
12705 * vc-backend.C: change "while(" to "while ("
12707 * lyxlength.[Ch]: add zero function to check if length is zero or
12709 * lyxgluelength.C: use it
12711 2001-12-05 Allan Rae <rae@lyx.org>
12713 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12714 Works for 2.95.3, from what I understand of Garst's reports this should
12715 work for other g++ versions. We're screwed if the abs(int) definition
12716 changed between bugfix releases of gcc.
12718 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12720 * text.C: fix chapter label offset !
12722 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12725 * text.C: fix hfill at end of line, clean up
12727 2001-12-04 Juergen Vigna <jug@sad.it>
12729 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12730 that we force an update of the inset and it's owners if neccessary.
12732 2001-12-03 Juergen Vigna <jug@sad.it>
12734 * text.C (rowLast): simplified code
12736 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12738 * lyxfunc.C: fix show options on timeout
12740 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12742 * screen.C (topCursorVisible): scroll half a page when the cursor
12743 reached top of bottom of screen
12745 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12747 * minibuffer.C: deactivate on loss of focus
12749 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12751 * vspace.[Ch] (operator!=): add operator.
12753 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12755 * BufferView_pimpl.C: refuse to open an inset when
12756 there's a selection.
12758 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12760 * BufferView_pimpl.C: allow to click on RHS of full row insets
12762 2001-11-30 Juergen Vigna <jug@sad.it>
12764 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12765 insets for undo reasons.
12767 2001-11-28 André Pönitz <poenitz@gmx.net>
12769 * vspace.[Ch]: cosmetical changes
12771 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12781 * kbsequence.C: part re-write of old kb code
12784 * WorkArea.C: remove Lgb_bug_find_hack
12786 2001-11-30 José Matos <jamatos@fep.up.pt>
12788 * buffer.C (makeDocBookFile): add a comment to point a hack.
12789 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12790 Fixed a double write of labels.
12792 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12795 * LaTeX.h Fixed bug in LaTeX class where it would not
12796 re-run latex if no depfiles were changed, but the .dvi was removed.
12798 2001-11-28 André Pönitz <poenitz@gmx.net>
12800 * all the files from the change on 2001/11/26:
12801 use lyx::layout_type instead of LyXTextClass::size_type
12802 use lyx::textclass_type instead of LyXTextClassList::size_type
12804 2001-11-29 Juergen Vigna <jug@sad.it>
12806 * text.C: added support for paragraph::isFreeSpacing()
12808 * buffer.C: same as above
12810 * paragraph.h: inserted isFreeSpacing() function to enable
12811 FreeSpacing inside InsetERT.
12813 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12814 of the paragraph's in the cut/copy buffer to 0!
12816 * text2.C (removeRow): remove the assert as it can!
12818 * lyxtext.h: added helper function firstRow returning firstrow and
12819 made firstrow private again.
12821 * BufferView2.C (lockInset): don't relock if we're already locked!
12823 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12824 the only paragraph.
12825 (removeRow): added Assert::(firstrow)
12827 * debug.C: forgot to add INSETTEXT here.
12829 2001-11-28 Juergen Vigna <jug@sad.it>
12831 * sp_spell.C (initialize): changed error text to more general
12832 spellchecker command use (not only ispell!)
12834 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12836 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12838 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12840 * vspace.C: initialise lyxgluelength on failure
12842 2001-11-28 Allan Rae <rae@lyx.org>
12844 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12845 declaration & definition that looks like a function declaration.
12847 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12849 * BufferView2.C (copy):
12850 (copyEnvironment): do not clear the selection when doing a copy.
12852 * text.C (paintFirstRow): compilation fix
12854 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12856 * tabular.C (Latex): correct line count when writing latex.
12858 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12860 * paragraph_pimpl.h:
12861 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12864 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12868 * LColor.C: change vfillline->added_space
12870 * text.C: add markers and text for added space
12872 * vspace.C: fix comment
12874 2001-11-28 André Pönitz <poenitz@gmx.net>
12876 * paragraph.C: whitespace changes
12877 * all the other files from the change on 2001/11/26:
12878 change *::pos_type into lyx::pos_type
12880 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12882 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12883 language of the document when inserting error insets.
12885 2001-11-26 André Pönitz <poenitz@gmx.net>
12887 * BufferView_pimpl.[Ch]:
12895 * paragraph_pimpl.[Ch]:
12898 * text2.C: reduce header dependencies, introduce type for positions
12900 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12902 * <various>: change to use Alert.h
12904 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12906 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12907 when encountering an unknown token.
12908 (readLyXformat2): Show an error message if there were unknown tokens.
12910 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12913 * BufferView_pimpl.C:
12917 * text2.C: use par->isInset()
12919 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12921 * paragraph_pimpl.h:
12922 * paragraph_pimpl.C: cleanup
12924 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12926 * text2.C (removeRow):
12927 * text.C (setHeightOfRow): remove useless (and costly) call to
12930 2001-11-20 Allan Rae <rae@lyx.org>
12932 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12933 Now need Inset*::checkInsertChar() to return true for appropriate
12934 cases so that the characters in the minibuffer will actually be
12937 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12939 * text.C: change the order of the includes.
12940 (workWidth): initialize it at once.
12941 (workWidth): make maxw unsigned
12942 (setHeightOfRow): remove unused variable (inset)
12943 (selectSelectedWord): remove unused variable (inset)
12944 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12946 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12948 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12949 server is not running.
12951 (closeConnection): add debug info when server is disabled.
12953 * ColorHandler.C (getGCForeground): send debug message to GUI
12956 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12958 * kbmap.C (bind): modify because return conventions of
12959 kb_sequence::parse have changed.
12961 * kbsequence.C (parse): only ignore spaces and not any stupid
12962 control character. This avoids tests like s[i] <= ' ', which are
12963 guaranteed to fail with 8bit characters and signed chars.
12964 Change return code to string::npos when there have been no error
12965 (0 was a bad idea when error is at first character)
12967 2001-11-14 José Matos <jamatos@fep.up.pt>
12970 * buffer.C (simpleDocBookOnePar): removed unused argument.
12972 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12974 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12975 insets which are part of a word. Paragraph::isLetter takes care of
12976 that now. Use Paragraph::isInset to identify insets.
12977 (selectSelectedWord): do not test for hyphenation break.
12979 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12980 that protected spaces are considered as spaces.
12982 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12985 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12988 * lyxserver.C: fix it. and small cleanup.
12990 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12992 * BufferView_pimpl.C: use inline helpers
12995 * LaTeXFeatures.C: fix typos
12998 * Spacing.C: move spacing_string into class
13000 * ToolbarDefaults.C: move stuff into namespace anon
13002 * layout.h: update enum
13004 * lyxfunc.C: use better debug
13006 * minibuffer.h: fix typo
13010 * WorkArea.C: add and use Debug::WORKAREA
13014 * text2.C: code re-organisation, inline helpers
13016 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
13018 * Layout.C: replaced a few cases of std::vector.size() == 0 with
13019 std::vector.empty().
13021 2001-11-09 Allan Rae <rae@lyx.org>
13023 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
13024 '\n's after tables. Tabular and ERT inset work now makes this no
13027 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
13030 * minibuffer.C: fix crash, improve drop-down completion
13032 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
13035 * lyxserver.C: invalidate fd's when doing endPipe()
13037 2001-11-08 José Matos <jamatos@fep.up.pt>
13039 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
13040 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
13043 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
13045 2001-11-07 José Matos <jamatos@fep.up.pt>
13048 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13051 * buffer.C (sgmlOpenTag):
13052 * buffer.C (sgmlCloseTag): removed debug info.
13054 * buffer.h (sgmlOpenTag):
13055 * buffer.h (sgmlCloseTag): made public.
13057 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13059 * buffer.C (saveParamsAsDefaults):
13060 * lyx_cb.C (MenuLayoutSave): remove
13062 * LyXAction.C (init):
13064 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13066 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13068 * buffer.C (setPaperStuff): removed from here...
13070 * bufferparams.C (setPaperStuff): ... and moved there.
13072 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13076 * XFormsView.C: add support for drop-down completion
13078 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13080 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13083 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13085 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13088 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13090 * lyx_main.C: change ref to known bugs
13092 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13094 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13095 to work around older babel problems.
13097 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13099 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13101 2001-10-24 Juergen Vigna <jug@sad.it>
13103 * tabular-old.C (ReadOld): below variable changes reflected.
13105 * tabular.[Ch]: added ltType struct for longtable header/footer
13106 defines and changed all instances where they are used. Added
13107 future support for double top/bottom rows.
13109 2001-10-24 José Matos <jamatos@fep.up.pt>
13111 * buffer.h (docbookHandleCaption):
13112 * buffer.C (docbookHandleCaption): removed unused function.
13113 (makeDocBookFile): moved docbook supported version to v4.1.
13115 2001-10-24 José Matos <jamatos@fep.up.pt>
13118 * tabular.C (docbookRow): new function to export docbook code of a row.
13119 (DocBook): now honors the longtable flags.
13121 2001-10-23 José Matos <jamatos@fep.up.pt>
13124 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13125 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13127 * buffer.C (makeLinuxDocFile):
13128 (makeDocBookFile): reworked the preamble, more clean, and with
13129 support for lyx defined entities. Changed the document declaration
13130 to be more XML friendly.
13132 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13133 if we need to output XML that should be done with a filter.
13135 2001-10-22 Juergen Vigna <jug@sad.it>
13137 * sp_pspell.h (class PSpell): add alive function needed in the
13138 controller to see if the spellchecker could be started.
13140 2001-10-22 Juergen Vigna <jug@sad.it>
13142 * buffer.C (insertStringAsLines): modify the font for inserting
13143 chars in certain conditions by calling checkInsertChar(font).
13145 2001-10-19 Juergen Vigna <jug@sad.it>
13147 * text.C (workWidth): use getRow instead of wrong algorithm.
13148 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13150 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13155 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13157 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13159 * text.C (workWidth): do not search for the exact row when
13160 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13161 optimization for big documents.
13163 2001-10-18 Juergen Vigna <jug@sad.it>
13165 * text.C (workWidth): new function with added Inset * parameter.
13167 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13169 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13171 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13172 change return type of getColumnNearX.
13175 * text.C (changeRegionCase): use uppercase/lowercase instead of
13178 (rightMargin): simplify code by factoring out the uses of
13183 (appendParagraph): use Paragraph::size_type
13185 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13187 * vspace.C (asLatexString): add a missing break
13189 2001-10-15 Herbert Voss <voss@perce.de>
13191 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13193 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13195 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13198 2001-10-10 André Pönitz <poenitz@gmx.net>
13200 * lyxfunc.C: removed greek_kb_flag.
13202 2001-10-10 Herbert Voss <voss@perce.de>
13204 * lyx_main.C: delete global string help_lyxdir.
13206 2001-10-09 Herbert Voss <voss@perce.de>
13208 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13210 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13212 * lyx_main.C: added global string help_lyxdir.
13214 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13216 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13218 * lyxrc.C (set_font_norm_type): support iso8859-4
13220 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13222 * LaTeX.C (deplog): add another regex for MikTeX
13224 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13226 * lyxrc.C (set_font_norm_type): support iso8859-3
13228 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13230 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13232 * LaTeXFeatures.C: remove special case of french and index
13234 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13235 before \begin{document}). This solves several incompatibilities.
13237 2001-10-03 Garst Reese <reese@isn.net>
13239 * lyx_cb.C: change CheckTex error msg.
13241 2001-10-03 José Matos <jamatos@fep.up.pt>
13243 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13245 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13247 * .cvsignore: update
13249 * lyx_main.C (commandLineVersionInfo): use new style version info.
13251 * buffer.C (writeFile):
13253 (makeLinuxDocFile):
13254 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13256 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13258 * version.h: update to use stuff in version.C
13260 * version.C.in: new file. Contains version information determined
13261 at compile time. This is a merging of version.h and
13264 2001-10-03 Juergen Vigna <jug@sad.it>
13266 * BufferView_pimpl.C (update): don't change "dirty" status in
13269 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13271 * WorkArea.C (c-tor): re-position version string slightly.
13273 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13275 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13276 revert to previous code.
13278 WorkArea.[Ch]: (show, destroySplash): methods removed.
13280 WorkArea.C: rework code so that it's an amalgam of the codes before and
13281 after the splash screen was moved to WorkArea.
13283 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13286 * vspace.C (inPixels):
13289 * buffer.C (insertStringAsLines):
13290 (asciiParagraph): fix types to be large enough
13292 * lyxlex_pimpl.h: change member status from short to int
13294 * layout.h: fix type of endlabeltype
13297 * kbsequence.C (parse): change return type to string::size_type
13299 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13302 * Bullet.C (bulletSize):
13303 (bulletEntry): do not use short ints as parameters
13305 * BufferView2.C (insertLyXFile): change a char to an int.
13307 * WorkArea.C (WorkArea): remove unneeded floats in computation
13309 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13311 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13313 * paragraph.C (asString): Do not ignore newline/hfill chars when
13314 copying to the clipboard.
13316 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13318 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13319 after a multi-line inset.
13321 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13323 * paragraph.C (validate): Set NeedLyXFootnoteCode
13325 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13327 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13328 and decrease-error to decrease.
13330 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13332 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13333 it more readable (should be equivalent)
13335 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13337 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13339 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13341 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13342 of a cursor (row, etc.) after a character has been deleted
13343 (deleteEmptyParagraphMechanism): call the method above on _all_
13344 cursors held by the LyXText when a double space has been
13347 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13349 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13351 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13353 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13354 background. Use greyOut() and the new show() methods to toggle between
13355 the foreground and background. Add code to remove the splash after
13356 its initial showing.
13358 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13359 (create_forms): no longer call Dialogs::showSplash.
13361 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13363 * .cvsignore: add version_info.h
13365 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13367 * version_info.h.in: new file
13369 * Makefile.am: add version_info.h.in
13371 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13372 version_info.h instead of VERSION_INFO
13374 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13376 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13377 The ERT inset now returns string().
13379 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13381 * lyxtext.h, text.C (selectNextWord): renamed as
13382 selectNextWordToSpellcheck.
13384 * text.C (selectNextWordToSpellcheck): Modified to not select
13385 words inside an ERT inset.
13387 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13389 * lyx_cb.C (MenuLayoutSave): change a bit the question
13391 * sp_base.h: include <sys/types.h>
13393 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13395 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13397 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13399 * several files: fix typos in user-visible strings
13401 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13403 * text2.C (pasteSelection): do not set the selection, since it
13404 will be cleared later. Actually, the intent was to fix the way the
13405 selection was set, but I figured rmoving the code was just as good.
13407 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13409 * FontLoader.C (available): Check if font is available without
13412 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13414 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13416 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13418 * lyxrc.[Ch]: added display_graphics variable and associated code.
13420 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13422 * bufferparams.C (hasClassDefaults): new method. Returns true if
13423 the buffer parameters correspond to known class defaults
13425 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13427 * XFormsView.C (show): set minimum size to the main window.
13429 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13431 * text2.C (copySelection):
13433 * lyxfind.C (LyXReplace):
13434 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13435 LyXText::selectionAsString.
13437 * paragraph.C (asString): add "label" argument to the second form
13439 * text2.C (selectionAsString): add "label" argument and pass it to
13440 Paragraph::asString.
13442 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13444 * lyx_main.C (commandLineHelp): remove version information
13446 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13448 * lyx_main.C: add -version commandline option
13450 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13452 * paragraph.h: make the optional constructor arg required instead.
13453 some modifications to other files because of this.
13455 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13457 * lyxserver.C (C_LyXComm_callback): make it static
13459 * lyx_main.C (error_handler): make it static
13461 * lyx_gui.C (LyX_XErrHandler): make it static
13463 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13465 * WorkArea.C: make the extern "C" methods static.
13467 * Makefile.am (lyx_LDADD): simplify
13469 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13471 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13472 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13474 * LyXAction.C (init):
13475 * lyxfunc.C (dispatch): associated code removal.
13477 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13479 * lyxfont.h (isSymbolFont): shut off warning
13481 * text.C (setHeightOfRow):
13482 (getVisibleRow): fix crash with empty paragraphs which have a
13485 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13487 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13490 2001-09-04 José Matos <jamatos@fep.up.pt>
13493 * tabular.C (docbook): rename docBook method to docbook.
13495 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13497 * Makefile.am: add dependencies to main.o.
13499 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13501 * FontLoader.C (available): Return false if !lyxrc.use_gui
13503 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13505 * FontInfo.C (query):
13506 * converter.C (view):
13507 * importer.C (Import):
13508 * exporter.C (Export): Can not -> cannot.
13510 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13512 * BufferView_pimpl.C: allow to create index inset even if
13515 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13517 * buffer.C (getLists): replace boost::tie code with an explicit pair
13518 as boost::tie can break some compilers.
13520 * iterators.h: Added a std:: declaration to the return type of
13523 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13525 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13528 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13530 * iterators.[Ch]: New files. Provide paragraph iterators.
13532 * buffer.C (changeLanguage): Use paragraph iterators.
13533 (isMultiLingual): ditto
13535 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13537 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13539 * FontLoader.C: Support for cmr font.
13541 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13543 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13544 (available): New method.
13546 * FontInfo.C (getFontname): Use scalable fonts even when
13547 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13550 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13552 * converter.C (Formats::view): reverted! Incorrect fix.
13554 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13556 * converter.C (Formats::view): only output the -paper option
13557 if the dvi viewer is xdvi, thereby fixing bug #233429.
13559 2001-08-23 Herbert Voss <voss@perce>
13561 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13563 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13565 * Spacing.h (Spacing): Set space to Default on in the default
13568 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13570 * vc-backend.h (RCS::versionString): add RCS to version
13571 (CVS::versionString): add CVS to version
13573 * vc-backend.C (scanMaster): do not add CVS to version.
13574 (scanMaster): do not add RCS to version
13576 * lyxvc.C (versionString): new method
13578 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13580 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13582 * Spacing.C (set): initialize fval
13584 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13586 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13589 2001-08-16 Juergen Vigna <jug@sad.it>
13591 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13593 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13595 * BufferView_pimpl.C:
13598 * text2.C: setParagraph takes linespacing now
13600 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13602 * LyxAction.C: add internal LFUN_CITATION_INSERT
13604 * LyXView.C: actually apply fix
13606 * bufferlist.C: fix open non-existent file
13608 * lyxfind.C: fix indentation
13610 * lyxfunc.C: remove unneeded assert, fix typo
13612 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13614 * MenuBackend.C: use "Floatname List"
13616 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13618 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13619 when converting LaTeX layout to insetERT.
13620 Generate a non-collapsed float when reading old float
13622 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13624 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13627 2001-08-13 Juergen Vigna <jug@sad.it>
13629 * text.C (fill): return 0 instead of 20 as this seems to be the more
13632 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13634 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13637 2001-08-13 Juergen Vigna <jug@sad.it>
13639 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13641 (SearchBackward): comment out the unlocking of the inset_owner this
13642 should not be needed!
13644 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13646 * Many files: Remove inherit_language, and add latex_language
13648 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13649 collapsible insets.
13651 2001-08-10 Juergen Vigna <jug@sad.it>
13653 * text.C (prepareToPrint): fixed hfill-width in draw!
13655 * BufferView2.C (selectLastWord): save the selection cursor as this
13656 now is cleared in the function LyXText::clearSelection!
13658 2001-08-08 Juergen Vigna <jug@sad.it>
13660 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13661 BACKSPACE type functions.
13663 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13664 is only cutted from the document but not put in the cut-buffer, where
13665 still the old stuff should be.
13667 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13669 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13671 * tabular.C (SetWidthOfCell): fixed special case where the width
13673 (LeftLine): handle '|' in align_special.
13675 (LeftAlreadyDrawed): ditto
13676 (SetWidthOfCell): ditto
13678 2001-08-07 Juergen Vigna <jug@sad.it>
13680 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13682 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13684 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13685 * lyxlex.[hC]: ditto
13687 2001-08-06 Juergen Vigna <jug@sad.it>
13689 * text.C (getVisibleRow): fix up row clearing a bit.
13691 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13693 * minibuffer.C: make sure the X server sees the changes in the input.
13695 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13697 * paragraph.C (getFont): split into...
13698 (getLabelFont): this
13699 (getLayoutFont): and this
13700 * paragraph_pimpl.C (realizeFont): calling this
13702 * text2.C (getFont): split into...
13703 (getLayoutFont): this
13704 (getLabelFont): and this
13705 (realizeFont): all three calling this
13707 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13710 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13712 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13714 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13716 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13717 layouts from the Quote inset insertion.
13719 2001-08-03 Juergen Vigna <jug@sad.it>
13721 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13723 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13724 only if status not is already CHANGED_IN_DRAW (second level).
13726 * text.C (draw): don't set the need_break_row when inside an
13729 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13731 * buffer.C (parseSingleLyXformat2Token): handle more latex
13734 * bufferview_funcs.[hC]: change function names to
13735 begin with small char, adjust other files.
13737 2001-08-02 André Pönitz <poenitz@gmx.net>
13740 BufferView_pimpl.C: remove broken special code for math-greek
13742 2001-08-02 Juergen Vigna <jug@sad.it>
13744 * BufferView_pimpl.C (update): redone this function so that we
13745 update the text again if there was a CHANGE_IN_DRAW.
13747 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13748 (drawFromTo): added a new internal bool which is used by draw() and
13750 (general): some cursor drawing problems fixed.
13752 2001-08-01 Juergen Vigna <jug@sad.it>
13754 * lyxfind.C (LyXFind): fixed
13755 (SearchForward): ditto
13756 (SearchBackward): ditto
13758 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13759 spurius drawing of the cursor in the main area.
13761 * text2.C (status): small fix which could lead to a segfault!
13762 (clearSelection): remove unneeded BufferView param.
13764 2001-08-01 André Pönitz <poenitz@gmx.net>
13766 * lyxfunc.C: small change due to changed mathed interface
13768 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13770 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13772 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13774 * lyxfunc.c: fail gracefully if file doesn't exist
13779 * BufferView_pimpl.C: IsDirWriteable() proto changed
13781 * LyXView.C: fix updateWindowTitle() to store the last title
13783 2001-07-31 Juergen Vigna <jug@sad.it>
13785 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13786 the font (wrong since using of Paragraph::highestFontInRange).
13788 * paragraph.C (highestFontInRange): added a default_size parameter.
13790 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13791 (setHeightOfRow): reformat
13793 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13795 * converter.[hC] + affected files: move to (inital-char)lowercase
13798 * ParagraphParameters.C (ParagraphParameters): remove commented code
13800 * PainterBase.[Ch]: remove commented code
13802 * LaTeXFeatures.h: add "bool floats" for float.sty
13804 * LaTeXFeatures.C (LaTeXFeatures): init floats
13805 (require): handle float
13806 (getPackages): do it with floats
13808 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13810 * BufferView_pimpl.C (Dispatch): improve handling of
13811 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13813 * commandtags.h: #include lyxfont.h here temporarily to avoid
13816 * bufferlist.h: include LString.h here.
13818 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13820 * text2.C (getStringToIndex): new method.
13822 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13824 * *: Reduced header file dependencies all over.
13826 2001-07-30 Baruch Even <baruch@lyx.org>
13828 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13830 2001-07-29 Baruch Even <baruch@lyx.org>
13832 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13834 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13836 * ParameterStruct.h (endif): add a default constructor to make
13837 sure that all variables is initialized.
13839 * ParagraphParameters.C (ParagraphParameters): adjust
13841 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13843 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13844 index; also, check that there is something to index, and that it
13845 does not span over several paragraphs.
13846 (doubleClick): use WHOLE_WORD_STRICT for double click.
13848 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13850 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13853 2001-07-26 Baruch Even <baruch@lyx.org>
13855 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13856 an InsetFig figure, backwards compatible reading of old figure code.
13858 2001-07-27 Juergen Vigna <jug@sad.it>
13860 * text2.C: font.realize function adaption.
13862 * text.C (draw): add a warnings lyxerr text if needed.
13864 * layout.C: font.realize function adaption.
13866 * language.C: add inherit_language and implement it's handlings
13868 * bufferview_funcs.C (StyleReset): remove language parameter from
13869 font creation (should be language_inherit now).
13871 * bufferparams.C (writeFile): handle ignore_language.
13873 * paragraph.C (getFontSettings): the language has to be resolved
13874 otherwise we have problems in LyXFont!
13876 * lyxfont.C (lyxWriteChanges): added document_language parameter
13877 (update): removed unneeded language parameter
13879 * paragraph.C (validate): fixed wrong output of color-package when
13880 using interface colors for certain fonts in certain environments,
13881 which should not seen as that on the final output.
13883 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13885 * BufferView_pimpl.C:
13890 * LyXAction.C: add thesaurus support
13893 * lyxfind.C: add "once" parameter, for thesaurus, to not
13894 move to the next match
13896 2001-07-26 Juergen Vigna <jug@sad.it>
13898 * lyxfont.C (realize): honor ignore_language too!
13901 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13903 * text.C (draw): one place more for ignore_language to not draw
13906 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13908 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13910 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13912 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13913 the minipage conversion problem.
13915 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13917 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13920 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13922 * BufferView.h: don't forward declare WorkArea
13924 * BufferView.C: don't include WorkArea.h
13926 2001-07-25 André Pönitz <poenitz@gmx.net>
13930 * lyxfunc.C: new LFUN 'math-space'
13932 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13934 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13936 * text2.C (toggleInset): call open/close
13938 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13940 * lyxfunc.C (dispatch): add debug for the disabled case
13942 * font.C (buttonText): make similar to rectText
13944 * buffer.C (readInset): comment out parsing of insetlist and
13947 * PainterBase.C (rectText): small correction
13949 * BufferView_pimpl.C: comment out insettheorem and insetlist
13950 * LyXAction.C: ditto
13951 * commandtags.h: ditto
13953 2001-07-24 Juergen Vigna <jug@sad.it>
13955 * text.C (draw): honor the ignore_language.
13957 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13959 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13961 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13964 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13966 * lyxtext.h: remove unused (and unimplemented) methods
13968 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13970 * text.C (getVisibleRow): honor background color
13973 * Painter.h: remove default color argument for fillRectangle
13975 * text.C (backgroundColor): new method
13977 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13979 * text.C (getVisibleRow): adjust
13981 * font.[Ch] (rectText): new method, metrics
13982 (buttonText): new method, metrics
13984 * PainterBase.[hC]: make rectText and buttonText always draw and take
13987 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13989 * ToolbarDefaults.C (read):
13990 * MenuBackend.C (read): allow escaping in all strings
13992 * BufferView_pimpl.C (insertAndEditInset): new method.
13993 (Dispatch): use insertAndEditInset whenever appropriate.
13995 * BufferView_pimpl.C (insertNote): removed
13997 * BufferView_pimpl.C (smartQuote): new method, moved from
13998 BufferView; if an insetquote cannot be inserted, insert a '"'
14001 * BufferView2.C: remove insertCorrectQuote();
14003 * lyxfunc.C (getStatus): Add support for all remaingin
14004 inset-insert lfuns.
14006 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
14008 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
14009 command (necessary to pass " as parameter of self-insert.
14011 * text.C (selectWordWhenUnderCursor):
14012 (selectWord): add word_location parameter
14013 (selectWordWhenUnderCursor): same + remove special code for word
14015 (selectNextWord): use kind() to guess type of insetspecialchar,
14018 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
14019 (insertErtContents): create ert insets as collapsed.
14020 (readInset): better compatibility code for Info inset.
14022 2001-07-20 Juergen Vigna <jug@sad.it>
14024 * lyxfunc.C (dispatch): use always LyXFind now!
14026 * text2.C (init): add a reinit flag so that the LyXText can be
14027 reinited instead of deleted and reallocated (used in InsetText).
14029 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
14035 2001-07-18 Juergen Vigna <jug@sad.it>
14037 * text.C (selectNextWord): handle insets inside inset by calling
14038 always the bv->text functions so that we can go up the_locking_inset!
14040 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
14041 in strange locations when inside an inset!
14043 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
14044 handling to include insets.
14046 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
14048 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14050 * LyXAction.C (init):
14052 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14053 LIGATURE_BREAK, since the name is so stupid.
14055 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14057 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14060 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14062 * sp_form.[Ch]: remove.
14064 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14066 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14069 * src/buffer.C (readInset): ditto.
14071 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14073 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14074 menuSeparator(), endOfSentenceDot(), ldots() and
14075 hyphenationPoint(), which are therefore removed.
14076 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14078 * LyXAction.C (init):
14079 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14081 * paragraph.C (getWord): removed.
14083 * BufferView_pimpl.C (Dispatch): use last word or selection for
14084 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14086 * lyx_main.C (queryUserLyXDir): do not ask before creating
14087 user_dir, except if it has been named explicitely.
14089 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14091 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14092 a document of zero size.
14094 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14096 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14097 approriately in the c-tor and in require().
14098 (getPackages): output the appropriate LaTeX for natbib support.
14100 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14101 variables "use_natbib" and "use_numerical_citations" when reading the
14103 (readInset): read the various natbib cite commands.
14104 (validate): white-space change.
14106 * bufferparams.[Ch]: new variables "bool use_natbib" and
14107 "bool use_numerical_citations".
14108 (writeFile): output them in the LyX file.
14110 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14112 * lyxfunc.C (getStatus): add support for all the inset insertion
14115 * text2.C (insertInset):
14116 * paragraph.C (insetAllowed):
14117 * BufferView_pimpl.C (insertInset): update to take in account the
14118 renaming of insertInsetAllowed
14120 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14122 * text2.C (getInset): new method. returns inset at cursor position.
14124 * BufferView_pimpl.C (Dispatch): changes because of this.
14126 * LyXAction.C (init): rename open-stuff to inset-toggle.
14128 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14130 * text2.C (toggleInset): renamed from openStuff; use
14133 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14135 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14137 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14139 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14141 * buffer.C (readLyXformat2): Add filename to the error dialog
14143 2001-07-18 Juergen Vigna <jug@sad.it>
14145 * tabular.C (GetCellNumber): put an assert here instead of the check!
14147 2001-07-17 Juergen Vigna <jug@sad.it>
14149 * BufferView_pimpl.C (toggleSelection): adapted too.
14151 * text.C (selectNextWord): adapted for use with insets.
14152 (selectSelectedWord): ditto
14154 2001-07-17 Juergen Vigna <jug@sad.it>
14156 * sp_spell.C (PSpell): fix initialitation order.
14158 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14160 * paragraph.C: spacing
14162 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14164 * sp_spell.C: repair language selection for pspell
14166 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14168 * lyxfunc.h: change more methods to begin with lower char.
14170 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14172 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14173 for unknown layouts.
14175 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14177 * buffer.C (readLyXformat2): Generate an error dialog if there are
14180 2001-07-16 Juergen Vigna <jug@sad.it>
14182 * sp_spell.C: always compile ISpell part.
14184 * lyxrc.C: added use_pspell entry and it's handling.
14186 2001-07-13 Juergen Vigna <jug@sad.it>
14188 * sp_spell.C: removed double includes.
14190 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14192 Consistent use of Lsstream.h:
14193 * Lsstream.h: added using std::stringstream for consistencies sake.
14195 * buffer.C: removed using std::stringstream
14197 * lyxfont.C (stateText):
14198 * paragraph.C (asString):
14199 * text.C (selectNextWord, selectSelectedWord):
14200 * text2.C (setCounter):
14201 * vspace.C (asString, asLatexString):
14202 std::ostringstream -> ostringstream.
14204 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14206 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14207 * commandtags.h: add LFUN_HELP_ABOUTLYX
14208 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14210 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14212 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14214 * lyx_gui_misc.C: remove spellchecker
14215 * lyxfunc.C: showSpellchecker
14217 * sp_ispell.h: added
14218 * sp_pspell.h: added
14219 * sp_spell.C: added
14220 * sp_form.[Ch]: removed
14221 * spellchecker.[Ch]: removed
14223 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14225 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14227 (simpleTeXSpecialChars): Simply print the input character without
14228 any special translation if pass_thru is set.
14230 * layout.h: Added bool pass_thru to layout class for being able to
14231 implement pass through of a paragraph for Literate Programming.
14233 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14234 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14235 * layout.C (Read): add "passthru" to list of layout tags and add
14236 code to set the pass_thru boolean when it is read.
14238 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14240 * trans_decl.h: remove allowed from KmodInfo
14242 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14243 remove allowed code
14246 * paragraph_pimpl.C (erase): use boost::prior
14248 * Painter.C (text): use data() instead of c_str() when length is
14250 * WorkArea.C (putClipboard): ditto
14251 * font.h (width): ditto
14253 * BufferView2.C: use it-> instead of (*it). for iterators
14255 * paragraph_pimpl.C: ditto
14256 * paragraph.C: ditto
14257 * minibuffer.C: ditto
14258 * language.C: ditto
14260 * encoding.C: ditto
14261 * counters.C: ditto
14262 * converter.C: ditto
14264 * Variables.C: ditto
14265 * TextCache.C: ditto
14266 * MenuBackend.C: ditto
14267 * LyXAction.C: ditto
14269 * FloatList.C: ditto
14270 * DepTable.C: ditto
14271 * ColorHandler.C (LyXColorHandler): ditto
14273 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14275 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14277 * text2.C (openStuff): reintroduce this method (which had been
14278 nuked in NEW_INSETS frenzy).
14280 * lyxfunc.C (Dispatch): when an action has not been handled, use
14281 its name in the error message, not its number.
14283 * paragraph.C (inInset): change method name to begin with lowercase.
14286 * text2.C: updates because of this.
14288 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14290 * ToolbarDefaults.C (add): add spaces in error message
14292 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14294 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14295 (readLyXformat2): rename return_par to first_par, use lyxlex's
14296 pushToken and remove the manual push handling.
14297 (parseSingleLyXformat2Token): add another ert comp. variable:
14298 in_tabular, rename return_par to first_par. handle newlines better
14300 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14302 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14304 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14306 * text2.C (getParFromID): removed
14308 * buffer.C (getParFromID): new method moved form lyxtext.
14309 * BufferView2.C (insertErrors): adjust
14310 (setCursorFromRow): adjust
14311 * BufferView_pimpl.C (restorePosition): adjust
14312 * lyxfunc.C (Dispatch): adjust
14313 * undo_funcs.C (textUndo): adjust
14315 (textHandleUndo): adjust
14316 (textHandleUndo): adjust
14318 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14320 * buffer.C: up' the LYX_FORMAT
14322 * lyxfont.h: turn NO_LATEX on as default
14324 * buffer.C (insertErtContents): new methods of tex style compability.
14325 (parseSingleLyXformat2Token): use it several places.
14326 * tabular.C (OldFormatRead): and here
14328 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14330 * text2.C: remove some commented code.
14333 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14334 * trans.C: changes because of the above.
14336 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14338 * text2.C (setCounter): Fix counters bug with bibliography layout.
14340 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14342 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14343 own member functions
14344 (simpleTeXSpecialChars): ditto
14346 2001-07-06 Juergen Vigna <jug@sad.it>
14348 * a lot of files: changed the access to LyXText::status and the
14349 call of undo-functions.
14351 * undo.[Ch]: added a inset_id to the undo informations.
14353 * undo_funcs.[Ch]: added and moved here all undo functions.
14355 * lyxtext.h: give the status enum a weight, made status_ a private
14356 variable and made accessor functions for it, removed the whole bunch
14357 of undo-functions as they are now in their own file, make some
14358 functions publically available. Added function ownerParagraph with
14361 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14362 made InInset() a const function, added getParFromID() function.
14364 * buffer.[Ch]: added const version for inset_iterator functions,
14365 added getInsetFromID() function.
14367 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14368 changed undo functions for new version.
14370 2001-07-05 Juergen Vigna <jug@sad.it>
14372 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14373 unknow mechanism does not call the proper constructor but only this
14374 one also if I request the other!?
14376 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14378 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14380 * text2.C (LyXText): use initialization lists.
14382 * lyxtext.h (Selection): initialize set_ and mark_
14383 (init): remove method
14385 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14387 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14389 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14391 * screen.[Ch]: change method names to begin with lowercase
14393 * BufferView_pimpl.C (updateScrollbar): simplify further and
14394 hopefully make it a bit faster.
14396 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14398 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14399 calling directly xforms functions.
14401 * Painter.C (Painter):
14402 * lyx_cb.C (MenuWrite):
14403 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14406 * lyx_gui.C: remove bogus guiruntime extern declaration.
14408 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14410 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14412 (redoDrawingOfParagraph): ditto
14413 (redoParagraphs): ditto
14414 (cutSelection): don't create a object for CutAndPaste use the
14415 static method directly
14416 (pasteSelection): ditto
14418 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14421 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14423 * modifications to some other files because of this.
14425 * Makefile.am (lyx_SOURCES): add XFormsView
14427 * XFormsView.[Ch]: new files
14429 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14430 the main window. Move the gui dependent stuff to XFormsView
14432 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14434 * tabular.C (GetCellInset): update cur_cell also in the row/col
14435 version of this function.
14437 * lyxfunc.C: no need to include figure_form.h here.
14443 * lyxvc.C: no need to include forms.h here.
14445 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14447 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14449 * lyxfunc.C (Dispatch):
14451 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14452 constructor argument.
14454 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14456 * paragraph.C (Paragraph): dont't clear, and just set layout.
14457 (makeSameLayout): use params's copy contructor.
14459 * ParagraphParameters.[Ch] (makeSame): delete method
14461 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14463 * Variables.[Ch]: fix indentation, rename set to isSet
14465 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14467 * lyxfunc.C (Dispatch): fix typo
14469 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14471 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14474 * bufferlist.C: include assert.h for emergencyWrite().
14476 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14478 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14479 give up at last (bug #425202) !
14481 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14487 * spellchecker.C: strip spellchecker options and bring up
14488 preferences tab instead
14490 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14492 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14493 the istringstream constructor
14495 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14497 * paragraph.C (getLayout): fix return value
14499 * paragraph.h: do not declare getLayout as inline.
14501 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14503 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14505 * lyxcursor.h (operator<): new func
14506 (operator>): new func
14507 (operator>=): new func
14508 (operator<=): new func
14510 * text.C (changeCase): use selection.start and selection.end
14511 (changeRegionCase): require from to be <= to. Require par to be a
14514 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14516 2001-06-27 Juergen Vigna <jug@sad.it>
14518 * text.C (cursorLeftOneWord): changed to return the cursor and added
14519 overlay with BufferView * parameter which calls this one.
14521 (selectWord): use new getWord function.
14522 (changeCase): renamed from changeWordCase as and extended to work
14523 also on selections.
14525 * lyxtext.h: added enum word_location
14527 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14528 changeCase as this operates now also on selections.
14530 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14532 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14534 * many files: send debug output to Debug::INFO instead of
14537 * converter.C (View):
14539 (Move): send debug output to Debug::FILES instead of console.
14541 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14543 * lyxfunc.C (getStatus): use func_status
14545 * func_status.h: new header, describing the results of
14546 LyXFunc::getStatus;
14548 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14551 2001-06-25 The LyX Project <jug@sad.it>
14553 * buffer.C (sgmlOpenTag):
14555 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14557 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14559 * text2.C: remove some dead code
14561 * tabular.C (GetCellInset): store the last cell checked (gotten)
14563 * tabular.h: add the helper for the speedup
14565 * lyxtext.h: remove some dead code
14567 2001-06-26 The LyX Project <Asger>
14569 * paragraph.C: Change export to LaTeX of alignment to
14570 \begin{center} and family for better roundtrip work with reLyX.
14572 * Tune the math drawing a bit.
14574 2001-06-25 The LyX Project <Asger>
14576 * LColor.C (LColor): New color for math background. New color
14579 2001-06-25 The LyX Project <jug@sad.it>
14581 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14583 * lyxfunc.C (Open):
14584 * bufferlist.C (newFile): do not restrict to files ending with
14587 * BufferView_pimpl.C (MenuInsertLyXFile):
14589 2001-06-24 The LyX Project <jug@sad.it>
14591 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14594 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14596 * lyxtext.h: rename most methods to begin with a small char.
14597 Lots of changes because of this.
14599 * paragraph.C (Paragraph): do not call fitToSize
14600 (erase): call Pimpl::erase
14601 (insertChar): call Pimpl::insertChar
14602 (insertInset): call Pipl::insertInset
14603 (breakParagraph): do not call fitToSize
14604 (breakParagraphConservative): do not call fitToSize
14605 (fitToSize): remove method
14607 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14609 2001-06-24 The LyX Project <Asger>
14611 * Fix Qt compilation^2
14613 2001-06-24 The LyX Project <jug@sad.it>
14615 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14616 depthHook(getDepth()-1).
14619 * ParagraphParameters.h:
14620 * ParameterStruct.h: change type of depth to unsigned int ==
14621 depth_type. Many adaptations to other files before of that.
14623 2001-06-24 The LyX Project <Asger>
14625 * Fix Qt compilation.
14627 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14629 * paragraph.h: renamed several methods to begin with small letter.
14630 several changes to many parts of the code because of this.
14632 2001-06-23 The LyX Project <jug@sad.it>
14634 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14635 rewritten to discard all double spaces when KeepEmpty is off
14636 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14637 to only handle newlines but not fiddle with spaces and friends.
14639 * lyxfunc.C (MenuNew): when doing 'new from template', use
14640 template_path as default directory
14642 2001-06-23 The LyX Project <Asger>
14644 * Clean-up of header file includes all over
14645 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14647 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14649 * paragraph.h: renamed from lyxparagraph.h
14651 2001-06-23 Asger <lyx@violet.home.sad.it>
14653 * Buffer.h: Removed Buffer::resize
14654 * BufferList.h: Removed BufferList::resize
14655 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14656 the document lazily when we change the width, or the font settings.
14658 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14660 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14662 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14664 * buffer.h: remove out of date comment
14666 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14669 * screen.C: fix "theoretical" GC leak
14671 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14673 * LaTeX.C (scanAuxFile):
14674 (deplog): remove trailing \r when reading stream (useful under
14677 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14679 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14680 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14681 and BufferView::theLockingInset(Inset*), so should use them and not
14682 access bv_->text->the_locking_inset directly.
14684 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14686 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14689 * tex-defs.h: remove old unused file
14691 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14693 * BufferView_pimpl.C: fix typo, remove minibuffer message
14694 when buffer has loaded
14696 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14698 * lyxfunc.C (Dispatch): use stringstream
14699 (MenuNew): use stringstream
14700 (Open): use stringstream
14702 * importer.C (Import): use stringstream
14704 * bufferview_funcs.C (CurrentState): use stringstream
14706 * LaTeX.C (run): use stringstream
14708 * BufferView_pimpl.C (savePosition): use stringstream
14709 (restorePosition): use stringstream
14710 (MenuInsertLyXFile): use stringstream
14712 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14725 * vspace.C: removed // -*- C++ -*- as first line.
14728 * version.h: added // -*- C++ -*- as first line.
14730 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14732 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14734 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14737 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14739 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14742 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14744 * gettext.C: include LString.h even when --disable-nls is on.
14746 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14748 * converter.h (Get): changed argument type from int to
14749 FormatList::size_type to avoid unnecessary conversion.
14751 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14754 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14756 * gettext.h: include LString.h even when --disable-nls is on.
14758 2001-06-07 Juergen Vigna <jug@sad.it>
14760 * text.C (BreakAgain): subst spaces with tabs.
14762 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14763 (resizeInsetsLyXText): set force on resizeLyXText.
14765 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14767 * gettext.h (gettext_init):
14768 (locale_init): use a real definition instead of a macro
14770 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14772 * Bufferview_pimpl.C:
14774 * LColor.C: further lcolor tidies
14776 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14778 * BufferView_pimpl.C (updateScrollbar): simplify.
14780 * BufferView2.C: don't include insets/insetinfo.h, change
14781 prototype for insertInset and call the Pimpl version. let
14782 updateInset call Pimpl version.
14784 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14785 gotoInset to BufferView::Pimpl
14787 2001-06-01 Juergen Vigna <jug@sad.it>
14789 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14790 inside a LockingInset (is the update needed at all?).
14792 2001-05-31 Juergen Vigna <jug@sad.it>
14794 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14795 here not the old one otherwise how should we compare it afterwards
14798 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14803 * FontInfo.C: bring C functions into global namespace when
14806 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14808 * LString.h: make sure config.h has been loaded before LString.h.
14810 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14811 (one for each char read by EatLine!).
14813 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14816 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14818 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14819 to the same as the par we break from
14821 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14823 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14825 * MenuBackend.C (expand): also create menu entries for wide
14826 versions of the floats.
14828 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14830 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14832 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14833 frontends/Makefile.am
14839 * tabular.C (getTokenValue): add std::
14841 * tabular-old.C (getTokenValue): add std::
14842 (getTokenValue): ditto
14843 (getTokenValue): ditto
14845 * screen.C (ToggleSelection): adjust
14847 * lyxtext.h: put selection cursors inside a Selection struct.
14849 * lyxfunc.C (moveCursorUpdate): adjust
14851 * lyxfont.C (latexWriteStartChanges): add std::
14853 * lyxfind.C: adjust
14855 * font.h: delete with(char const *, LyXFont const &)
14857 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14859 * FontInfo.C (getFontname): add std::
14861 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14862 (workAreaButtonPress): adjust
14863 (tripleClick): adjust
14865 (moveCursorUpdate): adjust
14868 * BufferView2.C (gotoInset): adjust
14870 2001-05-30 Juergen Vigna <jug@sad.it>
14872 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14873 to check pspell I add this as default as I now have new pspell
14874 libraries and they seem to use this.
14876 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14878 * text2.C (CutSelection): make the cursor valid before the call to
14881 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14883 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14884 relied on 0 terminated strings and other horrors. Bug found due to
14885 the new assert in lyxstring!
14887 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14890 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14892 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14895 * lyxfunc.C (processKeySym): change method of getting to the
14898 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14899 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14900 * BufferView_pimpl.[Ch]: here as private methods.
14902 2001-05-28 Juergen Vigna <jug@sad.it>
14904 * text.C (SetHeightOfRow): added the update() call again as it is
14905 needed to initialize inset dimensions!
14907 2001-05-16 Juergen Vigna <jug@sad.it>
14909 * text2.C (SetCharFont): Add new function with BufferView * and
14910 bool toggleall parameters for setting insets internal fonts.
14911 (SetFont): Freeze the undo as we may change fonts in Insets and
14912 all this change should be inside only one Undo!
14914 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14915 setting font's in insets as for them we have the SetFont function!
14917 2001-05-15 Juergen Vigna <jug@sad.it>
14919 * text2.C (ClearSelection): to be sure we REALLY don't have any
14922 * tabular.C (TeXCellPreamble): fixed the left border problem for
14925 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14927 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14930 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14932 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14933 LFUN_BREAKPARAGRAPH.
14935 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14936 help test to "internal only", similar for LFUN_INSERT_URL
14938 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14939 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14940 auto_region_delete and deadkeys.
14942 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14945 * LColor.C: remove some dead entries, tidy a little
14947 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14949 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14951 (Dispatch): implement LFUN_ESCAPE
14953 * commandtags.h: add LFUN_ESCAPE
14955 * LyXAction.C (init): add entry for LFUN_ESCAPE
14957 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14958 Remove commented code.
14959 (insertNote): moved here
14960 (open_new_inset): moved here
14962 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14965 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14967 * kbmap.C (findbinding): clean it up and make it work correctly.
14969 * lyx_main.C (init): do not pass argc and argv as parameters
14971 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14973 * buffer.C: fix path for OS/2 & Win32
14977 * lyx_main.C: Added os:: class.
14979 * os2_defines.h: update
14981 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14983 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14984 better by trying again with reduced state.
14986 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14988 * lyxrc.C (read): print error about invalid key sequence only when
14989 debugging (because not all latinX keysyms are known to some X
14992 * kbsequence.C (getiso): add a few std:: qualifiers
14993 (getiso): comment out extra return statement.
14995 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14997 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14999 (Dispatch): enhance the accent inset a bit. (not perfect)
15001 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
15003 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
15005 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15007 * bufferlist.C (emergencyWrite): fix assert() call
15009 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
15011 * text.C (InsertChar): Added trivial patch to only send the "you
15012 can not do multiple spaces this way" message once during a
15015 2001-05-08 Baruch Even <baruch@lyx.org>
15017 * Makefile.am: Changed order of libraries to get LyX to link properly
15018 with the gnome frontend.
15020 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15022 * LaTeXFeatures.h: add a std:: qualifier
15024 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
15026 * paragraph.C (String): use stringstream
15028 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
15030 * paragraph.C (writeFile): remove footflag arg
15032 * buffer.C (makeLaTeXFile): use stringstream
15033 (latexParagraphs): remove footnot gurba
15035 * LaTeXFeatures.C (getPackages): use stringstream
15036 (getMacros): likewise
15037 (getTClassPreamble): likewise
15038 (getFloatDefinitions): new method
15040 * paragraph.C (writeFile): reindent
15043 * WorkArea.h: revert the xpos + etc changes.
15045 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
15047 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15049 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15050 (pasteSelection): likewise
15051 * text2.C (CreateUndo): likewise
15053 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15055 * minibuffer.C (peek_event): temporarily reduce the functionality
15056 of the minibuffer (to allow args on lfuns)
15058 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15059 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15061 * buffer.C (readInset): add compability reading of old float
15062 lists, add reading of new style float list.
15063 (readInset): avoid reevaluation of inscmd.getCmdName()
15064 (getLists): reindent
15066 * MenuBackend.C (MenuItem): implement parsing of
15067 md_floatlistinsert and md_floatinsert.
15068 (expand::LastFiles): move initalizaton of iterators out of loop,
15069 avoid reevaluation.
15070 (expand::Documents): introduce typdedef vector<string> Strings,
15072 (expand::ExportFormats): introduce typedef vector<Format const *>
15073 Formats, and use it.
15074 (expand): implement FloatListInsert and FloatInsert.
15076 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15077 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15078 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15080 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15082 (Dispatch::LFUN_FLOAT_LIST): implement
15084 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15086 * LaTeX.C (run): Fix problem with --export code.
15088 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15090 * BufferView.[Ch] (workarea): removed.
15091 (getClipboard) new method; wrapper for workarea()->getClipboard()
15093 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15096 * WorkArea.h (width, height, xpos, ypos): These methods all
15097 returned the dimensions of the work_area sub-area of WorkArea,
15098 resulting in a position error if the WorkArea were resized. Now
15099 return the dimensions of the entire WorkArea.
15101 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15103 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15105 * LaTeX.C (deplog): correct the syntax of regex reg1
15107 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15109 * undo.C: remove !NEW_INSETS cruft
15111 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15113 * text2.C: remove !NEW_INSETS cruft
15115 * text.C: remove !NEW_INSETS cruft
15117 * tabular.C: remove !NEW_INSETS cruft
15119 * spellchecker.C: remove !NEW_INSETS cruft
15121 * lyxtext.h: remove !NEW_INSETS cruft
15123 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15125 * lyxfunc.C: remove !NEW_INSETS cruft
15127 * lyxfind.C: remove !NEW_INSETS cruft
15129 * lyx_cb.C: remove !NEW_INSETS cruft
15131 * figureForm.C: remove !NEW_INSETS cruft
15133 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15135 * buffer.[Ch]: remove !NEW_INSETS cruft
15137 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15139 * CutAndPaste.C: remove !NEW_INSETS cruft
15141 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15143 * BufferView2.C: remove !NEW_INSETS cruft
15145 * BufferView.h: remove !NEW_INSETS cruft
15147 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15149 * Lsstream.h: include LString.h before the sstream headers to
15150 fix problem with gcc 2.95.3 and lyxstring
15152 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15154 * lyx_main.C: add using directives when needed for C functions
15155 declared in std:: namespace.
15157 2001-04-27 Juergen Vigna <jug@sad.it>
15159 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15160 (SetHeightOfRow): comment out the update call should not be needed!
15162 2001-04-13 Juergen Vigna <jug@sad.it>
15164 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15165 (LyXTabular): tried to minimize operator= operations (and realized
15166 hopfully Lars wish).
15168 2001-04-27 Juergen Vigna <jug@sad.it>
15170 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15172 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15174 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15176 * buffer.C (readInset): hack to make listof algorithm work
15178 * BufferView_pimpl.C: hack to make listof algorithm work
15180 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15182 * LyXAction.C: removed all !NEW_INSETS cruft
15183 (init): moved lfun_item in method
15185 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15187 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15189 * BufferView2.C (theLockingInset): white space.
15191 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15193 * minibuffer.C: include <iostream>
15195 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15197 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15199 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15201 * text.[Ch] (TransposeChars): new method
15203 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15205 * call message directly through LyXView instead of through LyXFunc
15206 * BufferView2.C: adjust
15207 * BufferView_pimpl.C: adjust
15208 * FontLoader.C: adjust
15210 * bufferview_funcs.C: adjust
15211 * converter.C: adjust
15212 * figureForm.C: adjust
15213 * importer.C: adjust
15215 * lyx_gui_misc.C: adjust
15216 * lyxfunc.C: adjust
15219 + more files in subdirs
15221 * lyxparagraph.h (size): move up int file
15224 * adjust all uses of Assert to lyx::Assert.
15226 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15227 lyxfunctional in namespace lyx
15228 * layout.C (hasLayout): ditto
15231 (delete_layout): ditto
15232 (NumberOfClass): ditto
15233 * converter.C (GetFormat): ditto
15238 * bufferlist.C (getFileNames): ditto
15239 (emergencyWriteAll): ditto
15242 * MenuBackend.C (hasSubmenu): ditto
15245 * BufferView_pimpl.C (getInsetByCode): ditto
15247 2001-04-18 Juergen Vigna <jug@sad.it>
15249 * vspace.C (asLatexString): fixed the 100% problem.
15251 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15253 * lyxfunc.C (Dispatch):
15255 * minibuffer.h: add a few std:: qualifiers
15257 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15259 * minibuffer.[Ch]: reimplement so that commands is initiated and
15260 run from lyxfunc, simplified som handling, and made the completion
15261 and history code for complete. wip.
15263 * lyxfunc.C (processKeySym): call message
15264 (miniDispatch): new temporary method
15265 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15266 (LFUN_MESSAGE): implement
15267 (LFUN_MESSAGE_PUSH): implement
15268 (LFUN_MESSAGE_POP): implement
15269 (initMiniBuffer): the initial/defualt minibuffer message.
15271 * lyxfont.[Ch]: inline some more getters
15273 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15275 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15277 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15278 (AutoSave): use LFUN_MESSAGE
15279 (Reconfigure): ditto
15281 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15283 * figureForm.C: use LFUN_MESSAGE
15285 * converter.C (runLaTeX): use LFUN_MESSAGE
15287 * bufferview_funcs.C: use LFUN_MESSAGE
15289 (changeDepth): ditto
15291 * bufferparams.h: use boost::
15293 * bufferlist.h: inherit privately from noncopyable
15295 * bufferlist.C (loadLyXFile): remove some commented code.
15297 * buffer.C (runChktex): use LFUN_MESSAGE
15299 * ShareContainer.h: inherit privately from noncopyable
15301 * ParagraphParameters.[hC] (depth): inline it.
15303 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15305 (message): new method
15306 (messagePush): ditto
15307 (messagePop): ditto
15308 (show): init minibuffer
15309 (showState): direct call
15311 * LaTeX.[Ch]: inherit privately from noncopyable
15312 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15313 instead of WriteStatus.
15315 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15317 * BufferView_pimpl.C (buffer): don't init minibuffer
15318 (workAreaButtonPress): use LFUN_MESSAGE
15319 (workAreaButtonRelease): ditto
15320 (savePosition): ditto
15321 (restorePosition): ditto
15322 (MenuInsertLyXFile): ditto
15323 (workAreaExpose): don't init minibuffer
15324 (update): remove commented code, simplify
15326 * BufferView2.C (openStuff): use LFUN_MESSAGE
15327 (toggleFloat): ditto
15330 (copyEnvironment): ditto
15331 (pasteEnvironment): ditto
15336 (updateInset): remove some commented code
15338 * lastfiles.h: inherit privately from noncopyable
15341 * lyx_main.h: ditto
15343 * lyxlex_pimpl.h: ditto
15345 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15346 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15347 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15349 * LyXAction.h: inherit privately from noncopyable, add methods
15350 func_begin, func_end, returning iterators to the func map.
15352 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15353 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15354 (func_begin): new method
15355 (func_end): new method
15357 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15359 (copySelection): ditto
15360 (pasteSelection): ditto
15362 * BufferView.C: whitespace change
15363 * BufferView.h: inherit privately from noncopyable
15365 2001-04-16 Allan Rae <rae@lyx.org>
15367 * tabular-old.C (l_getline):
15368 * spellchecker.C (sc_check_word):
15369 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15370 an unrecognised preprocessor directive. So ensure they're wrapped.
15372 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15374 * src/exporter.C (Export): Give an error message when path to file
15377 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15379 * LaTeX.C (deplog): Always check that foundfile exists.
15381 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15384 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15386 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15388 * tabular.[Ch] (getLabelList): implement new method
15390 * minibuffer.h: comment ouf setTiimer
15392 * minibuffer.C (ExecutingCB): constify res
15393 (peek_event): constify s
15394 (Set): constify ntext
15395 (Init): constify nicename
15397 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15399 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15400 (savePosition): use two params to Minibuffer::Set
15401 (restorePosition): ditto
15403 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15405 * lyx_main.C: include language.h
15407 * Makefile.am (lyx_main.o): add language.h
15409 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15415 * CutAndPaste.C: include gettext.h
15417 * lyxfont.h: remove old hack with ON and OFF.
15420 * lyxfont.h: do not include language.h...
15425 * bufferview_funcs.C:
15431 * paragraph.C: ... but do it here instead
15433 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15435 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15437 * tabular.C: small reformat
15439 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15442 (BreakParagraph): ditto
15443 (SetOnlyLayout): ditto
15446 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15449 * lastfiles.C: removed most using decl, add std:: where needed
15451 * buffer.C: ws changes
15453 * MenuBackend.C (class compare_format): put into anon namespace
15454 (expand): constify label, names, action, action2
15457 * text.C (SingleWidth): constify font
15458 (IsBoundary): constify rtl2
15459 (GetVisibleRow): constify ww
15461 * LaTeX.C (deplog): constify logfile
15463 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15465 (workAreaExpose): constify widthChange, heightChange
15467 * lyxrow.C (par): moved
15470 * lyxrow.h: as inlines here
15472 * lyxfont.h (shape): moved from lyxfont.C
15473 (emph): moved from lyxfont.C
15475 * lyxfont.C (LyXFont): use initialization list for all
15477 (shape): move to lyxfont.h as inline
15478 (emph): move to lyxfont.h as inline
15481 2001-04-04 Juergen Vigna <jug@sad.it>
15483 * vspace.C: had to include stdio.h for use of sscanf
15485 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15488 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15489 independent of xforms.
15491 2001-04-02 Juergen Vigna <jug@sad.it>
15493 * spellchecker.C: fixed namespace placing!
15495 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15497 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15498 the LyXParagraph * is 0.
15500 2001-03-29 Juergen Vigna <jug@sad.it>
15502 * vspace.C: added support for %, c%, p%, l%.
15503 (stringFromUnit): added helper function.
15504 (asLatexString): changed to give right results for the %-values.
15506 * buffer.C: convert the widthp in a width%.
15508 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15510 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15513 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15514 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15516 * lyx_cb.[Ch]: see above.
15518 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15522 * lyx.[Ch]: replaced by figure_form.[Ch].
15526 * lyxfunc.C: changed headers associated with above changes.
15528 2001-03-27 Juergen Vigna <jug@sad.it>
15530 * BufferView_pimpl.C: set the temporary cursor right!
15532 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15534 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15536 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15538 * LString.h: removed "using std::getline"!
15540 * BufferView_pimpl.C (Dispatch): changes due to changes in
15541 InsetInclude::Params.
15543 * buffer.C (tag_name): removed redundant break statements as they were
15544 producing lots of warnings with my compiler.
15546 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15548 * LString.h: add "using std::getline" when using the real <string>.
15550 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15552 * buffer.C: removed bitset usage.
15553 PAR_TAG moved to an anonymous name space.
15554 (tag_name): new funtion, also in the anonymous namespace.
15555 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15556 (makeDocBookFile): clean code. Completed transition from string arrays
15558 (SimpleDocBookOnePar): code clean.
15560 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15562 * tabular.C: add some comments.
15564 2001-03-22 Juergen Vigna <jug@sad.it>
15566 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15567 compatibility read a bit and fixed bug with minipage in different
15570 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15572 * buffer.C (pop_tag): removed.
15573 (push_tag): removed.
15574 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15575 array replaced with vector. Added support for CDATA sections.
15576 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15578 (makeDocBookFile): XML conformant declaration of CDATA section,
15579 fixed bug related to <emphasis> in the first paragraph char.
15580 (sgmlOpenTag): exclude empty tags.
15581 (sgmlCloseTag): ditto.
15583 * buffer.h (pop_tag): removed.
15584 (push_tag): removed.
15586 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15588 * language.h (Languages): added size_type and size().
15590 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15592 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15593 response on compability reading of minipages. One probliem is that
15594 the old usage of minipages was «flertydig»
15596 * several files here and in subdirs: don't use static at file
15597 scope use anon namespaces instead.
15599 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15601 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15602 LaTeX output. This is necessary for Literate document
15605 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15607 * buffer.C: insert hfill when needed.
15609 * tabular.C (l_getline): use string::erase, small whitespace change.
15611 * BufferView_pimpl.C: try the anon namespace.
15612 * WorkArea.C: ditto
15614 2001-03-16 Juergen Vigna <jug@sad.it>
15616 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15617 otherwise it won't open options-dialogs.
15619 * buffer.C: honor pextraWidth(p) on converting minipages.
15621 * tabular.C (l_getline): changed the functions to strip trailing \r.
15623 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15625 * BufferView_pimpl.C:
15626 * minibuffer..C: added "using SigC::slot" declaration.
15628 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15630 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15636 * paragraph.C: ditto
15638 * lyxtext.h: NO_PEXTRA
15640 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15642 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15643 * ParameterStruct.h: ditto
15644 * ParagraphParameters.h: ditto
15645 * lyxparagraph.h: ditto
15647 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15649 * buffer.C: add compability for minipage alignment.
15650 (latexParagraphs): remove unwanted pextra check.
15652 * several files: remove CXX_WORKING_NAMESPACES
15654 * buffer.C (pop_tag): tie is in namespace boost
15656 * BufferView.h: noncopyable is in namespace boost
15658 * lyx_main.h: ditto
15661 * lastfiles.h: ditto
15662 * bufferlist.h: ditto
15663 * ShareContainer.h: ditto
15665 * LyXAction.h: ditto
15668 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15670 * Merging changes from BRANCH_MVC back into HEAD.
15672 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15674 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15676 * BufferView_pimpl.C: change from intl.C
15680 * Makefile.am: move combox.*
15686 * intl.C: remove dialog (covered by prefs)
15688 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15690 * lyxfunc.C (Dispatch): removed redundant break statement.
15692 2001-03-14 Juergen Vigna <jug@sad.it>
15694 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15696 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15698 * buffer.C: add hack to fix compability reading of minipages.
15700 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15702 * buffer.C (getLists): Cleanup.
15704 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15706 * lyxfont.C (update): don't honor toggleall on font size.
15708 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15712 * Makefile.am: moved to frontends/xforms/
15716 * BufferView_pimpl.C: changes for moved mathpanel
15718 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15720 * gettext.h: fix gettext_init() in --disable-nls
15722 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15724 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15726 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15729 * lyx.h: strip external form
15731 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15733 * BufferView_pimpl.C: add comment, destroySplash()
15735 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15737 * BufferView_pimpl.C:
15741 * lyxfunc.C: use re-worked insetinclude
15743 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15745 * buffer.C: add using std::stringstream.
15747 * lyx_cb.C: readd using std::ios.
15749 * buffer.C: add using std::map.
15751 * BufferView_pimpl.C: add using std::vector.
15753 * ShareContainer.h: add std:: to swap.
15755 * buffer.h: add some typedefs
15756 * buffer.C (getLists): use them
15757 (getLists): renamed from getTocList.
15758 add a counter for the different float types and use it in the
15760 (getLists): use the same counter for the NEW_INSETS and the "non"
15763 * lyx_cb.h: remove unused items, includes, using etc.
15765 * ShareContainer.h: remove some commented code, add more comments
15766 and "documentation".
15768 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15770 * buffer.C (getTocList): make the list also when NEW_INSETS is
15773 * buffer.h: remove TocType
15775 * buffer.C (getTocList): change to return a map<string,
15776 vector<TocItem> >, implement for dynamic number of list.
15778 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15779 * text2.C (PasteSelection): adjust
15780 * CutAndPaste.C (pasteSelection): adjust
15782 * FloatList.C (FloatList): update from the new_insets branch.
15783 * Floating.[Ch]: ditto
15784 * LaTeXFeatures.C: ditto
15786 * lyxlex_pimpl.C: ditto
15788 * paragraph.C (Last): remove when NEW_INSETS is defined.
15790 * other file: changes because of the above.
15792 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15794 * lyxparagraph.h: rename next to next_, previous to previous_,
15795 make them private for NEW_INSETS. Rename Next() to next(),
15796 Previous() to previous().
15798 * other files: changes because of the above.
15800 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15803 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15806 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15808 * main.C (main): pass lyx_localedir to gettext_init().
15810 * gettext.h: remove locale_init and gettext_init macros
15812 * gettext.C (locale_init): new function
15813 (gettext_init): new function
15815 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15818 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15820 * Moved credits to frontends:
15821 * credits.[Ch]: removed
15822 * credits_form.[Ch]: removed
15823 * lyx_gui_misc.C: remove credits stuff
15826 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15828 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15830 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15831 unneeded destructor.
15833 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15834 a standalone pointer again.
15836 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15838 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15844 * ToolbarDefaults.C:
15853 * BufferView_pimpl.C: use new file dialog in GUII
15856 * lyx_cb.C: remove LayoutsCB to Toolbar
15858 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15860 * ShareContainer.h (get): add std:: qualifier
15862 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15864 * ShareContainer.h: define a proper ShareContainer::value_type
15865 type (and use typename to please compaq cxx)
15867 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15869 * lyxparagraph.h: move serveral local vars to
15870 ParameterStruct/ParagraphParameters., use ShareContainer in
15871 FontTable., make vars in FontTable private and add getter and
15874 * paragraph.C: changes because of the above.
15876 * lyxfont.h: remove copy constructor and copy assignment. (the
15877 default ones is ok), move number inside FontBits. move inlines to
15880 * lyxfont.C: add number to initializaton of statics, move several
15881 inlines here. constify several local vars. some whitespace
15882 cleanup. Dont hide outerscope variables.
15884 * Spacing.h: add two new constructors to match the set methods.
15886 * ShareContainer.h: new file, will perhaps be moved to support
15888 * ParameterStruct.h: new file
15890 * ParagraphParameters.h: new file
15892 * ParagraphParameters.C: new file
15894 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15895 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15897 * BufferView_pimpl.C: ParagraphParameter changes.
15898 * buffer.C: Likewise.
15899 * bufferview_funcs.C: Likewise.
15900 * text.C: Likewise.
15901 * text2.C: Likewise.
15903 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15905 * lyxfind.C (LyXReplace): do not redefine default argument in
15907 (IsStringInText): ditto
15908 (SearchForward): ditto
15909 (SearchBackward): ditto
15911 2001-03-06 Juergen Vigna <jug@sad.it>
15913 * lyxfind.C (IsStringInText): put parentes around expressions.
15915 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15917 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15919 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15921 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15923 * stl_string_fwd.h: add comment
15925 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15928 * tabular.C: remove unused DocBook methods
15934 killed DO_USE_DEFAULT_LANGUAGE
15936 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15938 * lyx_gui.C: do not include language.h.
15940 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15941 arguments in function implementation.
15943 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15945 * BufferView_pimpl.C: add <ctime>
15947 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15949 * BufferView_pimpl.C: add using std::find_if
15951 2001-02-27 José Matos <jamatos@fep.up.pt>
15953 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15956 2001-02-11 José Matos <jamatos@fep.up.pt>
15958 * buffer.C (makeDocBookFile): command styles now have a parameter as
15959 "title" by default.
15961 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15963 * layout_forms.[Ch]: removed
15964 * lyx_cb.[Ch]: out character
15965 * lyx_gui.C: out character
15966 * lyx_gui_misc.C: out character
15967 * bufferview_funcs.C: : out character,
15968 added toggleall as parameter in ToggleAndShow
15970 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15972 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15974 * text2.C (SetCurrentFont): Disable number property at boundary.
15976 2001-02-26 Juergen Vigna <jug@sad.it>
15978 * lyxfunc.C (getStatus): added a string argument override function so
15979 that this is correctly called from LyXFunc::Dispatch if it contains a
15980 do_not_use_argument which is used!
15981 (Dispatch): added check for "custom" export and call appropriate func.
15983 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15985 * lyxrc.C: Add language_command_local, language_use_babel and
15986 language_global_options.
15988 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15990 * buffer.C (makeLaTeXFile): Use language_use_babel and
15991 language_global_options.
15993 2001-02-23 Juergen Vigna <jug@sad.it>
15995 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15996 which works with LyXText and putted it inside BufferView. Here now we
15997 only call for that part the BufferView::Dispatch() function.
15999 * BufferView.C (Dispatch): added.
16001 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
16002 functions which needs to use a LyXText over from LyXFunc.
16003 (MenuInsertLyXFile): added
16004 (getInsetByCode): added
16005 (moveCursorUpdate): added
16006 (static TEXT): added
16008 2001-02-22 Juergen Vigna <jug@sad.it>
16010 * BufferView_pimpl.C (update): call a status update to see if LyXText
16013 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
16015 * vc-backend.C (revert): implement for CVS
16016 (getLog): implement for CVS
16018 2001-02-20 Juergen Vigna <jug@sad.it>
16020 * text2.C (ClearSelection): added BufferView param for inset_owner call
16022 * lyxfunc.C (TEXT): added this function and use it instead of
16023 directly owner->view()-text of getLyXText().
16025 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
16027 * src/layout_forms.C: out preamble
16028 * src/layout_forms.h: out preamble
16029 * src/lyx_cb.C: out preamble
16030 * src/lyx_cb.h: out preamble
16031 * src/lyx_gui.C: out preamble
16032 * src/lyx_gui_misc.C: out preamble
16033 * src/lyxfunc.C: connect with guii preamble
16035 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
16037 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
16039 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
16041 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
16042 whether to run bibtex.
16044 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
16046 * Makefile.am (lyx_SOURCES): Remove BackStack.h
16048 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16050 * Makefile.am (lyx_SOURCES): removed bibforms.h
16052 * vspace.h: doxygen
16054 * text.C (GetVisibleRow): make several local vars const
16056 * tabular.C: small cleanup.
16058 * lyxserver.C (callback): use compare instead of strncmp
16060 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16061 inlines to after class or to paragraph.C
16063 * lyxfont.h: remove friend operator!=
16065 * converter.h: move friend bool operator< to non friend and after
16068 * combox.h: small cleanup
16070 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16071 to inlines after class def.
16073 * buffer.C (pop_tag): use string operations instead of strcmp
16075 * bmtable.c: doxygen, small cleanup
16077 * LaTeX.h: remove friend operator==
16079 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16091 * BufferView_pimpl.C:
16092 * BufferView.[Ch]: remove cruft
16094 2001-02-14 Juergen Vigna <jug@sad.it>
16096 * lyxfunc.C: removed #if 0 unused code
16098 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16100 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16102 * text2.C (SetSelection): added a BufferView * parameter
16104 2001-02-13 Juergen Vigna <jug@sad.it>
16106 * lyxfunc.C (Dispatch): fixed protected blank problem.
16107 * BufferView2.C (protectedBlank): added LyxText * parameter.
16109 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16110 (AppendColumn): same as above for column_info.
16112 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16113 (moveCursorUpdate): use a LyXText param for support of InsetText.
16115 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16116 (tripleClick): ditto
16118 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16120 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16122 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16124 * text2.C (SetSelection): set correct update status if inset_owner
16125 (ToggleFree): ditto
16127 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16129 * tabular.C: remove some commented code.
16131 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16133 * BufferView_pimpl.C: call hideSplash()
16135 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16138 * bibforms.h: remove
16141 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16142 add LFUN_CHILD_CREATE
16144 * counters.h: fix tiny typo
16149 * lyx.C: move splash to frontends/xforms/
16151 * lyx_gui_misc.C: move Include and Bibform to frontends
16153 * lyxvc.h: clarify comment
16155 * vspace.C: tiny housekeeping
16157 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16159 * text.C (PrepareToPrint): RTL Fix.
16161 * paragraph.C (GetUChar): New method.
16162 (String): Use GetUChar.
16164 * buffer.C (asciiParagraph): Use GetUChar.
16166 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16168 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16170 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16173 * buffer.C: rename to getLogName(), handle
16174 build log / latex log nicely
16176 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16179 * MenuBackend.h: remove support for reference menuitem type.
16181 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16183 * BufferView_pimpl.C: housekeeping
16184 * BufferView_pimpl.h:
16189 * minibuffer.h: move Timeout GUI-I
16191 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16193 * lyxrc.C (read): Update converters data-structures.
16195 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16197 * LaTeX.h (operator!=): add operator != for Aux_Info
16199 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16201 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16203 * LaTeXLog.C: deleted, useful code moved to Buffer
16206 * buffer.C: new function getLatexLogName()
16212 * lyxfunc.C: use frontends for LaTeX and VC logs
16214 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16216 * LaTeX.h: yet another std:: that Allan forgot.
16218 * Variables.C (set): renamed from isset(), because this clashes
16219 with some HP-UX macros (grr).
16221 2001-02-06 Allan Rae <rae@lyx.org>
16223 * LaTeX.h: Another bug fix. Missing std:: this time.
16225 2001-02-04 Allan Rae <rae@lyx.org>
16227 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16228 floats problem. I've left it commented out because it's not quite
16229 correct. It should also test that the current object is a table or
16230 figure inset. But I haven't gotten around to figuring out how to do
16231 that. I *think* it'll be something like: "table" == inset.type()
16233 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16236 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16238 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16239 all the citation/databases/styles in the auxilary file.
16240 (run): Rerun latex if there was a babel language error.
16242 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16244 * text.C (Backspace): Preserve the font when changing newline char
16246 (BreakParagraph): If the cursor is before a space, delete the space.
16248 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16250 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16252 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16253 new argument (code).
16254 (ChangeCitationsIfUnique): New method.
16256 * paragraph.C (GetPositionOfInset): Handle bibkey.
16258 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16260 * BufferView_pimpl.h: change type of Position::par_pos to
16261 LyXParagraph::size_type.
16263 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16265 * BufferView_pimpl.C (savePosition, restorePosition): Write
16266 messages to minibuffer.
16268 2001-01-28 José Matos <jamatos@fep.up.pt>
16270 * buffer.C (makeDocBookFile): adds support for document language.
16271 A silly restriction on the name of LatexCommand types where removed.
16272 Added support for CDATA sections, allows to chars unescaped, used
16273 among others in code, to avoid escape < and >.
16275 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16277 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16278 saved positions instrad of a stack. Furthermore, a position is
16279 stored using paragraph id/paragraph position.
16281 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16282 Remove LFUN_REF_BACK.
16284 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16286 * converter.C (dvipdfm_options): New method.
16288 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16290 * vspace.C (isValidLength): Fix for empty input string.
16292 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16294 * LyXAction.C (init): change description of LFUN_FIGURE to
16297 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16299 * LaTeX.C: add using directive
16301 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16303 * MenuBackend.C (expand): Fix the sorting of the formats.
16305 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16307 * lyx_main.C: tiny error message fix
16309 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16311 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16312 calling fl_initialize(). This fixes the problem with ',' as
16313 decimal separator in text files.
16315 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16317 * trans.C (process): Fix the keymap bug.
16319 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16321 * LaTeX.C (scanAuxFiles): New method. Provides support for
16322 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16323 (scanLogFile) Scan for "run BibTeX" messages.
16325 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16326 OT1 font encoding. Also, load the aecompl package if the ae
16329 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16331 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16333 * texrow.C (increasePos): turn two error messages into debug
16336 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16338 * LaTeX.C (scanAux): Handle the \@input macro.
16339 (runBibTeX): Use scanAux().
16341 * language.C (latex_options_): New field.
16343 * LaTeXFeatures.C (getMacros): Add language macros.
16345 * buffer.C (makeLaTeXFile): Small fix.
16347 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16349 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16351 * text2.C: add a using directive.
16353 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16358 * lyxfunc.C: kill LyXBell.
16360 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16362 * text.C (IsBoundary): Remove the error message
16364 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16366 * lyxrc.C (setDefaults): Correct initialization value for
16369 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16371 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16374 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16375 and GotoNextNote().
16377 * src/LyXAction.C: Added reference-next.
16379 * text.C (InsertChar): Use contains instead of strchr.
16381 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16383 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16385 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16386 alignment commands (when needed).
16388 * text.C (InsertChar): Add ':' to number separator chars.