1 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
3 * buffer.C, lyxlex_pimpl.C:
4 * lyxlex_pimpl.C (setFile):
5 s/getExtFromContents/getFormatFromContents/
7 2004-10-28 José Matos <jamatos@lyx.org>
9 * output_docbook.C (makeEnvironment): move id to broadest possible scope.
11 * sgml.C (openTag): apply substitution of <> for all attribuites.
13 2004-10-28 José Matos <jamatos@lyx.org>
15 * buffer.C (makeLinuxDocFile, makeDocBookFile):
16 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
17 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
19 * sgml.[Ch]: new version for open and closeTag for paragraph and
20 for strings. Now they handle the ids of paragraphs.
22 2004-10-26 Angus Leeming <leeming@lyx.org>
24 * Makefile.am: add mover.[Ch].
26 * converter.C (convert, move): use the new Movers to move external
27 files to the temp directory.
29 * lyx_main.C (init): ensure that the global system_movers data
32 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
35 * mover.[Ch]: new files, defining a Mover as a utility to move an
36 external file between directories and, if necessary, manipulate this
37 file using a helper script.
39 2004-10-25 José Matos <jamatos@lyx.org>
41 * output_docbook.C (makeCommand): merge two if's that tested the same condition.
43 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
45 * sgml.C (escapeString): fix warning in a better way
47 2004-10-25 José Matos <jamatos@lyx.org>
49 * sgml.C (escapeString): import the require boosts header file for
50 tie, and avoid a signed unsigned comparison.
52 2004-10-25 José Matos <jamatos@lyx.org>
54 * sgml.h: add #include <string>
56 2004-10-25 José Matos <jamatos@lyx.org>
58 * sgml.[Ch] (escapeString): new function to escape all the string.
60 2004-10-24 José Matos <jamatos@lyx.org>
62 * paragraph.[Ch] (getFirstWord): new function to get the first
63 word. Useful for description.
64 (simpleDocBookOnePar): remove depth argument, add another that
65 says where to start the paragraph.
67 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
68 use the new functions to fix cleanly the support for descriptions.
70 2004-10-24 José Matos <jamatos@lyx.org>
72 * buffer.C (makeLinuxDocFile, makeDocBookFile):
73 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
74 * output_linuxdoc.C (linuxdocParagraphs):
75 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
76 add buffer as argument.
78 2004-10-24 José Matos <jamatos@lyx.org>
80 * output_docbook.C (makeEnvironment, searchEnvironment): place
81 CDATA inside paragraphs and fix scope for listitems.
83 2004-10-24 José Matos <jamatos@lyx.org>
85 * output_docbook.C: remove using statement for stack.
87 2004-10-23 José Matos <jamatos@lyx.org>
89 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
90 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
91 docbook. The new scheme is recursive and makes use of iterators, the
92 same as latex export works.
93 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
94 directly with the paragraph contents. This code was moved up to
95 output_docbook.C (docbookParagraphs).
96 * sgml.C (openTag, closeTag): removed unneeded newlines.
97 (closeEnvTags) removed.
99 2003-10-23 André Pönitz <poenitz@gmx.net>
101 * undo.C (textUndoOrRedo):
102 * dociterator.C (asDocIterator): work around crash
104 * cursor.C (getStatus): replace ASSERT by more verbose error message
105 and manual correction of the problem. Should increase stability
106 while providing more sensible information.
108 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
110 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
112 * bufferlist.C (previous, next): new methods
115 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
117 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
119 * buffer.C (makeDocBookFile): add dsssl stylesheet control
120 entities to preamble.
122 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
124 * messages.C (Pimpl): strip off translation context information
126 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
128 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
129 the cursor is correct (bug 1694)
131 2004-10-13 José Matos <jamatos@lyx.org>
133 * output_docbook.C (docbookParagraphs): fix closing tags in the
136 2004-10-09 José Matos <jamatos@lyx.org>
138 * buffer.C: format up to 237.
139 * bufferparams.C (write): use tostr to convert booleans to strings.
141 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
143 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
145 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
147 * LaTeX.C: implement use of babel language in xindy.
149 2004-10-05 José Matos <jamatos@lyx.org>
151 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
152 Add new translators to help reading and writing the lyx file.
154 2004-10-05 José Matos <jamatos@lyx.org>
156 * ParagraphParameters.C (read):
157 * text.C (readParToken): replace nexToken by more appropriate lex
160 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
162 * LaTeX.C (runMakeIndex):
163 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
164 (usually 'makeindex') configurable.
166 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
167 with a variable rather than with a number.
169 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
171 * output_latex.C (TeXOnePar): make sure font setting is the first
172 thing that gets output (and the last at the end). Should fix bug
175 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
177 * pch.h: use proper signal include
179 * LaTeX.h: Use preferred calling of Boost.Signal
182 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
184 * pch.h: dont include <boost/function/function0.hpp>
186 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
188 * paragraph_pimpl.h: remove usage of ShareContainer
190 * paragraph_pimpl.C: remove initialization of ShareContainer.
192 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
196 * BufferView.C (putSelectionAt): change the semantics when
197 backwards == true: now, this just swaps cursor and anchor wrt the
200 * BufferView.h (putSelectionAt): add some documentation
202 * lyxfind.C (findBackwards): rewrite using while(). In particular,
203 make sure backwardChar is done at least once (to avoid getting
205 (findNextChange): use putSelectionAt in the forward direction
206 (operator()): use Paragraph::isWord
208 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
210 * Spacing.C (set): c_str fix
212 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
214 * lyx_cb.C (Reconfigure): quote the name of configure script in
215 case it contains spaces
217 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
221 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
222 (BOOST_LIBS): use top_buildir when looking for the file
224 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
226 * pch.h: do not use include boost/format.hpp, multiple symbols
227 will result (gcc bug)
230 2004-08-23 José Matos <jamatos@lyx.org>
232 * bufferparams.C (readToken): fix reading of the author field.
234 2004-08-20 José Matos <jamatos@lyx.org>
236 * lyxrc.C: remove support/translator.h inclusion since it is not used.
238 2004-08-20 José Matos <jamatos@lyx.org>
240 * lyxlex.[Ch] (findToken): remove function.
242 * ParagraphParameters.C (findToken):
243 * bufferparams.C (findToken): replace call for previous function
244 with local copy. This local function has one more argument, the
245 read string argument.
247 2004-08-16 José Matos <jamatos@lyx.org>
249 * ParagraphParameters.C (write):
250 * Spacing.C (writeFile):
251 * bufferparams.C (writeLaTeX):
252 * lyx_cb.C (Reconfigure):
253 * paragraph.C (write):
254 * tabular.C (write): remove unnecessary space at end of line.
257 2004-08-16 José Matos <jamatos@lyx.org>
259 * text.C (readParagraph): remove debug message.
261 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
263 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
266 * output_plaintext.C (asciiParagraph): set depth correctly
268 * outputparams.h: add member depth
270 * paragraph_funcs.C (ownerPar): remove.
272 * text2.C (setCounter): remove first_pit; comment out some
273 non-working code that uses ownerPar
275 * BufferView.C (getParentLanguage): remove. Not used anymore, and
278 2004-08-16 José Matos <jamatos@lyx.org>
280 * text.C (readParToken, readParagraph, read): report all unknown tokens.
281 For the same level of importance use the same chanel to report problems.
282 (read): add code to deal with \begin_body and \end_body.
285 2004-08-15 José Matos <jamatos@lyx.org>
287 * lyxlex.C (getString): fix comment, buffer::readBody is now
290 * tex-strings.C (string_papersize): Default -> default,
291 Custom -> custom, for consistency with other options.
293 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
297 * Makefile.am: support pch
299 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
301 * text.C (readParToken): remove the static LyXFont variable and
302 pass it as a parameter instead. This fixes a nasty bug where an
303 inset will be inserted with a bad font in some situations
304 (readParagraph): adapt
306 * text2.C (setCounter): reduce number of calls to pars_[pit]
308 * text.C (singleWidth): add an assert, fix a test
310 * rowpainter.C (paintText): reduce number of calls to singleWidth
312 * paragraph.C (isHfill):
315 2004-08-14 André Pönitz <poenitz@gmx.net>
320 * lyxtext.h (several functions): use a Paragraph & argument
323 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
325 * metricsinfo.h: add a new field ltr_pos to PainterInfo
327 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
329 * text.C (singleWidth): remove useless test
331 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
333 * tabular.h: remove bogus comments
335 * tabular.C (getDescentOfRow):
336 (isPartOfMultiColumn): add assertions
338 * lyxlength.C (inPixels): remove #warning
340 2004-08-14 André Pönitz <poenitz@gmx.net>
342 * paragraph.h: inline getChar()
344 * BufferView.h: remove unused declarations
346 2004-08-14 José Matos <jamatos@lyx.org>
348 * Buffer.[Ch] (readDocument): new name for old readBody.
349 * Buffer.C: new file format, new keywords: \begin_document,
350 \begin_header, \begin_body, \end_body.
352 * bufferparams.C (readToken): replace all calls to lex.nextToken
353 by lex.next(). Do the same to eatLine except where really needed.
355 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
356 line when writing to the lyx file.
358 * output_plaintext.C (asciiParagraph): fix Bibliography style
361 * text.C (read): fix end of file handling.
363 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
365 * MenuBackend.C (Menu::operator[]): new method to access
366 individual menu items
367 (Menu::hasFunc): new method. search for an item that corresponds
369 (MenuBackend::specialMenu): new method
370 (MenuBackend::expand): if a special menu has been set, skip
371 entries whose func() appears in this menu
373 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
375 * text3.C: use Debug::DEBUG a bit more
377 * text.C (leftMargin): try to simplify a tiny bit change var x to
378 l_margin. Dont output the wide margins always.
379 (rightMargin): no margin in inner texts
381 * rowpainter.h (nestMargin): new func
382 (changebarMargin): new func
383 (rightMargin): new func
385 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
389 * factory.C (createInset): modify setDrawFrame
391 * cursor.C: use Debug::DEBUG a bit more
393 2004-08-14 André Pönitz <poenitz@gmx.net>
396 * Makefile.am: new files to accomodate an 'external' (x,y)-position
397 cache for all insets in (at least partially) visible (top-level)
400 * BufferView_pimpl.C: reset external coord cache before every update.
401 This means the coord cache only contains valid entries.
403 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
406 * BufferView_pimpl.C (getInsetByCode): move function out of class
407 and change in to a template in anon namespace. Also fix to do what
410 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
413 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
415 (breakParagraph): rename par to par_offset and use a local
416 reference. Add code to keep the language over a rebreak.
417 (breakParagraphConservative): rename par to par_offset, use a
419 (mergeParagraph): ditto
421 (isFirstInSequence): ditto
422 (outerFont): rename pit to par_offset
424 * paragraph.C: ws change
429 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
431 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
434 * paragraph.C (simpleTeXOnePar): when we have a \item with
435 optional argument, enclose the argument with curly brackets (in
436 case it contains a closing square bracket)
440 * text3.C (checkInsetHit): constify
442 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
444 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
447 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
449 Fix toggling of collapsable insets with the mouse (bug 1558)
451 * lyxfunc.C (dispatch): adapt to LCursor changes
453 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
454 make sure that dispatch is not invoked twice
456 * cursor.C (needsUpdate): new method
457 (dispatch): return void
458 (result): new method, to access the DispatchResult of the cursor.
460 2004-08-13 José Matos <jamatos@lyx.org>
462 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
464 2004-08-13 André Pönitz <poenitz@gmx.net>
466 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
468 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
471 2004-08-12 André Pönitz <poenitz@gmx.net>
473 * text3.C: take out the 'cursor right' form insertInset and only
474 do it in those places when it is really needed. Fixes crash on
477 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
479 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
481 * BufferView_pimpl.C (setBuffer): initialize the current font of
482 the underlying LyXText
484 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
486 * kbsequence.C (print): use UI native formatting for menu
489 * text.C (insertChar): call Paragraph::insertChar with a font
492 * paragraph.C (insertInset, insertChar): the version that takes a
493 LyXFont argument is now a wrapper around the other one (the
494 opposite used to be true).
496 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
497 argument. Font setting is done in Paragraph now.
499 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
501 * outputparams.h: add new members intitle and lang.
503 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
504 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
506 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
508 * text3.C (dispatch): remove special handling of button 4 and 5,
509 it is now taken care of in the frontend code.
511 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
513 * Spacing.h: add <string> (STLPort compile fix)
515 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
517 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
519 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
521 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
524 * converter.C (showMessage): inherit from unary_function, make
527 * buffer.C (writeFile): initialize retval
529 * InsetList.h: rename private variable list to list_
530 * InsetList.[Ch]: adjust accordingly.
532 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
534 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
535 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
536 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
537 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
538 * ParagraphParameters.C, LaTeXFeatures.C: replace
539 "support/std_sstream.h" with <sstream>
541 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
543 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
544 * lyxsocket.C (LyXServerSocket): ditto
545 (serverCallback): ditto
547 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
549 * LaTeXFeatures.C: check release date when loading jurabib.
551 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
553 * lyxserver.C (startPipe): call register_socket_callback
554 (endPipe): call unregister_socket_callback
556 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
558 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
559 (LyXServerSocket): register the callback
560 (LyXServerSocket): unregister the callback
561 (fd): delete function
562 (serverCallback): improve error checking and setup the callbacks.
563 (dataCallback): change arg to fd.
564 (writeln): new func (copied fro the client socket) used for server
566 (LyXDataSocket): simplify
567 (~LyXDataSocket): close ann unregiser callback
568 (server): delete function
569 (fd): delete function
570 (readln): small changes, improve some std::string usage
571 (writeln): constify a bit
573 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
575 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
578 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
580 * BufferView_pimpl.C (setBuffer): set the layout combox value only
581 after it has been populated
583 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
585 * text2.C (insertInset): move cursor when inserting inset.
587 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
589 * kbmap.C (findbindings): a couple of new methods. returns a
590 container of kb_sequence objects. The real work is done by the
591 private recursive version
592 (printbindings): uses findbindings to print out a bracketed list
593 of bindings (renamed from findbinding).
595 * MenuBackend.C (binding): use kb_keymap::findbindings
597 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
599 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
601 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
603 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
605 * paragraph.C (isWord): return true on insets that report
608 * text.C (getWord): use Paragraph::isWord to decide what is in a
609 word and what is not; fix bug 1609.
611 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
613 * tex-strings.C: add "none" to string_paperpackages[], fixes
614 off-by-one-error in the paperpackage selection.
617 * tex-strings.[Ch]: char const * string[n]
618 -> char const * const string[]
620 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
622 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
623 command, return early.
625 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
627 * debug.h: add DEBUG to enum and fix size of ANY.
629 * debug.C: add support for Debug::DEBUG
630 (showTags): cast errorTags.level to unsigned int
632 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
633 (redoCurrentBuffer): ditto
634 (updateScrollbar): ditto
635 * cursor.C (dispatch): ditto
636 * text2.C (setLayout): ditto
638 (updateCounters): ditto
640 (deleteEmptyParagraphMechanism): ditto
642 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
644 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
645 annotations to cleanup the Makefile slightly.
647 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
649 * lyxrc.C: do not set user_email to a default value but use empty
650 instead. The entry used to be translated, which does not work
651 since at the point where lyxrc is constructed there is no
652 translation service available
654 * messages.C (getLocaleDir): remove and use directly
655 lyx_localedir() instead
657 2004-06-02 Angus Leeming <leeming@lyx.org>
659 Fix crash caused by dereferencing null pointer 'exportdata' in
660 OutputParams by creating a new ExportData variable on the heap,
661 storing it in a boost::shared_ptr.
662 The crash was triggered when generating an Instant Preview
663 of an external inset.
665 * Makefile.am: add outputparams.C
667 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
668 (c-tor): allocate memory to it.
670 * exporter.C (c-tor): associated changes.
672 2004-06-01 Angus Leeming <leeming@lyx.org>
674 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
675 contains data before calling isInset(0). (Bug 1513.)
677 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
679 * exporter.C (checkOverwrite): new method
680 * exporter.C (copyFile): new method
681 * exporter.C (Export): copy referenced files to the document dir
682 * exporter.[Ch]: new class ExportedFile
683 * exporter.[Ch]: new class ExportData. Contains currently the
684 names of referenced external files
685 * outputparams.h: add exportdata member.
687 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
689 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
692 2004-05-19 Angus Leeming <leeming@lyx.org>
697 * lyxfunc.C: small changes due to the introduction of namespace
698 lyx::frontend and the moving of namespace biblio to lyx::biblio.
700 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
702 * text3.C (dispatch): supress update when only moving the cursor
703 * cursor.C (selHandle): remove commented code
705 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
707 * paragraph.C (startTeXParParams): correct column count
708 * CutAndPaste.C (pasteSelection): remove const_cast
709 * output_docbook.C (docbookParagraphs): remove const_cast
710 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
711 const_cast and return ParagraphList::const_iterator
712 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
713 * output_plaintext.C (writeFileAscii): remove const_cast
714 * paragraph.[Ch] (simpleTeXOnePar): make const
715 * paragraph_funcs.C (outerPar): use const iterators
716 * paragraph_pimpl.C (validate): use const iterators
717 * text.C (setHeightOfRow): use const iterators
719 2004-05-17 Angus Leeming <leeming@lyx.org>
722 * LyXAction.C (init): new LFUN_INSET_REFRESH.
724 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
725 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
726 if the citation engine has changed.
728 2004-05-14 José Matos <jamatos@lyx.org>
730 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
731 if the textclass does not provide it. Have it different for sgml and
733 support the language of document.
734 * output_docbook.C (docbookParagraphs):
735 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
736 first anchor as the id of the paragraph, remove special case code.
737 * sgml.C (escapeChar): escape only < & >.
739 2004-05-14 Angus Leeming <leeming@lyx.org>
741 * bufferparams.h: move biblio::CiteEngine enum here to minimize
742 dependencies on src/frontends/controllers/biblio.h. Define a
743 CiteEngine_enum wrapper class to enable the enum to be forward
746 2004-05-12 Angus Leeming <leeming@lyx.org>
748 * buffer.C: up LYX_FORMAT to 234.
749 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
750 use_numerical_citations with a single biblio::CiteEngine cite_engine
752 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
754 2004-05-13 José Matos <jamatos@lyx.org>
757 * converter.C (Converter, readFlags): add xml member.
758 * outputparams.h: add XML flavor.
759 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
761 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
763 * lyxfunc.C (dispatch):
764 (getStatus): fix handling of LFUN_SEQUENCE
766 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
768 * debug.C (showLevel): do not forget the end-of-line marker
770 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
772 * kbmap.C (read): do not stop parsing a bind file when an error
775 2004-04-29 Angus Leeming <leeming@lyx.org>
780 * text2.C: wrap a bunch of #warning statements
781 inside #ifdef WITH_WARNINGS blocks.
783 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
785 * buffer.C: increment format to 233.
787 2004-04-28 Angus Leeming <leeming@lyx.org>
789 * BufferView_pimpl.C:
792 s/updateToolbar()/updateToolbars()/
793 s/Toolbar.h/Toolbars.h/
795 2004-04-28 Angus Leeming <leeming@lyx.org>
797 * BufferView.[Ch] (c-tor):
798 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
799 No longer passes these data to the WorkArea generator.
801 2004-04-28 Angus Leeming <leeming@lyx.org>
803 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
805 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
807 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
809 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
811 * output_latex.C (TeXEnvironment): make sure that there is a line
812 break before \end{foo} for the last paragraph of a document
813 (TeXOnePar): if the paragraph is at the end of the document (or
814 inset) and the language has to be reset, then make sure that the
815 line break is _before_ the language command, not after (fixes bug
816 1225); also make sure that the language reset command is the first
817 thing after the paragraph (to ensure proper nesting of
818 environments and thus fix bug 1404)
820 2004-04-21 John Levon <levon@movementarian.org>
823 * ToolbarBackend.C: make "name" be a programmatic name
824 and a gui_name field.
826 * lyxfunc.C: display the minibuffer on M-x
828 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
830 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
833 2004-04-19 Angus Leeming <leeming@lyx.org>
835 * BufferView_pimpl.C (setBuffer): changed preview interface.
837 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
840 2004-04-19 John Levon <levon@movementarian.org>
842 * BufferView_pimpl.C:
843 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
845 2004-04-05 Angus Leeming <leeming@lyx.org>
847 * text.C (redoParagraphs): add call to updateCounters(), thereby
848 fixing the missing "Figure #:" label from the caption of a
851 2004-04-13 Angus Leeming <leeming@lyx.org>
853 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
854 cursor is clicked out of an inset.
856 2004-04-13 Angus Leeming <leeming@lyx.org>
858 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
859 than an InsetOld one.
861 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
863 * format.[Ch]: add editor to Format
864 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
865 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
867 2004-04-08 André Pönitz <poenitz@gmx.net>
869 * metricsinfo.h: remove PainterInfo::width member
871 2004-04-08 Angus Leeming <leeming@lyx.org>
873 * lyx_sty.C (boldsymbol_def): modify so that it outputs
874 "\providecommand" rather than "\newcommand", thereby preventing
875 clashes with packages that define "\boldsymbol" themselves.
878 2004-04-08 Angus Leeming <leeming@lyx.org>
880 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
881 thereby squashing an unnecessary warning.
883 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
885 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
888 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
890 * BufferView.C (setCursor): call redoParagraph (some insets could
892 (putSelectionAt): remove the 'double update' trick
894 * BufferView_pimpl.C (fitCursor): call refreshPar
895 (workAreaDispatch): remove an uneeded update call
896 (dispatch): remove some manual update calls
898 * cursor.[Ch]: remove cached_y_, updatePos
899 (selHandle): set noUpdate when appropriate
901 * lyxfunc.C (dispatch): track if we need an update
903 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
905 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
906 (paintSelection): cheap optimization, do not call cursorX when not
908 (paintPars): change signature
911 (paintTextInset): adjust
915 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
917 * lengthcommon.C: compilation fix: remove explicit array size from
918 unit_name[] and friends
920 2004-04-05 Angus Leeming <leeming@lyx.org>
922 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
924 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
925 present only for the preferences dialog.
926 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
928 2004-04-05 Angus Leeming <leeming@lyx.org>
930 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
931 to enable the frontends to export changes to lyxrc correctly.
933 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
935 2004-04-07 André Pönitz <poenitz@gmx.net>
937 * cursor.[Ch] (selClear, adjust): remove math
939 * cursor_slice.C: more agressive assert
942 * BufferView_pimpl.C: rework mouse event dispatch
949 2004-04-05 André Pönitz <poenitz@gmx.net>
951 * cursor.[Ch] (valign, halign...): remove unneeded functions
953 2004-04-05 Angus Leeming <leeming@lyx.org>
955 * lyxlength.[Ch] (unit_name et al.): const-correct.
957 2004-04-05 Angus Leeming <leeming@lyx.org>
959 * BufferView_pimpl.C:
968 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
970 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
972 * text3.C (getStatus): add LFUN_BEGINNINGBUF
974 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
976 * lyxfind.C: add a couple of inTexted() tests + other small fixes
977 * BufferView_pimpl.[Ch] (getStatus)
978 * BufferView.[Ch] (getStatus): add
979 * lyxfunc.C (getStatus): move lfuns handled in
980 BufferView::dispatch to te function above
981 * Cursor.C (setSelection): set selection() = true
983 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
985 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
987 2004-03-31 Angus Leeming <leeming@lyx.org>
989 * lyxfunc.C (dispatch): Fall through to the generic
990 Dialogs::show("preamble").
992 2004-03-31 Angus Leeming <leeming@lyx.org>
994 * lyxfunc.C (dispatch): Fall through to the generic
995 Dialogs::show("spellchecker").
997 2004-03-31 Angus Leeming <leeming@lyx.org>
999 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1002 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1007 * insetiterator.[Ch]:
1012 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1014 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1016 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1017 insets where we are putting the cursor.
1019 2004-03-31 Angus Leeming <leeming@lyx.org>
1022 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1024 * lyxrc.[Ch] (read, write): overloaded member functions taking
1025 a std::[io]stream arguments.
1027 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1029 2004-03-31 Angus Leeming <leeming@lyx.org>
1031 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1032 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1034 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1035 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1037 2004-03-31 Angus Leeming <leeming@lyx.org>
1039 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1040 the LFUN_ALL_INSETS_TOGGLE code.
1042 2004-03-30 Angus Leeming <leeming@lyx.org>
1044 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1045 has died. Fall through to the generic Dialogs::show("document").
1047 2004-03-30 Angus Leeming <leeming@lyx.org>
1050 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1051 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1053 * lyxfunc.C (getStatus, dispatch): define the actions for these
1054 lfuns. Little more than a cut and pste job from ControlDocument.C
1056 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1058 2004-03-30 Angus Leeming <leeming@lyx.org>
1061 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1062 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1064 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1065 open/closed state of ollapsable insets. Usage:
1067 all-inset-toggle <state> <name>, where
1068 <state> == "open" || "closed" || "toggle" and
1069 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1071 * lyxtext.h, text2.C (toggleInset): removed.
1073 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1074 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1075 now passes LFUN_INSET_TOGGLE to the found inset.
1077 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1078 is now invoked as "all-insets-toggle toggle branch".
1080 2004-03-30 Angus Leeming <leeming@lyx.org>
1084 * pariterator.[Ch]: added/corrected header blurb.
1086 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1088 * dociterator.[Ch]: add an inset_ member
1089 (backwardPos): implemented
1090 (backwardPos, forwardPos): use inset_ when the stack is empty.
1091 (doc_iterator_begin, doc_iterator_end): implemented
1092 * pariterator.[Ch]: adjust, add begin, end
1093 * insetiterator.[Ch]: adjust, add begin, end
1097 * BufferView_pimpl.C:
1098 * CutAndPaste.C: adjust
1100 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1102 * buffer.C: increment file format to 232.
1103 * LaTeXFeatures.C: add bibtopic package.
1104 * bufferparams.[Ch]: param \use_bibtopic.
1106 * lyxrc.[Ch]: add lyxrc bibtex_command
1107 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1109 * buffer.C: increment file format to 231.
1111 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1113 * dociterator.C: implement forwardPar
1114 * iterators.[Ch]: remove, replaced by
1115 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1117 * BufferView_pimpl.C:
1120 * bufferview_funcs.C:
1126 * Makefile.am: adjust
1128 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1130 * CutAndPaste.C (pasteSelection): fix 2 crashes
1131 (eraseSelection): fix a crash
1132 * paragraph_funcs.C: remove a warning
1134 2004-03-28 Angus Leeming <leeming@lyx.org>
1137 * LyXAction.C (init): new LFUN_PRINT.
1139 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1141 2004-03-27 Angus Leeming <leeming@lyx.org>
1144 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1146 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1148 2004-03-27 Angus Leeming <leeming@lyx.org>
1150 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1151 insetlist always contains non-null pointers to insets.
1153 2004-03-26 Angus Leeming <leeming@lyx.org>
1155 * src/BufferView_pimpl.C:
1156 * src/CutAndPaste.C:
1159 * src/output_plaintext.C:
1160 * src/outputparams.h:
1161 * src/paragraph_funcs.C:
1165 * src/frontends/controllers/ControlErrorList.C:
1166 * src/frontends/gtk/FileDialogPrivate.C:
1167 * src/frontends/gtk/GPainter.C:
1168 * src/frontends/gtk/GToolbar.C:
1169 * src/frontends/qt2/QRef.C:
1170 * src/mathed/math_scriptinset.C: squash compiler warnings.
1172 2004-03-26 Angus Leeming <leeming@lyx.org>
1174 * ispell.C (LaunchIspell::start):
1175 * lyx_cb.C (AutoSaveBuffer::start):
1176 invoke run(DontWait) rather than runNonBlocking().
1178 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1180 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1182 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1184 * kbsequence.C (print): adjust
1186 * kbmap.C (printKeySym): rename and change signature
1187 (printKey): use LyXKeySym::print()
1189 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1191 * undo.C: add using std::advance to compile for stlport
1193 2004-03-24 Angus Leeming <leeming@lyx.org>
1195 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1196 it leads to a crash when no buffer is present.
1198 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1199 Martin Vermeer <martin.vermeer@hut.fi>
1201 * lyxfunc.C (dispatch):
1202 * bufferparams.C (readToken): use the new LColor::setColor
1204 * LColor.[Ch] (setColor): new version that takes two strings as
1205 argument and creates a new color entry if necessary
1207 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1209 * buffer.C (makeLaTeXFile): if the main latex file that is
1210 processed is usually a subdocument of some master, then pretend
1211 for a while that it is actually the master
1213 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1215 * buffer.C (getLabelList):
1216 (getBibkeyList): use getMasterBuffer()
1217 (getMasterBuffer): new method. Returns the main document in the
1218 case where one is using included documents.
1220 2004-03-25 André Pönitz <poenitz@gmx.net>
1224 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1226 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1228 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1229 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1231 * ParameterStruct.h: merge with ParagraphParameters
1233 * lyxtext.h: remove LyXText::parOffset() and getPar()
1235 * text3.C: Remove all 'manual' update calls. We do now one per user
1236 interaction which is completely sufficient.
1240 * BufferView_pimpl.C:
1241 * FontIterator.[Ch]:
1243 * ParagraphParameters.[Ch]:
1248 * cursor_slice.[Ch]:
1255 * output_docbook.[Ch]:
1256 * output_latex.[Ch]:
1257 * output_linuxdoc.[Ch]:
1258 * output_plaintext.[Ch]:
1260 * paragraph_funcs.[Ch]:
1261 * paragraph_pimpl.[Ch]:
1269 * frontends/controllers/ControlDocument.C:
1270 * frontends/controllers/ControlErrorList.C:
1271 * frontends/controllers/ControlSpellchecker.C:
1274 * insets/insetbase.h:
1275 * insets/insetbibitem.C:
1276 * insets/insetbox.C:
1277 * insets/insetbranch.C:
1278 * insets/insetcaption.C:
1279 * insets/insetcharstyle.C:
1280 * insets/insetcharstyle.h:
1281 * insets/insetcollapsable.C:
1282 * insets/insetcollapsable.h:
1283 * insets/insetert.C:
1284 * insets/insetfloat.C:
1285 * insets/insetfoot.C:
1286 * insets/insetmarginal.C:
1287 * insets/insetnote.C:
1288 * insets/insetoptarg.C:
1289 * insets/insettabular.C:
1290 * insets/insettext.C:
1291 * insets/insettext.h:
1292 * insets/insetwrap.C:
1293 * mathed/math_mboxinset.C:
1294 * mathed/math_nestinset.C:
1295 * mathed/math_scriptinset.C:
1296 * mathed/math_scriptinset.h:
1299 2004-03-24 Angus Leeming <leeming@lyx.org>
1301 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1302 deal with any child processes that have finished but are waiting to
1303 communicate this fact to the rest of LyX.
1305 2004-03-24 Angus Leeming <leeming@lyx.org>
1307 64-bit compile fixes.
1309 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1310 (c-tor): pass lyx::pos_types rather than ints.
1312 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1315 * text.C (Delete): compile fix.
1316 (getPar): ensure that function declaration is the same as that in
1319 2004-03-23 Angus Leeming <leeming@lyx.org>
1321 * ispell.C (LaunchIspell):
1322 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1323 a boost::shred_ptr rather than a std::auto_ptr.
1325 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1327 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1328 handle LFUN_FILE_INSERT_*
1330 * lyxrc.C (setDefaults, getDescription, output, read):
1331 * lyxrc.h: remove ps_command
1333 2004-03-22 Angus Leeming <leeming@lyx.org>
1335 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1336 Ensure that error_handler is processed once only and that all data
1337 is saved before attempting to output any warning messages.
1339 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1341 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1343 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1345 2004-03-19 André Pönitz <poenitz@gmx.net>
1347 * cursor.[Ch] (reset): take main text inset as argument
1349 * BufferView: adjust
1350 * BufferView_pimpl.C: adjust
1352 * paragraph.[Ch]: fix completely broken operator=()
1354 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1356 * LColor.C (getFromLyXName): make sure that the color name is used
1359 2004-03-17 Angus Leeming <leeming@lyx.org>
1362 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1364 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1365 dialog and to kill a forked process.
1367 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1369 * text2.C (setCursorFromCoordinates): fix font problem
1371 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1373 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1374 bogus "rebuild cursor" code
1376 2004-03-11 André Pönitz <poenitz@gmx.net>
1378 * buffer.[Ch]: use InsetText instead of LyXText as container for
1381 * dociterator.[Ch]: drop the BufferView * member which is not needed
1382 anymore after the change to buffer.C
1384 * paragraph_funcs.C:
1388 * BufferView_pimpl.[Ch]:
1390 * cursor_slice.[Ch]: adjust
1392 * text3.C: fix bug in mathDispatch
1394 2004-03-08 André Pönitz <poenitz@gmx.net>
1396 * undo.[Ch]: use 'StableDocumentIterator' as base for
1399 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1402 * bufferparams.[Ch]: add jurabib support and param.
1404 * LaTeX.C: add FIXME/comment.
1406 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1408 * buffer.C: increment file format to 230.
1410 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1412 * cursor.C (dispatch): avoid infinite loops
1414 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1416 * rowpainter.C (paintSelection): fix x coordinates
1418 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1420 * text.C (rowBreakPoint): fix breaking before displayed insets
1422 2004-03-01 André Pönitz <poenitz@gmx.net>
1424 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1426 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1430 * BufferView_pimpl.C:
1438 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1444 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1445 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1447 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1449 * Bidi.[Ch] (computeTables): const correctness
1450 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1451 fill_hfill, fill_label_hfill and x from Row
1452 * lyxtext.h: prepareToPrint returns a RowMetrics
1453 * rowPainter.C: adjust
1454 * text.C (prepareToPrint): use width, not textWidth. adjust
1455 (redoParagraphInternal, cursorX): adjust
1456 * text2.C (getColumnNearX): adjust
1457 (init): put a default value to the top LyXText::width
1459 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1461 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1463 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1465 * lyxtext.h: add FontIterator class
1467 * text.C (FontIterator, operator*, operator->, operator++): add
1468 (rowBreakPoint, setRowWidth): adjust (fixing a
1471 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1473 * BufferView_pimpl.C (workAreaDispatch): allow also
1474 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1476 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1478 * text.C (rowBreakPoint): fix a bug showing with very large insets
1480 2004-02-25 André Pönitz <poenitz@gmx.net>
1483 * cursor.[Ch]: move some mathed specific code to mathed
1485 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1487 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1488 use_tempdir in preferences
1489 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1491 * lyx_main.C: ensure that tempdir is valid
1492 * lyxlex.h: correct typo
1493 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1494 * paragraph.[Ch] (isMultiLingual): make const
1495 * cursor.[Ch] (openable): make const
1497 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1499 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1501 2004-02-20 André Pönitz <poenitz@gmx.net>
1503 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1505 * cursor.[Ch]: prepare for localized getStatus()
1511 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1513 2004-02-20 André Pönitz <poenitz@gmx.net>
1515 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1517 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1519 * text2.C (setCursorFromCoordinates): switch to absolute coords
1521 (cursorDown): adjust
1522 * text3.C (dispatch): adjust
1524 2004-02-16 André Pönitz <poenitz@gmx.net>
1526 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1529 * cursor_slice.[Ch]: remove unneeded acessor function
1531 * lyxtext.h: rename rtl() to isRTL()
1539 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1541 * rowpainter.C (paintSelection): coord fix
1543 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1545 * Spacing.C: compile fix
1547 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1549 * cursor.C (dispatch): restore current_ before returning
1551 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1553 * text2.C (cursorUp, cursorDown): fix coords
1556 2004-02-12 André Pönitz <poenitz@gmx.net>
1561 * text3.C: add LCursor & parameter to most cursor movement functions
1562 remove usage of LyXText::cursorRow() and cursorPar()
1564 * cursor.[Ch]: add textRow() needed members
1567 * BufferView_pimpl.C:
1570 * BufferView_pimpl.C: adjust
1572 2004-02-11 André Pönitz <poenitz@gmx.net>
1576 * BufferView_pimpl.C: shift undo/redo handling
1578 * cursor.[Ch]: fix mathed crash
1581 * lyxtext.h: move selectionAsText to LCursor
1589 * rowpainter.C: fix excessive drawing
1591 2004-02-06 André Pönitz <poenitz@gmx.net>
1594 * BufferView_pimpl.[Ch]:
1595 * text3.C: move some text specific LFUN handling
1597 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1599 * text3.C (checkInsetHit): adjust coords
1600 * text2.C (getColumnNearX): adjust coords
1601 (edit): adjust coords
1602 * text.C (getRowNearY): add two asserts
1604 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1607 * format.C: add using std::distance to compile on gcc 2.95/stlport
1609 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1611 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1613 2004-02-04 André Pönitz <poenitz@gmx.net>
1615 * BufferView.[Ch] (insertInset):
1616 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1621 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1623 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1624 on the default clause of the switch
1625 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1626 wasn't catched by LCursor::dispatch
1628 2004-02-03 André Pönitz <poenitz@gmx.net>
1631 * cursor.[Ch]: some additional asserts
1633 * undo.[Ch]: remove LyXText dependency in interface
1637 * lyxtext.h (firstPar, lastPar): remove dead functions
1642 * paragraph.[Ch]: adjust
1644 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1646 * lyxfind.C (find): fix argument order in call to ::find
1648 2004-02-02 André Pönitz <poenitz@gmx.net>
1650 * cursor.[Ch]: remove direct access to anchor
1652 * text.C: remove findText() hack
1654 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1656 * iterators.[Ch] (lockPath): remove in favour of...
1657 * BufferView.[Ch] (setCursor): this addition
1658 * BufferView.C (putSelectionAt): adjust
1659 * undo.C (performUndoOrRedo): adjust
1660 * lyxfunc.C (dispatch): adjust
1662 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1664 * iterators.C (lockPath): add a missing slice
1665 * undo.C (performUndoOrRedo): remove redundant positioning code
1667 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1669 * vc-backend.C (scanMaster): ";" -> ';'
1671 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1673 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1674 std::binary_function
1676 * lyxtextclass.C (compare_name): rename to...
1677 (LayoutNamesEqual): ...this
1679 * lyxlex_pimpl.C (compare_tags): inherit from
1680 std::binary_function, put back into anon namespace
1682 * lyxfind.C (MatchString): inherig from std::binary_function
1683 (findChange): use empty() istead of !size()
1685 * format.C (FormatNamesEqual): new functor
1692 * converter.C (compare_Converter): rename to...
1693 (ConverterEqual): ...this, and fixup a bit.
1694 (getConverter): use it, and make function const
1695 (getNumber): use it, and make function const
1699 * bufferlist.C: add using boost::bind
1701 * MenuBackend.C (MenuNamesEqual): new functor
1702 (hasMenu): use it, and make function const
1703 (hasSubmenu): use nested bind to get rid of compare_memfun.
1705 2004-01-30 André Pönitz <poenitz@gmx.net>
1707 * BufferView_pimpl.C:
1710 * cursor_slice.[Ch]:
1713 * paragraph_funcs.C:
1714 * paragraph_funcs.h:
1718 * text3.C: move some of the edit(x,y) handling to the insets
1719 some coordinate changes.
1721 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1723 * text.C: add using statements for std::advance and std::distance
1725 * paragraph.C: add using statement for std::distance
1727 * lyxfind.C: add using statement for std::advance
1729 * cursor.C (region): remove std:: from swap
1730 (openable): use nucleus in stead of operator->
1732 * BufferView.C: add using statements for std::distance and std::swap
1734 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1736 * iterators.C: Remove the pimple, move the needed structures to
1737 the header file. Create accessor for the positions stack.
1738 (asPosIterator): remove function
1740 * PosIterator.C (PosIterator): move constructors to top of file
1741 (PosIterator): reimplement the constructor taking a ParIterator in
1743 (setFrom): new function
1744 (operator!=): inline it
1746 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1748 * lyxfind.C (replaceAll): use std::advance
1750 * iterators.h: inherit from std::iterator.
1752 * PosIterator.C (advance, distance): remove
1753 * PosIterator.h: interit from std::iterator.
1755 2004-01-26 André Pönitz <poenitz@gmx.net>
1758 * BufferView_pimpl.[Ch]:
1762 * bufferview_funcs.C:
1772 * output_linuxdoc.C:
1773 * output_plaintext.C:
1775 * paragraph_funcs.[Ch]:
1776 * paragraph_pimpl.[Ch]:
1782 * text3.C: more IU: dumps most of the rest of the mathcursor
1783 implementation into cursor.[Ch]; "globalize" a bit of it.
1785 2004-01-25 Angus Leeming <leeming@lyx.org>
1787 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1789 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1791 * LaTeXFeatures.h: add nice_ and nice() const
1792 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1794 2004-01-20 André Pönitz <poenitz@gmx.net>
1797 * BufferView_pimpl.C:
1799 * bufferview_funcs.C:
1801 * cursor_slice.[Ch]:
1812 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1813 LCursor and mathcursor parts to LCursor and InsetBase.
1815 2004-01-15 André Pönitz <poenitz@gmx.net>
1817 * cursor_slice.[Ch]: add a few covienience functions
1819 * funcrequest.[Ch]: remove BufferView * member
1821 * BufferView_pimpl.C:
1828 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1830 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1832 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1833 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1835 2004-01-13 André Pönitz <poenitz@gmx.net>
1838 * lyxtext.h: hide cursor and selection anchor behind accessor function
1841 * BufferView_pimpl.[Ch]:
1843 * bufferview_funcs.C:
1853 * cursor_slice.[Ch]: some integer type changes for inset unification
1855 * lyxcursor.[hC]: remove, it's CursorSlice now.
1858 * BufferView_pimpl.[Ch]:
1859 * bufferview_funcs.C:
1865 * textcursor.[Ch]: adjust
1867 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1869 * text2.C (undoSpan): add and use
1870 * text.C (breakParagraph): use undoSpan (fix bug 578)
1873 2004-01-08 Angus Leeming <leeming@lyx.org>
1875 * BufferView_pimpl.C (MenuInsertLyXFile):
1876 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1877 * lyxfunc.C (menuNew, open, doImport):
1878 FileFilterList change to the FileDialog open and save functions.
1880 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1882 * ShareContainer.h: make isEqual and isUnique adaptable
1884 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1886 2004-01-07 Angus Leeming <leeming@lyx.org>
1889 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1891 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1893 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1894 functions replacing find, replace and replaceAll.
1896 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1897 LFUN_WORDFIND(FORWARD|BACKWARD).
1899 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1901 * text.C (breakParagraph): remove an outdated #warning
1903 2004-01-07 André Pönitz <poenitz@gmx.net>
1905 * lyxfind.C: somewhat clearer logic
1907 * text.C: prevent crash in cursorX on unitialized row cache
1909 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1911 * lyxcursor.[Ch] (operator>): add
1912 * textcursor.C (selStart, selEnd): use std::min and std::max
1914 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1916 * Chktex.C: include boost/format.hpp
1918 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1920 * InsetList.C: replace functor MathcIt with adaptable functor
1922 (insetIterator): modify accordingly
1924 * BranchList.h: move the BranchNamesEqual functor here from...
1925 * BranchList.C: ... to here
1927 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1929 (add): replace a finding loop with std::find_if.
1931 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1933 * output_docbook.C: moving LatexParam functionality into
1936 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1938 * buffer.C: increment format to 229.
1940 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1943 * lyx_sty.[Ch]: remove minipageindent_def
1949 * text3.C: remove LFUN_INSET_MINIPAGE
1951 2003-12-28 Angus Leeming <leeming@lyx.org>
1953 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1955 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1957 * text2.C (setParagraph): fix off-by-one crash
1959 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1961 * output_docbook.C: header stuff for AGU
1963 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1965 * text2.C (redoCursor): remove
1968 * BufferView_pimpl.C: remove calls to redoCursor and
1969 setCursor(cursor.par(), cursor.pos()) all around
1971 2003-12-15 Angus Leeming <leeming@lyx.org>
1973 * buffer.C: up the format to 228.
1975 2003-12-15 André Pönitz <poenitz@gmx.net>
1977 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1982 * BufferView_pimpl.C:
1991 2003-12-15 Angus Leeming <leeming@lyx.org>
1993 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1994 than getFromGUIName to manipulate the color.
1996 2003-12-14 Angus Leeming <leeming@lyx.org>
1998 * BranchList.[Ch]: minimize the API.
1999 (Branch::getBranch, getColor): now return a 'const &'.
2000 (Branch::setSelected) now returns a bool set to true if the
2001 selection status changes.
2002 (BranchList::clear, size, getColor, setColor, setSelected,
2003 allBranches, allSelected, separator): removed.
2004 (BranchList::find): new functions, returning the Branch with
2006 (BranchList::add, remove): return a bool indicating that
2007 the operation was successful.
2009 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2010 new InsetBranch::isBranchSlected member function.
2012 * LColor.[Ch]: mimimize the API.
2013 (fill): renamed as addColor and made private.
2014 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2015 versions of these functions taking a string arg have been removed.
2017 * bufferparams.C (readToken):
2018 * lyxfunc.C (dispatch):
2019 * lyxrc.C (read): changes due to the altered BranchList and
2022 * factory.C (createInset, readInset): changes due to altered
2025 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2028 * lyxfunc.C: remove insetminipage. "minipage-insert"
2029 now produces a frameless minipage box inset.
2031 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2033 * textcursor.[Ch] (selStart,selEnd): add new methods
2034 remove selection::start, end, use LyXCursor::operator<
2035 * lyxcursor.[Ch] (operator<): add
2036 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2037 * BufferView.[Ch] (unsetXSel): add
2038 * text2.C (clearSelection): use unsetXSel,adjust
2041 * rowpainter.C: adjust
2042 * bufferview_funcs.C (put_selection_at): adjust
2044 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2046 * BufferView_pimpl.C: small coord. correction
2048 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2050 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2051 dragging over the splash screen.
2053 2003-12-11 Angus Leeming <leeming@lyx.org>
2055 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2056 as it is now handled in LyXText::dispatch.
2058 * text3.C (doInsertInset): remove a level of nesting.
2060 2003-12-11 Angus Leeming <leeming@lyx.org>
2062 * factory.C (createInset): changes due to the changed interface to
2063 InsetCommandMailer::string2params.
2065 2003-12-10 Angus Leeming <leeming@lyx.org>
2067 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2068 'dialog-show-new-inset <inset name>'
2070 2003-12-10 Angus Leeming <leeming@lyx.org>
2072 * buffer.C: up the format to 227.
2074 * factory.C: the box inset is now identified simply by 'Box'.
2076 2003-12-10 Angus Leeming <leeming@lyx.org>
2078 * buffer.C: up the format to 226.
2080 * factory.C: the note inset is now identified simply by 'Note'.
2082 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2084 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2085 when a pit is enough. Standarize a couple of loops.
2087 2003-12-05 Angus Leeming <leeming@lyx.org>
2089 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2090 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2091 data to the re-worked "log" dialog.
2093 2003-12-03 André Pönitz <poenitz@gmx.net>
2099 * paragraph_funcs.C:
2101 * text2.C: use Inset::getText instead of Inset::getParagraph
2103 2003-12-03 André Pönitz <poenitz@gmx.net>
2107 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2108 InsetText::read() as LyXText::read()
2110 2003-12-02 Angus Leeming <leeming@lyx.org>
2112 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2113 type. Add a comment in the implementation that the function uses
2114 the stream's bad() function rather than fail() as the std::streams
2117 2003-12-02 André Pönitz <poenitz@gmx.net>
2119 * lyxlex.[Ch]: make interface more similar to std::stream
2121 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2123 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2125 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2127 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2129 * vspace.[Ch]: remove VSpace::NONE
2131 2003-12-01 André Pönitz <poenitz@gmx.net>
2134 * lyxtext.h: move ParagraphList member to LyXText
2135 rename LyXText::ownerParagraphs to LyXText::paragraph
2138 * bufferview_funcs.C:
2148 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2150 * undo.C: fix cursor positioning
2152 2003-12-01 John Levon <levon@movementarian.org>
2154 * BufferView_pimpl.C: fix a crash on exit with
2157 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2159 * BranchList.C: fix setSelected() method.
2161 2003-11-28 André Pönitz <poenitz@gmx.net>
2163 * ParagraphParameters.[Ch]:
2164 * ParameterStruct.h: remove space above/below from Paragraph to
2167 * BufferView_pimpl.C:
2173 * paragraph_funcs.C:
2179 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2181 * factory.C: Syntax change for CharStyles
2183 2003-11-28 André Pönitz <poenitz@gmx.net>
2188 * buffer.[Ch]: move LyXText member
2190 2003-11-28 André Pönitz <poenitz@gmx.net>
2192 * BufferView.[Ch]: make LyXText * text a private member
2194 * BufferView_pimpl.C:
2205 * output_plaintext.C: cleanup
2207 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2210 * lyxtextclass.[Ch]: parametrize SGML document header
2212 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2215 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2218 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2220 * text2.C (setFont): rework using PosIterator (no more recursive)
2221 (setCharFont): no more needed
2222 (setLayout): no more selection cursors fiddling (done by redoCursor)
2223 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2224 destroy remaining ones)
2226 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2228 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2230 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2233 * text3.C: adjust + re-allow multi par depth changes
2234 * textcursor.C: simplify a bit
2236 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2242 * src/output_docbook.C:
2243 * src/output_latex.C:
2248 * src/text2.C: Introducing a number of tags parametrizing various
2249 XML formats that we may want to support
2251 2003-11-25 André Pönitz <poenitz@gmx.net>
2253 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2255 * lyxtext.h (leftMargin/rightMargin): simplify interface
2262 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2264 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2265 master file to any child files. Fixes bug 546.
2267 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2269 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2271 2003-11-24 André Pönitz <poenitz@gmx.net>
2273 * rowpainter.C: simplification
2275 * text2.C (updateCounters): remove call to redoParagraph on
2276 changed labels as this is far too expensive.
2278 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2280 * converter.C (convert): fix a crash: this function gets
2281 called with buffer == 0 from importer code.
2283 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2285 * text3.C (cursorPrevious): make sure that we do not compare
2286 iterators form different containers.
2289 * rowpainter.C (paintSelection): make sure that we do not compare
2290 iterators from different containers.
2292 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2293 iterators from different ParagraphList containers.
2296 * text2.C (LyXText): change order of initialization slightly
2297 (operator=): new function. copy all variables except cache_par_
2298 (moveUp): make sure that we do not compare iterators from
2299 different ParagraphList constainers.
2302 * text.C (firstPar): new function
2303 (lastPar): new function
2304 (endPar): new function
2306 * lyxtext.h: move things around and group public functions, public
2307 variables, private functions, private variables
2309 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2311 * factory.C: change call to InsetERT constructor to avoid
2312 additional invocation of method status
2313 * text2.C (toggleInset): remove redundant update() call
2314 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2315 instead of a Bufferview pointer
2317 2003-11-21 André Pönitz <poenitz@gmx.net>
2319 * rowpainter.C: simplification
2321 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2323 * text3.C (dispatch): make possible to extend a word/row selection
2326 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2328 * lyxtext.h: x0_,y0_ -> xo_,yo_
2329 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2330 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2331 * rowpainter.C (paintRows): paint full paragraphs
2333 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2335 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2338 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2340 * lyxtext.h: add x0_, y0_
2341 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2342 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2344 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2346 * text2.C (setCursorIntern): move the x_target update here *
2347 * text3.C: change some bv() to true/false in calls to
2348 cursorUp/Down/Right/Left
2349 * cursor.C: use helper function.
2351 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2353 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2354 * paragraph_funcs.[Ch]: correct comment
2355 * rowpainter.C: do not paint selections away from bv->cursor()
2356 Fix a long standing selection painting bug.
2357 * text3.C: generalize mouse-selection code to LyXTexts other that
2359 * textcursor.C: do not use y coords if we can use par offsets
2361 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2363 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2364 cursor position after e.g. inset insert)
2366 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2368 * lyxfind.C (replace): adjust to locking removal + some
2371 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2373 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2376 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2379 * output_docbook.C: XML sanitation: new layout
2380 parameters InnerTag and CommandDepth
2382 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2384 * BufferView_pimpl.C:
2386 * text3.C: Fix the insertion and modification of button-style
2389 2003-11-13 André Pönitz <poenitz@gmx.net>
2391 * InsetList.[Ch]: remove deleteLyXText
2393 * paragraph.[Ch]: cache beginOfBody position
2398 * text3.C: remove superfluous update() calls
2402 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2404 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2405 * BufferView.C (fitLockedInsetCursor): remove
2406 * cursor.[Ch] (getDim): add
2407 * text.C (getRowNearY): add faster version
2408 * text3.C: remove some update calls
2410 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2422 * text3.C: The Character Style /XML short element patch.
2424 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2427 * factory.C: Small step to solving 'unable to insert some insets'
2430 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2432 * cursor.[Ch] (updatePos): new function for updating the y
2433 position of the tip inset
2434 * bufferview_funcs.C (put_selection_at):
2435 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2437 2003-11-11 André Pönitz <poenitz@gmx.net>
2439 * text.C: remove big comment on invalid Paragraph pointers as it is
2442 2003-11-11 André Pönitz <poenitz@gmx.net>
2444 * text_funcs.[Ch]: merge with ...
2452 * Makefile.am: remove text_funcs.[Ch]
2454 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2456 * cursor.C (getPos): return absolute cached y coord
2458 * BufferView_pimpl.C (fitCursor): new simplistic code
2459 (workAreaDispatch): add a fitCursor call
2461 2003-11-10 André Pönitz <poenitz@gmx.net>
2464 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2466 2003-11-10 André Pönitz <poenitz@gmx.net>
2468 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2469 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2470 indicate that the cursor needs to leave an inset
2472 * lyxtext.h: remove inset locking
2474 * cursor.[Ch]: re-implement functionality provided by inset locking
2477 * BufferView_pimpl.[Ch]:
2479 * bufferview_funcs.[Ch]:
2491 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2493 * PosIterator.[Ch]: replace the stack with a vector, add inset
2495 * iterators.[C]: adjust
2497 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2499 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2501 * paragraph_funcs.C (readParToken): put the correct id in the
2502 error item, not the id of the top paragraph
2504 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2506 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2507 * bufferview_funcs.C (put_selection_at): use the above
2509 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2511 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2513 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2515 * output_linuxdoc.h:
2516 * output_plaintext.h:
2518 * output_docbook.h: add #include statements
2520 2003-11-05 José Matos <jamatos@lyx.org>
2522 * output_docbook.[Ch]:
2523 * output_latex.[Ch]:
2524 * output_linuxdoc.[Ch]:
2525 * output_plaintext.[Ch]: New files for output formats.
2526 * output.[Ch]: New file for helper functions.
2529 * paragraph_funcs.[Ch]: output functions moved to new files.
2531 * outputparams.h: rename of latexrunparams.h
2539 * paragraph_funcs.[Ch]:
2540 * paragraph_pimpl.[Ch]:
2541 * tabular.[Ch]: rename ascii to plaintext
2542 and LatexRunParams to OutputParams.
2544 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2546 * iterators.[Ch] (text): require bv argument
2547 * undo.C (recordUndo):
2548 * lyxfunc.C (dispatch):
2549 * bufferview_funcs.C (put_selection_at): adjust
2551 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2553 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2555 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2557 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2560 2003-11-04 André Pönitz <poenitz@gmx.net>
2562 * cursor.[Ch]: restructure
2565 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2567 * iterators.[Ch] (asCursor): remove
2569 * lfuns.h: remove LFUN_INSET_EDIT
2575 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2577 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2579 * lyxfind.[Ch]: complete overhaul
2580 * BufferView_pimpl.C:
2582 * paragraph.[Ch] (insert): add
2584 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2588 * text.C: remove dead spellcheck code
2590 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2592 * dispatchresult.h: add a val setter
2594 * cursor.C (dispatch): use a tempvar for data_[i]
2596 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2598 * PosIterator.[Ch]: compile fix
2600 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2602 * text.C (cursorPar): deactivate the cursor cache
2604 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2606 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2608 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2610 * text3.C (dispatch): adjust for new DisptchResult semantics.
2612 * lyxfunc.C (dispatch): handle update when return from
2613 Cursor::dispatch, adjust for new DispatchResult semantics.
2615 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2616 DispatchResult(true) mean to not update. Add class functions for
2617 setting dispatched and update, as well as reading.
2619 * cursor.C (dispatch): don't handle update here
2621 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2623 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2624 * trans_mgr.C: adjust
2626 * paragraph_funcs.C (readParToken): exception safety
2628 * lyxvc.h: store the vcs pointer in a scoped_ptr
2631 * lyxsocket.C (serverCallback): exception safety
2633 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2635 * ispell.C (clone): make it return a auto_ptr
2637 * factory.C (createInset): exception safety
2638 (readInset): exception safety
2640 * bufferlist.C (newBuffer): exception safety
2642 * Thesaurus.C (Thesaurus): use initialization for aik_
2644 * MenuBackend.C (expandToc): exception safety.
2646 2003-11-03 André Pönitz <poenitz@gmx.net>
2650 * bufferview_funcs.C: remove getInsetFromId()
2653 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2659 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2661 * PosIterator.C (distance, advance): new
2662 * bufferview_funcs.[Ch] (put_selection_at): new
2663 * iterators.[Ch] (lockPath): new
2665 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2667 * iterators.[Ch] (asPosIterator): added
2668 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2669 * PosIterator.[Ch]: added
2671 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2675 * cursor.C (dispatch):
2676 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2678 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2679 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2680 contructor, add a class function dispatched. Remove operator>=
2682 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2684 * debug.C: only use the default constructor for debugstream
2687 * main.C (main): include debug.h and setup the lyxerr streambuf
2690 2003-10-31 José Matos <jamatos@lyx.org>
2692 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2694 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2695 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2696 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2697 * paragraph_pimpl.C (simpleTeXSpecialC):
2698 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2699 add LatexRunParams argument.
2701 * exporter.C (Export): change call accordingly.
2703 * latexrunparams.h: add new member to take care of the other backends.
2704 2003-10-30 José Matos <jamatos@lyx.org>
2706 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2707 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2708 factorise code for paragraph output.
2710 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2713 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2715 * text3.C (dispatch):
2716 * lyxfunc.C (dispatch):
2717 * cursor.C (dispatch):
2718 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2720 * dispatchresult.h: make the dispatch_result_t ctor explicit
2722 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2725 * buffer.C: small refactoring of docbook stuff
2727 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2729 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2732 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2734 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2735 operator dispatch_result_t, and operators for == != and >=
2737 * cursor.C (dispatch): adjust for operator dispatch_result_t
2738 removal. comment out call to update
2740 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2742 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2750 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2753 * dispatchresult.h: new file, DispatchResult broken out of
2756 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2758 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2760 * text.C (rowBreakPoint): put a hack inside #if 0
2762 2003-10-28 André Pönitz <poenitz@gmx.net>
2766 * paragraph_funcs.C:
2769 * text2.C: general cleanup (lots of small stuff)
2771 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2773 * text2.C (cursorEnd): simple fix to the "end key goes to one
2774 before the end on last row" bug
2776 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2778 * text.C (backspace): fix the "zombie characters"
2780 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2782 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2784 2003-10-27 André Pönitz <poenitz@gmx.net>
2786 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2788 * factory.C: handle new InsetPagebreak, InsetLine
2790 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2791 and move handling into new InsetPagebreak, InsetLine
2793 * BufferView_pimpl.C:
2795 * ParagraphParameters.C:
2796 * ParameterStruct.h:
2801 * paragraph_funcs.C:
2802 * paragraph_pimpl.C:
2808 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2811 * lyxrow_funcs.[Ch]:
2817 * text3.C: remove lastPos uses in favour of Row::endpos
2819 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2821 * undo.C (performUndoOrRedo): fix two crashes by setting a
2822 cursor by hand and reordering some calls. Use bv->lockInset instead
2823 of inset->edit because the latter loses cursor information
2825 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2827 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2829 (rowBreakPoint): fix width. change point to point + 1.
2830 Add a missing check.
2832 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2835 * lyxfunc.C: fix (at least partly) the problems
2836 with the Nav menu and headers inside branch insets
2839 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2841 * paragraph.C (getChar): add strong asserts
2843 * lyxrow_funcs.C (lastPos): remove hideous hack
2845 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2846 (fill): adjust to that (avoid an infinite loop)
2848 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2850 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2852 2003-10-23 André Pönitz <poenitz@gmx.net>
2854 * RowList_fwd.h: change list<> to vector<> to gain speed
2855 after suggestion from Alfredo
2857 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2859 * lyxtext.h: move the bidi stuff from here...
2862 * Bidi.[Ch]: ... to here
2864 2003-10-23 André Pönitz <poenitz@gmx.net>
2867 * text.C (isLastRow, isFirstRow): new functions
2869 * paragraph.h: new width cache member
2871 * rowpainter.C: replace RowList::iterator with Row & where possible
2873 * lyxfunc.C: replace several view()->text with a single call
2875 * toc.C: fix 'unused' warning
2877 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2879 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2880 when woring with stream::pos_type
2881 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2883 2003-10-22 André Pönitz <poenitz@gmx.net>
2886 * text.C: use Row & instead of RowList::iterator
2888 * lyxrow.h: rename end() to endpos()
2894 2003-10-22 Angus Leeming <leeming@lyx.org>
2896 * buffer.[Ch] (fully_loaded): new member function, returning true
2897 only when the file has been loaded fully.
2898 Used to prevent the premature generation of previews and by the
2899 citation inset to prevent computation of the natbib-style label.
2901 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2902 templates are all set up.
2904 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2906 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2908 * text.C: fixed an "oops" in the "is a bit silly"
2911 2003-10-21 André Pönitz <poenitz@gmx.net>
2913 * FuncStatus.[Ch]: small stuff, whitespace
2915 * lyxfont.[Ch]: operator<<() for debug reasons
2919 * lyxtext.h: whitespace, spelling
2921 * paragraph.C: naming of variables
2924 * text2.C: small stuff
2927 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2929 * text.C: (1) finish off the inset display() work;
2930 (2) fix the "is a bit silly" bug (accessing char
2933 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2935 * text.C: re-introduce display() for insets, fixing the
2936 various bugs (stretch of line above, math inset
2939 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2941 * text.C (rightMargin): remove spurious semicolon
2943 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2946 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2948 * text3.C: fix one crash due to wrong cursor def
2950 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2952 * vc-backend.C (scanMaster): make the regex static
2954 * LaTeX.C (scanAuxFile): make the regexs static
2956 * text3.C (doInsertInset, dispatch, dispatch):
2957 * text2.C (cursorUp, cursorDown):
2958 * text.C (selectNextWordToSpellcheck):
2959 * BufferView_pimpl.C (dispatch):
2960 * lyxfunc.C (dispatch): localDispatch -> dispatch
2962 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2964 * lyxsocket.C: include <cerrno>
2966 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2968 * lyxfunc.C (dispatch): remove textcache stuff
2970 * bufferlist.C (release): remove textcache stuff
2973 * TextCache.C: delete file
2974 * TextCache.h: delete file
2976 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2978 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2979 delete of the bv_->text.
2980 (resizeCurrentBuffer): remove texcache stuff
2981 (workAreaResize): ditto
2983 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2985 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2988 2003-10-16 André Pönitz <poenitz@gmx.net>
2995 * text3.C: speed up by storing y positions per paragraph plus per-row
2996 offset instead of having a 'full' y position in the row.
2998 2003-10-15 André Pönitz <poenitz@gmx.net>
3002 * undo.[Ch]: make undo aware of inner insets
3004 2003-10-14 Angus Leeming <leeming@lyx.org>
3006 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3007 static member functions LyX::ref() and LyX::cref.
3008 (lastfiles): new accessor functions for the new lastfiles_ member var.
3009 (addLyXView, views_): add a new LyXView to the list of views_.
3010 (updateInset): loop over all LyXViews to call their own updateInset
3011 member function, returning a pointer to the Buffer owning the inset.
3013 * BufferView_pimpl.C (loadLyXFile):
3014 * MenuBackend.C (expandLastfiles):
3015 * bufferlist.C (MenuWrite, QuitLyX):
3016 lastfiles is no longer a global variable.
3017 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3019 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3020 static function. Access through LyX::cref().emergencyCleanup().
3022 2003-10-14 André Pönitz <poenitz@gmx.net>
3024 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3026 * undo.[Ch]: restoring part of 'undo in insets'
3029 * undo_funcs.[Ch]: merge with undo.[Ch]
3031 * tabular.C: small cleansing stuff
3033 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3035 * paragraph_funcs.C (readParToken): report unknown insets as error
3036 boxes. Use the outer paragraph as location (also for unknown
3039 * factory.C (readInset): do not abort on reading an unknown inset.
3040 Eat it and return 0.
3042 2003-10-13 Angus Leeming <leeming@lyx.org>
3044 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3046 * lyxrc.C: displayTranslator is now a function,
3047 declared in GraphicsTypes.h.
3049 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3051 * format.C: new placeholder $$a to pass the socket address.
3053 * bufferlist.[Ch]: new function getBufferFromTmp.
3055 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3056 files in the temporary dir.
3058 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3060 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3062 * Makefile.am: add lyxsocket.[Ch].
3064 * lyx_main.C (error_handler): handle SIGPIPE.
3066 2003-10-13 André Pönitz <poenitz@gmx.net>
3068 * BufferView_pimpl.C:
3073 * undo_funcs.[Ch]: use paroffset_type instead of
3074 ParagraphList::iterators to prevent multiple conversion
3075 (and get a more robust interface)
3077 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3079 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3081 * text3.C (dispatch): ditto
3083 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3085 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3086 move the onlyfile, use onlyfile instead of foundfile in a couple
3089 * DepTable.C (update): flush the error stream a bit more
3091 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3093 * lyxserver.C (callback): adjust
3095 * lyxfunc.C (getStatus): add a missing brace in commented code
3096 (ensureBufferClean): reindent
3097 (dispatch): delete version taking a string
3099 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3101 * LaTeX.C (deplog): move found file handlig from here...
3102 (handleFoundFile): .. to new function here.
3103 (deplog): make sure to discover several files mentioned on the
3106 2003-10-10 André Pönitz <poenitz@gmx.net>
3113 * text3.C: fix some of the tabular crashes
3115 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3117 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3119 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3121 2003-10-09 André Pönitz <poenitz@gmx.net>
3123 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3126 * BufferView_pimpl.C:
3127 * bufferview_funcs.C:
3138 * undo_funcs.C: adjust
3140 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3142 * text2.C (incrementItemDepth): new function, use a backtracking
3143 algorithm to discover the correct item depth.
3144 (resetEnumCounterIfNeeded): new function, use a backtracking
3145 algorithm to discover if counter reset is needed.
3146 (setCounter): use them. Simplify a bit. Add different labels for
3147 different item depths for itemize.
3149 * paragraph.C (Paragraph): remove initialization of enumdepth
3152 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3153 enumerate and itemize. Change the type of itemdepth to signed char.
3155 2003-10-08 André Pönitz <poenitz@gmx.net>
3157 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3162 * tabular.[Ch]: fix crash after 'row-insert'
3164 2003-10-08 Angus Leeming <leeming@lyx.org>
3166 Fix doxygen warnings.
3168 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3169 Remove CutAndPaste:: prefix from header file declaration.
3171 * LColor.h (fill): remove LColor:: prefix from declaration.
3173 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3174 use lyx::depth_type rather than Paragraph::depth_type so that
3175 header file and .C file match.
3177 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3179 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3180 * aspell.C: \file aspell_local.C -> \file aspell.C
3181 * gettext.C: \file gettext.C -> \file src/gettext.C
3182 * gettext.h: \file gettext.h -> \file src/gettext.h
3183 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3184 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3185 * text.C: \file text.C -> \file src/text.C
3187 * toc.C: move comment so that doxygen is not confused.
3189 2003-10-07 Angus Leeming <leeming@lyx.org>
3191 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3193 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3196 * aspell_local.h: add forgotten std::string's.
3198 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3205 * text3.C: The Box patch. Fancybox support, minipage, parbox
3207 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3213 * ParagraphParameters.h:
3223 * lyxtextclasslist.h:
3226 * paragraph_pimpl.C:
3227 * textcursor.h: add <string> and other small fixes to make Lars'
3228 std::string patch compile with STLport.
3230 2003-10-06 Angus Leeming <leeming@lyx.org>
3232 * LColor.h: Add missing #include <string>.
3234 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3236 * All most all file in all subdirs: Make <string> be the prefered
3237 way of getting to std::string, add using declarations.
3239 2003-10-06 André Pönitz <poenitz@gmx.net>
3241 * metricsinfo.C: initialize LyXFont before changing attribute.
3242 (fixes the 'math in \emph is upright' bug)
3244 2003-10-06 André Pönitz <poenitz@gmx.net>
3246 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3248 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3251 * paragraph_pimpl.C: Small fixes to build using STLport
3253 2003-10-02 André Pönitz <poenitz@gmx.net>
3256 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3258 2003-10-01 André Pönitz <poenitz@gmx.net>
3260 * factory.C: assert early
3262 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3264 * lyx_main.C: remove the global debug object
3266 * debug.h: adjust for new debugstream
3268 * debug.C: adjust for new debugstream and keep the global debug
3271 2003-09-22 Angus Leeming <leeming@lyx.org>
3273 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3274 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3275 an incomplete class LyXFont.
3277 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3279 * factory.C: bug fix in branches
3281 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3283 * lyxfunc.C (processKeySym): adjust
3285 (dispatch): change arg name from ev to func, adjust
3286 (sendDispatchMessage): ditto
3288 * lyx_main.C (defaultKeyBindings): adjust keybindings
3289 (deadKeyBindings): ditto
3291 * kbsequence.C (addkey): return a FuncRequest
3293 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3295 * kbmap.C (bind): take a FuncRequest as arg, adjust
3298 (defkey): change to take a FuncRequest as arg, adjust
3299 (findbinding): take a FuncRequest as arg, adjust.
3301 * funcrequest.h (operator=): added
3303 * funcrequest.C (FuncRequest): default kb_action changed from
3304 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3306 * buffer.C (dispatch): simplify
3307 (dispatch): adjust to take a FuncRequest as arg, adjust
3309 * boost.C (assertion_failed): change assertion message slightly
3311 * ToolbarBackend.C (read): simplify
3313 * MenuBackend.C (binding): adjust call to findbinding, add a
3314 message if no binding is found.
3316 (expandToc): correct by adding a empty FuncRequest
3318 * LyXAction.C: include <boost/assert.hpp>
3319 (isPseudoAction): delete function
3320 (LookupFunc): change name to...
3321 (lookupFunc): this. change return type to FuncRequest.
3322 (getActionName): take kb_action as arg, simplify
3323 (funcHasFlag): add an assert, simplify.
3325 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3327 * toc.C (action): return a FuncRequest, simplify
3329 * lyxfunc.C (processKeySym): adjust
3330 (getStatus): delete version that takes an int.
3332 (dispatch): delete version that takes action as int
3334 (sendDispatchMessage): simplify and adjust
3336 * funcrequest.C (getArg): take unsigned int as arg
3338 * ToolbarBackend.C (read): adjust
3339 (add): delete version that takes func as a string.
3340 (getIton): take a FuncRequest as arg
3342 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3345 * MenuBackend.C (MenuItem): add a new construct that only takes a
3346 Kind, simplify the constructor use for submenus.
3348 (expandLastfiles): adjust
3349 (expandDocuments): adjust
3350 (expandFormats): adjust
3351 (expandFloatListInsert): adjust
3352 (expandFloatInsert): adjust
3353 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3355 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3356 Remove class variables lyx_pseudo_map and lyx_arg_map
3358 * LyXAction.C (searchActionArg): delete function
3359 (getPseudoAction): delete function
3360 (retrieveActionArg): delete function
3361 (LookupFunc): make it return kb_action, simplify.
3362 (getActionName): simplify
3364 * factory.C (createInset): fix new bug
3366 2003-09-19 Angus Leeming <leeming@lyx.org>
3368 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3369 masterFilename_ parameter in the include inset.
3371 * factory.C (createInset): changes due to the changes to InsetInclude.
3373 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3375 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3377 2003-09-18 Angus Leeming <leeming@lyx.org>
3380 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3381 Inset::fillWithBibKeys.
3382 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3384 2003-09-18 Angus Leeming <leeming@lyx.org>
3386 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3388 (ctor): pass and store a 'Buffer const &'
3389 (buffer): new member function.
3391 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3392 '*this' to the LaTeXFeatures ctor.
3394 2003-09-18 Angus Leeming <leeming@lyx.org>
3400 * text.C: rename EnumLColor as LColor_color.
3402 2003-09-18 Angus Leeming <leeming@lyx.org>
3404 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3405 remove #include "insets/insetbase.h" from cursor.h.
3407 2003-09-18 Angus Leeming <leeming@lyx.org>
3409 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3410 InsetOld_code to remove #include "inset.h".
3412 * iterators.C: add #include "insets/inset.h"
3414 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3416 * BufferView.C: remove more locking stuff that apparently doesn't
3417 do anything sensible.
3419 2003-09-16 André Pönitz <poenitz@gmx.net>
3422 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3425 2003-09-16 Angus Leeming <leeming@lyx.org>
3427 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3429 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3432 * paragraph.h: remove #include "lyxfont.h". Forward declare
3435 2003-09-16 Angus Leeming <leeming@lyx.org>
3437 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3438 of support/textutils.h.
3439 (isWord): move the contents of support/textutils.h's IsWordChar here.
3445 * text2.C: add #include "paragraph.h".
3448 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3450 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3456 * LaTeX.C: use namespace alias for lyx::support::os
3458 2003-09-16 Angus Leeming <leeming@lyx.org>
3461 * bufferview_funcs.C:
3464 * paragraph_pimpl.C:
3466 * text.C: add #include "LColor.h".
3468 2003-09-16 Angus Leeming <leeming@lyx.org>
3470 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3471 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3473 Store the FontBits::color variable as an int rather than as an
3474 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3477 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3478 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3479 string calls together.
3481 * lyxrc.C: add #include "LColor.h".
3483 2003-09-15 Angus Leeming <leeming@lyx.org>
3485 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3488 2003-09-15 Angus Leeming <leeming@lyx.org>
3490 * LColor.h: add an EnumLColor wrapper for LColor::color.
3492 * lyxfont.[Ch] (color, setColor, realColor):
3493 * lyxtext.h, text.C (backgroundColor):
3494 pass EnumLColor args to/from the functions, rather than LColor::color
3498 * lyxtext.h: forward declare EnumLColor.
3500 * lyx_main.C: add #include "LColor.h".
3502 2003-09-15 Angus Leeming <leeming@lyx.org>
3504 * .cvsignore: add lyx-gtk.
3506 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3511 * ParagraphParameters.C
3515 * bufferview_funcs.C
3525 * vc-backend.C: remove usage of STRCONV
3527 2003-09-15 Angus Leeming <leeming@lyx.org>
3529 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3530 explicitly define the color passed to the painter.
3532 2003-09-15 Angus Leeming <leeming@lyx.org>
3534 * bufferparams.C (BufferParams): reorder member initializers to avoid
3537 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3539 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3540 * text.C (updateRowPositions): remove an unusual nop
3542 2003-09-12 André Pönitz <poenitz@gmx.net>
3544 * BufferView_pimpl.C:
3553 * Counters.[Ch]: finish the 'automatic counters' job
3555 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3557 * aspell.C: include <boost/assert.cpp> (compile fix)
3559 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3561 * boost.C (assertion_failed): use lyx::support::abort instead of
3564 2003-09-10 Angus Leeming <leeming@lyx.org>
3566 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3567 with their _fwd progeny.
3569 2003-09-09 Angus Leeming <leeming@lyx.org>
3571 134 files throughtout the source tree: replace 'using namespace abc;'
3572 directives with the appropriate 'using abc::xyz;' declarations.
3574 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3576 * boost.C (emergencyCleanup): moved here from LAssert.c
3577 (assertion_failed): new function, called by BOOST_ASSERT
3579 * several files: change Assert to BOOST_ASSERT
3581 2003-09-09 Angus Leeming <leeming@lyx.org>
3583 * buffer.[Ch]: Add an Impl class and move Buffer's member
3584 variables into it. As a result move several header files out of
3587 Add header files to lots of .C files all over the tree as a result.
3589 2003-09-09 Angus Leeming <leeming@lyx.org>
3591 * buffer.[Ch]: make Buffer's member variables private. Add
3594 Lots of changes all over the tree as a result.
3596 2003-09-08 Angus Leeming <leeming@lyx.org>
3598 * graph.C: #include <config.h>.
3600 2003-09-08 Angus Leeming <leeming@lyx.org>
3604 * BufferView_pimpl.C:
3633 * toc.C: remove redundant using directives.
3635 2003-09-07 Angus Leeming <leeming@lyx.org>
3637 * LaTeXFeatures.h: remove #include "support/types.h".
3638 * ToolbarBackend.h: remove #include <algorithm>.
3639 * changes.h: remove #include <ctime>.
3640 * debug.h: remove #include <iosfwd>.
3641 * graph.h: remove #include "support/std_string.h".
3642 * lyx_main.h: remove #include <csignal>.
3643 * lyxlex_pimpl.h: remove #include <fstream>.
3644 * sgml.h: remove #include <algorithm>, <utility>.
3645 * toc.h: remove #include "support/std_ostream.h".
3646 Add #include <iosfwd>.
3648 2003-09-07 Angus Leeming <leeming@lyx.org>
3650 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3652 * converter.h: forward declare LatexRunParams.
3653 * encoding.h: remove #include "lyxrc.h".
3654 * lyxtext.h: remove #include "LColor.h".
3655 * lyxtextclass.h: remove #include "support/types.h".
3656 * trans.h: remove #include "tex-accent.h".
3657 * trans_mgr.h: remove #include "tex-accent.h".
3658 * insets/inset.h: remove #include "support/types.h", <vector>.
3659 * insets/insetcollapsable.h: remove #include "LColor.h".
3660 * insets/insetinclude.h: remove #include "dimension.h".
3661 * insets/insetlatexaccent.h: remove #include "dimension.h".
3662 * insets/insetoptarg.h:: remove #include "insettext.h".
3663 * insets/insettext.h: remove #include "dimension.h",
3664 <boost/shared_ptr.hpp>
3666 * insets/renderers.h: add #include "dimension.h".
3667 * insets/updatableinset.h: add #include "support/types.h".
3669 * many .C files: Associated changes.
3671 2003-09-06 Angus Leeming <leeming@lyx.org>
3673 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3674 one, inside testInvariant.
3676 * PrinterParams.C: new file.
3677 * PrinterParams.[Ch]: move the function bodies out of line.
3679 2003-09-06 Angus Leeming <leeming@lyx.org>
3681 * ParagraphParameters.h: forward declare ParameterStruct rather than
3682 including its header file.
3683 (depth): moved out-of-line.
3685 2003-09-06 Angus Leeming <leeming@lyx.org>
3687 * BufferView_pimpl.h:
3690 * lyxfunc.h: forward declare LyXKeySym rather than
3691 #include "frontends/LyXKeySym.h".
3693 * BufferView_pimpl.C:
3696 * lyxfunc.C: associated changes.
3698 2003-09-06 Angus Leeming <leeming@lyx.org>
3700 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3701 As a result, can remove the #include "insets/inset.h" from BufferView.h
3703 2003-09-06 Angus Leeming <leeming@lyx.org>
3705 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3706 As a result, can remove the #include "insets/inset.h" from BufferView.h
3708 2003-09-06 Angus Leeming <leeming@lyx.org>
3714 * bufferview_funcs.C:
3715 * BufferView_pimpl.C:
3720 * ParagraphParameters.C:
3725 * frontends/controllers/ControlDocument.C:
3726 * insets/insetcaption.C: rearrange the #includes into some sort of
3729 * buffer.h: remove #includes ErrorList.h, undo.h
3731 2003-09-06 Angus Leeming <leeming@lyx.org>
3733 * support/types.h: add a 'depth_type' typedef, used to store the
3734 nesting depth of a paragraph.
3737 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3738 defining explicitly.
3741 * paragraph_funcs.h:
3742 * ParagraphParameters.h:
3743 * sgml.h: use lyx::depth_type rather than Paragraph or
3744 ParameterStruct's depth_type.
3747 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3750 * BufferView_pimpl.C:
3752 * ParagraphParameters.C:
3755 * bufferview_funcs.C:
3762 * frontends/LyXView.C:
3763 * frontends/controllers/ControlDocument.C:
3764 * frontends/controllers/ControlErrorList.C:
3765 * insets/insetbibitem.C:
3766 * insets/insetbranch.C:
3767 * insets/insetcaption.C:
3768 * insets/insetcollapsable.C:
3769 * insets/insetenv.C:
3770 * insets/insetert.C:
3771 * insets/insetfloat.C:
3772 * insets/insetfoot.C:
3773 * insets/insetfootlike.C:
3774 * insets/insetnewline.C:
3775 * insets/insetquotes.C:
3776 * insets/insettabular.C:
3777 * insets/insettext.C:
3778 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3780 * frontends/controllers/ControlChanges.C: #include "changes.h".
3782 2003-09-06 Angus Leeming <leeming@lyx.org>
3784 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3785 than #including paragraph.h.
3788 * RowList.h: deleted. Superfluous.
3798 * insets/insettext.h: use ParagraphList_fwd.h rather than
3801 * paragraph.h: don't forward declare ParagraphList.
3804 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3805 rather than ParagraphList.h. paragraph.h is still needed for the
3806 Paragraph::depth_type parameters.
3808 * textcursor.h: enable it to compile stand-alone in light of the
3811 * bufferview_funcs.C:
3823 * frontends/controllers/ControlParagraph.C:
3824 * frontends/controllers/ControlTabular.C:
3825 * insets/insetmarginal.C:
3826 * insets/insetminipage.C:
3827 * insets/insetnote.C:
3828 * insets/insetoptarg.C: add header files needed to compile again.
3830 2003-09-06 Angus Leeming <leeming@lyx.org>
3832 * RowList_fwd.h: new file, forward-declaring Row rather than
3833 #including lyxrow.h.
3838 * insets/insettext.h: use it instead of RowList.h
3840 * bufferview_funcs.C:
3847 * text3.C: #include "RowList.h".
3849 2003-09-05 Angus Leeming <leeming@lyx.org>
3851 * factory.C (createInset):
3852 * vspace.C (c-tor): replace sscanf call with an istringstream.
3853 * ispell.C: re-add missing HP/UX headers.
3854 * lyxserver.C: re-add missing os2 headers.
3856 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3865 * text3.C: re-add missing system headers, needed for 2.95.2.
3867 2003-09-05 Angus Leeming <leeming@lyx.org>
3869 Changes most place everywhere due to the removal of using directives
3870 from support/std_sstream.h.
3872 2003-09-05 Angus Leeming <leeming@lyx.org>
3874 Replace LString.h with support/std_string.h,
3875 Lsstream.h with support/std_sstream.h,
3876 support/LIstream.h with support/std_istream.h,
3877 support/LOstream.h with support/std_ostream.h.
3879 Changes resulting throughout the tree.
3881 2003-09-05 Angus Leeming <leeming@lyx.org>
3883 * sgml.h: ensure that the header file can be compiled stand-alone.
3884 * *.C: strip out redundant #includes. (320 in total.)
3886 2003-09-04 Angus Leeming <leeming@lyx.org>
3888 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3889 here (from getPackages).
3891 * debug.[Ch]: add a new EXTERNAL tag.
3893 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3895 * text2.C (cursorEnd): simplify
3897 (getColumnNearX): adjust
3899 * text.C (computeBidiTables): adjust
3902 * rowpainter.C (paintChars): adjust
3903 (paintSelection): adjust
3904 (paintChangeBar): adjust
3907 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3909 (numberOfSeparators): adjust
3911 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3917 * text3.C: Restricts the mouse click functionality
3918 of insets like bibtex, include, toc and floatlist to the visible
3919 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3920 up the dialogs. Cursor has to be in front of the inset (i.e.
3921 start of row) for this to function.
3923 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3925 * bufferview_funcs.C (currentState): output row information
3927 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3929 * bufferview_funcs.C (currentState): output paragraph position
3931 2003-09-04 Angus Leeming <leeming@lyx.org>
3933 * FloatList.h: move out #include "Floating.h".
3934 * LaTeX.h: move out #include "DepTable.h".
3935 * LyXAction.h: move out #include "funcrequest.h".
3936 * buffer.h: move out #include "author.h", "iterators.h".
3937 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3938 * lyx_main.h: move out #include "errorlist.h".
3939 * lyxfunc.h: move out #include "FuncStatus.h".
3940 * lyxtext: move out #include "lyxcursor.h".
3941 * paragraph_pimpl.h: move out #include "counters.h".
3943 2003-09-03 Angus Leeming <leeming@lyx.org>
3945 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3946 preamble_snippets list, enabling us to add snippets to the preamble
3947 only if the snippet was not there already.
3949 2003-09-04 Angus Leeming <leeming@lyx.org>
3951 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3953 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3955 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3958 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3960 * BranchList.C: point fix, earlier forgotten
3962 2003-09-02 Angus Leeming <leeming@lyx.org>
3964 * box.C (contains): renamed from 'contained' after a fantastic
3967 2003-09-02 John Levon <levon@movementarian.org>
3973 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3975 2003-09-02 John Levon <levon@movementarian.org>
3977 * text2.C: simplification of cursorEnd(), including partial
3980 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3982 * buffer.C (readFile): add a space
3984 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3986 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3988 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3990 * buffer.C (readFile): new function, take a filename and a
3991 ParagraphList::iterator
3993 (readFile): adjust, make it private. don't use setStream, make
3994 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3995 always contain the filename.
3997 * BufferView.C (insertLyXFile): simplify and make it work for
4000 2003-08-30 John Levon <levon@movementarian.org>
4002 * Makefile.am: fix dist (from Kayvan)
4004 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4006 * most files: change to use const Buffer refs
4008 2003-08-27 André Pönitz <poenitz@gmx.net>
4010 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4011 on top of ownerPar().
4013 2003-08-27 John Levon <levon@movementarian.org>
4015 * funcrequest.C: properly initialise POD members
4017 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4019 * lyxtext.h (top_y): move top_y from here
4024 * BufferView_pimpl.[Ch]: to here
4025 * frontends/screen.C:
4026 * insets/insettabular.C:
4027 * insets/insettext.C: adjust
4028 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4030 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4033 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4035 2003-08-26 André Pönitz <poenitz@gmx.net>
4037 * paragraph_func.[Ch] (outerPar): new function
4040 * paragraph_funcs.C:
4041 * paragraph_funcs.h:
4042 * paragraph_pimpl.C:
4043 * text2.C: remove Inset::par_owner
4045 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4050 * text2.C: eliminates the needFullRow/display() stuff
4051 altogether, putting the logic in metrics/draw in the insets.
4053 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4055 * text2.C (redoParagraphInternal, redoParagraphs):
4056 * text.C (redoParagraph): add a call to updateRowPositions at the
4057 end of each 'metrics-like' call. Remove all others.
4058 (getRow): remove the 'y-computing' version.
4059 (getRowNearY): do not compute nor return the real y. Solve the
4060 'y < 0' problem and simplify.
4062 2003-08-22 Angus Leeming <leeming@lyx.org>
4064 * *.[Ch]: clean-up of licence and author blurbs.
4065 Also move config.h out of a few .h files and into a few .C files.
4067 2003-08-22 André Pönitz <poenitz@gmx.net>
4069 * lyxrow.[Ch]: add x_ and *fill_ members
4074 * text2.C: adjust/remove prepareToPrint() calls
4076 2003-08-22 André Pönitz <poenitz@gmx.net>
4078 * lyxrow.[Ch]: add end_ member
4080 * lyxrow_funcs.C: use LyXRow::end_
4082 * lyxtext.h (singleWidth): add LyXFont parameter
4085 * text2.C: adjust LyXText::singleWidth() calls
4087 * text.C (redoParagraph): simplify row breaking logic
4090 2003-08-19 André Pönitz <poenitz@gmx.net>
4092 * funcrequest.C: initialize button_ member
4095 * rowpainter.[Ch]: interface consolidation
4097 2003-08-18 André Pönitz <poenitz@gmx.net>
4100 * BufferView_pimpl.C:
4102 * paragraph_funcs.C:
4104 * text3.C: remove LyXScreen::draw() and fitCursor calls
4106 * BranchList.h: remove spurious semicolons
4108 * MenuBackend.C: fix branchlist related crash
4110 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4118 * bufferparams.[Ch]:
4122 * text3.C: implements the 'branch inset'
4123 idea. This allows the output of various versions of a document
4124 from a single source version, selectively outputing or suppressing
4125 output of parts of the text.
4126 This implementation contains a 'branch list editor' in a separate
4127 tab of the document settings dialog. Branches are user definable
4128 and have a "display colour" to distinguish them on-screen.
4130 ColorHandler was somewhat cleaned up.
4131 (1) make possible a dynamically growing LColor list by allowing
4132 the graphic context cache to grow along (vector);
4133 (2) eliminate an IMHO unnecessary step in colour allocation.
4135 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4137 * BufferView_pimpl.C: compile fix
4139 2003-08-15 André Pönitz <poenitz@gmx.net>
4141 * rowpainter.C: remove extra metrics calls
4143 * lyxtext.h: merge the two constructors into a single one,
4144 pass reference to owner's par list
4146 * BufferView_pimpl.C:
4150 2003-08-15 André Pönitz <poenitz@gmx.net>
4152 * lyxrow_funcs.[Ch]:
4155 * paragraph_funcs.C:
4160 * text_funcs.C: split LyXText::rowlist_ into individual
4161 Paragraph::rows_ chunks
4164 * BufferView_pimpl.[Ch]:
4167 * text3.C: remove toggleSelection()
4169 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4171 * bufferlist.C: beautify two alerts (shorter text of buttons)
4172 * buffer.C: Remove redundant ' ' from message
4174 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4175 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4176 rename VALIGN_CENTER to VALIGN_MIDDLE
4178 2003-08-11 André Pönitz <poenitz@gmx.net>
4180 * lyxtext.h (getPar):
4181 * text.C: new function
4183 2003-08-11 André Pönitz <poenitz@gmx.net>
4186 * tracer.[Ch]: remove unneeded files
4188 * InsetList.[Ch]: remove resizeInsetsLyXText()
4193 * text3.C: merge insertParagraphs() and appendParagraph()
4194 remove breakAgain(), update()
4196 * BufferView_pimpl.[Ch]:
4197 * bufferview_funcs.[Ch]:
4201 * tabular.C: adjust after text & InsetList changes.
4203 2003-08-08 André Pönitz <poenitz@gmx.net>
4205 * text.C (insertChar, backspace): replace rowlist fiddling
4206 with rebreak of full par
4209 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4210 checkParagraph, updateInset): removed
4212 2003-08-07 André Pönitz <poenitz@gmx.net>
4215 * text3.C: merge some LFUN handlers, remove dead code
4217 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4219 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4221 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4223 * text2.C (DEPM): fix part of bug 1255 and 1256
4225 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4227 * BufferView_pimpl.C (workAreaDispatch): change to use
4228 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4229 that are no mouse related.
4231 2003-08-05 André Pönitz <poenitz@gmx.net>
4234 * BufferView_pimpl.[Ch]:
4235 * bufferview_funcs.C:
4237 * text3.C: rip out "deep update"
4239 * textcursor.[Ch] (last_sel_cursor): remove unused member
4241 2003-08-04 André Pönitz <poenitz@gmx.net>
4244 * BufferView_pimpl.[Ch]:
4245 * ParagraphParameters.C:
4246 * bufferview_funcs.C:
4252 * text3.C: replace "complicated" BufferView::update(...) calls with
4255 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4257 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4259 * Makefile.am (lyx_SOURCES): add paper.h
4261 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4263 * Makefile.am: move things around so that both lyx-qt and
4264 lyx-xforms can be built (according to --with-frontend). Then lyx
4265 is a symbolic link to lyx-[firstfrontend]
4267 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4269 * Always use std::endl with lyxerr
4271 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4273 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4275 2003-08-01 André Pönitz <poenitz@gmx.net>
4278 * BufferView_pimpl.[Ch]:
4280 * text3.C: merge BufferView::repaint() and BufferView::update()
4282 2003-08-01 José Matos <jamatos@lyx.org>
4284 * buffer.[Ch]: file_format is no longer a buffer data element.
4286 2003-08-01 André Pönitz <poenitz@gmx.net>
4291 * text2.C: make redoParagraph more independent of current cursor
4293 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4295 * text2.C: remove unneeded members
4297 2003-07-30 André Pönitz <poenitz@gmx.net>
4299 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4301 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4302 create a single function...
4304 * paragraph_funcs.C (moveItem): ... here.
4307 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4309 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4311 * LColor.[Ch]: Add comment and greyedout logical colors.
4313 2003-07-30 André Pönitz <poenitz@gmx.net>
4315 * tabular.C: don't use Assert too heavily. This crashes where it
4318 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4320 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4321 is disabled (bug 1232)
4323 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4325 * factory.C: limited 'arg' scope
4327 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4329 * factory.C: fixed Note submenu issues
4331 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4333 * factory.C: submenu for Note/Comment/Greyedout
4335 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4338 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4340 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4343 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4344 greyedout. Patch provided by Jürgen Spitzmüller.
4346 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4348 * kbmap.C (read): fix error message when reading bind files
4350 2003-07-29 Angus Leeming <leeming@lyx.org>
4352 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4353 certainly does not do what it purports to do. I am doing it, and
4354 us, a favour by killing it.
4356 2003-07-28 José Matos <jamatos@lyx.org>
4358 * buffer.C (readBody, do_writeFile):
4359 * paragraph.C(readParagraph): \end_document replaces \the_end.
4361 2003-07-29 André Pönitz <poenitz@gmx.net>
4364 * BufferView_pimpl.[Ch]:
4368 * textcursor.[Ch]: remove toggleToggle & Co
4370 2003-07-28 José Matos <jamatos@fep.up.pt>
4372 * buffer.C (readParagraph):
4373 * params_func (readParToken, readParagraph):
4374 * paragraph.C (write): \layout -> \begin_layout.
4376 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4378 * lyxlex_pimpl.C (setFile): clean up slightly.
4380 * bufferparams.h: add compressed var
4382 * buffer_funcs.C (readFile): adjust for LyXLex change
4383 (newFile): ditto + simplify
4385 * buffer.C (writeFile): handle writing of compressed files
4387 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4388 Check if the file is compressed and set a bufferparm if so.
4390 * Makefile.am (lyx_LDADD): remove explicit -lz
4392 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4394 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4395 makeDocBookFile): put the real LyX version in the first line of
4399 * version.C.in: remove lyx_docversion
4401 * tabular.C (write_attribute): add a template-based version to
4402 write enums properly
4404 2003-07-28 André Pönitz <poenitz@gmx.net>
4409 * text3.C: use doubles again for x-coordinates. They are needed.
4411 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4413 * messages.C (getLocaleDir): use lyx_localedir()
4415 * lyxlex_pimpl.C (setFile): compress stuff
4417 * buffer.C (writeFile): add some compression stuff
4418 (do_writeFile): new func, dont call expliti close... will this
4421 * Makefile.am (lyx_LDADD): add -lz
4423 2003-07-28 José Matos <jamatos@fep.up.pt>
4425 * buffer.C: increment file format.
4426 * paragraph_funcs (readParagraph, readParToken):
4427 * paragraph.C (readParagraph): add \end_layout.
4429 2003-07-27 Angus Leeming <leeming@lyx.org>
4431 * Makefile.am: remove special casing for configure-time setting of
4432 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4434 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4435 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4437 2003-07-26 André Pönitz <poenitz@gmx.net>
4439 * paragraph_func.[Ch]:
4440 * paragraph.C (realizeFont): inline it whereever it is used
4445 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4448 2003-07-26 André Pönitz <poenitz@gmx.net>
4452 * text2.C: get rid of LyXText::need_break_row
4454 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4456 * toc.[Ch]: put namespace toc inside namespace lyx
4458 * MenuBackend.C (expandToc2): adjust for lyx::toc
4461 * lyxfunc.C (dispatch): adjust for lyx::find
4463 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4464 lyx::find instead. Reorganize a bit.
4465 (LyXReplace): rename to replace
4466 (LyXFind): rename to find
4468 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4471 2003-07-26 André Pönitz <poenitz@gmx.net>
4473 * text.C (setHeightOfRow): restrict scope of temporary variable
4475 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4476 code (never has been used?)
4478 2003-07-27 Asger Alstrup <alstrup@local>
4480 * text.C (fill): Optimise algorithm to exploit that we can reuse
4481 the LyXFont for many characters.
4482 (setHeightOfRow): Same thing.
4483 (rowBreakPoint): Same thing.
4485 2003-07-26 Asger Alstrup <alstrup@local>
4487 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4489 * text.C (singleWidth): Spurious font copying in hot-spot
4490 singleWidth avoided. Reorder tests for arabic for efficiency.
4492 * text.C (fill): handle empty paragraphs better.
4494 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4497 * encoding.h: add includes
4499 * lyxrc.C: remove reading of bind files
4501 * lyx_main.C (init): setup bindings and menus only if we have a
4504 * kbmap.C (read): new method. Do the actual reading of bind
4507 * converter.C (dvipdfm_options):
4510 (output): adapt PAPER_* enums.
4512 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4514 * bufferparams.h: remove paper-related enums from there
4516 * paper.h: New file. A trivial header file to hold paper-related
4517 enums. It should later expand to contain many paper-related
4520 * lyxrc.C: declare extern displayTranslator
4522 2003-07-27 José Matos <jamatos@fep.up.pt>
4524 * tabular.[Ch] (linuxdoc): add support for tables and figures
4527 2003-07-27 José Matos <jamatos@fep.up.pt>
4529 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4530 consistency in both functions.
4531 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4533 2003-07-26 Asger Alstrup <alstrup@local>
4535 * rowpainter.C (paintRows): Change algorithm to work directly on
4536 the insets rather than asking every character in the document
4537 whether its an inset.
4539 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4541 * buffer.C (openFileWrite): factorize some code
4543 2003-07-26 Angus Leeming <leeming@lyx.org>
4546 * lyx_main.[Ch]: replace occurances of system_tempdir with
4549 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4551 * rename Inset to InsetOld
4553 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4555 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4556 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4557 which I think is a bit clearer. EDIT is gone, since it was
4558 premature optimisation, and broken for mathed anyway.
4559 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4560 with cursor positioning in insets as well (math insets still do not
4561 work, but that's a different story anyway.) It mysteriously
4562 crashes sometimes with undo in the first paragraph, but I'm fairly
4563 confident that this is a compiler bug.
4565 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4567 * paragraph.C (Paragraph): adjust for new clone return type
4569 (copyIntoMinibuffer): ditto
4571 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4573 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4574 by not having a special case, and always doing a full rebreak of
4575 the document after undo.
4577 2003-07-23 Angus Leeming <leeming@lyx.org>
4579 * factory.C (createInset): InsetExternal::setParams now takes a
4582 2003-07-23 Angus Leeming <leeming@lyx.org>
4584 * factory.C (createInset): changed interface to the external and
4585 graphics mailers' string2params functions.
4587 2003-07-23 Angus Leeming <leeming@lyx.org>
4589 * factory.C (createInset): pass a
4590 Buffer const * parameter to InsetExternalMailer's string2params.
4592 2003-07-22 John Levon <levon@movementarian.org>
4594 * Thesaurus.h: include the right aiksaurus header
4596 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4598 * MenuBackend.C (expand): check menu shortcuts unconditionally
4600 2003-07-21 Angus Leeming <leeming@lyx.org>
4602 * factory.C (createInset): pass a
4603 buffer_path parameter to InsetGraphicsMailer's string2params.
4605 2003-07-21 Angus Leeming <leeming@lyx.org>
4607 * BufferView_pimpl.C (buffer):
4610 * lyxfunc.C (dispatch):
4611 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4612 rather than the grfx shortcut.
4614 2003-07-21 André Pönitz <poenitz@gmx.net>
4616 * rowpainter.C: remove unused variables
4619 * tabular_funcs.h: move to tabular.C
4620 * Makefile.am: adjust
4622 * tabular.[Ch]: basic optical cleaning
4624 * author.h: pass references, not values
4626 2003-07-18 André Pönitz <poenitz@gmx.net>
4634 * text3.C: two-phase drawing for InsetText and InsetTabular
4635 some float -> int changes.
4637 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4639 * lyx_main.C: fix the fix
4641 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4643 * lyx_main.C: fix a crash in batch mode if no files specified
4646 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4648 * format.[Ch] (papersize): moved to BufferParams
4649 * converter.[Ch] (dvips_options): moved to BufferParams
4650 (dvipdfm_options): moved to anon namespace
4651 * bufferparams.[Ch]: added above functions.
4653 2003-07-17 André Pönitz <poenitz@gmx.net>
4657 * text2.C: don't call inset->update() anymore
4659 * metricsinfo.[Ch]: add convenience constructor
4661 2003-07-16 André Pönitz <poenitz@gmx.net>
4666 * text2.C: replace the LyXCursor::irow_ member with
4667 on-demand computation of the value
4669 2003-07-16 John Levon <levon@movementarian.org>
4671 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4673 2003-07-15 André Pönitz <poenitz@gmx.net>
4676 * text2.C: remove no more needed refresh_row
4678 2003-07-15 André Pönitz <poenitz@gmx.net>
4683 * text3.C: refresh_status tristate -> need_update bool
4685 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4687 * lyxtext.h (init): remove reinit argument (act as if always true)
4688 * text2.C: adjust to that
4690 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4692 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4693 * text3.C: use it to delete selections in some cases
4694 (bugs 441, 673, 702, 954).
4696 2003-07-14 André Pönitz <poenitz@gmx.net>
4698 * rowpainter.[Ch]: reduce interface
4700 2003-07-14 André Pönitz <poenitz@gmx.net>
4702 * BufferView_pimpl.C:
4703 * text2.C: adjust after removing unused BufferView * argument
4705 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4707 * text2.C (init): fix a crash fired on resize
4709 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4711 * buffer.[Ch]: added new closing signal
4712 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4713 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4714 BufferView::Pimpl via the closing the signal
4716 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4718 * buffer.[Ch]: take out all bv-related from buffer
4720 * BufferView_pimpl.[Ch]: connect to new signals
4721 * CutAndPaste.C: removed useless asserts
4722 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4725 * lyxfunc.C: moved view-related funciontality from vc here
4726 * paragraph.C: removed outdated comments
4729 2003-07-10 André Pönitz <poenitz@gmx.net>
4731 * BufferView_pimpl.C:
4735 * text2.C: remove InsetText::InnerCache, clean up consequences
4737 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4739 * ispell.C: fix two typos in error messages
4741 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4743 * Extend Note inset to other forms of annotation like Comment
4744 and Greyedout. Right button click gives dialog.
4746 Files modified or added (+):
4750 * ControlNote.[Ch] +
4752 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4753 frontends/controllers
4757 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4759 * aspell.C: add missing namespace lyx::support
4761 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4763 * BufferView.[Ch] (newFile): Add
4764 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4765 * LaTeX.[Ch] (message): added this signal and use it
4766 * buffer.[Ch] (busy, message): added these signals and use them
4767 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4771 * importer.C: use buffer signals instead of direct bv calling
4772 * lyx_cb.[Ch] (ShowMessage): removed
4775 * paragraph_funcs.C:
4776 * text2.C: use buffer signals
4778 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4780 * introduce namespace lyx::graphics
4782 2003-07-02 André Pönitz <poenitz@gmx.net>
4784 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4786 2003-07-01 André Pönitz <poenitz@gmx.net>
4793 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4794 text*.C to text_func.C
4796 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4798 * introduce namespace lyx::support
4800 2003-06-30 André Pönitz <poenitz@gmx.net>
4805 * text.C: re-enable --with-included-string
4807 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4809 * textcursor.C: add <config.h>
4811 * text.C (getWord): remove const from word_location arg
4813 * lyxvc.C (getLogFile): fix const type order
4815 * lyxtext.h: remove const from word_location arg, add arg name
4817 * lyxlayout.h: currect type on labeltype.
4819 * importer.C: correct \file
4821 * converter.C (intToFormat): use std:: on ret val, ws changes
4823 * bufferlist.h: correct \file
4825 * buffer.C (makeLinuxDocFile): fix const type order
4826 (makeDocBookFile): ditto
4827 (fillWithBibKeys): use std:: on stdlib args.
4829 * CutAndPaste.C: fix authors.
4830 (availableSelections): use std:: on return vector
4832 2003-06-27 André Pönitz <poenitz@gmx.net>
4834 * BufferView_pimpl.C:
4835 * bufferview_funcs.C:
4843 * text3.C: remove LyXCursor::row_ member
4846 * text.C: rename fullRebreak() to partialRebreak() and implement
4847 a fullRebreak() that really bereks fully
4849 * textcursor.h: new struct for cursor-related data
4851 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4853 * lyx_main.C (LyX): get full path of document loaded on the
4856 2003-06-26 André Pönitz <poenitz@gmx.net>
4858 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4859 remove unused/broken operator>,<,>=.
4861 * text.C: remove only use of broken operator<= in an Assert().
4863 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4865 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4866 moved errorlist_.clear to showErrorList
4868 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4870 * converter.C (scanLog, runLaTeX):
4871 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4872 move the bv->showErrorList call to the callers
4873 * lyxfunc.C: i.e. here...
4875 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4876 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4877 namespace, the second to...
4878 * buffer_funcs (BufferFormat, parseErrors): added
4879 * errorlist.C (ErrorList(TeXErrors const &)): removed
4881 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4883 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4885 2003-06-24 "Garst R. Reese" <reese@isn.net>
4889 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4891 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4893 * version.C.in: change docversion to 1.4
4895 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4897 * buffer.C: fix a bug just introduced
4899 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4901 * buffer.[Ch]: added the parseError signal and use it, removed
4903 * BufferView.[Ch] (addError): moved to ...
4904 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4905 to the Buffer::parseError signal to catch (guess what) parse errors
4906 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4908 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4910 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4911 ability to create a buffer and to return an existing one from
4912 the list. Moved these functions to...
4913 * buffer_funcs.[Ch]: added
4914 * BufferView.[Ch] (loadLyXFile): added
4915 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4916 job removed from bufferlist::loadLyXFile.
4917 * buffer.C (setReadOnly): make it work without view
4918 (i.e added an if (users))
4920 2003-06-19 Angus Leeming <leeming@lyx.org>
4923 * LyXAction.C (init):
4924 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4925 with LFUN_DIALOG_SHOW <name> <data>.
4927 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4929 * CutAndPaste.C (availableSelections): small compilation fix for
4930 ancient (gcc 2.9x) compilers
4932 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4934 * text3.C (cursorNext): add tmp var
4936 * text2.C (updateCounters): for function calling out of for clause
4937 (replaceSelectionWithString): ditto
4938 (insertStringAsParagraphs): ditto
4939 (getColumnNearX): add tmp var
4940 (setCursorFromCoordinates): add tmp var
4941 (cursorDownParagraph): add tmp var
4942 (deleteEmptyParagraphMechanism): add tmp var
4944 * text.C (insertChar): add tmp var
4946 * rowpainter.C (paintDepthBar): add tmp var
4948 * CutAndPaste.C (availableSelections): potentially check all
4949 paragraphs in a cut to fill the shown strings.
4951 2003-06-18 André Pönitz <poenitz@gmx.net>
4953 * kbmap.[Ch]: use vector<> instead of list<>
4955 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4957 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4958 pasteSelection with index
4960 * text2.C (pasteSelection): modify, call pasteSelection with index
4962 * paragraph.C (asString): reimplement version with no interval to
4963 call the one with interval.
4965 * lyxtext.h: add index arg to pasteSelection
4967 * MenuBackend.C (MenuItem): handle PasteRecent
4968 (Menu::read::Menutags): add md_pasterecent
4970 (expandPasteRecent): new function
4973 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4975 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4977 (availableSelections): new function
4979 2003-06-17 Angus Leeming <leeming@lyx.org>
4981 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4983 2003-06-17 Angus Leeming <leeming@lyx.org>
4986 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4988 * lyxfunc.C (dispatch): invoke it.
4990 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4992 * iterators.C (operator++, ParPosition): reintroduce some
4993 const_cast for the benefit of older compilers.
4995 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4997 * text3.C (dispatch): do not modify clipboard when doing
4998 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4999 LFUN_DELETE_SKIP on a selection selection
5001 2003-06-16 André Pönitz <poenitz@gmx.net>
5007 * tabular.[Ch]: IU of clone() and getLabelList();
5009 2003-06-13 André Pönitz <poenitz@gmx.net>
5011 * tabular.h: compactification
5013 2003-06-12 André Pönitz <poenitz@gmx.net>
5017 * tabular_funcs.h: some renaming plus whitespace
5019 2003-06-12 André Pönitz <poenitz@gmx.net>
5022 * BufferView_pimpl.C:
5028 * toc.C: Return a Paragraph & for ParIterator::operator*()
5030 2003-06-11 John Levon <levon@movementarian.org>
5034 * ToolbarBackend.C: add "Toolbars" section and
5037 2003-06-10 Angus Leeming <leeming@lyx.org>
5040 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5042 * lyxfunc.C (dispatch): invoke it.
5044 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5046 * main.C: protect <ios> with HAVE_IOS
5047 (main): protect sync_with_stdio with HAVE_IOS
5049 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5051 * text2.C (cutSelection): adjust
5052 (pasteSelection): adjust
5054 * messages.C: handle get of empty string
5056 * main.C (main): use sync_with_stdio(false)
5058 * lyxfunc.C (dispatch): adjust
5060 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5061 (WriteAs): remove unneeded BufferView arg.
5063 * bufferparams.h: use correct types on papersize, papersize2 and
5066 * bufferparams.C (readToken): adjust for type
5067 (writeLaTeX): add missing cases to switch.
5069 * bufferlist.C (quitWriteBuffer): adjust
5072 * buffer.C (asciiParagraph): remove some commented code.
5074 * CutAndPaste.C: remove current_view extern variable.
5075 (cutSelection): add BufferParams arg.
5076 (eraseSelection): add BufferParams arg.
5077 (pasteSelection): add Buffer const & arg
5079 2003-06-07 John Levon <levon@movementarian.org>
5082 * paragraph_funcs.C:
5083 * paragraph_pimpl.C:
5087 * paragraph.C: allow InsetERT to freely space lines,
5088 and some consolidation of code
5090 2003-06-06 José Matos <jamatos@fep.up.pt>
5092 * buffer.C (makeDocBookFile): fix bug #821
5094 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5096 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5098 2003-06-04 Angus Leeming <leeming@lyx.org>
5100 * buffer.C: bump format to 224.
5102 2003-06-05 André Pönitz <poenitz@gmx.net>
5104 * text2.C (redoParagraphs): remove two const_cast<>
5106 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5108 * ParagraphList.h: remove last remnants of NO_STD_LIST
5110 2003-06-03 Angus Leeming <leeming@lyx.org>
5112 * factory.C (createInset): small change to the way InsetExternal's params
5115 2003-06-04 André Pönitz <poenitz@gmx.net>
5117 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5119 * paragraph_pimpl.h:
5120 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5122 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5124 * undo_funcs.C: make some simple cases of undo work again
5126 2003-06-03 John Levon <levon@movementarian.org>
5128 * ispell.C: HPUX doesn't have sys/select.h
5131 2003-06-03 John Levon <levon@movementarian.org>
5133 * CutAndPaste.C: update tabular and include inset
5138 * paragraph.C: remove owningBuffer(), don't pass Buffer
5141 * factory.C: insetGraphicsParams changed
5143 2003-06-02 John Levon <levon@movementarian.org>
5149 * text3.C: remove insetparent
5151 2003-06-02 John Levon <levon@movementarian.org>
5154 * buffer.C: fix inset_iterator.end(), move out of line
5157 2003-06-01 John Levon <levon@movementarian.org>
5159 * text3.C: use a proper cut/paste when doing inset
5160 insert (from Jürgen Spitzmüller)
5162 2003-06-01 John Levon <levon@movementarian.org>
5164 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5166 2003-05-30 André Pönitz <poenitz@gmx.net>
5168 * rowpainter.C: unify second drawing phase
5170 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5172 * trans_mgr.C: remove one case of current_view
5174 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5176 * paragraph_funcs.h: remove paragraph.h include
5178 * paragraph.h: delete NO_STD_LIST stuff
5180 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5182 * buffer.h: remove paragraph.h include
5184 * ParagraphList.C: delete file
5186 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5188 * toc.C (getTocList): adjust
5190 * paragraph_pimpl.C (validate): adjust
5192 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5194 * paragraph.C (Paragraph): adjust
5195 (getPositionOfInset): use const_iterator, adjust
5196 (bibitem): use const_iterator, adjust
5197 (setInsetOwner): adjust
5199 * iterators.C (operator++): adjust
5201 * InsetList.[Ch]: Replace selfmade iterator with standard
5202 vector::iterator also introduce const_iterator. Remove getPos,
5203 getInset and setInset from InsetTable. Adjust accordingly.
5205 * BufferView.C (lockInset): adjust
5206 (ChangeInsets): adjust
5208 * tabular.[Ch]: delete commented same_id functions
5210 2003-05-28 John Levon <levon@movementarian.org>
5212 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5214 2003-05-28 André Pönitz <poenitz@gmx.net>
5216 * metricsinfo.[Ch]: remove 'fullredraw' member
5218 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5220 * lyxtextclass.C (operator): remove caching.
5222 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5226 * text2.C (cursorBottom): adjust
5227 (setCounter): use ParagraphList::find, adjust
5229 * text.C (workWidth): use ParagraphList::find, adjust
5231 * lyxcursor.C (LyXCursor): adjust
5233 * buffer.C (inset_iterator): adjust
5235 * ParagraphList.h: make iterator(value_type) private, make
5236 ParagraphList a friend of iterator.
5238 * ParagraphList.C (find): new function
5240 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5242 2003-05-27 André Pönitz <poenitz@gmx.net>
5244 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5246 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5248 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5250 2003-05-26 John Levon <levon@movementarian.org>
5252 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5254 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5256 * remove same_id from function signatures, adjust.
5258 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5260 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5262 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5264 * paragraph.C (Paragraph): get rid of same_ids parameter
5266 * ParagraphList.C (insert): adjust
5269 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5271 * paragraph_funcs.C (breakParagraph): adjust
5272 (breakParagraphConservative): adjust
5274 * buffer.C (readParagraph): adjust
5276 * ParagraphList.C (insert): take a reference instead of a pointer
5279 * paragraph.[Ch] (id): new function
5281 * bufferlist.C (newFile): adjust
5283 * ParagraphList.C (ParagraphList): adjust
5285 (push_back): take a reference instead of a pointer.
5287 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5289 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5292 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5293 set else use old code.
5295 * ParagraphList.C: remove all NO_NEXT code and only compile this
5296 code of NO_STD_LIST is set.
5298 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5300 * BufferView_pimpl.C:
5310 * graphics/GraphicsConverter.C:
5311 * graphics/PreviewLoader.C: header adjustment
5313 2003-05-23 Angus Leeming <leeming@lyx.org>
5315 * LaTeXFeatures.[Ch] (useBabel): new method.
5316 * bufferparams.C (writeLaTeX): use it.
5318 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5320 * ParagraphList.h (set): remove unused function.
5322 2003-05-23 André Pönitz <poenitz@gmx.net>
5325 * BufferView_pimpl.C:
5329 * undo_funcs.C: setUndo reworked
5331 * iterators.[Ch]: add access to topmost ParagraphList
5333 * lyxtext.[Ch] (workWidth): add a const
5335 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5337 * texrow.[Ch] (increasePos): remove function
5338 * exporter.C (export): removed unused var and outdated comment
5340 2003-05-23 Angus Leeming <leeming@lyx.org>
5342 * latexrunparams.h: rename fragile as moving_arg.
5343 * paragraph.C (simpleTeXOnePar): ditto.
5344 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5346 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5348 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5350 (textUndoOrRedo): comment out a currently unused var.
5352 * paragraph.h (NO_NEXT): enable NO_NEXT
5354 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5356 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5358 * exporter.C (Export): adjust for removeAutoInsets removal.
5360 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5362 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5364 * BufferView.[Ch] (removeAutoInsets): delete function
5366 2003-05-22 Angus Leeming <leeming@lyx.org>
5368 * latexrunparams.h: add a free_spacing variable.
5370 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5371 to pass moving_arg, as the data is stored in runparams.fragile.
5373 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5374 to Inset::latexOptional or to simpleTeXOnePar.
5376 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5377 free_spacing arg to Inset::latexOptional.
5379 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5382 2003-05-22 Angus Leeming <leeming@lyx.org>
5384 * latexrunparams.h: add fragile and use_babel variables.
5386 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5387 * buffer.C (makeLaTeXFile): store this returned value in
5388 runparams.use_babel, thus passing it to the inset::latex methods.
5390 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5391 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5393 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5394 longer has a fragile arg, as it is stored in runparams.fragile.
5396 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5397 moving_arg parameter as the data is stored in runparams.fragile.
5399 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5400 a fragile parameter as the data is stored in runparams.fragile.
5402 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5404 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5406 2003-05-22 Angus Leeming <leeming@lyx.org>
5408 * latexrunparams.h: add a 'bool nice' which defaults to false.
5410 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5411 now encapsulated within runparams.
5413 * bufferlist.C (updateIncludedTeXfiles):
5414 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5416 2003-05-22 Angus Leeming <leeming@lyx.org>
5418 * latexrunparams.h: new file containing struct LatexRunParams.
5419 * Makefile.am: add new file.
5421 * LaTeX.[Ch] (c-tor, run):
5422 * buffer.[Ch] (makeLaTeXFile):
5423 * bufferlist.[Ch] (updateIncludedTeXfiles):
5424 * converter.C (convert, scanLog):
5425 * converter.[Ch] (runLaTeX):
5426 * exporter.C (Export):
5427 * paragraph.[Ch] (simpleTeXOnePar):
5428 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5429 * paragraph_funcs.[Ch] (latexParagraphs):
5430 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5431 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5432 pass around a LatexRunParams parameter.
5434 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5436 * paragraph.[Ch]: remove unused constructor
5438 * ParagraphList.C (erase): new function, taking two iterators
5440 2003-05-22 André Pönitz <poenitz@gmx.net>
5442 * undo_funcs.C: remove duplicated code
5444 * iterator.[Ch]: operator=
5446 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5448 * tabular.C (SetMultiColumn): ws changes
5450 * rowpainter.C (paintFirst): get rid of a ->previous
5452 * lyx_cb.C (getPossibleLabel): parlist simplification
5454 * BufferView.C (ChangeInsets): simplify slightly.
5456 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5458 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5459 * lfuns.h: new LFUN_SPACE
5460 * lyxfunc.C: protected space has a new lfun
5461 * paragraph_funcs.C: read new space insets
5463 * factory.C: handle new space insets
5465 2003-05-22 André Pönitz <poenitz@gmx.net>
5468 * BufferView_pimpl.C:
5471 * undo_funcs.C: return a ParIterator from getParFromID.
5473 * iterators.[Ch]: add two const's
5475 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5477 * toc.C (getTocList): adjust
5479 * iterators.[Ch]: rework for parlist
5481 * buffer.C (par_iterator_begin): adjust
5482 (par_iterator_end): adjust
5484 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5486 * BufferView.C (removeAutoInsets): adjust
5487 (ChangeInsets): adjust
5489 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5491 * text.C (top_y): fix bug 1110
5493 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5495 * errorlist.[Ch]: added
5498 * BufferView_pimpl.C:
5499 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5502 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5504 * Makefile.am: ensure that lyx is relinked upon changes to the
5505 various "convenience" libs.
5507 2003-05-20 Angus Leeming <leeming@lyx.org>
5509 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5510 files are compiled in alphabetical order again.
5512 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5514 2003-05-19 Angus Leeming <leeming@lyx.org>
5516 * gettext.[Ch]: remove "char const * _(char const *)".
5518 2003-05-19 André Pönitz <poenitz@gmx.net>
5520 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5529 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5531 2003-05-19 André Pönitz <poenitz@gmx.net>
5535 * lyxtextclass.[Ch]:
5537 * paragraph_funcs.[Ch]:
5539 * text3.C: more insetenv work
5541 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5543 * ParagraphParameters.C (params2string): small bug fixed
5545 2003-05-16 André Pönitz <poenitz@gmx.net>
5548 * bufferview_funcs.C: patch from Kornel Benko to prevent
5549 crash when _(...) is called twice in a statement
5551 2003-05-16 André Pönitz <poenitz@gmx.net>
5558 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5560 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5562 * lyx_main.C (init): remove spurious static_cast
5564 2003-05-14 André Pönitz <poenitz@gmx.net>
5566 * BufferView.C: fix format string
5568 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5570 * BufferView.[Ch] (insertErrors): removed
5571 * BufferView.[Ch] (showErrorList): added
5572 * buffer.C (runChkTeX):
5573 * converter.C (scanLog): call showErrorList instead of inserterrors
5575 2003-05-13 André Pönitz <poenitz@gmx.net>
5577 * BufferView_pimpl.C:
5579 * bufferview_func.C:
5586 * tabular_funcs.h: tostr() from its own header
5588 * ParagraphParameters.C:
5593 * text3.C: STRCONV()
5595 2003-05-12 André Pönitz <poenitz@gmx.net>
5598 * BufferView_pimpl.C:
5602 * ParagraphParameters.C:
5606 * bufferview_funcs.C:
5619 * paragraph_funcs.C:
5623 * text3.C: boost::format -> bformat all over the place
5626 2003-05-09 André Pönitz <poenitz@gmx.net>
5628 * LColor.[Ch]: Pimpl the #include <map> away
5630 2003-05-09 John Levon <levon@movementarian.org>
5632 * bufferlist.C: never remove emergency saves
5634 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5636 * Makefile.am: better lib building
5638 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5640 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5642 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5643 (simpleTeXSpecialChars): adjust
5644 (simpleTeXSpecialChars): adjust
5645 * paragraph.C (simpleTeXOnePar): adjust
5646 * buffer.C (makeLaTeXFile): adjust
5648 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5650 * text2.C (changeDepth): parlist cleanup
5651 (getColumnNearX): ditto
5653 * rowpainter.C (getLabelFont): parlist cleanup
5655 * bufferlist.C (newFile): parlist cleanup
5657 * CutAndPaste.C (eraseSelection): parlist cleanup
5659 * BufferView_pimpl.C (trackChanges): parlist cleanup
5662 * BufferView.C (lockInset): parlist cleanup.
5663 (ChangeInsets): ditto
5665 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5667 * CutAndPaste.h: Update file header.
5669 * CutAndPaste.C: Update file header.
5670 Store the parts cut out of the Document in a limited_stack.
5671 (copySelection): adjust
5672 (pasteSelection): new function, takes the index in the limited stack.
5673 (nrOfParagraphs): adjust
5674 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5675 simplify error inset insertion.
5676 (checkPastePossible): adjust
5678 2003-05-06 John Levon <levon@movementarian.org>
5680 * text2.C: don't cast wrap inset to float
5682 2003-05-05 André Pönitz <poenitz@gmx.net>
5685 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5687 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5688 few naked Paragraph *.
5690 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5692 * bufferparams.C: Output warning if a document with missing
5693 TeX document class is loaded
5694 * exporter.C: Disable TeX exports if the document class is missing
5697 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5698 isTeXClassAvailable()
5700 2003-05-03 John Levon <levon@movementarian.org>
5703 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5704 explicit cursor show/hide
5706 * BufferView_pimpl.h:
5707 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5708 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5710 * lyxfunc.C: hide cursor before dispatching.
5715 * text3.C: remove explicit cursor hides
5717 2003-05-02 André Pönitz <poenitz@gmx.net>
5719 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5722 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5725 * text2.C: tiny whitespace
5727 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5729 * undo_funcs.C: almost only ws changes.
5731 * ParagraphList.C (splice): just return if pl is empty.
5733 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5735 * ParagraphList.C (splice): new function.
5737 * CutAndPaste.C (pasteSelection): use it
5739 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5741 * CutAndPaste.C (pasteSelection): remove the last next and
5742 previous from this file.
5744 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5746 * CutAndPaste.C (pasteSelection): more clean up, user proper
5747 ParagraphList functions for pasteing.
5749 * ParagraphList.C (insert): new function, three arg insert
5751 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5753 * ParagraphList.C (insert): new function, three arg insert
5755 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5758 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5760 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5762 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5764 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5766 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5768 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5769 (copySelection): clean up a bit.
5770 (pasteSelection): use make_pair
5772 * ParagraphList.C (ParagraphList): implement copy constructor
5773 (operator=): implement, base on copy constructor.
5776 * paragraph.C (erase): return a bool
5778 * paragraph_pimpl.C (erasePos): remove function, move contents...
5779 (erase): ... here. Return a bool.
5780 (erase): call erase instead of erasePos.
5782 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5784 * ParagraphList.h: define PitPosPair
5785 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5786 ParagraphList, fix a bug on pasting multiple pars
5787 * text2.C: change interface to C&P
5789 2003-04-30 André Pönitz <poenitz@gmx.net>
5791 * undo_func.C: revert part of yesterday's patch 2
5793 2003-04-30 John Levon <levon@movementarian.org>
5795 * LColor.C: s/tabular/table/
5797 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5799 * text3.C (dispatch): do not convert iterator -> pointer
5800 * undo_funcs.C (setCursorParUndo): ditto
5801 * text_funcs.C (transposeChars): ditto
5803 * text2.C (setLayout): ws changes only
5805 * text.C (breakParagraph): do not convert iterator -> pointer
5807 (acceptChange): ditto
5808 (rejectChange): ditto
5813 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5816 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5818 * text3.C (gotoInset): YABG (yet another bad getChar)
5820 2003-04-29 André Pönitz <poenitz@gmx.net>
5822 * paragraph.h: make operator= private unimplemented as long as
5825 * ParagraphList.C: whitespace
5828 * paragraph_pimpl.[Ch]:
5829 * paragraph_funcs.C:
5831 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5834 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5836 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5838 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5839 * paragraph.[Ch] (erase):
5840 * paragraph_pimpl.[Ch] (erase): change return type and value
5841 * text2.C (cutSelection): some rework
5843 2003-04-28 John Levon <levon@movementarian.org>
5845 * bufferlist.C: changes for unsaved changes dialog
5847 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5849 * bufferlist.C (newFile): set language (messages_) for new
5852 * buffer.C (readFile): ws changes only.
5854 2003-04-28 André Pönitz <poenitz@gmx.net>
5859 * BufferView_pimpl.C:
5860 * BufferView.C: getParFromID related ParagraphList::iterator changes
5862 2003-04-28 André Pönitz <poenitz@gmx.net>
5864 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5867 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5869 * messages.C: remove one more localedir class variable.
5871 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5873 * messages.C (getLocaleDir): singleton generation function
5875 (Messages): add a default constructor.
5877 * main.C (main): do not setup localedir here, do not call
5880 * gettext.C (_): use it.
5881 (gettext_init): delete funciton
5883 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5885 * gettext.C (getLyXMessages): new singleton generating function.
5887 * buffer.C (updateDocLang): adjust
5889 * Makefile.am (messages.o): add target
5890 (main.o): remove target
5892 2003-04-27 John Levon <levon@movementarian.org>
5897 * lyxvc.C: specify cancel button in Alert::prompt
5899 2003-04-26 John Levon <levon@movementarian.org>
5904 * LyXAction.C: add LFUN_INSET_SETTINGS
5906 * lyxfunc.C: don't enable tabular-feature when there's
5907 just any locking inset
5909 2003-04-26 John Levon <levon@movementarian.org>
5911 * bufferlist.C: re-add Cancel to buffer close question
5913 * lyxfunc.C: fix import UI a bit
5915 2003-04-25 John Levon <levon@movementarian.org>
5917 * gettext.C: remove the broken asserts for now
5919 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5921 * messages.C: make case where setlocale cannot comply work better.
5923 * buffer.C (updateDocLang): new function
5924 (changeLanguage): use it
5927 * text2.C (setCounter): use B_ a bit.
5929 * lyxlayout.C (Read): be sure to trim the label strings.
5931 * messages.C (Messages): fix typo in comment
5933 * buffer.C (readFile): set message_ after file is loaded.
5934 (makeDocBookFile): remove double return
5935 (changeLanguage): reset message_ upon language change.
5936 (B_): new func, use this to get translated buffer strings.
5938 * main.C: add myself and Jean Marc as authors.
5940 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5942 * messages.[hC]: pimplify Messages, and three different pimpls to be
5943 used in different circumstances.
5945 * gettext.[Ch]: change for use with new message code.
5947 2003-04-24 André Pönitz <poenitz@gmx.net>
5949 * factory.C: support for eqref
5951 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5953 * messages.[Ch]: add missing char
5955 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5957 * messages.[Ch]: New files
5959 2003-04-18 John Levon <levon@movementarian.org>
5963 * BufferView_pimpl.C:
5967 * text2.C: remove layout-copy/paste (bug 778)
5969 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5971 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5973 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5975 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5976 if they succeed. Act accordingly.
5978 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5980 * text2.C (setCharFont): adjust
5981 (setCounter): adjust
5982 (insertStringAsLines): adjust
5984 * text.C (leftMargin): adjust
5985 (setHeightOfRow): adjust
5987 * rowpainter.C (paintFirst): adjust
5990 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5992 (isFirstInSequence): ditto
5993 (getEndLabel): ditto
5996 * paragraph.C (getParLanguage): comment out some hard stuff.
5998 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6000 (simpleDocBookOnePar): ditto
6001 (makeDocBookFile): use ParagraphList::iterator
6003 * CutAndPaste.C (pasteSelection): adjust
6005 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6007 * text2.C (getFont): adjust
6008 (getLayoutFont): adjust
6009 (getLabelFont): adjust
6011 * paragraph_funcs.C (TeXOnePar): adjust
6013 * buffer.C (simpleLinuxDocOnePar): adjust
6014 (simpleDocBookOnePar): adjust
6016 * CutAndPaste.C (pasteSelection): adjust
6018 * BufferView.C (getEncoding): adjust
6020 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6022 2003-04-16 John Levon <levon@movementarian.org>
6024 * lyxfind.C: use parlist stuff for search/changes
6026 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6028 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6030 * text2.C (deleteEmptyParagraphMechanism): adjust
6032 * text2.[Ch] (ownerParagraph): delete func (both of them
6034 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6036 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6038 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6040 * ParagraphList.C: prepare for NO_NEXT
6042 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6044 * text2.C (getFont): adjust
6045 (getLayoutFont): adjust
6046 (getLabelFont): adjust
6048 * paragraph.C (getFont): adjust
6049 (getLabelFont): adjust
6050 (getLayoutFont): adjust
6052 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6054 2003-04-15 John Levon <levon@movementarian.org>
6058 * lyx_main.C: handle Include in .ui files
6060 2003-04-15 John Levon <levon@movementarian.org>
6062 * MenuBackend.C: make the doc files length shorter
6065 * ToolbarBackend.C: handle toolbar placement flags,
6068 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6070 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6073 * paragraph_funcs.C (TeXOnePar): adjust
6075 * paragraph.C (getLabelFont): add outerfont arg, adjust
6076 (getLayoutFont): ditto
6077 (simpleTeXOnePar): adjust
6079 * paragraph_pimpl.C (realizeFont): delete func
6081 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6083 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6084 row argument, constify cur argument.
6086 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6088 * text2.C (getFont): adjust
6089 (getLayoutFont): adjust
6090 (getLabelFont): adjust
6092 * paragraph_funcs.C (TeXOnePar): adjust
6093 (outerFont): new func...
6094 (realizeFont): ...moved out from here, changed this to facilitate
6097 * paragraph.C (getFont): take outerfont as arg, adjust
6098 (simpleTeXOnePar): add outerfont arg, adjust
6100 * buffer.C (simpleLinuxDocOnePar): adjust
6101 (simpleDocBookOnePar): adjust
6103 * CutAndPaste.C (pasteSelection): adjust
6105 * BufferView.C (getEncoding): adjust
6107 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6109 * text2.C (setCharFont): adjust
6110 (setCounter): adjust
6112 * text.C (leftMargin): adjust
6113 (setHeightOfRow): adjust
6115 * rowpainter.C (paintFirst): adjust
6118 * paragraph_pimpl.C (realizeFont): adjust
6120 * paragraph.C (isFirstInSequence): move from here...
6121 * paragraph_funcs.C (isFirstInSequence): ...to here
6123 * paragraph.C (outerHook): move from here...
6124 * paragraph_funcs.C (outerHook): ...to here
6126 * paragraph.C (depthHook): move from here...
6127 * paragraph_funcs.C (depthHook): ...to here
6129 * paragraph.C (getEndLabel): move from here...
6130 * paragraph_funcs.C (getEndLabel): ...to here
6132 * text2.C (realizeFont): move from here...
6133 * paragraph_funcs.C (realizeFont): ...to here
6135 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6137 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6139 2003-04-14 Angus Leeming <leeming@lyx.org>
6141 * LColor.[Ch]: scrap LColor mathcursor.
6143 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6145 * lyxlex.[Ch] (text): delete function
6146 * trans.C (Load): adjust
6147 * paragraph_funcs.C (readParToken): adjust
6149 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6151 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6152 vector<char> instead of a char[].
6154 * lyxlex_pimpl.C (getString): adjust
6156 (lex): use getString
6160 * lyxlex.C (text): use pimpl_->getString()
6164 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6166 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6167 (makeFontEntriesLayoutSpecific): temp var for par.size()
6168 (setLayout): temp var for ownerParagraphs().end()
6169 (fullRebreak): temp var for rows().end()
6170 (selectionAsString): temp var for boost::next(startpit), realize
6171 that the while really is a regular for loop.
6172 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6173 setCursor in one place.
6174 (setParagraph): temp vr for ownerParagraphs().end()
6175 (updateCounters): make the while loop a for loop
6176 (cutSelection): temp var for ownerParagraphs().end()
6177 (updateInset): make the do {} while() a regular for loop
6178 (getCursorX): use temp vars
6179 (setCurrentFont): use temp vars
6180 (getColumnNearX): use temp vars
6182 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6184 * text.C (transformChar): use temp var for getChar
6185 (computeBidiTables): use temp var for row->par()
6186 (fill): move temp vars for row->par() and pit->layout() earlier in
6188 (labelFill): use temp var for row->par()
6189 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6190 asc and desc, realize that pit never changes and that firstpit is
6191 just a duplicate and not needed. Exchange rit->par() with pit in a
6193 (breakAgain): use a temp var for boost::next(rit)
6194 (breakAgainOneRow): ditto
6195 (breakParagraph): use a temp var for rows().begin()
6196 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6197 (cursorRightOneWord): use temp var for cursor.par() and
6198 cursor.pos(), remove usage of tmpcursor.
6199 (cursorLeftOneWord): use temp var for cursor.par() and
6200 cursor.pos() only set cur at end of function.
6202 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6204 * text.C, text2.C: exchange all usage of Paragraph::next with
6205 boost::next(ParagraphList::iterator)
6207 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6209 * text2.C (cursorTop): simplify implementation
6210 (cursorBottom): ditto
6211 (setParagraph): use ParagraphList::iterator
6212 (setCurrentFont): adjust
6213 (getColumnNearX): adjust
6214 (cursorRight): adjust
6215 (cursorLeft): remove usage of Paragraph::previous
6216 (cursorUpParagraph): ditto
6217 (deleteEmptyParagraphMechanism): slight cleanup
6219 * text.C (isBoundary): take a Paragraph const & instead of a
6221 (addressBreakPoint): ditto
6222 (leftMargin): remove usage of Paragraph::previous.
6223 (setHeightOfRow): ditto
6224 (cursorLeftOneWord): ditto
6225 (selectNextWordToSpellcheck): ditto
6228 (breakParagraph): remove one usage of Paragraph::next
6229 (redoParagraph): ditto
6230 (acceptChange): ditto
6231 (insertChar): adjust
6232 (rowBreakPoint): adjust
6234 * bufferview_funcs.C (toggleAndShow): adjust
6236 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6238 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6239 methods to access it.
6241 * text.C: Added updateRowPositions to compute all row positions.
6242 Make top_y and getRowNearY() to use the cached y position
6244 2003-04-11 John Levon <levon@movementarian.org>
6246 * text.C (rowBreakPoint): reintroduce the labelEnd
6247 checks, code copied from the row fill stuff. Deep voodoo.
6249 * text.C (fill): add a comment and debugging for the
6252 2003-04-11 John Levon <levon@movementarian.org>
6254 * text.C: make sure fullrow insets get wrapped to the next line,
6255 even when they're in a manual label
6257 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6259 * text2.C (insertParagraph): make it take ParagraphList::iterator
6261 (setLayout): make it return ParagraphList::iterator
6262 (redoParagraphs): ditto
6264 (checkParagraph): ditto
6266 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6268 * text2.C: adjust several funcs.
6269 (realizeFont): take a ParagraphList::iterator as arg.
6270 (getLayoutFont): ditto
6271 (getLabelFont): ditto
6272 (setCharFont): ditto
6274 * text.C: adjust several funcs.
6276 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6278 * text.C (selectNextWordToSpellcheck): don't accidentally
6281 2003-04-10 John Levon <levon@movementarian.org>
6283 * ToolbarBackend.C (getIcon): special handling for
6286 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6288 * text2.C (cursorRight): a getChar assert fixed
6290 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6292 * text2.C (getFont): change to take a ParagraphList::iterator
6293 instead of Paragraph*
6294 Adjust several functions.
6296 * text.C (transformChar): change to take a ParagraphList::iterator
6297 instead of Paragraph*
6298 (singleWidth): ditto
6299 Adjust several functions.
6301 * rowpainter.C: adjust several functions
6302 * rowpainter.h:store a ParagraphList::iterator and not a
6306 2003-04-09 John Levon <levon@movementarian.org>
6311 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6312 and the "help" bits as well
6314 2003-04-09 John Levon <levon@movementarian.org>
6317 * ToolbarBackend.C: allow multiple toolbars
6319 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6321 * undo_funcs.C (setCursorParUndo): adjust
6323 * text_funcs.C (transposeChars): adjust
6325 * text3.C (gotoNextInset): adjust
6328 * text2.C (setLayout): adjust
6329 (changeDepth): adjust
6331 (redoParagraphs): adjust
6332 (selectionAsString): adjust
6333 (setParagraph): adjust
6334 (insertInset): adjust
6335 (cutSelection): adjust
6336 (copySelection): adjust
6337 (pasteSelection): adjust
6338 (insertStringAsLines): adjust
6339 (updateInset): adjust
6340 (setCursor): change to take a ParagraphList::iterator parameter
6341 (setCursorIntern): change to take a ParagraphList::iterator parameter
6342 (setCurrentFont): adjust
6343 (cursorLeft): adjust
6344 (cursorRight): adjust
6345 (deleteEmptyParagraphMechanism): adjust
6347 * text.C (breakParagraph): adjust
6348 (insertChar): adjust
6349 (acceptChange): adjust
6350 (rejectChange): adjust
6351 (selectNextWordToSpellcheck): adjust
6352 (changeCase): adjust
6356 * lyxfind.C (SearchForward): adjust
6357 (SearchBackward): adjust
6358 (nextChange): adjust
6360 * lyxcursor.C (par): adjust
6362 * lyxcursor.h: store a ParagraphList::iterator instead of a
6365 * lyx_cb.C (getPossibleLabel): adjust
6367 * bufferview_funcs.C (toggleAndShow): adjust
6369 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6372 * BufferView.C (removeAutoInsets): adjust
6373 (lockedInsetStoreUndo): adjust
6375 2003-04-09 John Levon <levon@movementarian.org>
6377 * ToolbarBackend.C: try icon without argument
6378 if with argument fails
6380 2003-04-08 John Levon <levon@movementarian.org>
6383 * ToolbarBackend.C: add getIcon(), handle tooltip,
6384 and change from "Icon" to "Item".
6386 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6388 * BufferView.C (lockInset): another bad getchar crunched
6390 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6392 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6395 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6397 * lyxfind.C (searchForward, searchBackwards): bug 782
6399 2003-04-07 John Levon <levon@movementarian.org>
6401 * paragraph.C: remove dead comment
6403 * text.C: remove troublesome depth-fiddling code
6404 in leftMargin() and rightMargin() (bug 1017)
6406 * text.C: fix breaking of rows in nested lists
6409 * text2.C (updateCounters): fix up depth values
6412 2003-04-07 John Levon <levon@movementarian.org>
6414 * BufferView_pimpl.C: clear message when doc finishes resizing,
6415 and after a mouse event
6417 * lyxfunc.C: clear message after exiting inset
6419 2003-04-07 John Levon <levon@movementarian.org>
6421 * bufferview_funcs.C: show math status not outside
6422 status in the statusbar
6424 2003-04-07 John Levon <levon@movementarian.org>
6426 * lyxfunc.C: note status changed after a depth change
6428 2003-04-04 Angus Leeming <leeming@lyx.org>
6430 * LaTeX.h: move AuxInfo operator==, != out of line.
6431 Remove LaTeX virtual destructor; nothing derives from it.
6432 Move operator()() out of public area and rename it startscript().
6433 Change protected for private.
6435 2003-04-04 Angus Leeming <leeming@lyx.org>
6438 * text2.C: remove unneeded #includes.
6440 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6442 * text2.C (dEPM): fix the heigth of the next row
6444 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6446 * text.C: squashed an invalid getChar requester + some ws changes
6448 2003-04-03 John Levon <levon@movementarian.org>
6450 * bufferview_funcs.h:
6451 * bufferview_funcs.C:
6454 * text2.C: make getStatus work for the env depth lfuns
6456 2003-04-03 John Levon <levon@movementarian.org>
6458 * bufferview_funcs.h:
6459 * bufferview_funcs.C:
6462 * text2.C: parlistize decDepth(), by merging it with incDepth()
6464 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6466 * lyxrow.h: store a ParagraphList::iterator instead of a
6467 Paragraph* and adjust other class functions to suit.
6469 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6472 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6474 * text2.C (setCursor): do not anchor to cursor row for the time being
6476 2003-04-02 John Levon <levon@movementarian.org>
6483 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6485 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6487 * paragraph.h: make ParagraphList and ParagraphList::iterator
6488 friends of Paragraph.
6490 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6492 * ParagraphList.C: Use the private next_ and previous_ from
6495 2003-04-01 John Levon <levon@movementarian.org>
6499 * Makefile.am: rename, remove defaults gunk
6502 * MenuBackend.C: remove defaults gunk
6505 * Languages.C: remove defaults gunk
6508 * lyx_main.C: error out if files couldn't be found.
6510 2003-04-02 John Levon <levon@movementarian.org>
6512 * text2.C: make incDepth() use parlist
6514 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6516 * undo_funcs.C (firstUndoParagraph): adjust
6518 * text3.C (gotoInset): adjust
6519 (dispatch): adjust, and rewrite loop.
6521 * text2.C (init): adjust, and rewrite loop.
6522 (redoParagraphs): adjust
6523 (updateInset): adjust, and rewrite loop.
6524 (deleteEmptyParagraphMechanism): adjust
6526 * tabular.C (LyXTabular): adjust
6527 (SetMultiColumn): adjust
6530 * lyxtext.[Ch] (ownerParagraph): delete function
6531 (ownerParagraphs): new function returns a ParagraphList.
6533 * BufferView.C (removeAutoInsets): adjust
6534 (insertErrors): adjust
6535 (setCursorFromRow): adjust
6537 2003-04-01 Angus Leeming <leeming@lyx.org>
6539 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6542 2003-04-02 John Levon <levon@movementarian.org>
6548 * text_funcs.C: make transposeChars a free function
6550 * lyxrow_funcs.C: remove wrong comment
6552 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6555 * rowpainter.C: adjust
6560 * lyxrow_funcs. [Ch]: new files
6562 * lyxrow.[Ch]: remove next and previous pointers
6563 (next,previous): remove accessor functions
6564 (isParEnd): move to lyxrow_funcs
6565 (lastPos): move to lyxrow_funcs
6566 (nextRowIsAllInset): move to lyxrow_funcs
6567 (lastPrintablePos): move to lyxrow_funcs
6568 (numberOfSeparators): move to lyxrow_funcs
6569 (numberOfHfills): move to lyxrow_funcs
6570 (numberOfLabelHfills): move to lyxrow_funcs
6571 (hfillExpansion): move to lyxrow_funcs
6575 * bufferview_funcs.C (toggleAndShow): adjust
6577 * RowList.h: Remove class RowList from file leave just a
6580 * RowList.C: delete file
6582 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6585 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6587 * text3.C (cursorPrevious): adjust
6588 (cursorNext): adjust
6591 * text2.C (redoHeightOfParagraph): adjust
6592 (redoDrawingOfParagraph): adjust
6595 * text.C (breakParagraph): adjust
6596 (insertChar): adjust
6599 * rowpainter.C (RowPainter): adjust
6600 (leftMargin): simplify and adjust
6601 (most rowpainter functions): adjust.
6603 * rowpainter.h: store the row as RowList::iterator not as Row*
6605 * lyxcursor.C (row): taka RowList::iterator as arg
6608 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6611 2003-04-01 Angus Leeming <leeming@lyx.org>
6613 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6614 stuff like bool Bool.
6616 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6618 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6621 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6623 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6626 * lyxtext.h (rows): drop one version and leve a const variant that
6627 returns a RowList::iterator.
6629 2003-03-31 Angus Leeming <leeming@lyx.org>
6631 * text.C (fill): ensure that the signature is the same as that in the
6634 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6636 * text2.C (redoParagraphs): adjust
6637 (updateCounters): adjust
6638 (checkParagraph): adjust
6639 (getColumnNearX): adjust and reformat a bit.
6641 * text.C (top_y): adjust
6643 (leftMargin): adjust
6644 (prepareToPrint): adjust
6646 (getRowNearY): adjust
6648 * lyxtext.h: make rowlist_ mutable.
6650 * RowList.h: add const_iterator
6651 * RowList.C: adjust for RowList::const_iterator.
6653 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6656 2003-03-31 John Levon <levon@movementarian.org>
6659 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6661 * lyx_main.C: set default fonts from using lyx_gui funcs
6663 * exporter.C: pdf_mode moved from lyxrc
6666 * lyxfunc.C: changes from above
6668 2003-03-31 John Levon <levon@movementarian.org>
6670 * lyx_main.C: fix to the last fix
6672 2003-03-31 John Levon <levon@movementarian.org>
6674 * bufferlist.C: "Load original" -> "Load Original"
6680 * format.C: more Alert cleanups
6682 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6684 * text2.C (removeParagraph): make it take a RowList::iterator as
6686 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6687 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6689 * text.C (anchor_row): make it take a RowList::iterator as arg,
6691 (computeBidiTables): make it take a const reference to Row instead
6692 of Row pointer, adjust.
6693 (leftMargin): make it take a RowList::iterator as arg, adjust.
6694 (rowBreakPoint): adjust
6695 (breakAgainOneRow): make it take a RowList::iterator as arg,
6697 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6699 * bufferview_funcs.C (toggleAndShow): adjust
6701 2003-03-30 John Levon <levon@movementarian.org>
6705 * boost-inst.C: moved to support
6707 * several files: changes as a result
6709 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6711 * text2.C (LyXText): adjust.
6713 (removeRow): make it take a RowList::iterator as arg, adjust.
6714 (fullRebreak): adjust
6715 (deleteEmptyParagraphMechanism): adjust
6716 (clearPaint): adjust
6719 * text.C (top_y): adjust
6720 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6721 (breakAgain): make it take a RowList::iterator as arg, adjust.
6722 (breakParagraph): adjust
6723 (insertChar): adjust
6726 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6727 need_break_row, and refresh_row.
6729 * text3.C (dispatch): adjust
6731 * text2.C (checkParagraph): adjust
6733 (setCursorFromCoordinates): adjust
6735 * text.C (top_y): adjust
6737 (getRow): make it return a RowList::iterator, adjust
6738 (getRowNearY): make it return a RowList::iterator, adjust
6740 * text2.C (init): adjust
6741 (insertRow): remove function
6742 (insertParagraph): adjust
6743 (redoParagraphs): adjust
6744 (fullRebreak): adjust
6745 (updateCounters): adjust
6747 * text.C (top_y): rewrite to use RowList iterators.
6749 (setHeightOfRow): rewrite to sue RowList iterators.
6750 (appendParagraph): adjust
6751 (breakAgain): adjust
6752 (breakAgainOneRow): adjust
6753 (breakParagraph): adjust
6755 (getRowNearY): adjust, and remove commented code.
6757 * lyxtext.h (firstRow): delete function
6758 (lastRow): delete function
6759 (rows): new function (const and non-const versions.)
6760 (insertRow): delete function
6762 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6764 2003-03-29 John Levon <levon@movementarian.org>
6766 * BufferView_pimpl.C: always update scrollbar top
6767 because pasting text when we're anchored could mean we
6768 miss an update altogether
6770 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6772 * text2.C (init): use rowlist_.end() and not 0.
6773 (insertRow): change to take a RowList::iterator as arg, adjust
6775 (insertParagraph): change to take a RowList::iterator as arg,
6777 (redoParagraphs): remove some debug msgs.
6779 * text.C (appendParagraph): change to take a RowList::iterator
6780 arg, adjust for this.
6781 (breakAgain): add an assert
6782 (breakAgainOneRow): ditto
6784 2003-03-29 John Levon <levon@movementarian.org>
6786 * text2.C: do not clear selection after inc/decDepth
6789 2003-03-29 John Levon <levon@movementarian.org>
6792 * buffer.C: fix broken strerrors according to Lars
6794 2003-03-29 John Levon <levon@movementarian.org>
6796 * converters.C: more Alert cleanups
6798 2003-03-29 John Levon <levon@movementarian.org>
6800 * bufferview_funcs.C: remove pointless Alert
6802 * buffer.C: fix confusing error message when
6803 a template is chmoded 000
6805 2003-03-29 John Levon <levon@movementarian.org>
6809 * BufferView_pimpl.C: Alert fixes
6813 * tabular-old.C: remove unused table compat reading
6815 2003-03-29 John Levon <levon@movementarian.org>
6820 * lyx_cb.C: more Alert cleanups
6822 * lyxfunc.C: don't allow chktex if not latex document
6824 2003-03-29 John Levon <levon@movementarian.org>
6828 * buffer.C: warnings pushed down from support/,
6831 2003-03-29 John Levon <levon@movementarian.org>
6833 * lyxfunc.C: safety check for C-r (revert)
6835 2003-03-29 John Levon <levon@movementarian.org>
6838 * bufferlist.C: several UI fixes using Alert::prompt.
6839 Fix the pointless looping quit code. Fix stupid revert
6844 * lyx_cb.C: use Alert::prompt
6846 * lyx_main.C: remove a silly question
6848 * lyxfunc.C: remove a couple of silly questions,
6851 2003-03-28 John Levon <levon@movementarian.org>
6853 * text2.C: fix bug 974 (End on empty par)
6855 2003-03-28 John Levon <levon@movementarian.org>
6857 * BufferView_pimpl.C:
6859 * lfuns.h: remove do-nothing math greek lfuns
6861 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6863 * lyxgluelength.h (isValidGlueLength): add default arg on
6864 parameter 2. Remove default arg from friend in class.
6866 * lyxlength.h (isValidLength): add default arg on parameter 2.
6867 Remove default arg from friend in class.
6869 * text2.C (LyXText): adjust, initialize refresh_row.
6873 (insertParagraph): adjst
6874 (redoParagraphs): adjust
6875 (fullRebreak): adjust
6876 (updateCounters): adjust
6877 (deleteEmptyParagraphMechanism): first attempt at fixing a
6880 * text.C (top_y): adjust
6881 (setHeightOfRow): adjust
6883 (getRowNearY): adjust
6885 * lyxtext.h: include RowList.h
6886 (~LyXText): not needed anymore, deleted.
6887 (firstRow): modify for RowList
6888 (lastRow): new function
6889 Delete firstrow and lastrow class variables, add a Rowlist
6890 rowlist_ class variable.
6892 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6895 * RowList.C (insert): fix case where it == begin().
6897 2003-03-26 Angus Leeming <leeming@lyx.org>
6899 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6900 the thesaurus dialog.
6902 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6904 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6906 * RowList.[Ch]: new files
6908 * ParagraphList.C (erase): handle the case where it == begin
6911 2003-03-25 John Levon <levon@movementarian.org>
6915 * aspell.C: add new aspell support
6918 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6921 2003-03-25 Angus Leeming <leeming@lyx.org>
6924 * LyXAction.C (init): new LFUN_INSET_INSERT.
6926 * BufferView_pimpl.C (dispatch): split out part of the
6927 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6929 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6932 2003-03-25 Angus Leeming <leeming@lyx.org>
6934 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6936 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6939 * text3.C: remove useless row->height(0)
6941 2003-03-25 John Levon <levon@movementarian.org>
6945 * text3.C: rename the refreshing stuff to better names
6947 2003-03-24 John Levon <levon@movementarian.org>
6949 * BufferView_pimpl.h:
6950 * BufferView_pimpl.C: update layout choice on a mouse
6953 2003-03-23 John Levon <levon@movementarian.org>
6955 * Makefile.am: fix commandtags.h reference
6957 2003-03-22 John Levon <levon@movementarian.org>
6959 * BufferView_pimpl.C:
6964 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6966 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6969 * text.C: take the rtl methods out of line
6971 2003-03-21 André Pönitz <poenitz@gmx.net>
6973 * metricsinfo.[Ch]: new files containing structures to be passed around
6974 during the two-phase-drawing...
6976 2003-03-21 André Pönitz <poenitz@gmx.net>
6978 * lyxtextclass.C: read 'environment' tag.
6980 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6982 * text2.C (removeRow): fix bug 964
6984 2003-03-20 John Levon <levon@movementarian.org>
6988 * text2.C: paint cleanups. Inset::update() dropped font
6991 2003-03-19 John Levon <levon@movementarian.org>
6993 * lyxfunc.C: only fitcursor/markDirty if available()
6995 2003-03-19 John Levon <levon@movementarian.org>
6997 * commandtags.h: rename to ...
6999 * lfuns.h: ... this, and renumber / cleanup
7001 2003-03-19 John Levon <levon@movementarian.org>
7003 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7004 fit the cursor after an lfun
7008 * BufferView_pimpl.h:
7009 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7011 * LyXAction.C: layout-character should have ReadOnly
7013 * ParagraphParameters.C:
7015 * bufferview_funcs.C:
7022 * undo_funcs.C: changes from above
7024 2003-03-18 John Levon <levon@movementarian.org>
7026 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7027 remove it from update()
7029 * lyxfunc.C: update layout choice after an lfun
7031 * text3.C: remove extra updateLayoutChoice()s
7033 2003-03-18 John Levon <levon@movementarian.org>
7035 * text.C: top_y change means full repaint, fix
7036 a drawing bug with cursor movement
7038 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7042 * text2.C: anchor row on setCursor
7044 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7046 * lyxtext.h: remove almost all mutable keywords
7049 * text3.C: remove const keywords accordingly
7051 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7053 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7055 (TeXEnvironment): ditto
7058 2003-03-17 John Levon <levon@movementarian.org>
7060 * text.C (rowBreakPoint): remove attempt to fix displayed
7061 math insets inside a manual label
7063 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7065 * lyxtext.h: remove BufferView* as first arg from almost all class
7067 * other files: adjust.
7069 2003-03-17 John Levon <levon@movementarian.org>
7073 * text2.C: more paint cleanups
7075 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7078 * rowpainter.C: remove "smart" background painting code
7080 2003-03-16 John Levon <levon@movementarian.org>
7085 * text3.C: add helper functions for setting refresh_row/y
7087 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7089 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7090 newline inset which *can* get inserted in the pass_thru layouts.
7091 This is primarily for literate documents.
7093 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7095 * buffer.C: increment LYX_FORMAT to 223
7097 2003-03-14 André Pönitz <poenitz@gmx.net>
7099 * textclass.h: prepare for environment handling, ws changes
7100 * lyxlayout.C: read latexheader and latexfooter tags
7102 2003-03-14 John Levon <levon@movementarian.org>
7104 * text2.C: rewrite ::status() a bit
7106 2003-03-13 John Levon <levon@movementarian.org>
7108 * lyxtext.h: add some docs
7110 2003-03-13 John Levon <levon@movementarian.org>
7115 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7117 2003-03-13 John Levon <levon@movementarian.org>
7119 * text3.C: fix appendix redrawing
7121 2003-03-13 John Levon <levon@movementarian.org>
7123 * text.C (setHeightOfRow):
7125 * rowpainter.C: make appendix mark have the text
7126 "Appendix" so the user knows what it is
7129 * LColor.C: s/appendixline/appendix/ from above
7131 2003-03-13 John Levon <levon@movementarian.org>
7133 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7135 * text.C: fix a getChar(pos) bug properly
7137 2003-03-13 Angus Leeming <leeming@lyx.org>
7140 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7141 Probably only temporary. Let's see how things pan out.
7143 * BufferView.C (unlockInset):
7144 * BufferView_pimpl.C (fitCursor):
7145 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7147 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7148 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7150 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7151 new functions that convert ParagraphParameters to and from a string.
7153 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7154 BufferView::Pimpl's dispatch.
7155 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7157 2003-03-13 André Pönitz <poenitz@gmx.net>
7161 * factory.C: make it aware of InsetEnv
7163 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7165 * text2.C (setCursor): never ask for one past last
7166 (setCursor): add some debugging messages.
7168 * text.C (singleWidth): never ask for one past last
7169 (singleWidth): ditto
7171 (rightMargin): ditto
7172 (rowBreakPoint): ditto
7173 (setHeightOfRow): ditto
7174 (prepareToPrint): ditto
7176 * rowpainter.C (paintBackground): never ask for one past last
7177 (paintText): never ask for one past last
7179 * paragraph_pimpl.C (getChar): make the assert stricter, never
7180 allow the one past last pos to be taken
7182 * paragraph.C (getChar): ws changes only
7184 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7185 (numberOfSeparators): ditto
7186 (numberOfHfills): ditto
7188 2003-03-12 John Levon <levon@movementarian.org>
7194 * paragraph_funcs.C: fix per-buffer authorlists
7196 2003-03-12 John Levon <levon@movementarian.org>
7198 * text.C: fix newline in right address
7200 2003-03-12 Angus Leeming <leeming@lyx.org>
7202 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7203 duplicate those in LyXFunc::dispatch.
7207 * ToolbarDefaults.C:
7208 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7209 Add LFUN_FONTFREE_UPDATE.
7211 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7212 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7214 * bufferview_func.[Ch]: several new functions to facilliate
7215 transfer of data to and from the character dialog.
7217 2003-03-12 John Levon <levon@movementarian.org>
7222 * paragraph_funcs.C:
7223 * paragraph_pimpl.C:
7227 * text3.C: remove META_NEWLINE in favour of an inset
7230 * rowpainter.C: remove paintNewline (done by inset)
7232 2003-03-12 John Levon <levon@movementarian.org>
7234 * paragraph_pimpl.C: complain about bad getChar()s
7235 for a while at least
7237 2003-03-12 John Levon <levon@movementarian.org>
7240 * buffer.C: move paragraph read into a separate function,
7241 a little renaming to reflect that.
7244 * bufferparams.C: remove the author_ids map, not necessary now
7247 * factory.C: moved Buffer::readInset to here
7249 * paragraph_funcs.h:
7250 * paragraph_funcs.C: readParagraph free function moved from
7253 * tabular.C: name change
7255 2003-03-12 John Levon <levon@movementarian.org>
7258 * ParagraphParameters.C: move par params input to
7261 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7262 behave like a normal read from the stream wrt reading
7263 a line vs. a \\token
7265 2003-03-12 John Levon <levon@movementarian.org>
7268 * ParagraphParameters.h:
7269 * ParagraphParameters.C: move output code to a
7272 2003-03-12 John Levon <levon@movementarian.org>
7274 * BufferView.C (insertLyXFile):
7277 * tabular.C: use a parlist iterator for creating the
7280 2003-03-12 John Levon <levon@movementarian.org>
7282 * buffer.C: make current_change static local not
7285 2003-03-12 John Levon <levon@movementarian.org>
7287 * buffer.C: fix insertStringAsLines for change tracking
7289 2003-03-12 John Levon <levon@movementarian.org>
7296 * bufferparams.C: move author list into params. Rename some
7297 functions. Move the header reading into a separate token
7298 loop. Move the header token reading into BufferParams.
7300 2003-03-12 John Levon <levon@movementarian.org>
7302 * changes.C: put debug inside lyxerr.debugging() checks
7304 2003-03-11 André Pönitz <poenitz@gmx.net>
7306 * factory.C: make it aware of InsetHFill
7308 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7310 * buffer.C (latexParagraphs): move function from here...
7311 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7314 2003-03-10 Angus Leeming <leeming@lyx.org>
7316 * LyXAction.C (init): fix bug in poplating array with multiple entries
7317 with the same LFUN (spotted by JMarc).
7319 2003-03-10 John Levon <levon@movementarian.org>
7322 * text2.C: move getColumnNearX() near its
7325 2003-03-10 John Levon <levon@movementarian.org>
7327 * text.C: fix break before a minipage
7329 2003-03-10 John Levon <levon@movementarian.org>
7331 * text.C: fix the last commit
7333 2003-03-09 John Levon <levon@movementarian.org>
7337 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7338 bug 365 (don't break before insets unless needed). Don't
7339 return a value > last under any circumstances.
7341 2003-03-09 Angus Leeming <leeming@lyx.org>
7343 * BufferView_pimpl.C (trackChanges, dispatch): call
7344 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7346 2003-03-09 Angus Leeming <leeming@lyx.org>
7348 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7349 than Dialogs::showAboutlyx().
7351 2003-03-09 Angus Leeming <leeming@lyx.org>
7353 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7354 than Dialogs::showTabularCreate().
7356 2003-03-09 John Levon <levon@movementarian.org>
7360 * text2.C: 3rd arg to nextBreakPoint was always the same.
7363 2003-03-08 John Levon <levon@movementarian.org>
7370 * text2.C: Remove the "main" bit from the "main body"
7373 2003-03-08 John Levon <levon@movementarian.org>
7375 * text.C (leftMargin): The left margin of an empty
7376 manual label paragraph should not include the label width
7379 * text.C (prepareToPrint): don't attempt to measure hfills
7380 for empty manual label paragraphs - the answer should be 0
7382 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7384 * CutAndPaste.C: remove commented code and reindent.
7386 2003-03-08 John Levon <levon@movementarian.org>
7389 * lyxfunc.C: move reloadBuffer()
7392 * BufferView.C: to here
7394 * lyxvc.C: add comment
7397 * vc-backend.C: call bv->reload() to avoid
7398 getStatus() check on MENURELOAD
7400 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7402 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7403 to an old format .dep file.
7405 2003-03-07 Angus Leeming <leeming@lyx.org>
7407 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7408 when the LFUN_MOUSE_RELEASE should have been handled by
7409 inset->localDispatch.
7411 2003-03-07 Angus Leeming <leeming@lyx.org>
7413 * BufferView_pimpl.C (dispatch):
7414 * LyXAction.C (init):
7415 * ToolbarDefaults.C (init):
7417 * lyxfunc.C (getStatus):
7418 remove LFUN_INSET_GRAPHICS.
7420 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7422 2003-03-07 Angus Leeming <leeming@lyx.org>
7425 * LyXAction.C (init):
7426 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7428 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7431 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7433 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7434 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7436 2003-03-07 Angus Leeming <leeming@lyx.org>
7438 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7441 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7443 * ParagraphList.C (front): new function
7446 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7448 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7449 and top_row_offset_. removed var first_y.
7451 * text2.C (LyXText, removeRow):
7453 * BufferView_pimpl.C:
7454 use these methods instead of using first_y
7456 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7458 * text2.C (pasteSelection): adjust for checkPastePossible
7460 * CutAndPaste.C: remove Paragraph * buf and replace with
7461 ParagraphList paragraphs.
7462 (DeleteBuffer): delete
7463 (cutSelection): change the tc type to textclass_type
7464 (copySelection): change the tc type to textclass_type
7465 (copySelection): adjust for ParagraphList
7466 (pasteSelection): change the tc type to textclass_type
7467 (pasteSelection): adjust for Paragraphlist
7468 (nrOfParagraphs): simplify for ParagraphList
7469 (checkPastePossible): simplify for ParagraphList
7470 (checkPastePossible): remove unused arg
7472 * ParagraphList.C (insert): handle the case where there are no
7475 * CutAndPaste.h: make CutAndPaste a namespace.
7477 * text3.C (dispatch): adjust
7479 * text.C (breakParagraph): add a ParagraphList as arg
7481 * paragraph_funcs.C (breakParagraph): change to take a
7482 BufferParams and a ParagraphList as args.
7483 (breakParagraphConservative): ditto
7484 (mergeParagraph): ditto
7485 (TeXDeeper): add a ParagraphList arg
7486 (TeXEnvironment): ditto
7489 * buffer.C (readLyXformat2): adjust
7490 (insertStringAsLines): adjust
7491 (latexParagraphs): adjust
7493 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7494 (cutSelection): adjust
7495 (pasteSelection): adjust
7497 * BufferView_pimpl.C (insertInset): adjust
7499 2003-03-05 Angus Leeming <leeming@lyx.org>
7502 * LyXAction.C (init):
7503 * BufferView_pimpl.C (dispatch):
7504 * lyxfunc.C (getStatus):
7505 remove LFUN_CHILD_INSERT.
7507 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7509 2003-03-05 Angus Leeming <leeming@lyx.org>
7512 * LyXAction.C (init):
7513 * src/factory.C (createInset):
7514 * lyxfunc.C (getStatus):
7515 * text3.C (dispatch):
7516 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7518 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7520 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7522 * ParagraphList.C (insert): handle insert right before end()
7523 (erase): fix cases where it can be first or last paragraph.
7525 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7527 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7528 Paragraph::next and Paragraph::previous
7531 * text.C (breakParagraph): adjust
7533 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7534 BufferParams& as arg.
7535 (breakParagraph): use ParagraphList::insert
7536 (breakParagraphConservative): take a Buffer* instead of a
7537 BufferParams& as arg.
7538 (breakParagraphConservative): use ParagraphList::insert.
7540 * buffer.C (insertStringAsLines): un-const it
7541 (insertStringAsLines): adjust
7543 * ParagraphList.C (insert): new function
7545 * CutAndPaste.C (pasteSelection): adjust
7547 * text.C (backspace): adjust
7549 * tabular.C (SetMultiColumn): adjust
7551 * CutAndPaste.C (cutSelection): adjust
7552 (pasteSelection): adjust
7554 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7555 Buffer const * as arg
7557 * ParagraphList.C (erase): new function
7558 * paragraph_funcs.C (mergeParagraph): use it
7559 (mergeParagraph): make it take a Buffer* instead of a
7560 BufferParams* as arg
7562 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7564 (breakParagraphConservative): ditto
7566 * paragraph.h: remove the breakParagraph friend
7568 * paragraph.C (eraseIntern): new function
7569 (setChange): new function
7571 * paragraph_funcs.C (mergeParagraph): make it take a
7572 ParagraphList::iterator instead of a Paragraph *, adjust
7575 * paragraph.h: move an #endif so that the change tracking stuff
7576 also works in the NO_NEXT case.
7578 2003-03-04 Angus Leeming <leeming@lyx.org>
7581 * LyXAction.C: new LFUN_INSET_MODIFY.
7583 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7584 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7586 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7588 * several files: ws changes only
7590 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7591 (TeXEnvironment): ditto
7594 * buffer.C (makeLaTeXFile): adjust
7595 (latexParagraphs): make it take ParagraphList::iterator as args
7597 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7599 * buffer.C (latexParagraphs): adjust
7601 * paragraph.C (TeXOnePar): move function...
7602 (optArgInset): move function...
7603 (TeXEnvironment): move function...
7604 * paragraph_pimpl.C (TeXDeeper): move function...
7605 * paragraph_funcs.C: ...here
7607 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7609 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7611 * buffer.C (readInset): remove compability code for old Figure and
7614 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7616 * buffer.C: ws changes
7619 * BufferView_pimpl.C: ditto
7622 * bufferlist.h: ditto
7626 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7628 * converter.[Ch]: split into itself +
7631 * Makefile.am: += graph.[Ch] + format.[Ch]
7638 * lyxrc.C: added #include "format.h"
7640 2003-02-27 Angus Leeming <leeming@lyx.org>
7642 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7645 * factory.C (createInset): add "label" to the factory.
7647 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7648 string and do no more.
7650 2003-02-27 Angus Leeming <leeming@lyx.org>
7653 * LyXAction.C (init):
7654 * factory.C (createInset):
7655 * BufferView_pimpl.C (dispatch):
7656 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7658 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7660 * lyxfunc.C (dispatch):
7661 * text3.C (dispatch): pass name to params2string.
7663 2003-02-26 Angus Leeming <leeming@lyx.org>
7665 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7667 Rearrange the ~includes. Strip out the unnecessary ones.
7669 * factory.C (createInset): reformat.
7670 create new insets for the various LFUN_XYZ_APPLY lfuns.
7672 2003-02-26 John Levon <levon@movementarian.org>
7675 * lyxrow.C: add isParStart,isParEnd helpers
7677 * paragraph.h: make isInserted/DeletedText take refs
7679 * paragraph_funcs.h:
7680 * paragraph_funcs.C: remove #if 0'd code
7685 * text.C: use lyxrow helpers above.
7686 Move draw and paint routines to RowPainter.
7687 Make several methods use refs not pointers.
7688 Make backgroundColor() const.
7689 Add markChangeInDraw(), isInInset().
7690 Merge changeRegionCase into changeCase.
7691 Make workWidth() shouldn't-happen code into an Assert.
7694 * rowpainter.C: new class for painting a row.
7697 * vspace.C: make inPixels take a ref
7699 2003-02-26 Angus Leeming <leeming@lyx.org>
7701 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7704 2003-02-25 John Levon <levon@movementarian.org>
7706 * ispell.C: give the forked command a more accurate name
7708 2003-02-22 John Levon <levon@movementarian.org>
7711 * toc.C: make TocItem store an id not a Paragraph *
7714 2003-02-21 Angus Leeming <leeming@lyx.org>
7716 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7717 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7718 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7719 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7720 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7721 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7723 * BufferView_pimpl.C (dispatch):
7724 * LyXAction.C (init):
7725 * factory.C (createInset):
7726 * lyxfunc.C (getStatus, dispatch):
7727 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7729 2003-02-21 Angus Leeming <leeming@lyx.org>
7731 * BufferView_pimpl.C (MenuInsertLyXFile):
7732 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7733 * lyxfunc.C (menuNew, open, doImport):
7734 no longer pass a LyXView & to fileDlg.
7736 2003-02-21 Angus Leeming <leeming@lyx.org>
7738 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7739 * LyXAction.C: change, BIBKEY to BIBITEM.
7740 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7741 Change InsetBibKey to InsetBibitem.
7742 Change BIBKEY_CODE to BIBITEM_CODE.
7743 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7744 * factory.C: replace insetbib.h with insetbibitem.h.
7745 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7746 * paragraph.C: replace insetbib.h with insetbibitem.h.
7747 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7748 Change bibkey() to bibitem().
7749 * text.C: remove insetbib.h.
7750 * text2.C: replace insetbib.h with insetbibitem.h.
7751 change bibkey() to bibitem().
7752 * text3.C: remove insetbib.h.
7753 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7755 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7757 * lyxrc.C (output): enclose user email in quotes (in case there are
7760 2003-02-18 John Levon <levon@movementarian.org>
7762 * buffer.h: add std::
7764 2003-02-17 John Levon <levon@movementarian.org>
7770 * pspell.C: reworking. Especially in ispell, a large
7771 number of clean ups and bug fixes.
7773 * lyxfunc.C: fix revert to behave sensibly
7775 2003-02-17 André Pönitz <poenitz@gmx.net>
7778 * commandtags.h: new LFUN_INSERT_BIBKEY
7788 * paragraph_func.C: remove special bibkey handling
7790 2003-02-17 John Levon <levon@movementarian.org>
7792 * text.C (Delete): fix case where delete at the end of
7793 the very first paragraph would not merge the pars
7795 2003-02-17 John Levon <levon@movementarian.org>
7797 * lyxrow.C: fix lastPrintablePos()
7799 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7801 * bufferparams.C (writeLaTeX): add a std:here
7803 * buffer.C: and remove a using directive there
7805 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7807 * buffer.C (makeLaTeXFile): move the code that generates the
7810 * bufferparams.C (writeLaTeX): ... in this new method
7812 * LaTeXFeatures.C (getEncodingSet): make const
7813 (getLanguages): make const
7815 * MenuBackend.C (binding): returns the binding associated to this
7817 (add): sets the status of each item by calling getStatus. Adds
7819 (read): add support for OptSubMenu
7820 (expand): remove extra separator at the end of expanded menu
7822 2003-02-15 John Levon <levon@movementarian.org>
7825 * BufferView_pimpl.C:
7827 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7828 inset code that had no actual effect. Remove unneeded status
7831 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7833 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7836 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7838 * text.C (drawLengthMarker): also draw an arrow marker for
7839 symbolic lengths (medskip...)
7841 2003-02-14 John Levon <levon@movementarian.org>
7844 * tabular.C: better method names
7846 2003-02-14 John Levon <levon@movementarian.org>
7848 * BufferView_pimpl.C:
7853 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7854 it's a more accurate name. Remove some pointless uses.
7856 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7858 * text2.C (LyXText): change order of initilizers to shut off
7861 2003-02-14 John Levon <levon@movementarian.org>
7863 * buffer.C: use ParIterator for getParFromID()
7867 * paragraph_pimpl.h:
7868 * paragraph_pimpl.C: remove unused getParFromID()
7870 2003-02-14 John Levon <levon@movementarian.org>
7872 * buffer.C: remove some very old #if 0'd parse code
7874 2003-02-13 John Levon <levon@movementarian.org>
7878 * text2.C: move hfillExpansion(), numberOfSeparators(),
7879 rowLast(), rowLastPrintable(), numberofHfills(),
7880 numberOfLabelHfills() ...
7883 * lyxrow.C: ... to member functions here.
7888 * text.C: remove LyXText::beginningOfMainBody(), and call
7889 p->beginningOfMainBody() directly. Move the check for
7890 LABEL_MANUAL into the latter.
7897 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7903 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7904 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7906 2003-02-13 John Levon <levon@movementarian.org>
7908 * CutAndPaste.C: remove debug
7910 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7912 * paragraph.C (asString): remove two unused variables
7914 * lyxtextclass.C (readTitleType):
7916 (LyXTextClass): handle new members titletype_ and titlename_
7918 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7920 2003-02-09 John Levon <levon@movementarian.org>
7923 * buffer.C: replace hand-coded list with a map for the dep clean
7925 2003-02-08 John Levon <levon@movementarian.org>
7927 * LaTeX.C: consolidate code into showRunMessage() helper
7929 2003-02-08 John Levon <levon@movementarian.org>
7934 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7935 and pass the size in explicitly
7937 * BufferView_pimpl.h:
7938 * BufferView_pimpl.C:
7940 * BufferView.C: add getCurrentChange()
7942 * BufferView_pimpl.h:
7943 * BufferView_pimpl.C: handle change lfuns
7945 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7946 for changes. Mark pasted paragraphs as new.
7948 * support/lyxtime.h:
7949 * support/lyxtime.C:
7950 * DepTable.C: abstract time_t as lyx::time_type
7953 * LColor.C: add colours for new text, deleted text, changebars
7955 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7956 package use "usenames" option.
7960 * LyXAction.C: add change lfuns
7964 * author.C: author handling
7967 * buffer.C: add a per-buffer author list, with first entry as
7968 current author. Handle new .lyx tokens for change tracking. Output
7969 author list to .lyx file. Output dvipost stuff to .tex preamble.
7970 Bump lyx format to 222.
7973 * bufferlist.C: add setCurrentAuthor() to reset current author details
7977 * bufferparams.C: add param for tracking
7979 * bufferview_funcs.C: output change info in minibuffer
7983 * changes.C: add change-tracking structure
7986 * debug.C: add CHANGES debug flag
7989 * lyxfind.C: add code for finding the next change piece
7992 * lyxrc.C: add user_name and user_email
7995 * lyxrow.C: add a metric for the top of the text line
7998 * text.C: implement accept/rejectChange()
8001 * text.C: paint changebars. Paint new/deleted text in the chosen
8002 colours. Strike through deleted text.
8006 * paragraph_pimpl.h:
8007 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8008 in the current change to the insert functions. Rework erase to
8009 mark text as deleted, adding an eraseIntern() and a range-based
8010 erase(). Implement per-paragraph change lookup and
8013 * paragraph_funcs.C: Fixup paste for change tracking.
8015 * tabular.C: mark added row/columns as new.
8017 * text.C: fix rowLast() to never return -1. Don't allow
8018 spellchecking of deleted text. Track transpose changes. Don't
8019 allow paragraph break or merge where appropriate.
8021 * text2.C: leave cursor at end of selection after a cut.
8023 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8025 * text.C (getLengthMarkerHeight):
8026 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8027 visible on screen too.
8029 2003-02-07 John Levon <levon@movementarian.org>
8031 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8033 2003-02-05 Angus Leeming <leeming@lyx.org>
8035 * lyxserver.C (read_ready): revert my patch of 11 September last year
8036 as it sends PC cpu through the roof. Presumably this means that
8037 the lyxserver will no longer run on an Alpha...
8039 2003-01-30 Angus Leeming <leeming@lyx.org>
8041 * factory.C (createInset): create an InsetCommandParam of type "index"
8042 and use it to 'do the right thing'.
8044 * text2.C (getStringToIndex): ensure that cursor position is always
8045 reset to the reset_cursor position.
8047 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8049 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8052 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8056 * lyxfunc.C: Output messages with identical spelling, punctuation,
8059 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8061 * MenuBackend.C (expandFormats): List only viewable export formats
8064 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8067 * lyxfunc.C (getStatus): Make sure that formats other than
8068 "fax" can also be disabled
8070 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8072 * text3.C (dispatch): put the lfuns that insert insets in 3
8073 groups, and call doInsertInset with appropriate arguments.
8074 (doInsertInset): new function, that creates an inset and inserts
8075 it according to some boolean parameters.
8077 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8079 * buffer.C (readFile): remember to pass on 'par' when calling
8080 readFile recursively.
8082 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8084 * MenuBackend.C (expandFormats): add "..." to import formats.
8086 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8088 * paragraph.C (asString): Remove XForms RTL hacks.
8090 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8091 * buffer.C: fix typo
8093 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8095 * Makefile.am (LIBS): delete var
8096 (lyx_LDADD): add @LIBS@ here instead.
8098 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8100 * Clarify the meaning of "wheel mouse jump"
8102 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8104 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8107 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8109 * importer.C (Loaders): do not preallocate 3 elements in the
8110 vector, since one ends up with 6 elements otherwise
8112 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8114 * DepTable.C (write): write the file name as last element of the
8115 .dep file (because it may contain spaces)
8116 (read): read info in the right order
8118 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8120 * paragraph_pimpl.C (simpleTeXBlanks):
8121 (simpleTeXSpecialChars):
8122 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8124 * tabular.C (latex): add some missing case statements. Reindent.
8126 * MenuBackend.C (expandToc): remove unused variable.
8128 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8137 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8140 2003-01-05 John Levon <levon@movementarian.org>
8143 * BufferView.C: add getEncoding()
8146 * kbsequence.C: do not store last keypress
8149 * lyxfunc.C: store last keypress here instead. Pass encoding
8152 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8154 * lyx_main.C (init): remove annoying error message when following
8155 symbolic links (bug #780)
8157 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8159 * text.C (insertChar):
8160 * lyxrc.C (getDescription): remove extra spaces
8162 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8164 * lyxrc.C (getDescription): remove extra spaces
8166 2002-12-20 John Levon <levon@movementarian.org>
8168 * text3.C: hack fix for page up/down across tall rows
8170 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8172 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8175 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8177 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8178 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8179 thesaurus is not compiled in
8181 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8183 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8185 2002-12-16 Angus Leeming <leeming@lyx.org>
8188 * lyx_main.C (init): remove override_x_deadkeys stuff.
8190 2002-12-12 John Levon <levon@movementarian.org>
8192 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8193 insert. Only remove shift modifier under strict
8196 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8198 * MenuBackend.C (expandToc): fix crash.
8200 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8202 * MenuBackend.C (expandToc): gettext on float names.
8204 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8206 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8207 implement bool empty() [bug 490]
8209 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8211 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8213 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8215 * several files: ws changes
8217 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8219 * text2.C (setCounter): clean up a bit, use boost.format.
8220 (updateCounters): initialize par upon declaration.
8222 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8223 if the layout exists. We do not just store the layout any more.
8224 (SwitchLayoutsBetweenClasses): use boost.format
8226 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8228 * converter.C (convert): if from and to files are the same, use a
8229 temporary files as intermediary
8231 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8234 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8236 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8238 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8240 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8242 * tabular.C (asciiPrintCell): use string(size, char) instead of
8245 * sgml.C (openTag): fix order of arguments to string constructor
8248 * lyxfunc.C (dispatch): use boost.format
8250 * lots of files: change "c" -> 'c'
8252 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8254 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8256 2002-11-25 Angus Leeming <leeming@lyx.org>
8258 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8260 * lyx_main.C (init): compile fix.
8262 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8264 * lyx_cb.C (start): boost.formatify
8265 do not include <iostream>
8267 * lengthcommon.C: ws only
8269 * boost-inst.C,BoostFormat.h: add more explict instantations
8271 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8273 * lots of files: handle USE_BOOST_FORMAT
8275 2002-11-21 John Levon <levon@movementarian.org>
8277 * pspell.C: fix compile
8279 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8281 * lyxfunc.C (dispatch): use boost::format
8285 * lyxfont.C (stateText): use boost::format
8287 * lyx_main.C (LyX): use boost::format
8289 (queryUserLyXDir): ditto
8292 (typedef boost::function): use the recommened syntax.
8294 * importer.C (Import): use boost::format
8296 * debug.C (showLevel): use boost::format
8298 * converter.C (view): use boost::format
8303 * bufferview_funcs.C (currentState): use boost::format
8305 * bufferlist.C (emergencyWrite): use boost::format
8307 * buffer.C (readLyXformat2): use boost::format
8308 (parseSingleLyXformat2Token): ditto
8310 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8312 * LaTeX.C (run): use boost::format
8314 * Chktex.C (scanLogFile): use boost::format
8316 * BufferView_pimpl.C (savePosition): use boost::format
8317 (restorePosition): ditto
8318 (MenuInsertLyXFile): ditto
8320 * BoostFormat.h: help file for explicit instation.
8322 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8324 * tabular.C (latex): Support for block alignment in fixed width
8327 2002-11-17 John Levon <levon@movementarian.org>
8329 * BufferView_pimpl.C:
8331 * lyxfunc.C: split filedialog into open/save
8333 2002-11-08 Juergen Vigna <jug@sad.it>
8335 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8336 by my last patch (hopefully).
8338 2002-11-08 John Levon <levon@movementarian.org>
8347 * toc.C: ParConstIterator, and use it (from Lars)
8349 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8351 * lyxtextclass.[Ch]: revise and add doxygen comments
8353 2002-11-07 John Levon <levon@movementarian.org>
8355 * text.C: fix progress value for spellchecker
8357 * toc.C: fix navigate menu for insetwrap inside minipage
8359 * paragraph_funcs.C: added FIXME for suspect code
8361 2002-11-07 John Levon <levon@movementarian.org>
8363 * BufferView_pimpl.C: fix redrawing of insets
8366 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8368 * text2.C (updateCounters): fix bug 668
8370 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8372 * text3.C (dispatch): Do not make the buffer dirty when moving the
8375 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8377 * vc-backend.C: STRCONV
8380 * text2.C (setCounter): STRCONV
8382 * paragraph.C (asString): STRCONV
8384 * lyxlength.C (asString): STRCONV
8385 (asLatexString): ditto
8387 * lyxgluelength.C (asString): STRCONV
8388 (asLatexString): ditto
8390 * lyxfunc.C (dispatch): STRCONV
8393 * lyxfont.C (stateText): STRCONV
8395 * importer.C (Import): STRCONV
8397 * counters.C (labelItem): STRCONV
8398 (numberLabel): ditto
8399 (numberLabel): remove unused ostringstream o
8404 * bufferview_funcs.C (currentState): STRCONV
8406 * buffer.C (readFile): STRCONV
8407 (asciiParagraph): ditto
8408 (makeLaTeXFile): ditto
8410 * Spacing.C (writeEnvirBegin): STRCONV
8412 * LaTeXFeatures.C (getLanguages): STRCONV
8413 (getPackages): ditto
8415 (getBabelOptions): ditto
8416 (getTClassPreamble): ditto
8417 (getLyXSGMLEntities): ditto
8418 (getIncludedFiles): ditto
8422 (scanAuxFile): ditto
8425 * LString.h: add the STRCONV macros
8427 * BufferView_pimpl.C (savePosition): STRCONV
8428 (restorePosition): ditto
8429 (MenuInsertLyXFile): ditto
8431 * vc-backend.C (scanMaster): change from submatch[...] to
8434 * funcrequest.C: include config.h
8436 * factory.C: include config.h
8438 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8440 * box.C: include config.h
8442 * LaTeX.C (scanAuxFile): change from submatch[...] to
8446 2002-10-25 Angus Leeming <leeming@lyx.org>
8448 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8450 * ispell.[Ch] (setError): new method.
8451 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8452 Use setError() insetead of goto END.
8454 * lyx_cb.C (AutoSave): move out child process into new class
8457 2002-10-30 John Levon <levon@movementarian.org>
8459 * text3.C: make start appendix undoable
8461 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8463 * lyxlength.C (inPixels): Fix returned value.
8465 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8468 2002-10-24 Angus Leeming <leeming@lyx.org>
8470 * lyxgluelength.h: no need to forward declare BufferParams
8471 or BufferView, so don't.
8473 2002-10-21 John Levon <levon@movementarian.org>
8475 * BufferView.C: menuUndo ->undo, redo
8477 * BufferView.h: document, remove dead, make some methods private
8479 * paragraph_funcs.h:
8480 * paragraph_funcs.C:
8481 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8486 * sgml.C: move sgml open/close tag into sgml.C
8488 * bufferview_funcs.h: unused prototype
8491 * lyxfunc.C: remove unused
8494 * text.C: remove unused
8496 2002-10-21 John Levon <levon@movementarian.org>
8500 * BufferView_pimpl.h:
8501 * BufferView_pimpl.C: fix mouse wheel handling based on
8502 patch from Darren Freeman
8504 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8506 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8508 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8510 * lyxlength.C (inPixels): Fix hanfling of negative length.
8511 Fix LyXLength::MU case.
8513 2002-10-16 John Levon <levon@movementarian.org>
8515 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8517 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8519 * converter.C (view): add support for $$i (file name) and $$p
8520 (file path) for the viewer command. If $$i is not specified, then
8521 it is appended to the command (for compatibility with old syntax)
8523 2002-10-14 Juergen Vigna <jug@sad.it>
8525 * undo_funcs.C (textHandleUndo): alter the order in which the
8526 new undopar is added to the LyXText, as we have to set first
8527 the right prev/next and then add it as otherwise the rebuild of
8528 LyXText is not correct. Also reset the cursor to the right paragraph,
8529 with this IMO we could remove the hack in "redoParagraphs()".
8531 2002-10-09 Angus Leeming <leeming@lyx.org>
8533 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8534 to turn off an optimisation if a new inset is to be inserted.
8536 2002-10-11 André Pönitz <poenitz@gmx.net>
8538 * lyxtext.h: make some functions public to allow access
8539 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8541 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8543 * text3.C (dispatch): when changing layout, avoid an infinite loop
8546 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8548 * lyxrc.C (read): treat a viewer or converter command of "none" as
8551 * MenuBackend.C (expandFormats): for an update, also allow the
8552 formats that are not viewable
8554 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8555 script if it is newer than the lyxrc.defaults in user directory
8557 2002-10-07 André Pönitz <poenitz@gmx.net>
8559 * text.C: Vitaly Lipatov's small i18n fix
8561 2002-09-25 Angus Leeming <leeming@lyx.org>
8563 * ispell.h: doxygen fix.
8565 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8567 * buffer.h (readFile): Add a new argument to the method, to allow
8568 reading of old-format templates.
8570 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8572 * toc.C (getTocList): Get TOC from InsetWrap.
8574 2002-09-16 John Levon <levon@movementarian.org>
8576 * lyxfunc.C: check tabular for cut/copy too
8578 2002-09-12 John Levon <levon@movementarian.org>
8583 * factory.C: add header
8585 * paragraph_funcs.h:
8586 * paragraph_funcs.C: cleanup
8588 2002-09-11 John Levon <levon@movementarian.org>
8590 * PrinterParams.h: odd/even default to true
8592 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8594 * PrinterParams.h: update printer parameters for new xforms dialog
8596 2002-09-11 Angus Leeming <leeming@lyx.org>
8598 * lyxserver.C (read_ready): re-write to make it more transparent
8599 and to make it work in coherent fashion under Tru64 Unix.
8601 2002-09-11 André Pönitz <poenitz@gmx.net>
8605 * text3.C: implement LFUN_WORDSEL
8607 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8609 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8610 make floatlist_ a boost::shared_ptr<FloatList>
8612 * lyxtextclass.C: include FloatList.h
8613 (LyXTextClass): initialize floatlist_
8614 (TextClassTags): add TC_NOFLOAT
8615 (Read): match "nofloat" to TC_NOFLOAT and use it.
8616 (readFloat): modify call to floatlist_
8620 * FloatList.[Ch] (FloatList): remove commented out float
8622 (erase): new function
8624 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8626 * MenuBackend.C (expandToc): fix crash when there is no document
8629 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8631 * many files: Add insetwrap.
8633 2002-09-09 John Levon <levon@movementarian.org>
8635 * text2.C: remove confusing and awkward depth wraparound
8637 2002-09-09 John Levon <levon@movementarian.org>
8639 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8642 * buffer.C: remove getIncludeonlyList()
8645 * lyxfunc.C: remove headers
8647 2002-09-09 Juergen Vigna <jug@sad.it>
8649 * text.C (getColumnNearX): fix form Michael this is most
8650 probably a cut&paste bug.
8652 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8654 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8656 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8657 references, ws changes.
8659 * text2.C (init): update counters after init
8660 (insertParagraph): no need to set counter on idividual paragraphs.
8661 (setCounter): access the counters object in the textclass object
8662 on in the buffer object.
8663 (updateCounters): ditto
8665 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8666 shared_ptr<Counters> to avoid loading counters.h in all
8668 (LyXTextClass): initialize ctrs_
8669 (TextClassTags): add TC_COUNTER, and ...
8670 (Read): use it here.
8671 (CounterTags): new tags
8672 (readCounter): new function
8673 (counters): new funtion
8674 (defaultLayoutName): return a const reference
8676 * counters.C (Counters): remove contructor
8677 (newCounter): remove a couple of unneeded statements.
8678 (newCounter): simplify a bit.
8679 (numberLabel): some small formatting changes.
8681 * buffer.[Ch]: remove all traces of counters, move the Counters
8682 object to the LyXTextClass.
8684 2002-09-06 Alain Castera <castera@in2p3.fr>
8686 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8687 package to set the horizontal alignment on fixed width columns.
8690 * lyx_sty.h: added tabularnewline macro def.
8692 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8694 2002-09-06 John Levon <levon@movementarian.org>
8696 * LyXAction.C: tooltips for sub/superscript
8698 * MenuBackend.C: a bit more verbose
8700 * lyxfunc.C: tiny clean
8702 * undo_funcs.C: document undo_frozen
8704 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8706 * counters.C (Counters): add missing algorithm counter.
8708 * text2.C (setCounter): lookup the counter with layouts latexname
8709 instead of by section number.
8710 (setCounter): use a hackish way to lookup the correct enum
8712 a float name->type change
8713 reset enum couners with counter name directly instead of depth value.
8715 * counters.C (Counters): remove the push_backs, change to use the
8716 float type not the float name.
8717 (labelItem): remove unused string, float name->type change
8719 * counters.h: don't include vector, loose the enums and sects vectors
8721 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8723 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8724 (Read): add float->TC_FLOAT to textclassTags
8725 (Read): and handle it in the switch
8726 (readFloat): new function
8728 * FloatList.C (FloatList): comment out the hardcoded float
8731 * lyxlayout.h: ws change.
8733 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8735 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8737 2002-09-03 Angus Leeming <leeming@lyx.org>
8739 * BufferView_pimpl.h: qualified name is not allowed in member
8740 declaration: WorkArea & Pimpl::workarea() const;
8742 * factory.C: added using std::endl directive.
8744 * text3.C: added using std::find and std::vector directives.
8746 2002-08-29 André Pönitz <poenitz@gmx.net>
8749 * text2.C: remove unused member number_of_rows
8752 * BufferView2.C: remove file, move contents to...
8753 * BufferView.C: ... here
8755 * BufferView_pimpl.C:
8756 * factory.C: move more inset creation to factory
8758 * vspace.C: avoid direct usage of LyXText, ws changes
8761 don't provide direct access to WorkArea, use two simple
8762 acessors haveSelction() and workHeight() instead
8765 2002-08-29 John Levon <levon@movementarian.org>
8767 * BufferView_pimpl.C (dispatch): do not continue when
8770 2002-08-28 André Pönitz <poenitz@gmx.net>
8772 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8775 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8777 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8779 * buffer.C: increment LYX_FORMAT to 221
8781 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8782 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8784 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8786 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8788 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8790 * factory.C (createInset): use LyXTextClass::floats
8792 * MenuBackend.C (expandFloatListInsert):
8793 (expandFloatInsert):
8796 * text2.C (setCounter):
8798 * LaTeXFeatures.C (useFloat):
8799 (getFloatDefinitions):
8801 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8803 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8804 floatlist_, with accessor floats().
8806 * FloatList.h: remove global FloatList
8808 2002-08-26 André Pönitz <poenitz@gmx.net>
8810 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8814 * BufferView_pimpl.C:
8815 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8817 2002-08-25 John Levon <levon@movementarian.org>
8819 * LyXAction.C: fix margin note description
8821 2002-08-24 John Levon <levon@movementarian.org>
8825 * bufferview_funcs.C:
8827 * undo_funcs.C: cleanups
8829 * lyxfunc.C: disable CUT/COPY when no selection
8831 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8833 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8834 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8836 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8837 Add backward compatibility to "mono", "gray" and "no".
8839 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8841 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8842 (and file_format >= 200).
8844 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8846 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8848 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8850 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8852 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8854 * BufferView_pimpl.C:
8861 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8862 inset and code to make it work with the paragraph code. The inset
8863 can be anywhere in the paragraph, but will only do the expected
8864 thing in LaTeX if the layout file contains the parameter line
8866 (or more generally, a nonzero value) for that layout.
8868 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8870 * paragraph.h: remove the declaration of undefined counters class
8873 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8875 * text2.C (setCounter): fixed enumeration mis-count as reported by
8876 Dr. Richard Hawkins.
8878 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8880 * paragraph_funcs.h: remove some unneeded includes
8882 * text.C (backspace): pasteParagraph now in global scipe
8884 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8885 (pasteSelection): ditto
8887 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8888 * paragraph_funcs.C (pasteParagraph): ... here
8890 2002-08-20 André Pönitz <poenitz@gmx.net>
8892 * commandtags.h: new LFUNs for swapping/copying table row/colums
8895 * lyxfunc.C: support for new lfuns
8897 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8900 * buffer.[Ch]: remove NO_COMPABILITY stuff
8902 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8904 * boost.C (throw_exception): new file, with helper function for
8905 boost compiled without exceptions.
8910 * ParameterStruct.h:
8911 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8913 * bufferlist.C (emergencyWriteAll): use boost bind
8915 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8917 * text.C: include paragraph_funcs.h
8918 (breakParagraph): breakParagraph is now in global scope
8920 * paragraph_funcs.[Ch]: new files
8922 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8925 * buffer.C: include paragraph_funcs.h
8926 (insertStringAsLines): breakParagraph is now in global scope
8928 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8931 * CutAndPaste.C: include paragraph_funcs.h
8932 (cutSelection): breakParagraphConservative is now in global scope
8933 (pasteSelection): ditto
8935 * buffer.h: declare oprator== and operator!= for
8936 Buffer::inset_iterator
8938 * bufferlist.C (emergencyWrite): don't use fmt(...)
8940 * text3.C: add using std::endl
8942 * BufferView.C (moveCursorUpdate): remove default arg
8944 2002-08-20 André Pönitz <poenitz@gmx.net>
8946 * buffer.[Ch]: move inline functions to .C
8949 * BufferView_pimpl.C:
8951 * buffer.[Ch]: use improved inset_iterator
8954 * paragraph.[Ch]: write one paragraph at a time
8956 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8958 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8959 style if style is not specified.
8961 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8963 * text2.C (setCounter): when searching for right label for a
8964 caption, make sure to recurse to parent insets (so that a caption
8965 in a minipage in a figure float works) (bug #568)
8967 2002-08-20 André Pönitz <poenitz@gmx.net>
8969 * text3.C: new file for LyXText::dispatch() and helpers
8971 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8973 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8975 2002-08-19 André Pönitz <poenitz@gmx.net>
8978 * text.C: new LyXText::dispatch()
8980 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8982 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8984 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8986 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8989 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8991 * Makefile.am: use $(variables) instead of @substitutions@
8993 2002-08-15 André Pönitz <poenitz@gmx.net>
8996 * BufferView_pimpl.C: streamlining mathed <-> outer world
9000 * LyXAction.C: remove unused LFUN_MATH
9002 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9004 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9006 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9008 * paragraph.C (Paragraph): reformat a bit
9009 (cutIntoMinibuffer): use builtin InsetList function instad of
9013 * buffer.C: include boost/bind.hpp, add using std::for_each
9014 (writeFileAscii): use ParagraphList iterators
9015 (validate): use for_each for validate traversal of paragraphs
9016 (getBibkeyList): use ParagraphList iterators
9017 (resizeInsets): use for_each to resizeInsetsLyXText for all
9019 (getParFromID): use ParagraphList iterators
9021 * BufferView2.C (lockInset): use paragraph list and iterators
9023 2002-08-14 John Levon <levon@movementarian.org>
9025 * lyxserver.C: remove spurious xforms include
9027 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9029 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9031 2002-08-13 André Pönitz <poenitz@gmx.net>
9034 * lyxfunc.C: further cleaning
9036 2002-08-13 André Pönitz <poenitz@gmx.net>
9038 * funcrequest.h: new constructor
9040 * funcrequest.C: move stuff here from .h
9043 * BufferView_pimpl.C:
9046 * lyxfunc.C: subsequent changes
9048 * lyxfunc.h: new view() member function
9050 * lyxfunc.C: subsequent changes
9052 2002-08-13 Angus Leeming <leeming@lyx.org>
9055 * BufferView_pimpl.C:
9063 changes due to the changed LyXView interface that now returns references
9064 to member variables not pointers.
9066 2002-08-13 Angus Leeming <leeming@lyx.org>
9068 * WordLangTuple (word, lang_code): return references to strings,
9073 * lyxtext.h: forward-declare WordLangTuple.
9078 * text.C: #include "WordLangTuple.h".
9081 * text.C: (selectNextWordToSpellcheck): constify return type.
9083 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9089 * paragraph_pimpl.h:
9092 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9094 Made updateCounter always count from start of buffer, and removed
9095 second argument (par).
9096 Reverted floats number display to '#'. Perhaps I'll try again when the
9097 code base is sanitized a bit.
9099 2002-08-12 Angus Leeming <leeming@lyx.org>
9101 * buffer.[Ch] (getLabelList): constify.
9103 2002-08-07 André Pönitz <poenitz@gmx.net>
9105 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9107 * funcrequest.h: extension to keep mouse (x,y) position
9109 2002-08-12 Juergen Vigna <jug@sad.it>
9111 * BufferView2.C (insertErrors): forbid undo when inserting error
9114 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9116 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9118 * ParagraphList.[Ch]: new files
9120 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9122 * BufferView2.C (lockInset): ParagraphList changes
9125 * bufferlist.C: ditto
9129 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9131 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9132 unused class variable counter_,
9134 * paragraph.[Ch] (getFirstCounter): delete unused function
9136 * counters.C: include LAssert.h
9137 (reset): add a new function with no arg, change other version to
9138 not have def. arg and to not allow empty arg.
9140 * text2.C (setCounter): remove empty arg from call to Counters::reset
9142 2002-08-11 John Levon <levon@movementarian.org>
9144 * Makefile.am: add WordLangTuple.h
9146 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9148 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9149 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9151 * insets/insettext.C: InsetList changes
9153 * graphics/GraphicsSupport.C (operator()): InsetList changes
9155 * toc.C (getTocList): InsetList changes
9157 * paragraph_pimpl.[Ch]: InsetList changes
9159 * paragraph.[Ch]: InsetList changes
9161 * buffer.C (inset_iterator): InsetList changes
9162 (setParagraph): ditto
9163 * buffer.h (inset_iterator): ditto
9164 * iterators.C (operator++): ditto
9165 * iterators.h: ditto
9167 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9169 * InsetList.[Ch]: new files, most InsetList handling moved out of
9172 * BufferView2.C (removeAutoInsets): InsetList changes
9174 (ChangeInsets): ditto
9176 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9178 * paragraph_pimpl.h (empty): new function
9180 * paragraph.[Ch] (empty): new function
9182 * other files: use the new Paragraph::empty function
9184 2002-08-09 John Levon <levon@movementarian.org>
9186 * lyxtext.h: remove unused refresh_height
9188 2002-08-09 John Levon <levon@movementarian.org>
9195 * paragraph.C: move sgml char escaping out of paragraph
9198 * paragraph.C: remove id setter
9202 * paragraph_pimpl.C: remove dead tex_code_break_column
9204 * bufferview_funcs.C: small cleanup
9206 * lyxfunc.C: remove dead proto
9208 * lyxtext.h: make some stuff private. Remove some dead stuff.
9210 * lyxgluelength.C: make as[LyX]String() readable
9212 2002-08-08 John Levon <levon@movementarian.org>
9217 * ToolbarDefaults.C:
9220 * toc.C: lyxaction cleanup
9222 2002-08-08 John Levon <levon@movementarian.org>
9224 * BufferView2.C: small cleanup
9227 * lyxfind.C: move unnecessary header into the .C
9229 2002-08-08 John Levon <levon@movementarian.org>
9231 * funcrequest.h: just tedious nonsense
9234 * lyx_main.C: cleanups
9237 * vspace.C: remove dead header lyx_main.h
9239 2002-08-07 Angus Leeming <leeming@lyx.org>
9242 * paragraph_pimpl.h:
9243 Forward declare class Counters in paragraph.h by moving the ctrs member
9244 variable into Paragraph::Pimpl.
9245 (counters): new method, returning a reference to pimpl_->ctrs.
9247 * text2.C: ensuing changes.
9249 2002-08-07 John Levon <levon@movementarian.org>
9251 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9253 * BufferView_pimpl.C: announce X selection on double/triple
9256 * lyx_main.C: use correct bool in batch dispatch
9258 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9260 2002-08-07 André Pönitz <poenitz@gmx.net>
9262 * funcrequest.h: new class to wrap a kb_action and its argument
9265 * BufferView_pimpl[Ch]:
9269 * lyxrc.C: subsequent changes
9272 2002-08-07 John Levon <levon@movementarian.org>
9274 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9275 document options change.
9277 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9282 * makefile.am: move counters functionality over from
9283 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9285 2002-08-06 John Levon <levon@movementarian.org>
9287 * WordLangTuple.h: new file for word + language code tuple
9298 * BufferView2.C: use WordLangTuple
9301 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9303 2002-08-06 John Levon <levon@movementarian.org>
9305 * lyx_main.C: fix cmdline batch handling
9307 2002-08-06 André Pönitz <poenitz@gmx.net>
9309 * lyxrc.C: set default for show_banner to true
9311 2002-08-06 John Levon <levon@movementarian.org>
9313 * pspell.C: fix a crash, and allow new aspell to work
9315 2002-08-06 John Levon <levon@movementarian.org>
9318 * kbmap.C: small cleanup
9321 * vspace.C: add const
9323 2002-08-05 John Levon <levon@movementarian.org>
9325 * LyXAction.C: back to tabular-insert
9327 2002-08-04 John Levon <levon@movementarian.org>
9330 * BufferView.C: cosmetic change
9332 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9342 * BufferView2.C: purge all "Lyx" not "LyX" strings
9345 * lyxcursor.C: attempt to add some documentation
9350 * ToolbarDefaults.C:
9351 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9352 merge with LFUN_TABULAR_INSERT
9359 * pspell.C: split up i/pspell implementations into separate
9360 files, many cleanups
9362 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9364 * text2.C: some cleanup
9366 * lyxfunc.C: don't check for isp_command == "none" any more, it
9367 didn't make any sense
9369 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9374 * makefile.am: move counters functionality over
9375 from text2.C/paragraph.[Ch] to counters.[Ch], and
9377 2002-08-02 John Levon <levon@movementarian.org>
9379 * buffer.C: s/lyxconvert/lyx2lyx/
9381 2002-08-02 Angus Leeming <leeming@lyx.org>
9383 * lyxlex.C: revert John's change as it breaks reading of the user
9386 2002-08-02 Angus Leeming <leeming@lyx.org>
9388 * importer.C (Import):
9389 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9390 changes due to LyXView::view() now returning a boost::shared_ptr.
9392 2002-08-02 John Levon <levon@movementarian.org>
9394 * lyxlex.C: small cleanup
9396 2002-08-02 John Levon <levon@movementarian.org>
9398 * text2.C (status): small cleanup, no logic change
9400 2002-08-01 John Levon <levon@movementarian.org>
9403 * buffer.C (writeFile): don't output alerts, caller
9407 * lyx_cb.C: from above
9409 * lyxfunc.C: allow to open non-existent files
9411 2002-07-31 John Levon <levon@movementarian.org>
9413 * lyxserver.C: don't let incidental errors get
9416 2002-07-30 John Levon <levon@movementarian.org>
9418 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9420 2002-07-30 John Levon <levon@movementarian.org>
9423 * lyxserver.C: remove I/O callback too
9425 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9427 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9430 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9432 * many files: strip,frontStrip -> trim,ltrim,rtrim
9434 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9436 * PrinterParams.h: remove extern containsOnly, and include
9437 support/lstrings.h instead.
9439 * LaTeX.C (scanAuxFile): modify because of strip changes
9441 * buffer.C (makeLaTeXFile): ditto
9442 * bufferparams.C (writeFile): ditt
9443 * lyxfont.C (stateText): ditto
9444 * lyxserver.C (read_ready): ditto
9445 * vc-backend.C (scanMaster): ditto
9447 * BufferView_pimpl.h: ws changes
9449 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9451 2002-07-26 André Pönitz <poenitz@gmx.net>
9453 * kb_sequence.C: remove unnedred usings
9455 2002-07-26 Juergen Vigna <jug@sad.it>
9457 * lyxfind.C (LyXReplace): we have to check better if the returned
9458 text is not of theLockingInset()->getLockingInset().
9460 2002-07-25 Juergen Vigna <jug@sad.it>
9462 * lyxfind.C (LyXReplace): don't replace if we don't get the
9465 * undo_funcs.C (createUndo): remove debugging code.
9467 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9469 * buffer.C (parseSingleLyXformat2Token): Use default placement
9470 when reading old floats.
9472 * FloatList.C (FloatList): Change the default placement of figure
9473 and tables to "tbp".
9475 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9477 * MenuBackend.C: using std::max
9479 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9481 * MenuBackend.C (expandToc):
9482 (expandToc2): code moved from xforms menu frontend. It is now
9483 generic and TOCs are transparent to menu frontends.
9485 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9487 * toc.C (getTocList): protect against buf=0
9489 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9490 Menu as first parameter. Now, this calls itself recursively to
9491 expand a whole tree (this will be useful for TOC handling)
9492 (expandFloatInsert): remove 'wide' version of floats
9494 * MenuBackend.h (submenuname): returns the name of the submenu.
9495 (submenu): returns the submenu itself, provided it has been
9496 created by MenuBackend::expand
9498 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9500 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9501 insets which have noFontChange == true. (bug #172)
9503 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9505 * BufferView_pimpl.C: add connection objects and use them...
9508 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9510 * MenuBackend.C (expandLastfiles):
9513 (expandFloatListInsert):
9514 (expandFloatInsert):
9515 (expand): split expand in parts
9517 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9519 * lyx_gui.C: use lyx_gui::exit()
9521 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9523 * LyXAction.C: show the failing pseudo action
9525 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9527 * buffer.C (readFile): Run the lyxconvert script in order to read
9530 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9534 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9536 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9540 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9542 2002-07-22 Herbert Voss <voss@lyx.org>
9545 * lyxlength.[Ch]: add support for the vertical lengths
9547 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9549 * toc.[Ch]: std:: fixes
9551 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9553 * lyxrc.C: do not include lyx_main.h
9555 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9561 * BufferView2.C: include "lyxlex.h"
9564 * bufferparams.h: do not #include "lyxlex.h"
9566 * lyxtextclasslist.C (Add): remove method
9567 (classlist): renamed to classlist_
9569 * paragraph_pimpl.C:
9573 * bufferview_funcs.C:
9578 * toc.C (getTocList): use BufferParams::getLyXTextClass
9580 * toc.C (getTocList): use InsetFloat::addToToc
9582 * toc.[Ch]: new files, containing helper functions to handle table
9585 * lyxfunc.C (dispatch): no need to remove spaces around command
9587 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9588 first command of the sequence; it is not very clever, but I do not
9589 have a better idea, actually
9591 * LyXAction.C (LookupFunc): make sure to remove space at the
9592 beginning and end of the command
9594 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9596 * MenuBackend.C (getMenubar): new method: return the menubar of
9598 (read): treat differently reading of menu and menubar (in
9599 particular, the menubar has no name now)
9600 (Menu::menubar): remove
9602 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9605 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9607 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9608 a bibitem inset in a RTL paragraph.
9610 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9612 * paragraph_pimpl.C: constify
9614 * BufferView_pimpl.C:
9616 * lyxfunc.C: fix dispatch in a nicer way
9618 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9620 * lyxfunc.C (dispatch):
9621 * BufferView_pimpl.C:
9622 * BufferView_pimpl.h:
9624 * BufferView.h: rename Dispatch() to dispatch()
9626 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9628 * lyxlayout.C (Read): honor DependsOn tag
9630 * lyxlayout.[Ch] (depends_on): new method
9632 * version.C.in: update lyx_docversion
9634 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9636 * paragraph.C (validate): remove from here...
9637 * paragraph_pimpl.C (validate): ... and move here
9638 (isTextAt): make it const
9640 * buffer.C (getLists): ws cleanup
9642 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9644 * language.C (read): Use iso8859-1 encoding in latex_lang
9645 (this prevents LyX from crashing when using iso10646-1 encoding).
9647 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9649 * text2.C (toggleInset): if cursor is inside an inset, close the
9650 inset and leave cursor _after_ it
9652 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9654 * lyxfunc.C: move minibuffer completion handling out of here
9656 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9658 * BufferView_pimpl.C:
9659 * LaTeX.C: fix dispatch calls
9661 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9663 * text.C (drawChars): Fix Arabic text rendering.
9665 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9669 * lyxfunc.C: remove message-push/pop
9673 * lyxfunc.C: rationalise some code by removing verboseDispatch
9674 in favour of a bool argument to dispatch()
9676 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9678 * lyx_main.C (init): make sure to read symlinks as absolute paths
9680 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9683 * lyxfunc.C: no need for commandshortcut to be a member
9685 2002-07-15 André Pönitz <poenitz@gmx.net>
9687 * converter.C: add support for $$s (scripts from lib/scripts dir)
9688 * lyx_main.C: white space
9690 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9694 * lyxrc.C: remove second exit confirmation
9696 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9701 * BufferView_pimpl.h:
9702 * BufferView_pimpl.C:
9703 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9705 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9707 * MenuBackend.C (expand): add numeric shortcuts to document menu
9709 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9711 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9713 * lyxfont.C (setLyXFamily):
9720 * buffer.C (asciiParagraph): use ascii_lowercase
9722 2002-07-15 Mike Fabian <mfabian@suse.de>
9724 * lyxlex_pimpl.C (search_kw):
9725 * lyxlex.C (getLongString):
9726 * converter.h (operator<):
9727 * converter.C (operator<):
9728 * buffer.C (parseSingleLyXformat2Token):
9730 * ToolbarDefaults.C (read):
9731 * MenuBackend.C (checkShortcuts):
9733 * LColor.C (getFromGUIName):
9734 (getFromLyXName): use the compare_ascii_no_case instead of
9735 compare_no_case, because in turkish, 'i' is not the lowercase
9736 version of 'I', and thus turkish locale breaks parsing of tags.
9738 2002-07-16 Angus Leeming <leeming@lyx.org>
9740 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9741 now takes a Buffer const & argument.
9743 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9745 * BufferView.C (resize): check there's a buffer to resize
9747 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9749 * lyxfunc.C: remove dead code
9752 * lyxserver.C: use lyx_guii::set_read_callback
9754 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9756 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9757 an inset in a RTL paragraph.
9759 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9761 * lyxfunc.C: repaint after a font size update
9763 2002-07-15 André Pönitz <poenitz@gmx.net>
9765 * lyxlength.C: inBP should be able to return negative values
9767 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9769 * lyxfunc.C: use lyx_gui::update_fonts()
9771 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9773 * lyxfunc.C: use lyx_gui::update_color()
9775 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9781 * lyxrc.C: remove file->new asks for name option, and let
9782 buffer-new take an argument
9784 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9786 * BufferView_pimpl.C: remove unneeded extra repaint()
9788 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9790 * LyXAction.C: allow command-sequence with NoBuffer
9792 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9794 2002-07-10 Angus Leeming <leeming@lyx.org>
9796 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9798 2002-07-09 Angus Leeming <leeming@lyx.org>
9800 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9802 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9804 * lengthcommon.h: whitespace
9806 * lyxfunc.C: update scrollbar after goto paragraph
9808 * lyxtext.h: factor out page break drawing, and fix it so
9809 page break/added space paints as selected nicely
9811 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9813 * BufferView_pimpl.C: add FIXMEs, clean up a little
9815 2002-07-09 André Pönitz <poenitz@gmx.net>
9817 * lyxfont.[Ch]: support for wasy symbols
9819 2002-07-08 André Pönitz <poenitz@gmx.net>
9821 * BufferView_pimpl.C: apply John's patch for #93.
9823 2002-07-05 Angus Leeming <leeming@lyx.org>
9825 * BufferView_pimpl.C (buffer): generate previews if desired.
9827 * LColor.h: add "preview" to the color enum.
9829 * LColor.C (LColor): add a corresponding entry to the items array.
9831 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9834 2002-07-05 Angus Leeming <leeming@lyx.org>
9836 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9837 The body of the code is now in the method that is passed an ostream &
9838 rather than a file name.
9839 Pass an additional only_preamble parameter, useful for the forthcoming
9842 2002-07-03 André Pönitz <poenitz@gmx.net>
9844 * lyxfunc.C: simplify getStatus() a bit for math stuff
9846 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9848 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9850 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9852 * text.C (changeRegionCase): do not change case of all the
9853 document when region ends at paragraph end (bug #461)
9855 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9857 * paragraph.C (startTeXParParams):
9858 (endTeXParParams): add \protect when necessary
9860 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9862 * BufferView_pimpl.C (workAreaExpose): remove warning
9864 2002-06-27 Angus Leeming <leeming@lyx.org>
9866 * Makefile.am: add lyxlayout_ptr_fwd.h.
9868 2002-06-26 André Pönitz <poenitz@gmx.net>
9870 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9872 2002-06-25 Angus Leeming <leeming@lyx.org>
9874 * lyxfunc.C (dispatch): Comment out the call to
9875 grfx::GCache::changeDisplay. The method no longer exists now that the
9876 pixmap generation part of the graphics loader has been moved into
9879 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9881 * text2.C: layout as layout
9883 * text.C: layout as layout
9885 * tabular.C (OldFormatRead): layout as layout
9887 * paragraph_pimpl.C (TeXDeeper): layout as layout
9888 (realizeFont): layout as layout
9890 * paragraph.C (writeFile): layout as layout
9891 (validate): layout as layout
9892 (getFont): layout as layout
9893 (getLabelFont): layout as layout
9894 (getLayoutFont): layout as layout
9895 (breakParagraph): layout as layout
9896 (stripLeadingSpaces): layout as layout
9897 (getEndLabel): layout as layout
9898 (getMaxDepthAfter): layout as layout
9899 (applyLayout): layout as layout
9900 (TeXOnePar): layout as layout
9901 (simpleTeXOnePar): layout as layout
9902 (TeXEnvironment): layout as layout
9903 (layout): layout as layout
9904 (layout): layout as layout
9906 * lyxtextclass.C (compare_name): new functor to work with
9907 shared_ptr, layout as layout
9908 (Read): layout as layout
9909 (hasLayout): layout as layout
9910 (operator): layout as layout
9911 (delete_layout): layout as layout
9912 (defaultLayout): layout as layout
9914 * lyxlayout_ptr_fwd.h: new file
9916 * lyxlayout.C (Read): layout as layout
9918 * lyx_cb.C (MenuInsertLabel): layout as layout
9920 * bufferlist.C (newFile): layout as layout
9922 * buffer.C (readLyXformat2): layout as layout
9923 (parseSingleLyXformat2Token): layout as layout
9924 (insertStringAsLines): layout as layout
9925 (asciiParagraph): layout as layout
9926 (latexParagraphs): layout as layout
9927 (makeLinuxDocFile): layout as layout
9928 (simpleLinuxDocOnePar): layout as layout
9929 (makeDocBookFile): layout as layout
9930 (simpleDocBookOnePar): layout as layout
9931 (getLists): layout as layout
9933 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9935 * CutAndPaste.C (cutSelection): layout as layout
9936 (pasteSelection): layout as layout
9937 (SwitchLayoutsBetweenClasses): layout as layout
9939 * BufferView_pimpl.C (Dispatch): layout as layout
9940 (smartQuote): layout as layout
9942 * BufferView2.C (unlockInset): layout as layout
9944 2002-06-24 André Pönitz <poenitz@gmx.net>
9946 * lyxfunc.C: fix #487
9948 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9952 * lyxfunc.C: remove display_shortcuts, show_banner
9954 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9956 * Buffer_pimpl.C: oops, update on resize
9958 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9965 * BufferView.C: use repaint()
9967 * BufferView_pimpl.h:
9968 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9969 as it's a clearer description. Remove superfluous
9972 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9974 * text.C: fix bug 488. Not ideal, but getting
9975 getWord() to work properly for the insets that
9976 matter is more difficult ...
9978 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9980 * BufferView_pimpl.C:
9983 * lyxfunc.C: remove the six million index lyxfuncs to just
9984 one, and DTRT (bug 458)
9986 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9990 * BufferView_pimpl.h:
9991 * BufferView_pimpl.C: clean up resize() stuff,
9992 and unnecessary updateScreen()s
9994 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9998 * BufferView_pimpl.h:
9999 * BufferView_pimpl.C:
10002 * minibuffer.C: remove focus management of workarea,
10003 not needed. Use screen's greyOut()
10005 2002-06-17 Herbert Voss <voss@lyx.org>
10007 * converter.C: (convert) do not post a message, when converting
10008 fails, let the calling function decide what to do in this case
10010 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10012 * lyxfunc.C: tidy up a little
10014 2002-06-16 <alstrup@diku.dk>
10016 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10017 Got rid of FORMS_H_LOCATION include. Now we are
10020 2002-06-15 LyX Development team <lyx@rilke>
10022 * buffer.[Ch] (sgmlOpenTag):
10023 (sgmlCloseTag): Added support for avoiding pernicious mixed
10024 content. Return number of lines written.
10026 (makeLinuxDocFile):
10027 (makeDocBookFile): Fixed calls to sgml*Tag.
10028 Simple white space clean.
10030 (simpleDocBookOnePar): Simple white space clean.
10032 * tabular.[Ch] (docBook): Renamed to docbook and got another
10033 argument to related with the pernicious mixed content.
10035 (docbookRow): Fixed calls for docbook inset method.
10037 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10039 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10040 so it's X11 independent.
10044 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10046 2002-06-15 Lyx Development team <lyx@electronia>
10048 * intl.h: Renamed getTrans to getTransManager.
10050 2002-06-14 Angus Leeming <leeming@lyx.org>
10052 * Makefile.am: nuke forgotten stl_string_fwd.h.
10054 2002-06-12 Angus Leeming <leeming@lyx.org>
10056 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10058 2002-06-13 Angus Leeming <leeming@lyx.org>
10061 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10063 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10065 * kbmap.C (getiso): add support for cyrillic and greek
10067 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10071 * BufferView_pimpl.h:
10072 * BufferView_pimpl.C: move bogus scrolling logic
10075 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10078 * BufferView_pimpl.C: view->resize() change
10080 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10082 * BufferView_pimpl.C: topCursorVisible
10085 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10089 * lyx_gui.C: move to frontends/
10093 * lyx_main.C: changes from above
10095 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10102 * lyx_main.C: minor tidy
10104 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10106 * BufferView_pimpl.h:
10107 * BufferView_pimpl.C:
10109 * BufferView.C: make painter() const,
10112 * BufferView2.C: use screen() accessor
10115 * lyx_main.C: some minor cleanup
10117 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10119 * BufferView_pimpl.h:
10120 * BufferView_pimpl.C: remove enter/leaveView,
10123 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10128 * BufferView_pimpl.h:
10129 * BufferView_pimpl.C: only construct screen once,
10132 * lyxrc.C: remove pointless comment
10134 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10137 * BufferView.C: remove active() and belowMouse()
10139 * BufferView_pimpl.h:
10140 * BufferView_pimpl.C: use workarea() not workarea_,
10141 and make it use a scoped_ptr instead
10143 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10145 * lyx_gui.C: add debug message on BadWindow
10147 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10149 * sp_spell.C: fdopen is not part of the C++ standard.
10151 * paragraph.C (InsetIterator): use >= instead of ==
10153 2002-06-07 Angus Leeming <leeming@lyx.org>
10155 Fixes needed to compile with Compaq cxx 6.5.
10156 * BufferView_pimpl.C:
10163 * lyxtextclasslist.C:
10168 all c-library variables have been moved into namespace std. Wrap
10169 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10174 Add a using std::abs declaration.
10176 * kbmap.h (modifier_pair):
10177 * paragraph.h (InsetTable, InsetList):
10178 * lyxfont.h (FontBits):
10179 type definition made public.
10181 * bufferlist.C (emergencyWriteAll): the compiler complains that
10182 there is more than one possible lyx::class_fun template to choose from.
10183 I re-named the void specialisation as lyx::void_class_fun.
10185 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10187 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10188 the compiler is is unable to find tostr in write_attribute.
10190 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10192 * buffer.C (sgmlError): hide #warning
10194 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10196 * xtl/*: get rid of xtl, which is not in use anyway
10198 * LyXAction.C (init):
10199 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10200 were unimplemented xtl experimentation
10202 2002-06-04 André Pönitz <poenitz@gmx.net>
10204 * lyxfunc.C: disable array operation on simple formulae
10206 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10208 * converter.C: constify a bit
10210 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10212 * lyx_gui.C: check xforms version correctly
10214 2002-04-30 Herbert Voss <voss@lyx.org>
10216 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10219 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10221 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10222 attempt to register it with a VCS)
10224 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10226 * lyx_main.C (init): honor variables LYX_DIR_13x and
10229 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10233 * lyx_main.C: fix a crash on bad command line,
10234 and give a useful exit status on error
10236 * lyxfunc.C (doImport): allow -i lyx to work
10238 2002-03-30 André Pönitz <poenitz@gmx.net>
10240 * lyxfunc.C: mathed font changes
10242 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10257 * trans_mgr.h: srcdocs, and some minor cleanups
10259 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10261 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10262 call getFont all the time)
10264 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10266 * switch from SigC signals to boost::signals
10268 2002-05-29 André Pönitz <poenitz@gmx.net>
10270 * paragraph_pimpl.C (getChar): don't call size() too often...
10272 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10274 * paragraph_pimpl.C (insertChar): do not try to update tables when
10275 appending (pos == size())
10277 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10278 in order to reduce drastically the number of comparisons needed to
10279 parse a large document
10281 2002-05-29 André Pönitz <poenitz@gmx.net>
10287 * textclasslist.[Ch]:
10288 * sp_ispell.h: whitespace change
10290 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10292 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10293 lyxaction directly now.
10295 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10299 * lyxvc.C: remove unused headers
10301 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10308 * undo_funcs.C: some cleanups. Use shared_ptr
10309 and a template for the undo stacks.
10311 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10313 * BufferView_pimpl.h:
10314 * BufferView_pimpl.C:
10321 * text2.C: use key_state/mouse_state
10323 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10325 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10328 * chset.C: change include order
10329 (loadFile): use boost regex and get rid of LRegex and LSubstring
10331 * Makefile.am (BOOST_LIBS): new variable
10332 (lyx_LDADD): use it
10334 * LaTeX.C: change include order.
10335 (scanAuxFile): use boost regex and get rid of LRegex and
10339 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10344 * FontInfo.C: moved to frontends/xforms/
10347 * FontLoader.C: moved into frontends for GUIIzation
10352 * lyxfunc.C: changes from above
10354 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10356 * LColor.C: remove spurious X include
10358 * BufferView_pimpl.C:
10363 * text2.C: move font metrics to frontends/
10365 2002-05-24 Juergen Vigna <jug@sad.it>
10367 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10368 setting the undo_cursor.
10370 * ParagraphParameters.h: include local includes first.
10372 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10374 * BufferView_pimpl.C:
10375 * BufferView_pimpl.h:
10379 * screen.C: move WorkArea into frontends/
10385 * BufferView2.C: move LyXScreen into frontends/
10389 * lyx_gui.C: move lyxlookup into frontends/xforms/
10391 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10394 * BufferView_pimpl.C:
10404 * bufferview_funcs.C:
10417 * vc-backend.C: move LyX/XFormsView into frontends/
10419 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10431 * text2.C: move Painter to frontends/
10433 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10435 * buffer.C: comment out some some code that depend upon lyx_format
10438 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10439 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10441 * buffer.h (NO_COMPABILITY): turn off compability
10443 * ColorHandler.C: include scoped_array.hpp
10445 * font.C: Use more specific smart_ptr header.
10448 * ShareContainer.h: ditto
10449 * lyx_main.h: ditto
10451 * FontInfo.h: ditto
10452 * BufferView_pimpl.h: ditto
10453 * ColorHandler.h: ditto
10455 * kbmap.C (defkey): change call to shared_ptr::reset
10457 2002-05-21 Juergen Vigna <jug@sad.it>
10459 * buffer.C (insertErtContents): fix to insert ert asis if it is
10460 non empty. Skip it completely if it contains only whitespaces.
10462 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10464 * BufferView_pimpl.C:
10465 * BufferView2.C: clear selection on paste (bug 393)
10467 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10469 * DepTable.C: include ctime
10471 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10473 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10475 2002-05-14 Juergen Vigna <jug@sad.it>
10477 * text.C (breakParagraph): fixed function to honor the keepempty
10478 layout in the right maner and also to permit the right breaking
10479 algorithm on empty or non empyt keepempty paragraphs.
10481 * paragraph.C (breakParagraph): we have to check also if the par
10482 is really empty (!size()) for isempty otherwise we do the wrong
10485 2002-05-10 Juergen Vigna <jug@sad.it>
10487 * buffer.[Ch] : The following are only changes to the ert
10488 compatibility read reading old LaTeX layout and font stuff and
10489 convert it to ERTInsets.
10491 * buffer.h: added isErtInset().
10493 * buffer.C (struct ErtComp): add a fromlayout bool to check
10494 if we're inside a LaTeX layout.
10495 (isErtInset): new helper function.
10496 (insertErtContents): look for other ert insets before this one
10497 and insert the contents there, so that we don't have subsequent
10498 ERT insets with nothing between them. This way we create only one
10499 inset with multiple paragraphs. Also check if we don't insert only
10500 spaces ' ' as they are ignored anyway afterwards in the .tex file
10501 so if we have only spaces we will ignore this latex part in the
10503 (parseSingleLyXformat2Token \\layout): better compatibility when
10504 reading layout-latex stuff.
10505 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10507 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10508 stuff after reading the inset only get the information back from
10511 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10513 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10515 * LaTeXFeatures.C (getBabelOptions): New method.
10517 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10519 * BufferView_pimpl.C (Dispatch): work around missing argument for
10522 2002-05-08 Juergen Vigna <jug@sad.it>
10524 * text.C (leftMargin): handle paragraph leftindent.
10526 * paragraph.C (writeFile): write the new \\leftindent tag.
10527 (validate): handle leftindent code.
10528 (TeXEnvironment): handle paragraphleftindent code again.
10530 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10532 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10533 for paragrap_extra indent code and new token \\leftindent.
10534 (latexParagraphs): handle the leftindent as environment.
10536 * ParameterStruct.h: added leftindent support.
10538 * ParagraphParameters.C (leftIndent): added support functions for
10539 the paragraph left indent.
10541 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10544 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10546 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10549 * text.C (computeBidiTables): No bidi in insetERT.
10551 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10554 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10556 * version.C.in: pre 5
10558 2002-05-02 José Matos <jamatos@fep.up.pt>
10559 * buffer.C (makeDocBookFile): white space changes, add newline to
10561 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10563 * tabular.C (docBook): fix typo.
10565 2002-05-03 Juergen Vigna <jug@sad.it>
10567 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10568 change in LyXText as we can not be sure it was not freed.
10569 (drawOneRow): remove unused code.
10571 * text.C (drawInset): redo the calculation of the need_break_row as
10572 it could have a row which was already freed.
10573 (draw): look at the return value of drawInset and return false if
10574 it also returned false.
10575 (paintRowText): look at the return value of draw and return false if
10576 it also returned false.
10578 * lyxtext.h: added bool return type to drawInset() and draw() so that
10579 if we have a change in the row so that the rowbreak has to be redone
10580 we abort drawing as it will be called again.
10582 2002-05-02 Juergen Vigna <jug@sad.it>
10584 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10585 a change in the maintext also if we're inside an inset.
10586 (Dispatch): set the cursor again after a break line and after the
10587 screen has been updated as it could be we're in a different row.
10589 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10590 to set the cursor behind the pargraph with > size().
10591 (setCursor): check also for the same paragraph when checking where
10592 to put the cursor if we have a NFR inset.
10594 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10595 parts of layout read further up as it still was in the wrong
10598 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10600 * screen.C (drawFromTo): change sine fullRebreak always return
10603 * buffer.C (parseSingleLyXformat2Token): reindent some
10605 * BufferView_pimpl.C (update): change since fullRebreak always
10607 (Dispatch): git rid of the last hardcoded "Standard"s.
10609 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10611 * text2.[Ch] (fullRebreak): make it return void now that we always
10614 2002-04-30 Juergen Vigna <jug@sad.it>
10616 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10617 ert compatibility check for "latex" layout.
10619 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10621 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10622 minipages: use col% instead of p%, and also use the current font.
10623 (makeLaTeXFile): Fix use babel condition.
10624 (parseSingleLyXformat2Token): Correct font when reading old floats.
10626 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10628 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10629 inserting list of floats.
10631 2002-04-25 Herbert Voss <voss@lyx.org>
10633 * MenuBackend.C (expand): don't add the graphics extensions to the
10636 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10638 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10639 non-existing layout, do not complain if it was the default layout
10640 of the original class (bug #342)
10642 2002-04-24 Juergen Vigna <jug@sad.it>
10644 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10645 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10647 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10649 * buffer.C (getBibkeyList): If using \bibliography, return the
10650 option field with the reference itself. Enables us to provide natbib
10651 support when using \bibliography.
10653 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10655 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10657 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10658 natbib is provided by the LaTeX class.
10660 2002-04-23 Juergen Vigna <jug@sad.it>
10662 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10665 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10667 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10669 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10671 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10672 ensuremath around textordmasculine, textordfeminine and
10675 2002-04-19 Juergen Vigna <jug@sad.it>
10677 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10678 reinitializing the buffer otherwise row-dimensions may be wrong.
10679 (update): reset also the selection cursors if they do exits otherwise
10680 their x/y positions may be wrong.
10682 * text2.C (cursorDown): don't enter the inset if we came from a row
10683 above and are one row over the inset.
10685 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10686 really leaving an inset.
10688 2002-04-18 Juergen Vigna <jug@sad.it>
10690 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10691 of the selected paragraph does not have the selected layout also if
10694 * text2.C (setLayout): fixed bug which did not change last selected
10697 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10698 changed the read and substituted \\end_float with \\end_inset!
10700 * BufferView_pimpl.C (cursorPrevious):
10701 (cursorNext): fixed to make it work with rows heigher than the work
10702 area without moving the cursor only the draw of the row.
10703 (workAreaMotionNotify): fix jumping over high rows.
10705 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10707 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10710 2002-04-16 Juergen Vigna <jug@sad.it>
10712 * text2.C (setCursor): set also the irow().
10713 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10715 (cursorDown): support for locking an inset if the x_fix value goes
10716 inside it. That way I can transverse insets too with cursor up/down.
10718 * lyxrow.h: added irow helper function same as other (i) functions.
10720 * BufferView_pimpl.C (cursorPrevious):
10721 (cursorNext): fixed for insets!
10723 2002-04-15 Juergen Vigna <jug@sad.it>
10725 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10726 position otherwise it is wrong in some cases.
10728 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10729 inside the inset before the call.
10731 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10733 * buffer.[Ch] (getBibkeyList): make it const.
10735 2002-04-12 Juergen Vigna <jug@sad.it>
10737 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10739 * text2.C (getCursorX): new helper function
10740 (setCursor): compute also ix_
10741 (setCursorFromCoordinates): set also ix.
10743 * lyxcursor.h: added ix_ and helper functions.
10745 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10747 * buffer.C (insertStringAsLines): dont break paragraph if the this
10748 paragraph is inside an inset which does not permit it!
10750 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10751 also with no chars on this paragraph.
10752 (paintRowText): only paint stuff if it's inside the workarea!
10754 * paragraph.C (breakParagraph): honor keepempty flag and break the
10755 paragraph always below not above.
10757 * BufferView2.C (unlockInset): update the paragraph layout on inset
10758 unlock as we changed paragraph in such a case.
10760 * lyxfind.C (LyXFind): clear the former selection if not found!
10762 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10763 again called in insertChar().
10765 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10766 an inset which uses the whole row!
10767 (rightMargin): ditto.
10768 (insertChar): force a rebreak if we inserted an inset!
10770 2002-03-28 Herbert Voss <voss@lyx.org>
10772 * lyxlength.[Ch]: add inBP() to get the right PS-point
10773 units (BigPoint). With inPixels we have rounding errors
10775 2002-04-11 Juergen Vigna <jug@sad.it>
10777 * text2.C (setCursorFromCoordinates): set iy to the right value.
10778 (setCursor): add check if row->previous exists!
10780 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10781 an old float_type as this was the case in the old code!
10783 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10785 * BufferView2.C (showLockedInsetCursor): use iy
10786 (fitLockedInsetCursor): ditto
10788 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10789 locked insets as there we have the right value now.
10791 * lyxcursor.C: added iy_ variable and iy functions to set to the
10792 baseline of cursor-y of the locked inset.
10794 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10795 (setCursor): fixed for insets which need a full row.
10797 * text.C (rowLastPrintable): don't ignore the last space when before
10798 an inset which needs a full row.
10799 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10800 as last character of a row when before a inset which needs a full row.
10802 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10804 * version.C.in: update date
10806 * text2.C (fullRebreak): try to always return true and see what
10809 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10811 * MenuBackend.C (expand): use Floating::listName
10813 * FloatList.C (FloatList): add listName argument to the built-in
10816 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10817 text associated with the float.
10819 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10821 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10823 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10825 * ShareContainer.h: add a couple of missing typenames.
10827 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10829 * lyxrc.C (getDescription): use _() correctly rather than N_().
10831 2002-03-28 Herbert Voss <voss@lyx.org>
10833 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10834 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10836 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10838 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10839 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10841 2002-03-29 Juergen Vigna <jug@sad.it>
10843 * lyxfunc.C (dispatch): add a missing fitCursor call.
10845 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10846 it was scrolled by a cursor move, so return the bool status.
10848 * BufferView.C (fitCursor): return the bool flag also to the outside
10849 world as this is needed.
10851 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10853 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10854 call the edit() as it is not needed (and wrong) IMO.
10855 (workAreaButtonPress): set the screen_first variable before evt.
10856 unlock the inset as this may change screen_first and then we have
10857 a wrong y position for the click!
10859 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10861 * MenuBackend.C (expand): another translation that I missed
10863 2002-03-28 Juergen Vigna <jug@sad.it>
10865 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10867 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10869 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10871 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10873 * MenuBackend.C (expand): fix export/view/update when there is no
10876 2002-03-27 Herbert Voss <voss@lyx.org>
10878 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10881 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10883 * bufferview_funcs.C (currentState): only show paragraph number
10884 for is DEVEL_VERSION is set.
10886 * lyxfunc.C (dispatch): put warning in INFO channel
10888 * MenuBackend.C (expand): translate the name of floats
10890 * FloatList.C (FloatList): mark the float names for translation
10892 * converter.C (convert): use LibScriptSearch
10894 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10896 * MenuBackend.C (defaults): fix default menu (we might as well get
10899 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10901 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10904 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10906 * lyxvc.C: reorder includes.
10908 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10910 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10913 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10915 * CutAndPaste.C: change layouts earlier on paste
10916 to avoid crashing when calling getFont()
10918 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10920 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10923 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10925 * WorkArea.C: remove 'Pending' debug message.
10927 * most files: ws cleanup
10929 * buffer.[Ch]: ws changes
10931 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10933 2002-03-21 Juergen Vigna <jug@sad.it>
10935 * tabular.C (SetMultiColumn): collapse also the contents of the
10936 cells and set the last border right. Added a Buffer const * param.
10938 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10940 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10943 2002-03-19 Juergen Vigna <jug@sad.it>
10945 * text2.C (clearSelection): reset also xsel_cache.
10947 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10948 where it needs to be called (John tells us to do so too :)
10949 (selectionLost): reset sel_cache.
10951 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10953 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10955 * text2.C (setCursorIntern): put debuging code in INSETS channel
10957 2002-03-19 André Pönitz <poenitz@gmx.net>
10959 * lyxfunc.C: tiny whitespace change
10961 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10963 * ToolbarDefaults.C (init):
10964 * LyXAction.C (init):
10966 * BufferView_pimpl.C (Dispatch):
10967 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10969 2002-03-19 Allan Rae <rae@lyx.org>
10971 * exporter.C (Export): removeAutoInsets before doing anything else.
10972 While I've just introduced a dependency on BufferView this really is
10973 the best place to clean the buffer otherwise you need to cleanup in
10974 a dozen places before calling export or cleanup in a dozen functions
10977 * converter.C (runLaTeX):
10978 (scanLog): Better handling of removeAutoInsets and screen updates.
10980 * lyxfunc.C (dispatch): small whitespace changes
10982 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10984 * WorkArea.C (C_WorkAreaEvent): return a value.
10985 (event_cb): return 1 if we handled the event, 0 otherwise.
10987 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10989 2002-03-18 Juergen Vigna <jug@sad.it>
10991 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10992 (GetAdditionalWidth): ditto.
10993 (RightLine): ditto.
10996 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10997 inset if we're there actually (probably not used right now but this
10998 is the direction to go for unifying code).
10999 (paste): disable code to clear the selection.
11001 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11002 inside an InsetText and move the check further up as it is in the
11005 * text2.C (pasteSelection): set a selection over the pasted text.
11007 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11009 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11010 and libgraphics to build on Cygwin.
11012 2002-03-15 Juergen Vigna <jug@sad.it>
11014 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11015 inserting an Inset into the paragraph. I know this is not the best
11016 fix but we already use current_view in CutAndPaste so we will remove
11017 all of it's using at the same time.
11019 * buffer.C (sgmlError): deactivated function till it is rewritten in
11020 the right mode, now it can create problems.
11022 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11023 before accessing it.
11025 2002-03-14 Juergen Vigna <jug@sad.it>
11027 * undo_funcs.C (textHandleUndo): do the right thing when updating
11028 the inset after the undo/redo.
11030 * text2.C (setCursor): just some testcode for #44 not ready yet.
11032 * undo_funcs.C (textHandleUndo): set the next() and previous()
11033 pointers of the paragraph to 0 before deleting otherwise we have
11034 problems with the Paragraph::[destructor].
11036 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11037 on a paragraph insertion.
11039 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11041 * buffer.C (asciiParagraph): use += operator for char append to
11044 * paragraph.C (getFontSettings): compare >= not just >
11045 (highestFontInRange): ditto
11048 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11050 * paragraph.C: change several algorithm to be more appripriate for
11051 the problem domain. This is lookip in FontList and in the InsetList.
11053 2002-03-13 André Pönitz <poenitz@gmx.net>
11056 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11058 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11063 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11065 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11067 * Painter.C (display): anon helper function, adjust code for this
11069 (pixmap): remove function.
11071 * Painter.h: remove private display variable.
11073 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11075 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11077 * WorkArea.[Ch]: remove figinset_canvas cruft.
11079 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11081 * lyxtextclass.C (operator): add one item cache optimization.
11083 * bufferlist.h: doxy changes
11085 * bufferlist.C: ws changes
11087 * DepTable.[Ch] (ext_exist): place const in the right spot.
11089 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11091 (workAreaExpose): call resizeInsets when the with BufferView changes.
11092 (Dispatch): adjust for protectedBlank removal
11093 (specialChar): call updateInset if the insert went ok.
11095 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11096 specialChar instead.
11098 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11100 * BufferView.h: doxy change
11102 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11104 * lyxtextclass.C (operator[]): remove non-const version
11105 (defaultLayout): remove non-const version
11107 2002-03-12 Juergen Vigna <jug@sad.it>
11109 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11110 did resize the LyXText too.
11112 * buffer.C (readLyXformat2): set layout information on newly allocated
11115 * tabular.C (OldFormatRead): set layout information on the paragraph.
11117 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11119 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11121 2002-03-11 Juergen Vigna <jug@sad.it>
11123 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11125 (resizeCurrentBuffer): force also the insets to resize themselfes.
11126 (moveCursorUpdate): fixed up for InsetText.
11128 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11131 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11132 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11133 value of Dialogs::tooltipsEnabled().
11134 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11136 2002-03-08 Juergen Vigna <jug@sad.it>
11138 * BufferView_pimpl.C (updateInset): update inset inside inset also
11139 if it isn't inside theLockingInset().
11141 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11143 * buffer.C (asciiParagraph): redo some of the word and line length
11145 (getLists): look for Caption instead of caption.
11147 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11149 * buffer.C (Buffer): initialize niceFile to true
11151 (makeLinuxDocFile):
11152 (makeDocBookFile): make sure niceFile is true on exit
11154 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11156 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11158 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11160 * LyXSendto.C: remove.
11161 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11162 * lyx_gui.C: remove now-redundant comment.
11163 * ColorHandler.h: remove forward declaration of class WorkArea.
11164 * lyxfunc.C: remove #include "WorkArea.h".
11166 2002-03-07 Juergen Vigna <jug@sad.it>
11168 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11169 got moved away with the DEPM and also set the inset_owner always
11170 right which before could have been omitted.
11172 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11174 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11175 wanted layout is not found.
11177 2002-03-07 Juergen Vigna <jug@sad.it>
11179 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11181 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11183 * paragraph.C (breakParagraph): use default layout not layout of
11185 (Paragraph): clear ParagraphParameters.
11187 2002-03-06 Juergen Vigna <jug@sad.it>
11189 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11190 otherwise it would not be a valid lenght. Fixed a special case in
11191 the minipage compatibility read where we end the document with a
11194 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11195 was set as it could be 0 for InsetTexts first entry.
11197 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11199 * paragraph.C (writeFile): if layout is empty write out
11200 defaultLayoutName().
11202 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11203 file without named layout we set layout to defaultLayoutName().
11205 2002-03-06 Juergen Vigna <jug@sad.it>
11207 * CutAndPaste.C (copySelection): set layout for new paragraph.
11209 * text.C (prepareToPrint): leave ERT inset left aligned
11210 (leftMargin): don't indent paragraphs inside ERT insets
11212 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11214 * paragraph.C (breakParagraph): dont call clear do the work manually
11216 * paragraph.[Ch] (clear): remove function
11218 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11220 * paragraph.C (Paragraph): dont call clear, the work has already
11223 * lyxtextclass.C (operator): assert if n is empty
11225 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11226 work manually instead.
11228 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11230 * BufferView_pimpl.C: protect selectionLost against text == 0
11232 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11234 * text.C (breakParagraph): fix a setting layout to '0' problem.
11236 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11238 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11239 final location of file, for the included files, and graphics.
11241 2002-03-05 Juergen Vigna <jug@sad.it>
11243 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11245 2002-03-04 Juergen Vigna <jug@sad.it>
11247 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11249 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11250 last column of multicolumn cells.
11251 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11253 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11255 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11256 file if it doesn't go to a temporary file.
11258 * buffer.C (sgmlOpenTag):
11259 (sgmlCloseTag): remove extra newline insertion.
11261 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11263 * text.C (getRowNearY): comment out debug msg
11265 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11267 * text2.C: first -> first_y
11269 * text.C (getRowNearY): add some attemts at a possible
11270 optimization, not working.
11272 * tabular.[Ch]: add BufferParams to several function so that newly
11273 created paragraph can be initialized to he default layotu for the
11276 * tabular-old.C (ReadOld): add buf->params to call of Init
11278 * screen.C: rename text->first to text->first_y
11280 * paragraph.C (breakParagraph): always set layout in the broken
11283 * lyxtextclass.C (Read): remove lowercase
11286 (delete_layout): ditto
11288 * lyxtext.h: rename first -> first_y
11290 * lyxlayout.C (Read): remove lowercase
11293 (obsoleted_by): ditto
11295 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11297 * buffer.C (insertErtContents): add params are to InsetERT
11298 (parseSingleLyXformat2Token): add code to check if a paragraphs
11299 layout really exist.
11300 (parseSingleLyXformat2Token): add params to several inset
11302 (asciiParagraph): remove lowercase, do the layout comparisons with
11305 * BufferView_pimpl.C (cursorNext): first -> first_y
11306 (resizeCurrentBuffer): first -> first_y
11307 (updateScrollbar): first -> first_y
11308 (scrollCB): first -> first_y
11309 (workAreaMotionNotify): first -> first_y
11310 (workAreaButtonPress): first -> first_y
11311 (checkInsetHit): first -> first_y
11312 (cursorPrevious): first -> first_y
11313 (cursorNext): first -> first_y
11314 (Dispatch): add buffer_->params to severl inset contructors
11316 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11318 * lyxlayout.C (Read): remove some debug info that I forgot.
11320 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11321 clean up the code slightly.
11322 (makeLinuxDocFile): ditto
11323 (makeDocBookFile): ditto
11325 * text2.C: layout as string
11327 * text.C: layout as string
11329 * paragraph_pimpl.C: layout as string
11331 * paragraph.[Ch]: layout as string
11333 * lyxtextclasslist.[Ch]: layout as string
11335 * lyxtextclass.[Ch]: layout as string
11337 * lyxtext.h: layout as string
11339 * lyxlayout.[Ch]: layout as string
11341 * lyx_cb.C: layout as string
11343 * bufferview_funcs.C: layout as string
11345 * bufferparams.C: layout as string
11347 * buffer.C: layout as string
11349 * LyXView.[Ch]: layout as string
11351 * LaTeXFeatures.[Ch]: layout as string
11353 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11355 * BufferView_pimpl.C: change current_layout to string, remove
11360 (workAreaButtonRelease): layout as string
11362 * BufferView2.C (unlockInset): adjust
11364 * vspace.C (asLatexCommand): use an explict temp variable.
11366 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11368 * Makefile.am: use FRONTEND_*
11370 2002-03-01 Juergen Vigna <jug@sad.it>
11372 * tabular.C (SetWidthOfMulticolCell): changed to something better
11373 I hope but still work in progress.
11374 (recalculateMulticolumnsOfColumn): renamed function from
11375 recalculateMulticolCells as it is more appropriate now.
11376 (SetWidthOfCell): calculate multicols better.
11378 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11380 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11382 * lyxfunc.C (processKeySym): print sequence also if it is
11383 `deleted' (complete)
11385 * kbsequence.C (print): print sequence even if it is deleted
11386 (complete would be a better word, actually).
11388 * lyxfunc.C (dispatch): print complete options after a prefix key
11390 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11392 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11394 * text2.C (setCharFont): eliminate setCharFont code duplication.
11396 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11398 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11399 LFUN_TABULAR_FEATURE (bug #177)
11401 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11403 * Makefile.am: remove figure.h
11405 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11407 * Bufferview_pimpl.C:
11419 * text2.C: remove #include "lyx_gui_misc.h".
11421 * LaTeX.C: added #include <cstdio>
11423 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11425 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11426 that the paragraph following this one can have.
11428 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11430 * vspace.C (asLatexCommand): fix bogus gcc warning
11432 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11434 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11436 * text2.C (setLayout): get rid of redundant code
11438 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11440 * text2.C (incDepth): make sure depth cannot be increased beyond
11443 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11445 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11446 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11448 * PainterBase.h (image):
11449 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11450 a LyXImage const *.
11452 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11456 * BufferView_pimpl.C:
11457 * BufferView_pimpl.h:
11477 * sp_spell.C: remove fig inset, and the crap house of
11478 cards that follows it
11480 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11485 * os2_errortable.h:
11486 * nt_defines.h: move .h into support/
11488 * vms_defines.h: remove
11490 * WorkArea.C: add space in debug output
11494 * buffer.C: add WITH_WARNINGS
11498 * bufferlist.C: s/retrive/retrieve/, add docs
11507 * chset.C: add docs
11509 * lyxgui.C: add ID to X error handler
11511 * lyxtestclass.c: fix typo
11513 2002-02-26 Juergen Vigna <jug@sad.it>
11515 * tabular_funcs.C (write_attribute): changed so that some default
11516 attributes are not written at all.
11517 (getTokenValue): set default values before trying to read the
11518 value so we have the return value always set as default if we don't
11519 find the token we search for.
11521 * tabular.C (Write): write bools as bools not as strings!
11523 2002-02-22 Juergen Vigna <jug@sad.it>
11525 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11526 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11528 * text.C (leftMargin): don't add an indent for paragraphs inside
11529 tabular cells (fix #208).
11531 2002-02-21 José Matos <jamatos@fep.up.pt>
11533 * tabular.C (docBook): fixed support for long tables.
11535 2002-02-20 Juergen Vigna <jug@sad.it>
11537 * text2.C (getFont): get the drawing font of the Inset if this
11538 paragraph is inside an inset (only important for InsetERT for now).
11540 * buffer.C (insertErtContents): use new lanugage params in ERT
11543 * CutAndPaste.C: commenting out seemingly uneeded code.
11545 2002-02-19 Allan Rae <rae@lyx.org>
11547 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11548 Iterators might be simple to use but they also get invalidated.
11549 (removeAutoInsets): renamed saved cursor tracking variables and added
11550 some comments to clarify what everything does.
11552 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11559 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11560 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11563 * vc-backend.h: remove #include "support/syscall.h"
11567 * converter.C: rearrange #includes in Lars' approved fashion.
11569 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11570 forward declare class Timeout in the header file.
11572 * XFormsView.C: changes due to the above.
11574 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11575 similar to LyXView.
11577 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11578 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11580 2002-02-18 José Matos <jamatos@fep.up.pt>
11582 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11585 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11587 * a lot of small ws changes
11588 * add a lot of using std::XXX
11589 * use std construcs some places where approp.
11590 * use some exisint stuff from lyxfunctional where approp.
11591 * Make file changes to use partial linking (lets test this now...)
11593 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11597 remove #include "support/syscontr.h" as it's redundant. Always has been.
11605 change Systemcalls::System to Systemcalls::Wait and
11606 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11607 No change of functionality, just reflects the stripped down Systemcalls
11610 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11612 * debug.[Ch]: add a GRAPHICS type to the enum.
11614 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11616 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11618 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11621 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11623 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11624 match the changes below.
11626 * text2.C (toggleInset): if there is not editable inset at cursor
11627 position, try to see if cursor is _inside_ a collapsable inset
11630 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11632 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11633 document menu has a nice checkbox
11635 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11637 * lyxlength.C (asLatexString): change PW to output as percent of
11640 * lengthcommon.C: change '%' to 't%'
11642 * lyxfunc.C (dispatch): a few comments from Martin
11644 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11648 * BufferView_pimpl.h:
11649 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11652 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11654 * vspace.C (inPixels): fix compiler warning
11656 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11658 * lyxfunc.C (getStatus): fix status message for disabled commands.
11660 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11662 * BufferView_pimpl.C: fix crash on close buffer
11663 during selection (#227)
11665 2002-01-27 Herbert Voss <voss@lyx.org>
11667 * buffer.C: link old Figure to new graphic inset
11669 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11671 * FontLoader.C (getFontinfo): Change the latex font names in order
11672 to match the names of type1inst.
11674 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11676 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11678 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11679 (extchanged): ditto
11681 (remove_files_with_extension): ditto
11682 (remove_file): ditto
11685 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11686 document is smaller than the work area height. Do not initialize
11687 static variables to 0.
11689 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11691 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11693 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11694 LFUN_LAYOUT_PARAGRAPHS.
11696 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11697 tabular. It is possible to provide a possible cell, which will
11698 typically be the actcell from the corresponding insettabular
11700 * lyxfunc.C (getStatus): small cleanup; disable
11701 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11704 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11706 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11708 * paragraph.C (startTeXParParams):
11709 (endTeXParParams): new methods. The LaTeX code to
11710 start/end paragraph formatting
11711 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11712 empty (fixes bug #200)
11714 * vspace.C (inPixels): adapt to the change below
11715 (inPixels): [later] more cleanups (remove unused variables)
11717 * lyxlength.C (inPixels): change to use a width and a height as
11720 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11722 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11723 Replaced with \paperwidth
11725 * DepTable.C (insert): add std:: qualifier
11727 2002-01-18 Allan Rae <rae@lyx.org>
11729 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11732 * text.C (drawInset): Turned out I didn't know enough about how
11733 rebreaking worked. This fixes most of the redraw problems. I see
11734 an occasional cursor trail when a line is broken now and the cursor
11735 placement can seem out by a few pixels also after a rebreak.
11737 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11739 * buffer.C (parseSingleLyXformat2Token): update because minipage
11740 width is now a LyXLength
11742 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11744 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11747 2002-01-17 Juergen Vigna <jug@sad.it>
11749 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11751 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11752 is set correctly and the inset is updated correctly.
11754 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11756 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11757 the beginning of the loop.
11759 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11761 * lyxrc.C: improve help for use_scalable_fonts
11763 2002-01-17 Allan Rae <rae@lyx.org>
11765 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11767 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11769 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11770 make sure to set their inset_owner to the right value (bug #171)
11772 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11775 * DepTable.C: Implement mtime checking to reduce time spent doing
11778 2002-01-16 Juergen Vigna <jug@sad.it>
11780 * tabular.C (GetAdditionalHeight): one of error fixed.
11782 * lyxrc.C (output): small fix in writing use_pspell.
11784 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11786 * sp_base.h: #include LString.h
11788 2002-01-16 Allan Rae <rae@lyx.org>
11790 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11791 Can someone check this please?
11793 * text.C (drawInset): It was possible that p.row would be removed by
11794 breakAgainOneRow upsetting a few other settings. There may be another
11795 small tweak possible by setting need_break_row = 0 when p.row has been
11796 removed but I don't know enough about the logic here.
11798 2002-01-15 Allan Rae <rae@lyx.org>
11800 * text.C (insertChar): removed conditional truism.
11802 * BufferView2.C (removeAutoInsets): More tweaks.
11803 cur_par_prev could be a stray pointer. Check for trailing empty line
11804 in case last line was cur_par and only had an error inset on it.
11806 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11808 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11811 * vc-backend.C (most methods):
11812 * exporter.C (Export):
11813 * converter.C (convert):
11815 * LyXSendto.C (SendtoApplyCB):
11816 * lyxfunc.C (dispatch):
11820 * lyx_cb.C (AutoSave):
11822 * BufferView_pimpl.C (MenuInsertLyXFile):
11823 * buffer.C (runChktex): use Buffer::filePath().
11825 * buffer.h: rename filename to filename_; rename filepath to
11826 filepath_ and make it private
11827 (filePath): new method
11829 * buffer.C (writeFile): use fileName()
11832 * lyx_main.C (init): fix starting of LyX when the binary is a
11833 link from so,ewhere else.
11835 * minibuffer.C: include <cctype> for isprint
11837 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11839 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11840 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11841 name clash with InsetCollapsable's width function.
11843 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11845 * lastfiles.C: include <iterator>
11847 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11849 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11852 * buffer.C (makeLaTeXFile): ditto.
11853 Also make loop operation more transparent.
11855 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11857 * ToolbarDefaults.C: remove trailing comma closing namespace.
11859 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11861 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11864 * trans.C (Load): comment out unused variable, allowed.
11866 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11868 * minibuffer.[Ch] (append_char): new method to recieve input from the
11869 drop-down completion browser. If a key was pressed, then recieve this
11870 char and append it to the existing string.
11871 (peek_event): modify the positioning data passed to the completion
11872 browser so that it can be placed above the minibuffer rather than below.
11873 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11875 * LyXAction.C (init): alloe error-next for readonly documents.
11877 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11880 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11882 * bufferlist.C (readFile): create the buffer _after_ checking that
11885 * lyxfunc.C (verboseDispatch): fix handling of arguments
11887 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11889 * lyxrc.C: use string::erase() instead of initializing to "".
11892 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11894 * BufferView_pimpl.h:
11895 * BufferView_pimpl.C:
11898 * text2.C: tell X when we have made a selection for copying
11900 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11902 * BufferView_pimpl.C (MenuInsertLyXFile):
11903 * lyxfunc.C (menuNew):
11905 (doImport): add shortcuts to directory buttons
11907 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11910 * lyxfunc.C (setStatusMessage):
11911 (getStatusMessage): new methods
11912 (getStatus):use setStatusMessage instead of setErrorMessage
11913 (dispatch): when function is disabled, set error message here
11914 [instead of in getStatus previously]
11916 * BufferView_pimpl.C (workAreaButtonRelease): update
11917 toolbar/menubar here too.
11919 2002-01-13 Allan Rae <rae@lyx.org>
11921 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11922 Now seems indestructible. Remaining task is to audit all other
11923 code affected by deleteEmptyParagraphMechanism. One small quirk
11924 left is that an empty document with an error in the preamble can
11925 be made to report an error but no error box appears. I don't know
11927 (removeAutoInsets): Improved comments.
11929 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11932 * Thesaurus.C: update for Aiksaurus 0.14
11934 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11936 * text2.C (firstParagraph): removed member function, all uses
11937 replaces with ownerParagraph
11938 (redoParagraphs): here
11939 (updateInset): here
11940 (toggleAppendix): here
11941 * BufferView2.C (insertErrors): here
11942 (setCursorFromRow): here
11944 2002-01-13 Allan Rae <rae@lyx.org>
11946 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11947 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11948 There is still a way to segfault this although you may have to do this
11949 multiple times: Have an InsetERT with an unknown command in it.
11950 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11951 <down-arrow>, <Enter> again, View->DVI, BANG!
11953 * text2.C (setCursor):
11954 (deleteEmptyParagraphMechanism):
11955 * lyxtext.h (setCursor):
11956 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11957 Making use of the return value may help fix other bugs.
11959 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11961 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11963 * LyXView.C (updateMenubar): call MenuBar::update here
11964 (updateToolbar): but not here
11965 (showState): do not update toolbar/menubar
11967 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11968 should need to care about that.
11970 * lyxfunc.C (verboseDispatch): simplify a bit
11971 (getStatus): have a version which takes a pseudoaction, and
11972 another which requires a (kb_action,string).
11974 * LyXAction.C (retrieveActionArg): make it work also when action
11975 is not a pseudo-action.
11976 (getActionName): simplify a bit
11979 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11981 * lyxfunc.C (verboseDispatch): new families of methods with
11982 several ways to specify a command and a bool to indicate whether
11983 the command name and shortcut should be displayed in minibuffer
11984 (eventually, we could extend that to a finer bitmask like
11985 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11986 (dispatch): the pristine dispatch command which just, well,
11987 dispatchs! Note it still sets its result to minibuffer; I'm not
11990 * lyxfunc.h: remove setHintMessage
11992 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11994 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11996 * BufferView_pimpl.C (specialChar): delete new inset if we have
11997 not been able to insert it.
11999 * kbmap.C: revert to using int instead of kb_action, since all we
12000 are dealing with is pseudo-actions.
12002 * LyXAction.C (searchActionArg): change to return int instead of
12003 kb_action, since the result is a pseudoaction.
12005 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12007 * buffer.C (insertErtContents): Fix (partially) the font bug.
12009 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12011 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12012 as the other one is broken on my machine!
12014 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12017 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12019 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12021 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12022 reflect their actual use. Provide compatibility code for older lyxrc
12025 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12027 change names of popup font variables in line with the changes to lyxrc.C
12029 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12031 * buffer.C (asciiParagraph): avoid outputing a word twice after
12034 * lyxrc.C (getDescription): document that document_path and
12035 template_path can be empty.
12037 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12039 * LaTeXFeatures.C (getMacros):
12040 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12042 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12044 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12046 (getPackages): rename feature "floats" to "float". Use an array to
12047 iterate over 'simple' features (i.e. just a \usepackage). Add
12048 handling of "amsmath" (renamed from "amsstyle").
12050 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12052 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12055 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12057 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12058 FuncStaus::FuncStatus & FuncStaus::some_method().
12060 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12062 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12063 of the func_satus stuff. Edited and massaged in various ways by
12066 * lyxfunc.C (getStatus): use FuncStatus
12068 2002-01-08 Juergen Vigna <jug@sad.it>
12070 * text.C (nextBreakPoint): use function Inset::isChar().
12072 * paragraph.C (TeXOnePar): use function
12073 Inset::forceDefaultParagraphs.
12075 * buffer.C (latexParagraphs): use function
12076 Inset::forceDefaultParagraphs.
12078 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12080 * lyx_gui.C (init): set the style of the menu popups to
12081 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12083 2002-01-07 Juergen Vigna <jug@sad.it>
12085 * text.C (setHeightOfRow): small fix
12086 (prepareToPrint): don't look at alignment if we don't have the place
12089 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12091 * box.C: New file. Move the Box methods and functions out of box.h,
12092 following Lars' suggestion.
12094 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12096 * box.h: #include "support/LOstream.h", needed for inlined function.
12099 * lyxtextclasslist.C: added some using std declarations.
12101 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12103 * box.h: make signed dimensions to allow insets wider than
12104 the screen (bug #162)
12106 * BufferView_pimpl.C: add some insetHit debug
12108 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12110 * vc-backend.C: add FIXME
12112 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12114 * lyxfunc.C (getStatus): enable code for showing math font status
12117 2002-01-07 Juergen Vigna <jug@sad.it>
12119 * text.C (nextBreakPoint): removed debug output not needed anymore.
12121 2002-01-06 Juergen Vigna <jug@sad.it>
12123 * text.C (nextBreakPoint): fixed up this function we had this bug
12124 since ever but now hopefully we break row better.
12125 (insertChar): we have to check if an inset is the next char as it
12126 could now happen that a large inset is causing a break.
12128 2002-01-05 Juergen Vigna <jug@sad.it>
12130 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12131 if it doesn't like to be drawed.
12133 2002-01-04 Juergen Vigna <jug@sad.it>
12135 * BufferView2.C (lockInset): forgot to set a cursor.
12137 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12139 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12141 * FormMathsPanel.C:
12144 * form_maths_panel.C:
12145 * form_maths_panel.h:
12146 * form_maths_panel.fd: implemented sub- and super- buttons in math
12149 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12150 (or ^ space) to be used as in TeX (req'd by André).
12152 * lyxfunc.C: Allow ^ and _ again to be used both as
12153 super/subscript (mathed) and as themselves (in text).
12155 2002-01-03 Allan Rae <rae@lyx.org>
12157 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12158 "LyX" or the filename of the current buffer if it has one. This is a
12159 modified form of John Levon's patch.
12161 * XFormsView.C (setWindowTitle): also set icon title.
12163 * LyXView.h (setWindowTitle): signature changed.
12164 * XFormsView.h (setWindowTitle): ditto.
12166 2002-01-02 Juergen Vigna <jug@sad.it>
12168 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12170 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12172 * screen.C (topCursorVisible): introduce a temp var for
12173 text->cursor.row(), handle the case where this row is null. (kindo
12176 * text2.C (setCursor): add a couple of asserts.
12178 * paragraph.h (inset_iterator): add -> operator
12180 * paragraph.[Ch] (autoDeleteInsets): remove member function
12182 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12183 cursor pos correctly and handle inset deletion by itself.
12184 (insertErrors): move iterator declaration out of for expression
12186 * lyxtextclass.C: add <algorithm>
12188 * Makefile.am: added the new files to sources, removed layout.C
12190 * layout.C: removed file
12192 * layout.h: remove LYX_DUMMY_LAYOUT
12194 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12198 * lyxtextclass.[Ch]:
12199 * lyxtextclasslist.[Ch]: new files
12201 * include order changes to a lot of files, also changes because of
12204 2001-12-27 Juergen Vigna <jug@sad.it>
12206 * buffer.C (asciiParagraph): more fixes.
12208 * tabular.C (ascii): make ascii export support export of only the
12209 data separated by a column-delimiter.
12210 (ascii): better support for ascii export.
12212 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12214 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12216 * tabular_funcs.C: use a "using std::getline" instead of the
12217 previous fix from Angus (necessary for cxx + lyxstring)
12219 2001-12-24 Juergen Vigna <jug@sad.it>
12221 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12223 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12224 problems. First check a minipage also if we have some ert-contents
12225 (not only on par->size(), second set the right depth of the paragraph
12226 on the relink to the root-paragraph-list!
12228 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12229 which then did not anymore update the main paragraphs on undo/redo!
12231 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12233 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12234 code. Support all font-changing funcs (even those which are not in
12235 menu currently). Support for reporting font settings in
12236 mathed (disabled until Andre provides a function on mathed's side).
12238 * func_status.h (toggle): small helper function to set toggle
12241 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12243 * tabular_funcs.C: getline -> std::getline
12245 2001-12-21 Juergen Vigna <jug@sad.it>
12247 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12248 accessed and could be 0 (I couldn't generate this but it seems
12251 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12253 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12254 * tabular_funcs.h: here and include iosfwd
12256 2001-12-20 Juergen Vigna <jug@sad.it>
12258 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12259 inside inset but undo_par was.
12261 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12263 * Thesaurus.C: always include <config.h> in sources.
12267 * box.h: do not include <config.h> in header files
12269 * text.C (paintLastRow): remove unused variable
12271 * text.C (transformChar):
12273 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12275 * Painter.C (text):
12276 * font.C (width): rewrite to use uppercase() instead of
12279 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12281 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12283 * lyxfind.C: clean up of find failure position change
12285 2001-12-20 Juergen Vigna <jug@sad.it>
12287 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12289 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12290 (TeXRow): added to LaTeX a single tabular row.
12291 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12292 (Latex): simplified and finally good LT-h/f support.
12293 (various_functions): just small adaptions for LT-h/f support.
12295 * tabular_funcs.[hC]: added and moved here all not classfunctions
12298 2001-12-19 Juergen Vigna <jug@sad.it>
12300 * tabular.[Ch]: better support for longtabular options (not finished
12303 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12305 * text.C (paintLastRow): use the label font instead of the font of
12306 the last character to compute the size of *_BOX. This makes more
12307 sense and avoids a crash with empty paragraphs.
12308 Use Painter::rectangle to draw EMPTY_BOX.
12310 2001-12-19 Juergen Vigna <jug@sad.it>
12312 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12313 the paragraphs if the replaced paragraph is not the first one!
12314 Tried to delete not used paragraphs but does not work yet so for
12315 now it's inside #ifdef's and by default off!
12317 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12319 * MenuBackend.C: include "lyx_main.h" instead of declaring
12320 lastfiles (actually was declared as LastFiles* instead of a
12323 2001-12-17 Juergen Vigna <jug@sad.it>
12325 * tabular.C (AppendColumn): applied John's fix
12327 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12331 * BufferView_pimpl.h:
12332 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12335 * box.h: new start of class for above
12337 * lyxfunc.C: ignore space-only minibuffer dispatches.
12338 Show the command name when it doesn't exist
12340 * minibuffer.C: don't add empty lines to the history
12342 * minibuffer.C: add a space on dropdown completion
12344 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12346 * text.C: fix line above/below drawing in insets
12348 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12350 * lyxlength.C (LyXLength): Initialize private variables.
12352 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12354 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12355 when inserting error insets.
12357 2001-12-13 Juergen Vigna <jug@sad.it>
12359 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12360 actually sometimes the before-paragraph.
12361 (setUndo): don't clear the redostack if we're not actually undoing!
12363 2001-12-06 Juergen Vigna <jug@sad.it>
12365 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12366 and fixed redoing of main paragraph, so we can use it now ;)
12368 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12370 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12372 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12375 2001-12-13 André Pönitz <poenitz@gmx.net>
12378 * undo_func.C: minor cleanup
12380 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12382 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12383 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12384 font in urw-fonts package which is marked as -urw-fontspecific and
12385 does not work (incidentally, changing the encoding in the
12386 fonts.dir of this package to -adobe-fontspecific fixes the
12389 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12390 is a crash when undoing first paragraph (Juergen, please take a
12391 look). THis does not mean the undo fix is wrong, just that it
12394 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12395 the (Paragraph*) version when needed instead of duplicating the
12398 * text.C (workWidth): use Inset::parOwner to find out where the
12399 inset has been inserted. This is a huge performance gain for large
12400 documents with lots of insets. If Inset::parOwner is not set, fall
12401 back on the brute force method
12403 * paragraph_pimpl.C (insertInset):
12404 * paragraph.C (Paragraph):
12405 (cutIntoMinibuffer): set parOwner of insets when
12406 inserting/removing them
12408 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12410 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12416 * mathed/formulabase.C:
12417 * mathed/math_cursor.[Ch]:
12418 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12421 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12423 * lyxlength.[Ch] (operator!=): new function
12425 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12427 * text.C (workWidth): use Inset::parOwner to find out where the
12428 inset has been inserted. This is a huge performance gain for large
12429 documents with lots of insets. If Inset::parOwner is not set, fall
12430 back on the brute force method
12432 * paragraph_pimpl.C (insertInset):
12433 * paragraph.C (Paragraph):
12434 (cutIntoMinibuffer): set parOwner of insets when
12435 inserting/removing them
12437 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12439 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12441 * tabular-old.C (getTokenValue):
12442 * tabular.C (getTokenValue):
12443 (write_attribute): new versions for LyXLength
12444 (everywhere): adjust the use of widths
12446 * tabular.h: change the type of widths from string to LyXLength
12448 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12450 * paragraph.C: fixed missing line number count when exporting
12451 Environments to LaTeX file
12453 * buffer.C: added informational message for checking line numbers.
12455 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12457 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12458 paragraph, do the 'double space' part, but not the 'empty
12461 * text.C (workWidth): small optimization
12462 (getLengthMarkerHeight): use minimal size for negative lengths.
12464 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12466 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12468 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12470 2001-12-11 André Pönitz <poenitz@gmx.net>
12473 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12475 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12477 * text2.C: keep selection on a setFont()
12479 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12481 * lyx_cb.C: another bv->text misuse, from insert label
12483 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12486 * kbsequence.C: re-instate nmodifier mask
12488 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12490 * lyx_main.h: make lyxGUI private.
12492 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12494 * lyxfind.C: place the cursor correctly on failed search
12496 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12498 * text.C (getLengthMarkerHeight): for small heights, the arrows
12499 are not always on top/bottom of the text
12500 (drawLengthMarker): smaller arrows; take the left margin in
12501 account; draw also vfills.
12503 (paintLastRow): remove special code for vfill and standard spaces,
12504 since everything is handled in drawLengthMarker now.
12506 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12508 * buffer.C (insertErtContents): try to handle font and language
12509 interaction a bit better.g
12511 * ColorHandler.C (updateColor): change the hash to cover the whole
12512 LColor enum, ws cleanup
12513 (getGCLinepars): ditto
12514 (getGCLinepars): only lookup in the linecache once.
12516 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12518 * iterators.C (operator++): Make the iterator more robust
12520 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12522 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12524 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12527 * text.C: better added space drawing
12529 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12532 * BufferView2.C: fix layout combo update on inset unlock
12534 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12536 * Makefile.am: don't compile unused files
12538 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12542 * LyXAction.C: remove old LFUN_LAYOUTNO
12544 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12546 * paragraph_pimpl.h:
12547 * paragraph_pimpl.C: isTextAt() doesn't need font param
12549 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12552 * lyxlex.C: little cleanup
12554 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12556 * BufferView_pimpl.C: fix insertAscii for insets
12558 2001-12-05 Juergen Vigna <jug@sad.it>
12560 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12561 set the right font on the "multi" paragraph paste!
12563 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12569 * lyxlength.C: remove out-commented code.
12571 * BufferView_pimpl:
12585 * vc-backend.C: change "while(" to "while ("
12587 * lyxlength.[Ch]: add zero function to check if length is zero or
12589 * lyxgluelength.C: use it
12591 2001-12-05 Allan Rae <rae@lyx.org>
12593 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12594 Works for 2.95.3, from what I understand of Garst's reports this should
12595 work for other g++ versions. We're screwed if the abs(int) definition
12596 changed between bugfix releases of gcc.
12598 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12600 * text.C: fix chapter label offset !
12602 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12605 * text.C: fix hfill at end of line, clean up
12607 2001-12-04 Juergen Vigna <jug@sad.it>
12609 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12610 that we force an update of the inset and it's owners if neccessary.
12612 2001-12-03 Juergen Vigna <jug@sad.it>
12614 * text.C (rowLast): simplified code
12616 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12618 * lyxfunc.C: fix show options on timeout
12620 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12622 * screen.C (topCursorVisible): scroll half a page when the cursor
12623 reached top of bottom of screen
12625 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12627 * minibuffer.C: deactivate on loss of focus
12629 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12631 * vspace.[Ch] (operator!=): add operator.
12633 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12635 * BufferView_pimpl.C: refuse to open an inset when
12636 there's a selection.
12638 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12640 * BufferView_pimpl.C: allow to click on RHS of full row insets
12642 2001-11-30 Juergen Vigna <jug@sad.it>
12644 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12645 insets for undo reasons.
12647 2001-11-28 André Pönitz <poenitz@gmx.net>
12649 * vspace.[Ch]: cosmetical changes
12651 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12661 * kbsequence.C: part re-write of old kb code
12664 * WorkArea.C: remove Lgb_bug_find_hack
12666 2001-11-30 José Matos <jamatos@fep.up.pt>
12668 * buffer.C (makeDocBookFile): add a comment to point a hack.
12669 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12670 Fixed a double write of labels.
12672 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12675 * LaTeX.h Fixed bug in LaTeX class where it would not
12676 re-run latex if no depfiles were changed, but the .dvi was removed.
12678 2001-11-28 André Pönitz <poenitz@gmx.net>
12680 * all the files from the change on 2001/11/26:
12681 use lyx::layout_type instead of LyXTextClass::size_type
12682 use lyx::textclass_type instead of LyXTextClassList::size_type
12684 2001-11-29 Juergen Vigna <jug@sad.it>
12686 * text.C: added support for paragraph::isFreeSpacing()
12688 * buffer.C: same as above
12690 * paragraph.h: inserted isFreeSpacing() function to enable
12691 FreeSpacing inside InsetERT.
12693 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12694 of the paragraph's in the cut/copy buffer to 0!
12696 * text2.C (removeRow): remove the assert as it can!
12698 * lyxtext.h: added helper function firstRow returning firstrow and
12699 made firstrow private again.
12701 * BufferView2.C (lockInset): don't relock if we're already locked!
12703 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12704 the only paragraph.
12705 (removeRow): added Assert::(firstrow)
12707 * debug.C: forgot to add INSETTEXT here.
12709 2001-11-28 Juergen Vigna <jug@sad.it>
12711 * sp_spell.C (initialize): changed error text to more general
12712 spellchecker command use (not only ispell!)
12714 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12716 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12718 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12720 * vspace.C: initialise lyxgluelength on failure
12722 2001-11-28 Allan Rae <rae@lyx.org>
12724 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12725 declaration & definition that looks like a function declaration.
12727 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12729 * BufferView2.C (copy):
12730 (copyEnvironment): do not clear the selection when doing a copy.
12732 * text.C (paintFirstRow): compilation fix
12734 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12736 * tabular.C (Latex): correct line count when writing latex.
12738 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12740 * paragraph_pimpl.h:
12741 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12744 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12748 * LColor.C: change vfillline->added_space
12750 * text.C: add markers and text for added space
12752 * vspace.C: fix comment
12754 2001-11-28 André Pönitz <poenitz@gmx.net>
12756 * paragraph.C: whitespace changes
12757 * all the other files from the change on 2001/11/26:
12758 change *::pos_type into lyx::pos_type
12760 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12762 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12763 language of the document when inserting error insets.
12765 2001-11-26 André Pönitz <poenitz@gmx.net>
12767 * BufferView_pimpl.[Ch]:
12775 * paragraph_pimpl.[Ch]:
12778 * text2.C: reduce header dependencies, introduce type for positions
12780 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12782 * <various>: change to use Alert.h
12784 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12786 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12787 when encountering an unknown token.
12788 (readLyXformat2): Show an error message if there were unknown tokens.
12790 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12793 * BufferView_pimpl.C:
12797 * text2.C: use par->isInset()
12799 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12801 * paragraph_pimpl.h:
12802 * paragraph_pimpl.C: cleanup
12804 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12806 * text2.C (removeRow):
12807 * text.C (setHeightOfRow): remove useless (and costly) call to
12810 2001-11-20 Allan Rae <rae@lyx.org>
12812 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12813 Now need Inset*::checkInsertChar() to return true for appropriate
12814 cases so that the characters in the minibuffer will actually be
12817 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12819 * text.C: change the order of the includes.
12820 (workWidth): initialize it at once.
12821 (workWidth): make maxw unsigned
12822 (setHeightOfRow): remove unused variable (inset)
12823 (selectSelectedWord): remove unused variable (inset)
12824 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12826 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12828 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12829 server is not running.
12831 (closeConnection): add debug info when server is disabled.
12833 * ColorHandler.C (getGCForeground): send debug message to GUI
12836 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12838 * kbmap.C (bind): modify because return conventions of
12839 kb_sequence::parse have changed.
12841 * kbsequence.C (parse): only ignore spaces and not any stupid
12842 control character. This avoids tests like s[i] <= ' ', which are
12843 guaranteed to fail with 8bit characters and signed chars.
12844 Change return code to string::npos when there have been no error
12845 (0 was a bad idea when error is at first character)
12847 2001-11-14 José Matos <jamatos@fep.up.pt>
12850 * buffer.C (simpleDocBookOnePar): removed unused argument.
12852 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12854 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12855 insets which are part of a word. Paragraph::isLetter takes care of
12856 that now. Use Paragraph::isInset to identify insets.
12857 (selectSelectedWord): do not test for hyphenation break.
12859 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12860 that protected spaces are considered as spaces.
12862 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12865 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12868 * lyxserver.C: fix it. and small cleanup.
12870 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12872 * BufferView_pimpl.C: use inline helpers
12875 * LaTeXFeatures.C: fix typos
12878 * Spacing.C: move spacing_string into class
12880 * ToolbarDefaults.C: move stuff into namespace anon
12882 * layout.h: update enum
12884 * lyxfunc.C: use better debug
12886 * minibuffer.h: fix typo
12890 * WorkArea.C: add and use Debug::WORKAREA
12894 * text2.C: code re-organisation, inline helpers
12896 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12898 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12899 std::vector.empty().
12901 2001-11-09 Allan Rae <rae@lyx.org>
12903 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12904 '\n's after tables. Tabular and ERT inset work now makes this no
12907 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12910 * minibuffer.C: fix crash, improve drop-down completion
12912 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12915 * lyxserver.C: invalidate fd's when doing endPipe()
12917 2001-11-08 José Matos <jamatos@fep.up.pt>
12919 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12920 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12923 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12925 2001-11-07 José Matos <jamatos@fep.up.pt>
12928 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12931 * buffer.C (sgmlOpenTag):
12932 * buffer.C (sgmlCloseTag): removed debug info.
12934 * buffer.h (sgmlOpenTag):
12935 * buffer.h (sgmlCloseTag): made public.
12937 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12939 * buffer.C (saveParamsAsDefaults):
12940 * lyx_cb.C (MenuLayoutSave): remove
12942 * LyXAction.C (init):
12944 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12946 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12948 * buffer.C (setPaperStuff): removed from here...
12950 * bufferparams.C (setPaperStuff): ... and moved there.
12952 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12956 * XFormsView.C: add support for drop-down completion
12958 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12960 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12963 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12965 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12968 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12970 * lyx_main.C: change ref to known bugs
12972 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12974 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12975 to work around older babel problems.
12977 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12979 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12981 2001-10-24 Juergen Vigna <jug@sad.it>
12983 * tabular-old.C (ReadOld): below variable changes reflected.
12985 * tabular.[Ch]: added ltType struct for longtable header/footer
12986 defines and changed all instances where they are used. Added
12987 future support for double top/bottom rows.
12989 2001-10-24 José Matos <jamatos@fep.up.pt>
12991 * buffer.h (docbookHandleCaption):
12992 * buffer.C (docbookHandleCaption): removed unused function.
12993 (makeDocBookFile): moved docbook supported version to v4.1.
12995 2001-10-24 José Matos <jamatos@fep.up.pt>
12998 * tabular.C (docbookRow): new function to export docbook code of a row.
12999 (DocBook): now honors the longtable flags.
13001 2001-10-23 José Matos <jamatos@fep.up.pt>
13004 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13005 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13007 * buffer.C (makeLinuxDocFile):
13008 (makeDocBookFile): reworked the preamble, more clean, and with
13009 support for lyx defined entities. Changed the document declaration
13010 to be more XML friendly.
13012 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13013 if we need to output XML that should be done with a filter.
13015 2001-10-22 Juergen Vigna <jug@sad.it>
13017 * sp_pspell.h (class PSpell): add alive function needed in the
13018 controller to see if the spellchecker could be started.
13020 2001-10-22 Juergen Vigna <jug@sad.it>
13022 * buffer.C (insertStringAsLines): modify the font for inserting
13023 chars in certain conditions by calling checkInsertChar(font).
13025 2001-10-19 Juergen Vigna <jug@sad.it>
13027 * text.C (workWidth): use getRow instead of wrong algorithm.
13028 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13030 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13035 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13037 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13039 * text.C (workWidth): do not search for the exact row when
13040 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13041 optimization for big documents.
13043 2001-10-18 Juergen Vigna <jug@sad.it>
13045 * text.C (workWidth): new function with added Inset * parameter.
13047 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13049 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13051 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13052 change return type of getColumnNearX.
13055 * text.C (changeRegionCase): use uppercase/lowercase instead of
13058 (rightMargin): simplify code by factoring out the uses of
13063 (appendParagraph): use Paragraph::size_type
13065 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13067 * vspace.C (asLatexString): add a missing break
13069 2001-10-15 Herbert Voss <voss@perce.de>
13071 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13073 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13075 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13078 2001-10-10 André Pönitz <poenitz@gmx.net>
13080 * lyxfunc.C: removed greek_kb_flag.
13082 2001-10-10 Herbert Voss <voss@perce.de>
13084 * lyx_main.C: delete global string help_lyxdir.
13086 2001-10-09 Herbert Voss <voss@perce.de>
13088 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13090 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13092 * lyx_main.C: added global string help_lyxdir.
13094 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13096 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13098 * lyxrc.C (set_font_norm_type): support iso8859-4
13100 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13102 * LaTeX.C (deplog): add another regex for MikTeX
13104 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13106 * lyxrc.C (set_font_norm_type): support iso8859-3
13108 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13110 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13112 * LaTeXFeatures.C: remove special case of french and index
13114 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13115 before \begin{document}). This solves several incompatibilities.
13117 2001-10-03 Garst Reese <reese@isn.net>
13119 * lyx_cb.C: change CheckTex error msg.
13121 2001-10-03 José Matos <jamatos@fep.up.pt>
13123 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13125 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13127 * .cvsignore: update
13129 * lyx_main.C (commandLineVersionInfo): use new style version info.
13131 * buffer.C (writeFile):
13133 (makeLinuxDocFile):
13134 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13136 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13138 * version.h: update to use stuff in version.C
13140 * version.C.in: new file. Contains version information determined
13141 at compile time. This is a merging of version.h and
13144 2001-10-03 Juergen Vigna <jug@sad.it>
13146 * BufferView_pimpl.C (update): don't change "dirty" status in
13149 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13151 * WorkArea.C (c-tor): re-position version string slightly.
13153 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13155 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13156 revert to previous code.
13158 WorkArea.[Ch]: (show, destroySplash): methods removed.
13160 WorkArea.C: rework code so that it's an amalgam of the codes before and
13161 after the splash screen was moved to WorkArea.
13163 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13166 * vspace.C (inPixels):
13169 * buffer.C (insertStringAsLines):
13170 (asciiParagraph): fix types to be large enough
13172 * lyxlex_pimpl.h: change member status from short to int
13174 * layout.h: fix type of endlabeltype
13177 * kbsequence.C (parse): change return type to string::size_type
13179 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13182 * Bullet.C (bulletSize):
13183 (bulletEntry): do not use short ints as parameters
13185 * BufferView2.C (insertLyXFile): change a char to an int.
13187 * WorkArea.C (WorkArea): remove unneeded floats in computation
13189 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13191 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13193 * paragraph.C (asString): Do not ignore newline/hfill chars when
13194 copying to the clipboard.
13196 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13198 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13199 after a multi-line inset.
13201 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13203 * paragraph.C (validate): Set NeedLyXFootnoteCode
13205 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13207 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13208 and decrease-error to decrease.
13210 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13212 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13213 it more readable (should be equivalent)
13215 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13217 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13219 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13221 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13222 of a cursor (row, etc.) after a character has been deleted
13223 (deleteEmptyParagraphMechanism): call the method above on _all_
13224 cursors held by the LyXText when a double space has been
13227 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13229 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13231 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13233 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13234 background. Use greyOut() and the new show() methods to toggle between
13235 the foreground and background. Add code to remove the splash after
13236 its initial showing.
13238 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13239 (create_forms): no longer call Dialogs::showSplash.
13241 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13243 * .cvsignore: add version_info.h
13245 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13247 * version_info.h.in: new file
13249 * Makefile.am: add version_info.h.in
13251 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13252 version_info.h instead of VERSION_INFO
13254 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13256 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13257 The ERT inset now returns string().
13259 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13261 * lyxtext.h, text.C (selectNextWord): renamed as
13262 selectNextWordToSpellcheck.
13264 * text.C (selectNextWordToSpellcheck): Modified to not select
13265 words inside an ERT inset.
13267 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13269 * lyx_cb.C (MenuLayoutSave): change a bit the question
13271 * sp_base.h: include <sys/types.h>
13273 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13275 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13277 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13279 * several files: fix typos in user-visible strings
13281 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13283 * text2.C (pasteSelection): do not set the selection, since it
13284 will be cleared later. Actually, the intent was to fix the way the
13285 selection was set, but I figured rmoving the code was just as good.
13287 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13289 * FontLoader.C (available): Check if font is available without
13292 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13294 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13296 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13298 * lyxrc.[Ch]: added display_graphics variable and associated code.
13300 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13302 * bufferparams.C (hasClassDefaults): new method. Returns true if
13303 the buffer parameters correspond to known class defaults
13305 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13307 * XFormsView.C (show): set minimum size to the main window.
13309 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13311 * text2.C (copySelection):
13313 * lyxfind.C (LyXReplace):
13314 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13315 LyXText::selectionAsString.
13317 * paragraph.C (asString): add "label" argument to the second form
13319 * text2.C (selectionAsString): add "label" argument and pass it to
13320 Paragraph::asString.
13322 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13324 * lyx_main.C (commandLineHelp): remove version information
13326 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13328 * lyx_main.C: add -version commandline option
13330 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13332 * paragraph.h: make the optional constructor arg required instead.
13333 some modifications to other files because of this.
13335 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13337 * lyxserver.C (C_LyXComm_callback): make it static
13339 * lyx_main.C (error_handler): make it static
13341 * lyx_gui.C (LyX_XErrHandler): make it static
13343 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13345 * WorkArea.C: make the extern "C" methods static.
13347 * Makefile.am (lyx_LDADD): simplify
13349 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13351 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13352 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13354 * LyXAction.C (init):
13355 * lyxfunc.C (dispatch): associated code removal.
13357 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13359 * lyxfont.h (isSymbolFont): shut off warning
13361 * text.C (setHeightOfRow):
13362 (getVisibleRow): fix crash with empty paragraphs which have a
13365 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13367 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13370 2001-09-04 José Matos <jamatos@fep.up.pt>
13373 * tabular.C (docbook): rename docBook method to docbook.
13375 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13377 * Makefile.am: add dependencies to main.o.
13379 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13381 * FontLoader.C (available): Return false if !lyxrc.use_gui
13383 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13385 * FontInfo.C (query):
13386 * converter.C (view):
13387 * importer.C (Import):
13388 * exporter.C (Export): Can not -> cannot.
13390 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13392 * BufferView_pimpl.C: allow to create index inset even if
13395 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13397 * buffer.C (getLists): replace boost::tie code with an explicit pair
13398 as boost::tie can break some compilers.
13400 * iterators.h: Added a std:: declaration to the return type of
13403 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13405 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13408 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13410 * iterators.[Ch]: New files. Provide paragraph iterators.
13412 * buffer.C (changeLanguage): Use paragraph iterators.
13413 (isMultiLingual): ditto
13415 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13417 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13419 * FontLoader.C: Support for cmr font.
13421 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13423 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13424 (available): New method.
13426 * FontInfo.C (getFontname): Use scalable fonts even when
13427 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13430 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13432 * converter.C (Formats::view): reverted! Incorrect fix.
13434 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13436 * converter.C (Formats::view): only output the -paper option
13437 if the dvi viewer is xdvi, thereby fixing bug #233429.
13439 2001-08-23 Herbert Voss <voss@perce>
13441 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13443 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13445 * Spacing.h (Spacing): Set space to Default on in the default
13448 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13450 * vc-backend.h (RCS::versionString): add RCS to version
13451 (CVS::versionString): add CVS to version
13453 * vc-backend.C (scanMaster): do not add CVS to version.
13454 (scanMaster): do not add RCS to version
13456 * lyxvc.C (versionString): new method
13458 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13460 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13462 * Spacing.C (set): initialize fval
13464 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13466 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13469 2001-08-16 Juergen Vigna <jug@sad.it>
13471 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13473 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13475 * BufferView_pimpl.C:
13478 * text2.C: setParagraph takes linespacing now
13480 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13482 * LyxAction.C: add internal LFUN_CITATION_INSERT
13484 * LyXView.C: actually apply fix
13486 * bufferlist.C: fix open non-existent file
13488 * lyxfind.C: fix indentation
13490 * lyxfunc.C: remove unneeded assert, fix typo
13492 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13494 * MenuBackend.C: use "Floatname List"
13496 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13498 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13499 when converting LaTeX layout to insetERT.
13500 Generate a non-collapsed float when reading old float
13502 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13504 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13507 2001-08-13 Juergen Vigna <jug@sad.it>
13509 * text.C (fill): return 0 instead of 20 as this seems to be the more
13512 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13514 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13517 2001-08-13 Juergen Vigna <jug@sad.it>
13519 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13521 (SearchBackward): comment out the unlocking of the inset_owner this
13522 should not be needed!
13524 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13526 * Many files: Remove inherit_language, and add latex_language
13528 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13529 collapsible insets.
13531 2001-08-10 Juergen Vigna <jug@sad.it>
13533 * text.C (prepareToPrint): fixed hfill-width in draw!
13535 * BufferView2.C (selectLastWord): save the selection cursor as this
13536 now is cleared in the function LyXText::clearSelection!
13538 2001-08-08 Juergen Vigna <jug@sad.it>
13540 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13541 BACKSPACE type functions.
13543 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13544 is only cutted from the document but not put in the cut-buffer, where
13545 still the old stuff should be.
13547 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13549 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13551 * tabular.C (SetWidthOfCell): fixed special case where the width
13553 (LeftLine): handle '|' in align_special.
13555 (LeftAlreadyDrawed): ditto
13556 (SetWidthOfCell): ditto
13558 2001-08-07 Juergen Vigna <jug@sad.it>
13560 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13562 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13564 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13565 * lyxlex.[hC]: ditto
13567 2001-08-06 Juergen Vigna <jug@sad.it>
13569 * text.C (getVisibleRow): fix up row clearing a bit.
13571 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13573 * minibuffer.C: make sure the X server sees the changes in the input.
13575 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13577 * paragraph.C (getFont): split into...
13578 (getLabelFont): this
13579 (getLayoutFont): and this
13580 * paragraph_pimpl.C (realizeFont): calling this
13582 * text2.C (getFont): split into...
13583 (getLayoutFont): this
13584 (getLabelFont): and this
13585 (realizeFont): all three calling this
13587 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13590 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13592 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13594 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13596 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13597 layouts from the Quote inset insertion.
13599 2001-08-03 Juergen Vigna <jug@sad.it>
13601 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13603 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13604 only if status not is already CHANGED_IN_DRAW (second level).
13606 * text.C (draw): don't set the need_break_row when inside an
13609 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13611 * buffer.C (parseSingleLyXformat2Token): handle more latex
13614 * bufferview_funcs.[hC]: change function names to
13615 begin with small char, adjust other files.
13617 2001-08-02 André Pönitz <poenitz@gmx.net>
13620 BufferView_pimpl.C: remove broken special code for math-greek
13622 2001-08-02 Juergen Vigna <jug@sad.it>
13624 * BufferView_pimpl.C (update): redone this function so that we
13625 update the text again if there was a CHANGE_IN_DRAW.
13627 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13628 (drawFromTo): added a new internal bool which is used by draw() and
13630 (general): some cursor drawing problems fixed.
13632 2001-08-01 Juergen Vigna <jug@sad.it>
13634 * lyxfind.C (LyXFind): fixed
13635 (SearchForward): ditto
13636 (SearchBackward): ditto
13638 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13639 spurius drawing of the cursor in the main area.
13641 * text2.C (status): small fix which could lead to a segfault!
13642 (clearSelection): remove unneeded BufferView param.
13644 2001-08-01 André Pönitz <poenitz@gmx.net>
13646 * lyxfunc.C: small change due to changed mathed interface
13648 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13650 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13652 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13654 * lyxfunc.c: fail gracefully if file doesn't exist
13659 * BufferView_pimpl.C: IsDirWriteable() proto changed
13661 * LyXView.C: fix updateWindowTitle() to store the last title
13663 2001-07-31 Juergen Vigna <jug@sad.it>
13665 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13666 the font (wrong since using of Paragraph::highestFontInRange).
13668 * paragraph.C (highestFontInRange): added a default_size parameter.
13670 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13671 (setHeightOfRow): reformat
13673 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13675 * converter.[hC] + affected files: move to (inital-char)lowercase
13678 * ParagraphParameters.C (ParagraphParameters): remove commented code
13680 * PainterBase.[Ch]: remove commented code
13682 * LaTeXFeatures.h: add "bool floats" for float.sty
13684 * LaTeXFeatures.C (LaTeXFeatures): init floats
13685 (require): handle float
13686 (getPackages): do it with floats
13688 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13690 * BufferView_pimpl.C (Dispatch): improve handling of
13691 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13693 * commandtags.h: #include lyxfont.h here temporarily to avoid
13696 * bufferlist.h: include LString.h here.
13698 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13700 * text2.C (getStringToIndex): new method.
13702 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13704 * *: Reduced header file dependencies all over.
13706 2001-07-30 Baruch Even <baruch@lyx.org>
13708 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13710 2001-07-29 Baruch Even <baruch@lyx.org>
13712 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13714 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13716 * ParameterStruct.h (endif): add a default constructor to make
13717 sure that all variables is initialized.
13719 * ParagraphParameters.C (ParagraphParameters): adjust
13721 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13723 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13724 index; also, check that there is something to index, and that it
13725 does not span over several paragraphs.
13726 (doubleClick): use WHOLE_WORD_STRICT for double click.
13728 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13730 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13733 2001-07-26 Baruch Even <baruch@lyx.org>
13735 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13736 an InsetFig figure, backwards compatible reading of old figure code.
13738 2001-07-27 Juergen Vigna <jug@sad.it>
13740 * text2.C: font.realize function adaption.
13742 * text.C (draw): add a warnings lyxerr text if needed.
13744 * layout.C: font.realize function adaption.
13746 * language.C: add inherit_language and implement it's handlings
13748 * bufferview_funcs.C (StyleReset): remove language parameter from
13749 font creation (should be language_inherit now).
13751 * bufferparams.C (writeFile): handle ignore_language.
13753 * paragraph.C (getFontSettings): the language has to be resolved
13754 otherwise we have problems in LyXFont!
13756 * lyxfont.C (lyxWriteChanges): added document_language parameter
13757 (update): removed unneeded language parameter
13759 * paragraph.C (validate): fixed wrong output of color-package when
13760 using interface colors for certain fonts in certain environments,
13761 which should not seen as that on the final output.
13763 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13765 * BufferView_pimpl.C:
13770 * LyXAction.C: add thesaurus support
13773 * lyxfind.C: add "once" parameter, for thesaurus, to not
13774 move to the next match
13776 2001-07-26 Juergen Vigna <jug@sad.it>
13778 * lyxfont.C (realize): honor ignore_language too!
13781 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13783 * text.C (draw): one place more for ignore_language to not draw
13786 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13788 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13790 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13792 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13793 the minipage conversion problem.
13795 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13797 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13800 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13802 * BufferView.h: don't forward declare WorkArea
13804 * BufferView.C: don't include WorkArea.h
13806 2001-07-25 André Pönitz <poenitz@gmx.net>
13810 * lyxfunc.C: new LFUN 'math-space'
13812 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13814 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13816 * text2.C (toggleInset): call open/close
13818 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13820 * lyxfunc.C (dispatch): add debug for the disabled case
13822 * font.C (buttonText): make similar to rectText
13824 * buffer.C (readInset): comment out parsing of insetlist and
13827 * PainterBase.C (rectText): small correction
13829 * BufferView_pimpl.C: comment out insettheorem and insetlist
13830 * LyXAction.C: ditto
13831 * commandtags.h: ditto
13833 2001-07-24 Juergen Vigna <jug@sad.it>
13835 * text.C (draw): honor the ignore_language.
13837 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13839 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13841 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13844 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13846 * lyxtext.h: remove unused (and unimplemented) methods
13848 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13850 * text.C (getVisibleRow): honor background color
13853 * Painter.h: remove default color argument for fillRectangle
13855 * text.C (backgroundColor): new method
13857 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13859 * text.C (getVisibleRow): adjust
13861 * font.[Ch] (rectText): new method, metrics
13862 (buttonText): new method, metrics
13864 * PainterBase.[hC]: make rectText and buttonText always draw and take
13867 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13869 * ToolbarDefaults.C (read):
13870 * MenuBackend.C (read): allow escaping in all strings
13872 * BufferView_pimpl.C (insertAndEditInset): new method.
13873 (Dispatch): use insertAndEditInset whenever appropriate.
13875 * BufferView_pimpl.C (insertNote): removed
13877 * BufferView_pimpl.C (smartQuote): new method, moved from
13878 BufferView; if an insetquote cannot be inserted, insert a '"'
13881 * BufferView2.C: remove insertCorrectQuote();
13883 * lyxfunc.C (getStatus): Add support for all remaingin
13884 inset-insert lfuns.
13886 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13888 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13889 command (necessary to pass " as parameter of self-insert.
13891 * text.C (selectWordWhenUnderCursor):
13892 (selectWord): add word_location parameter
13893 (selectWordWhenUnderCursor): same + remove special code for word
13895 (selectNextWord): use kind() to guess type of insetspecialchar,
13898 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13899 (insertErtContents): create ert insets as collapsed.
13900 (readInset): better compatibility code for Info inset.
13902 2001-07-20 Juergen Vigna <jug@sad.it>
13904 * lyxfunc.C (dispatch): use always LyXFind now!
13906 * text2.C (init): add a reinit flag so that the LyXText can be
13907 reinited instead of deleted and reallocated (used in InsetText).
13909 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13915 2001-07-18 Juergen Vigna <jug@sad.it>
13917 * text.C (selectNextWord): handle insets inside inset by calling
13918 always the bv->text functions so that we can go up the_locking_inset!
13920 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13921 in strange locations when inside an inset!
13923 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13924 handling to include insets.
13926 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13928 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13930 * LyXAction.C (init):
13932 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13933 LIGATURE_BREAK, since the name is so stupid.
13935 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13937 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13940 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13942 * sp_form.[Ch]: remove.
13944 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13946 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13949 * src/buffer.C (readInset): ditto.
13951 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13953 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13954 menuSeparator(), endOfSentenceDot(), ldots() and
13955 hyphenationPoint(), which are therefore removed.
13956 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13958 * LyXAction.C (init):
13959 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13961 * paragraph.C (getWord): removed.
13963 * BufferView_pimpl.C (Dispatch): use last word or selection for
13964 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13966 * lyx_main.C (queryUserLyXDir): do not ask before creating
13967 user_dir, except if it has been named explicitely.
13969 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13971 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13972 a document of zero size.
13974 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13976 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13977 approriately in the c-tor and in require().
13978 (getPackages): output the appropriate LaTeX for natbib support.
13980 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13981 variables "use_natbib" and "use_numerical_citations" when reading the
13983 (readInset): read the various natbib cite commands.
13984 (validate): white-space change.
13986 * bufferparams.[Ch]: new variables "bool use_natbib" and
13987 "bool use_numerical_citations".
13988 (writeFile): output them in the LyX file.
13990 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13992 * lyxfunc.C (getStatus): add support for all the inset insertion
13995 * text2.C (insertInset):
13996 * paragraph.C (insetAllowed):
13997 * BufferView_pimpl.C (insertInset): update to take in account the
13998 renaming of insertInsetAllowed
14000 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14002 * text2.C (getInset): new method. returns inset at cursor position.
14004 * BufferView_pimpl.C (Dispatch): changes because of this.
14006 * LyXAction.C (init): rename open-stuff to inset-toggle.
14008 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14010 * text2.C (toggleInset): renamed from openStuff; use
14013 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14015 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14017 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14019 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14021 * buffer.C (readLyXformat2): Add filename to the error dialog
14023 2001-07-18 Juergen Vigna <jug@sad.it>
14025 * tabular.C (GetCellNumber): put an assert here instead of the check!
14027 2001-07-17 Juergen Vigna <jug@sad.it>
14029 * BufferView_pimpl.C (toggleSelection): adapted too.
14031 * text.C (selectNextWord): adapted for use with insets.
14032 (selectSelectedWord): ditto
14034 2001-07-17 Juergen Vigna <jug@sad.it>
14036 * sp_spell.C (PSpell): fix initialitation order.
14038 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14040 * paragraph.C: spacing
14042 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14044 * sp_spell.C: repair language selection for pspell
14046 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14048 * lyxfunc.h: change more methods to begin with lower char.
14050 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14052 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14053 for unknown layouts.
14055 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14057 * buffer.C (readLyXformat2): Generate an error dialog if there are
14060 2001-07-16 Juergen Vigna <jug@sad.it>
14062 * sp_spell.C: always compile ISpell part.
14064 * lyxrc.C: added use_pspell entry and it's handling.
14066 2001-07-13 Juergen Vigna <jug@sad.it>
14068 * sp_spell.C: removed double includes.
14070 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14072 Consistent use of Lsstream.h:
14073 * Lsstream.h: added using std::stringstream for consistencies sake.
14075 * buffer.C: removed using std::stringstream
14077 * lyxfont.C (stateText):
14078 * paragraph.C (asString):
14079 * text.C (selectNextWord, selectSelectedWord):
14080 * text2.C (setCounter):
14081 * vspace.C (asString, asLatexString):
14082 std::ostringstream -> ostringstream.
14084 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14086 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14087 * commandtags.h: add LFUN_HELP_ABOUTLYX
14088 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14090 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14092 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14094 * lyx_gui_misc.C: remove spellchecker
14095 * lyxfunc.C: showSpellchecker
14097 * sp_ispell.h: added
14098 * sp_pspell.h: added
14099 * sp_spell.C: added
14100 * sp_form.[Ch]: removed
14101 * spellchecker.[Ch]: removed
14103 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14105 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14107 (simpleTeXSpecialChars): Simply print the input character without
14108 any special translation if pass_thru is set.
14110 * layout.h: Added bool pass_thru to layout class for being able to
14111 implement pass through of a paragraph for Literate Programming.
14113 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14114 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14115 * layout.C (Read): add "passthru" to list of layout tags and add
14116 code to set the pass_thru boolean when it is read.
14118 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14120 * trans_decl.h: remove allowed from KmodInfo
14122 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14123 remove allowed code
14126 * paragraph_pimpl.C (erase): use boost::prior
14128 * Painter.C (text): use data() instead of c_str() when length is
14130 * WorkArea.C (putClipboard): ditto
14131 * font.h (width): ditto
14133 * BufferView2.C: use it-> instead of (*it). for iterators
14135 * paragraph_pimpl.C: ditto
14136 * paragraph.C: ditto
14137 * minibuffer.C: ditto
14138 * language.C: ditto
14140 * encoding.C: ditto
14141 * counters.C: ditto
14142 * converter.C: ditto
14144 * Variables.C: ditto
14145 * TextCache.C: ditto
14146 * MenuBackend.C: ditto
14147 * LyXAction.C: ditto
14149 * FloatList.C: ditto
14150 * DepTable.C: ditto
14151 * ColorHandler.C (LyXColorHandler): ditto
14153 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14155 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14157 * text2.C (openStuff): reintroduce this method (which had been
14158 nuked in NEW_INSETS frenzy).
14160 * lyxfunc.C (Dispatch): when an action has not been handled, use
14161 its name in the error message, not its number.
14163 * paragraph.C (inInset): change method name to begin with lowercase.
14166 * text2.C: updates because of this.
14168 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14170 * ToolbarDefaults.C (add): add spaces in error message
14172 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14174 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14175 (readLyXformat2): rename return_par to first_par, use lyxlex's
14176 pushToken and remove the manual push handling.
14177 (parseSingleLyXformat2Token): add another ert comp. variable:
14178 in_tabular, rename return_par to first_par. handle newlines better
14180 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14182 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14184 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14186 * text2.C (getParFromID): removed
14188 * buffer.C (getParFromID): new method moved form lyxtext.
14189 * BufferView2.C (insertErrors): adjust
14190 (setCursorFromRow): adjust
14191 * BufferView_pimpl.C (restorePosition): adjust
14192 * lyxfunc.C (Dispatch): adjust
14193 * undo_funcs.C (textUndo): adjust
14195 (textHandleUndo): adjust
14196 (textHandleUndo): adjust
14198 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14200 * buffer.C: up' the LYX_FORMAT
14202 * lyxfont.h: turn NO_LATEX on as default
14204 * buffer.C (insertErtContents): new methods of tex style compability.
14205 (parseSingleLyXformat2Token): use it several places.
14206 * tabular.C (OldFormatRead): and here
14208 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14210 * text2.C: remove some commented code.
14213 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14214 * trans.C: changes because of the above.
14216 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14218 * text2.C (setCounter): Fix counters bug with bibliography layout.
14220 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14222 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14223 own member functions
14224 (simpleTeXSpecialChars): ditto
14226 2001-07-06 Juergen Vigna <jug@sad.it>
14228 * a lot of files: changed the access to LyXText::status and the
14229 call of undo-functions.
14231 * undo.[Ch]: added a inset_id to the undo informations.
14233 * undo_funcs.[Ch]: added and moved here all undo functions.
14235 * lyxtext.h: give the status enum a weight, made status_ a private
14236 variable and made accessor functions for it, removed the whole bunch
14237 of undo-functions as they are now in their own file, make some
14238 functions publically available. Added function ownerParagraph with
14241 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14242 made InInset() a const function, added getParFromID() function.
14244 * buffer.[Ch]: added const version for inset_iterator functions,
14245 added getInsetFromID() function.
14247 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14248 changed undo functions for new version.
14250 2001-07-05 Juergen Vigna <jug@sad.it>
14252 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14253 unknow mechanism does not call the proper constructor but only this
14254 one also if I request the other!?
14256 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14258 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14260 * text2.C (LyXText): use initialization lists.
14262 * lyxtext.h (Selection): initialize set_ and mark_
14263 (init): remove method
14265 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14267 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14269 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14271 * screen.[Ch]: change method names to begin with lowercase
14273 * BufferView_pimpl.C (updateScrollbar): simplify further and
14274 hopefully make it a bit faster.
14276 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14278 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14279 calling directly xforms functions.
14281 * Painter.C (Painter):
14282 * lyx_cb.C (MenuWrite):
14283 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14286 * lyx_gui.C: remove bogus guiruntime extern declaration.
14288 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14290 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14292 (redoDrawingOfParagraph): ditto
14293 (redoParagraphs): ditto
14294 (cutSelection): don't create a object for CutAndPaste use the
14295 static method directly
14296 (pasteSelection): ditto
14298 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14301 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14303 * modifications to some other files because of this.
14305 * Makefile.am (lyx_SOURCES): add XFormsView
14307 * XFormsView.[Ch]: new files
14309 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14310 the main window. Move the gui dependent stuff to XFormsView
14312 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14314 * tabular.C (GetCellInset): update cur_cell also in the row/col
14315 version of this function.
14317 * lyxfunc.C: no need to include figure_form.h here.
14323 * lyxvc.C: no need to include forms.h here.
14325 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14327 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14329 * lyxfunc.C (Dispatch):
14331 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14332 constructor argument.
14334 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14336 * paragraph.C (Paragraph): dont't clear, and just set layout.
14337 (makeSameLayout): use params's copy contructor.
14339 * ParagraphParameters.[Ch] (makeSame): delete method
14341 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14343 * Variables.[Ch]: fix indentation, rename set to isSet
14345 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14347 * lyxfunc.C (Dispatch): fix typo
14349 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14351 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14354 * bufferlist.C: include assert.h for emergencyWrite().
14356 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14358 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14359 give up at last (bug #425202) !
14361 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14367 * spellchecker.C: strip spellchecker options and bring up
14368 preferences tab instead
14370 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14372 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14373 the istringstream constructor
14375 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14377 * paragraph.C (getLayout): fix return value
14379 * paragraph.h: do not declare getLayout as inline.
14381 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14383 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14385 * lyxcursor.h (operator<): new func
14386 (operator>): new func
14387 (operator>=): new func
14388 (operator<=): new func
14390 * text.C (changeCase): use selection.start and selection.end
14391 (changeRegionCase): require from to be <= to. Require par to be a
14394 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14396 2001-06-27 Juergen Vigna <jug@sad.it>
14398 * text.C (cursorLeftOneWord): changed to return the cursor and added
14399 overlay with BufferView * parameter which calls this one.
14401 (selectWord): use new getWord function.
14402 (changeCase): renamed from changeWordCase as and extended to work
14403 also on selections.
14405 * lyxtext.h: added enum word_location
14407 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14408 changeCase as this operates now also on selections.
14410 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14412 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14414 * many files: send debug output to Debug::INFO instead of
14417 * converter.C (View):
14419 (Move): send debug output to Debug::FILES instead of console.
14421 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14423 * lyxfunc.C (getStatus): use func_status
14425 * func_status.h: new header, describing the results of
14426 LyXFunc::getStatus;
14428 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14431 2001-06-25 The LyX Project <jug@sad.it>
14433 * buffer.C (sgmlOpenTag):
14435 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14437 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14439 * text2.C: remove some dead code
14441 * tabular.C (GetCellInset): store the last cell checked (gotten)
14443 * tabular.h: add the helper for the speedup
14445 * lyxtext.h: remove some dead code
14447 2001-06-26 The LyX Project <Asger>
14449 * paragraph.C: Change export to LaTeX of alignment to
14450 \begin{center} and family for better roundtrip work with reLyX.
14452 * Tune the math drawing a bit.
14454 2001-06-25 The LyX Project <Asger>
14456 * LColor.C (LColor): New color for math background. New color
14459 2001-06-25 The LyX Project <jug@sad.it>
14461 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14463 * lyxfunc.C (Open):
14464 * bufferlist.C (newFile): do not restrict to files ending with
14467 * BufferView_pimpl.C (MenuInsertLyXFile):
14469 2001-06-24 The LyX Project <jug@sad.it>
14471 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14474 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14476 * lyxtext.h: rename most methods to begin with a small char.
14477 Lots of changes because of this.
14479 * paragraph.C (Paragraph): do not call fitToSize
14480 (erase): call Pimpl::erase
14481 (insertChar): call Pimpl::insertChar
14482 (insertInset): call Pipl::insertInset
14483 (breakParagraph): do not call fitToSize
14484 (breakParagraphConservative): do not call fitToSize
14485 (fitToSize): remove method
14487 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14489 2001-06-24 The LyX Project <Asger>
14491 * Fix Qt compilation^2
14493 2001-06-24 The LyX Project <jug@sad.it>
14495 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14496 depthHook(getDepth()-1).
14499 * ParagraphParameters.h:
14500 * ParameterStruct.h: change type of depth to unsigned int ==
14501 depth_type. Many adaptations to other files before of that.
14503 2001-06-24 The LyX Project <Asger>
14505 * Fix Qt compilation.
14507 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14509 * paragraph.h: renamed several methods to begin with small letter.
14510 several changes to many parts of the code because of this.
14512 2001-06-23 The LyX Project <jug@sad.it>
14514 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14515 rewritten to discard all double spaces when KeepEmpty is off
14516 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14517 to only handle newlines but not fiddle with spaces and friends.
14519 * lyxfunc.C (MenuNew): when doing 'new from template', use
14520 template_path as default directory
14522 2001-06-23 The LyX Project <Asger>
14524 * Clean-up of header file includes all over
14525 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14527 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14529 * paragraph.h: renamed from lyxparagraph.h
14531 2001-06-23 Asger <lyx@violet.home.sad.it>
14533 * Buffer.h: Removed Buffer::resize
14534 * BufferList.h: Removed BufferList::resize
14535 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14536 the document lazily when we change the width, or the font settings.
14538 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14540 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14542 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14544 * buffer.h: remove out of date comment
14546 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14549 * screen.C: fix "theoretical" GC leak
14551 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14553 * LaTeX.C (scanAuxFile):
14554 (deplog): remove trailing \r when reading stream (useful under
14557 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14559 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14560 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14561 and BufferView::theLockingInset(Inset*), so should use them and not
14562 access bv_->text->the_locking_inset directly.
14564 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14566 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14569 * tex-defs.h: remove old unused file
14571 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14573 * BufferView_pimpl.C: fix typo, remove minibuffer message
14574 when buffer has loaded
14576 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14578 * lyxfunc.C (Dispatch): use stringstream
14579 (MenuNew): use stringstream
14580 (Open): use stringstream
14582 * importer.C (Import): use stringstream
14584 * bufferview_funcs.C (CurrentState): use stringstream
14586 * LaTeX.C (run): use stringstream
14588 * BufferView_pimpl.C (savePosition): use stringstream
14589 (restorePosition): use stringstream
14590 (MenuInsertLyXFile): use stringstream
14592 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14605 * vspace.C: removed // -*- C++ -*- as first line.
14608 * version.h: added // -*- C++ -*- as first line.
14610 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14612 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14614 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14617 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14619 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14622 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14624 * gettext.C: include LString.h even when --disable-nls is on.
14626 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14628 * converter.h (Get): changed argument type from int to
14629 FormatList::size_type to avoid unnecessary conversion.
14631 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14634 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14636 * gettext.h: include LString.h even when --disable-nls is on.
14638 2001-06-07 Juergen Vigna <jug@sad.it>
14640 * text.C (BreakAgain): subst spaces with tabs.
14642 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14643 (resizeInsetsLyXText): set force on resizeLyXText.
14645 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14647 * gettext.h (gettext_init):
14648 (locale_init): use a real definition instead of a macro
14650 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14652 * Bufferview_pimpl.C:
14654 * LColor.C: further lcolor tidies
14656 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14658 * BufferView_pimpl.C (updateScrollbar): simplify.
14660 * BufferView2.C: don't include insets/insetinfo.h, change
14661 prototype for insertInset and call the Pimpl version. let
14662 updateInset call Pimpl version.
14664 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14665 gotoInset to BufferView::Pimpl
14667 2001-06-01 Juergen Vigna <jug@sad.it>
14669 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14670 inside a LockingInset (is the update needed at all?).
14672 2001-05-31 Juergen Vigna <jug@sad.it>
14674 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14675 here not the old one otherwise how should we compare it afterwards
14678 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14683 * FontInfo.C: bring C functions into global namespace when
14686 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14688 * LString.h: make sure config.h has been loaded before LString.h.
14690 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14691 (one for each char read by EatLine!).
14693 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14696 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14698 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14699 to the same as the par we break from
14701 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14703 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14705 * MenuBackend.C (expand): also create menu entries for wide
14706 versions of the floats.
14708 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14710 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14712 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14713 frontends/Makefile.am
14719 * tabular.C (getTokenValue): add std::
14721 * tabular-old.C (getTokenValue): add std::
14722 (getTokenValue): ditto
14723 (getTokenValue): ditto
14725 * screen.C (ToggleSelection): adjust
14727 * lyxtext.h: put selection cursors inside a Selection struct.
14729 * lyxfunc.C (moveCursorUpdate): adjust
14731 * lyxfont.C (latexWriteStartChanges): add std::
14733 * lyxfind.C: adjust
14735 * font.h: delete with(char const *, LyXFont const &)
14737 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14739 * FontInfo.C (getFontname): add std::
14741 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14742 (workAreaButtonPress): adjust
14743 (tripleClick): adjust
14745 (moveCursorUpdate): adjust
14748 * BufferView2.C (gotoInset): adjust
14750 2001-05-30 Juergen Vigna <jug@sad.it>
14752 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14753 to check pspell I add this as default as I now have new pspell
14754 libraries and they seem to use this.
14756 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14758 * text2.C (CutSelection): make the cursor valid before the call to
14761 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14763 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14764 relied on 0 terminated strings and other horrors. Bug found due to
14765 the new assert in lyxstring!
14767 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14770 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14772 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14775 * lyxfunc.C (processKeySym): change method of getting to the
14778 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14779 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14780 * BufferView_pimpl.[Ch]: here as private methods.
14782 2001-05-28 Juergen Vigna <jug@sad.it>
14784 * text.C (SetHeightOfRow): added the update() call again as it is
14785 needed to initialize inset dimensions!
14787 2001-05-16 Juergen Vigna <jug@sad.it>
14789 * text2.C (SetCharFont): Add new function with BufferView * and
14790 bool toggleall parameters for setting insets internal fonts.
14791 (SetFont): Freeze the undo as we may change fonts in Insets and
14792 all this change should be inside only one Undo!
14794 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14795 setting font's in insets as for them we have the SetFont function!
14797 2001-05-15 Juergen Vigna <jug@sad.it>
14799 * text2.C (ClearSelection): to be sure we REALLY don't have any
14802 * tabular.C (TeXCellPreamble): fixed the left border problem for
14805 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14807 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14810 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14812 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14813 LFUN_BREAKPARAGRAPH.
14815 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14816 help test to "internal only", similar for LFUN_INSERT_URL
14818 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14819 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14820 auto_region_delete and deadkeys.
14822 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14825 * LColor.C: remove some dead entries, tidy a little
14827 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14829 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14831 (Dispatch): implement LFUN_ESCAPE
14833 * commandtags.h: add LFUN_ESCAPE
14835 * LyXAction.C (init): add entry for LFUN_ESCAPE
14837 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14838 Remove commented code.
14839 (insertNote): moved here
14840 (open_new_inset): moved here
14842 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14845 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14847 * kbmap.C (findbinding): clean it up and make it work correctly.
14849 * lyx_main.C (init): do not pass argc and argv as parameters
14851 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14853 * buffer.C: fix path for OS/2 & Win32
14857 * lyx_main.C: Added os:: class.
14859 * os2_defines.h: update
14861 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14863 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14864 better by trying again with reduced state.
14866 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14868 * lyxrc.C (read): print error about invalid key sequence only when
14869 debugging (because not all latinX keysyms are known to some X
14872 * kbsequence.C (getiso): add a few std:: qualifiers
14873 (getiso): comment out extra return statement.
14875 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14877 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14879 (Dispatch): enhance the accent inset a bit. (not perfect)
14881 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14883 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14885 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14887 * bufferlist.C (emergencyWrite): fix assert() call
14889 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14891 * text.C (InsertChar): Added trivial patch to only send the "you
14892 can not do multiple spaces this way" message once during a
14895 2001-05-08 Baruch Even <baruch@lyx.org>
14897 * Makefile.am: Changed order of libraries to get LyX to link properly
14898 with the gnome frontend.
14900 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14902 * LaTeXFeatures.h: add a std:: qualifier
14904 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14906 * paragraph.C (String): use stringstream
14908 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14910 * paragraph.C (writeFile): remove footflag arg
14912 * buffer.C (makeLaTeXFile): use stringstream
14913 (latexParagraphs): remove footnot gurba
14915 * LaTeXFeatures.C (getPackages): use stringstream
14916 (getMacros): likewise
14917 (getTClassPreamble): likewise
14918 (getFloatDefinitions): new method
14920 * paragraph.C (writeFile): reindent
14923 * WorkArea.h: revert the xpos + etc changes.
14925 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14927 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14929 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14930 (pasteSelection): likewise
14931 * text2.C (CreateUndo): likewise
14933 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14935 * minibuffer.C (peek_event): temporarily reduce the functionality
14936 of the minibuffer (to allow args on lfuns)
14938 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14939 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14941 * buffer.C (readInset): add compability reading of old float
14942 lists, add reading of new style float list.
14943 (readInset): avoid reevaluation of inscmd.getCmdName()
14944 (getLists): reindent
14946 * MenuBackend.C (MenuItem): implement parsing of
14947 md_floatlistinsert and md_floatinsert.
14948 (expand::LastFiles): move initalizaton of iterators out of loop,
14949 avoid reevaluation.
14950 (expand::Documents): introduce typdedef vector<string> Strings,
14952 (expand::ExportFormats): introduce typedef vector<Format const *>
14953 Formats, and use it.
14954 (expand): implement FloatListInsert and FloatInsert.
14956 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14957 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14958 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14960 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14962 (Dispatch::LFUN_FLOAT_LIST): implement
14964 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14966 * LaTeX.C (run): Fix problem with --export code.
14968 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14970 * BufferView.[Ch] (workarea): removed.
14971 (getClipboard) new method; wrapper for workarea()->getClipboard()
14973 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14976 * WorkArea.h (width, height, xpos, ypos): These methods all
14977 returned the dimensions of the work_area sub-area of WorkArea,
14978 resulting in a position error if the WorkArea were resized. Now
14979 return the dimensions of the entire WorkArea.
14981 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14983 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14985 * LaTeX.C (deplog): correct the syntax of regex reg1
14987 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14989 * undo.C: remove !NEW_INSETS cruft
14991 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14993 * text2.C: remove !NEW_INSETS cruft
14995 * text.C: remove !NEW_INSETS cruft
14997 * tabular.C: remove !NEW_INSETS cruft
14999 * spellchecker.C: remove !NEW_INSETS cruft
15001 * lyxtext.h: remove !NEW_INSETS cruft
15003 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15005 * lyxfunc.C: remove !NEW_INSETS cruft
15007 * lyxfind.C: remove !NEW_INSETS cruft
15009 * lyx_cb.C: remove !NEW_INSETS cruft
15011 * figureForm.C: remove !NEW_INSETS cruft
15013 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15015 * buffer.[Ch]: remove !NEW_INSETS cruft
15017 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15019 * CutAndPaste.C: remove !NEW_INSETS cruft
15021 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15023 * BufferView2.C: remove !NEW_INSETS cruft
15025 * BufferView.h: remove !NEW_INSETS cruft
15027 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15029 * Lsstream.h: include LString.h before the sstream headers to
15030 fix problem with gcc 2.95.3 and lyxstring
15032 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15034 * lyx_main.C: add using directives when needed for C functions
15035 declared in std:: namespace.
15037 2001-04-27 Juergen Vigna <jug@sad.it>
15039 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15040 (SetHeightOfRow): comment out the update call should not be needed!
15042 2001-04-13 Juergen Vigna <jug@sad.it>
15044 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15045 (LyXTabular): tried to minimize operator= operations (and realized
15046 hopfully Lars wish).
15048 2001-04-27 Juergen Vigna <jug@sad.it>
15050 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15052 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15054 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15056 * buffer.C (readInset): hack to make listof algorithm work
15058 * BufferView_pimpl.C: hack to make listof algorithm work
15060 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15062 * LyXAction.C: removed all !NEW_INSETS cruft
15063 (init): moved lfun_item in method
15065 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15067 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15069 * BufferView2.C (theLockingInset): white space.
15071 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15073 * minibuffer.C: include <iostream>
15075 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15077 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15079 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15081 * text.[Ch] (TransposeChars): new method
15083 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15085 * call message directly through LyXView instead of through LyXFunc
15086 * BufferView2.C: adjust
15087 * BufferView_pimpl.C: adjust
15088 * FontLoader.C: adjust
15090 * bufferview_funcs.C: adjust
15091 * converter.C: adjust
15092 * figureForm.C: adjust
15093 * importer.C: adjust
15095 * lyx_gui_misc.C: adjust
15096 * lyxfunc.C: adjust
15099 + more files in subdirs
15101 * lyxparagraph.h (size): move up int file
15104 * adjust all uses of Assert to lyx::Assert.
15106 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15107 lyxfunctional in namespace lyx
15108 * layout.C (hasLayout): ditto
15111 (delete_layout): ditto
15112 (NumberOfClass): ditto
15113 * converter.C (GetFormat): ditto
15118 * bufferlist.C (getFileNames): ditto
15119 (emergencyWriteAll): ditto
15122 * MenuBackend.C (hasSubmenu): ditto
15125 * BufferView_pimpl.C (getInsetByCode): ditto
15127 2001-04-18 Juergen Vigna <jug@sad.it>
15129 * vspace.C (asLatexString): fixed the 100% problem.
15131 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15133 * lyxfunc.C (Dispatch):
15135 * minibuffer.h: add a few std:: qualifiers
15137 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15139 * minibuffer.[Ch]: reimplement so that commands is initiated and
15140 run from lyxfunc, simplified som handling, and made the completion
15141 and history code for complete. wip.
15143 * lyxfunc.C (processKeySym): call message
15144 (miniDispatch): new temporary method
15145 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15146 (LFUN_MESSAGE): implement
15147 (LFUN_MESSAGE_PUSH): implement
15148 (LFUN_MESSAGE_POP): implement
15149 (initMiniBuffer): the initial/defualt minibuffer message.
15151 * lyxfont.[Ch]: inline some more getters
15153 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15155 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15157 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15158 (AutoSave): use LFUN_MESSAGE
15159 (Reconfigure): ditto
15161 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15163 * figureForm.C: use LFUN_MESSAGE
15165 * converter.C (runLaTeX): use LFUN_MESSAGE
15167 * bufferview_funcs.C: use LFUN_MESSAGE
15169 (changeDepth): ditto
15171 * bufferparams.h: use boost::
15173 * bufferlist.h: inherit privately from noncopyable
15175 * bufferlist.C (loadLyXFile): remove some commented code.
15177 * buffer.C (runChktex): use LFUN_MESSAGE
15179 * ShareContainer.h: inherit privately from noncopyable
15181 * ParagraphParameters.[hC] (depth): inline it.
15183 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15185 (message): new method
15186 (messagePush): ditto
15187 (messagePop): ditto
15188 (show): init minibuffer
15189 (showState): direct call
15191 * LaTeX.[Ch]: inherit privately from noncopyable
15192 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15193 instead of WriteStatus.
15195 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15197 * BufferView_pimpl.C (buffer): don't init minibuffer
15198 (workAreaButtonPress): use LFUN_MESSAGE
15199 (workAreaButtonRelease): ditto
15200 (savePosition): ditto
15201 (restorePosition): ditto
15202 (MenuInsertLyXFile): ditto
15203 (workAreaExpose): don't init minibuffer
15204 (update): remove commented code, simplify
15206 * BufferView2.C (openStuff): use LFUN_MESSAGE
15207 (toggleFloat): ditto
15210 (copyEnvironment): ditto
15211 (pasteEnvironment): ditto
15216 (updateInset): remove some commented code
15218 * lastfiles.h: inherit privately from noncopyable
15221 * lyx_main.h: ditto
15223 * lyxlex_pimpl.h: ditto
15225 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15226 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15227 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15229 * LyXAction.h: inherit privately from noncopyable, add methods
15230 func_begin, func_end, returning iterators to the func map.
15232 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15233 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15234 (func_begin): new method
15235 (func_end): new method
15237 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15239 (copySelection): ditto
15240 (pasteSelection): ditto
15242 * BufferView.C: whitespace change
15243 * BufferView.h: inherit privately from noncopyable
15245 2001-04-16 Allan Rae <rae@lyx.org>
15247 * tabular-old.C (l_getline):
15248 * spellchecker.C (sc_check_word):
15249 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15250 an unrecognised preprocessor directive. So ensure they're wrapped.
15252 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15254 * src/exporter.C (Export): Give an error message when path to file
15257 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15259 * LaTeX.C (deplog): Always check that foundfile exists.
15261 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15264 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15266 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15268 * tabular.[Ch] (getLabelList): implement new method
15270 * minibuffer.h: comment ouf setTiimer
15272 * minibuffer.C (ExecutingCB): constify res
15273 (peek_event): constify s
15274 (Set): constify ntext
15275 (Init): constify nicename
15277 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15279 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15280 (savePosition): use two params to Minibuffer::Set
15281 (restorePosition): ditto
15283 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15285 * lyx_main.C: include language.h
15287 * Makefile.am (lyx_main.o): add language.h
15289 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15295 * CutAndPaste.C: include gettext.h
15297 * lyxfont.h: remove old hack with ON and OFF.
15300 * lyxfont.h: do not include language.h...
15305 * bufferview_funcs.C:
15311 * paragraph.C: ... but do it here instead
15313 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15315 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15317 * tabular.C: small reformat
15319 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15322 (BreakParagraph): ditto
15323 (SetOnlyLayout): ditto
15326 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15329 * lastfiles.C: removed most using decl, add std:: where needed
15331 * buffer.C: ws changes
15333 * MenuBackend.C (class compare_format): put into anon namespace
15334 (expand): constify label, names, action, action2
15337 * text.C (SingleWidth): constify font
15338 (IsBoundary): constify rtl2
15339 (GetVisibleRow): constify ww
15341 * LaTeX.C (deplog): constify logfile
15343 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15345 (workAreaExpose): constify widthChange, heightChange
15347 * lyxrow.C (par): moved
15350 * lyxrow.h: as inlines here
15352 * lyxfont.h (shape): moved from lyxfont.C
15353 (emph): moved from lyxfont.C
15355 * lyxfont.C (LyXFont): use initialization list for all
15357 (shape): move to lyxfont.h as inline
15358 (emph): move to lyxfont.h as inline
15361 2001-04-04 Juergen Vigna <jug@sad.it>
15363 * vspace.C: had to include stdio.h for use of sscanf
15365 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15368 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15369 independent of xforms.
15371 2001-04-02 Juergen Vigna <jug@sad.it>
15373 * spellchecker.C: fixed namespace placing!
15375 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15377 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15378 the LyXParagraph * is 0.
15380 2001-03-29 Juergen Vigna <jug@sad.it>
15382 * vspace.C: added support for %, c%, p%, l%.
15383 (stringFromUnit): added helper function.
15384 (asLatexString): changed to give right results for the %-values.
15386 * buffer.C: convert the widthp in a width%.
15388 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15390 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15393 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15394 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15396 * lyx_cb.[Ch]: see above.
15398 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15402 * lyx.[Ch]: replaced by figure_form.[Ch].
15406 * lyxfunc.C: changed headers associated with above changes.
15408 2001-03-27 Juergen Vigna <jug@sad.it>
15410 * BufferView_pimpl.C: set the temporary cursor right!
15412 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15414 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15416 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15418 * LString.h: removed "using std::getline"!
15420 * BufferView_pimpl.C (Dispatch): changes due to changes in
15421 InsetInclude::Params.
15423 * buffer.C (tag_name): removed redundant break statements as they were
15424 producing lots of warnings with my compiler.
15426 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15428 * LString.h: add "using std::getline" when using the real <string>.
15430 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15432 * buffer.C: removed bitset usage.
15433 PAR_TAG moved to an anonymous name space.
15434 (tag_name): new funtion, also in the anonymous namespace.
15435 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15436 (makeDocBookFile): clean code. Completed transition from string arrays
15438 (SimpleDocBookOnePar): code clean.
15440 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15442 * tabular.C: add some comments.
15444 2001-03-22 Juergen Vigna <jug@sad.it>
15446 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15447 compatibility read a bit and fixed bug with minipage in different
15450 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15452 * buffer.C (pop_tag): removed.
15453 (push_tag): removed.
15454 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15455 array replaced with vector. Added support for CDATA sections.
15456 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15458 (makeDocBookFile): XML conformant declaration of CDATA section,
15459 fixed bug related to <emphasis> in the first paragraph char.
15460 (sgmlOpenTag): exclude empty tags.
15461 (sgmlCloseTag): ditto.
15463 * buffer.h (pop_tag): removed.
15464 (push_tag): removed.
15466 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15468 * language.h (Languages): added size_type and size().
15470 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15472 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15473 response on compability reading of minipages. One probliem is that
15474 the old usage of minipages was «flertydig»
15476 * several files here and in subdirs: don't use static at file
15477 scope use anon namespaces instead.
15479 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15481 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15482 LaTeX output. This is necessary for Literate document
15485 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15487 * buffer.C: insert hfill when needed.
15489 * tabular.C (l_getline): use string::erase, small whitespace change.
15491 * BufferView_pimpl.C: try the anon namespace.
15492 * WorkArea.C: ditto
15494 2001-03-16 Juergen Vigna <jug@sad.it>
15496 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15497 otherwise it won't open options-dialogs.
15499 * buffer.C: honor pextraWidth(p) on converting minipages.
15501 * tabular.C (l_getline): changed the functions to strip trailing \r.
15503 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15505 * BufferView_pimpl.C:
15506 * minibuffer..C: added "using SigC::slot" declaration.
15508 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15510 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15516 * paragraph.C: ditto
15518 * lyxtext.h: NO_PEXTRA
15520 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15522 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15523 * ParameterStruct.h: ditto
15524 * ParagraphParameters.h: ditto
15525 * lyxparagraph.h: ditto
15527 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15529 * buffer.C: add compability for minipage alignment.
15530 (latexParagraphs): remove unwanted pextra check.
15532 * several files: remove CXX_WORKING_NAMESPACES
15534 * buffer.C (pop_tag): tie is in namespace boost
15536 * BufferView.h: noncopyable is in namespace boost
15538 * lyx_main.h: ditto
15541 * lastfiles.h: ditto
15542 * bufferlist.h: ditto
15543 * ShareContainer.h: ditto
15545 * LyXAction.h: ditto
15548 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15550 * Merging changes from BRANCH_MVC back into HEAD.
15552 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15554 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15556 * BufferView_pimpl.C: change from intl.C
15560 * Makefile.am: move combox.*
15566 * intl.C: remove dialog (covered by prefs)
15568 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15570 * lyxfunc.C (Dispatch): removed redundant break statement.
15572 2001-03-14 Juergen Vigna <jug@sad.it>
15574 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15576 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15578 * buffer.C: add hack to fix compability reading of minipages.
15580 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15582 * buffer.C (getLists): Cleanup.
15584 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15586 * lyxfont.C (update): don't honor toggleall on font size.
15588 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15592 * Makefile.am: moved to frontends/xforms/
15596 * BufferView_pimpl.C: changes for moved mathpanel
15598 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15600 * gettext.h: fix gettext_init() in --disable-nls
15602 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15604 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15606 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15609 * lyx.h: strip external form
15611 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15613 * BufferView_pimpl.C: add comment, destroySplash()
15615 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15617 * BufferView_pimpl.C:
15621 * lyxfunc.C: use re-worked insetinclude
15623 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15625 * buffer.C: add using std::stringstream.
15627 * lyx_cb.C: readd using std::ios.
15629 * buffer.C: add using std::map.
15631 * BufferView_pimpl.C: add using std::vector.
15633 * ShareContainer.h: add std:: to swap.
15635 * buffer.h: add some typedefs
15636 * buffer.C (getLists): use them
15637 (getLists): renamed from getTocList.
15638 add a counter for the different float types and use it in the
15640 (getLists): use the same counter for the NEW_INSETS and the "non"
15643 * lyx_cb.h: remove unused items, includes, using etc.
15645 * ShareContainer.h: remove some commented code, add more comments
15646 and "documentation".
15648 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15650 * buffer.C (getTocList): make the list also when NEW_INSETS is
15653 * buffer.h: remove TocType
15655 * buffer.C (getTocList): change to return a map<string,
15656 vector<TocItem> >, implement for dynamic number of list.
15658 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15659 * text2.C (PasteSelection): adjust
15660 * CutAndPaste.C (pasteSelection): adjust
15662 * FloatList.C (FloatList): update from the new_insets branch.
15663 * Floating.[Ch]: ditto
15664 * LaTeXFeatures.C: ditto
15666 * lyxlex_pimpl.C: ditto
15668 * paragraph.C (Last): remove when NEW_INSETS is defined.
15670 * other file: changes because of the above.
15672 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15674 * lyxparagraph.h: rename next to next_, previous to previous_,
15675 make them private for NEW_INSETS. Rename Next() to next(),
15676 Previous() to previous().
15678 * other files: changes because of the above.
15680 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15683 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15686 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15688 * main.C (main): pass lyx_localedir to gettext_init().
15690 * gettext.h: remove locale_init and gettext_init macros
15692 * gettext.C (locale_init): new function
15693 (gettext_init): new function
15695 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15698 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15700 * Moved credits to frontends:
15701 * credits.[Ch]: removed
15702 * credits_form.[Ch]: removed
15703 * lyx_gui_misc.C: remove credits stuff
15706 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15708 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15710 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15711 unneeded destructor.
15713 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15714 a standalone pointer again.
15716 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15718 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15724 * ToolbarDefaults.C:
15733 * BufferView_pimpl.C: use new file dialog in GUII
15736 * lyx_cb.C: remove LayoutsCB to Toolbar
15738 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15740 * ShareContainer.h (get): add std:: qualifier
15742 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15744 * ShareContainer.h: define a proper ShareContainer::value_type
15745 type (and use typename to please compaq cxx)
15747 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15749 * lyxparagraph.h: move serveral local vars to
15750 ParameterStruct/ParagraphParameters., use ShareContainer in
15751 FontTable., make vars in FontTable private and add getter and
15754 * paragraph.C: changes because of the above.
15756 * lyxfont.h: remove copy constructor and copy assignment. (the
15757 default ones is ok), move number inside FontBits. move inlines to
15760 * lyxfont.C: add number to initializaton of statics, move several
15761 inlines here. constify several local vars. some whitespace
15762 cleanup. Dont hide outerscope variables.
15764 * Spacing.h: add two new constructors to match the set methods.
15766 * ShareContainer.h: new file, will perhaps be moved to support
15768 * ParameterStruct.h: new file
15770 * ParagraphParameters.h: new file
15772 * ParagraphParameters.C: new file
15774 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15775 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15777 * BufferView_pimpl.C: ParagraphParameter changes.
15778 * buffer.C: Likewise.
15779 * bufferview_funcs.C: Likewise.
15780 * text.C: Likewise.
15781 * text2.C: Likewise.
15783 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15785 * lyxfind.C (LyXReplace): do not redefine default argument in
15787 (IsStringInText): ditto
15788 (SearchForward): ditto
15789 (SearchBackward): ditto
15791 2001-03-06 Juergen Vigna <jug@sad.it>
15793 * lyxfind.C (IsStringInText): put parentes around expressions.
15795 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15797 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15799 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15801 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15803 * stl_string_fwd.h: add comment
15805 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15808 * tabular.C: remove unused DocBook methods
15814 killed DO_USE_DEFAULT_LANGUAGE
15816 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15818 * lyx_gui.C: do not include language.h.
15820 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15821 arguments in function implementation.
15823 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15825 * BufferView_pimpl.C: add <ctime>
15827 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15829 * BufferView_pimpl.C: add using std::find_if
15831 2001-02-27 José Matos <jamatos@fep.up.pt>
15833 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15836 2001-02-11 José Matos <jamatos@fep.up.pt>
15838 * buffer.C (makeDocBookFile): command styles now have a parameter as
15839 "title" by default.
15841 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15843 * layout_forms.[Ch]: removed
15844 * lyx_cb.[Ch]: out character
15845 * lyx_gui.C: out character
15846 * lyx_gui_misc.C: out character
15847 * bufferview_funcs.C: : out character,
15848 added toggleall as parameter in ToggleAndShow
15850 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15852 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15854 * text2.C (SetCurrentFont): Disable number property at boundary.
15856 2001-02-26 Juergen Vigna <jug@sad.it>
15858 * lyxfunc.C (getStatus): added a string argument override function so
15859 that this is correctly called from LyXFunc::Dispatch if it contains a
15860 do_not_use_argument which is used!
15861 (Dispatch): added check for "custom" export and call appropriate func.
15863 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15865 * lyxrc.C: Add language_command_local, language_use_babel and
15866 language_global_options.
15868 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15870 * buffer.C (makeLaTeXFile): Use language_use_babel and
15871 language_global_options.
15873 2001-02-23 Juergen Vigna <jug@sad.it>
15875 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15876 which works with LyXText and putted it inside BufferView. Here now we
15877 only call for that part the BufferView::Dispatch() function.
15879 * BufferView.C (Dispatch): added.
15881 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15882 functions which needs to use a LyXText over from LyXFunc.
15883 (MenuInsertLyXFile): added
15884 (getInsetByCode): added
15885 (moveCursorUpdate): added
15886 (static TEXT): added
15888 2001-02-22 Juergen Vigna <jug@sad.it>
15890 * BufferView_pimpl.C (update): call a status update to see if LyXText
15893 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15895 * vc-backend.C (revert): implement for CVS
15896 (getLog): implement for CVS
15898 2001-02-20 Juergen Vigna <jug@sad.it>
15900 * text2.C (ClearSelection): added BufferView param for inset_owner call
15902 * lyxfunc.C (TEXT): added this function and use it instead of
15903 directly owner->view()-text of getLyXText().
15905 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15907 * src/layout_forms.C: out preamble
15908 * src/layout_forms.h: out preamble
15909 * src/lyx_cb.C: out preamble
15910 * src/lyx_cb.h: out preamble
15911 * src/lyx_gui.C: out preamble
15912 * src/lyx_gui_misc.C: out preamble
15913 * src/lyxfunc.C: connect with guii preamble
15915 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15917 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15919 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15921 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15922 whether to run bibtex.
15924 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15926 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15928 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15930 * Makefile.am (lyx_SOURCES): removed bibforms.h
15932 * vspace.h: doxygen
15934 * text.C (GetVisibleRow): make several local vars const
15936 * tabular.C: small cleanup.
15938 * lyxserver.C (callback): use compare instead of strncmp
15940 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15941 inlines to after class or to paragraph.C
15943 * lyxfont.h: remove friend operator!=
15945 * converter.h: move friend bool operator< to non friend and after
15948 * combox.h: small cleanup
15950 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15951 to inlines after class def.
15953 * buffer.C (pop_tag): use string operations instead of strcmp
15955 * bmtable.c: doxygen, small cleanup
15957 * LaTeX.h: remove friend operator==
15959 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15971 * BufferView_pimpl.C:
15972 * BufferView.[Ch]: remove cruft
15974 2001-02-14 Juergen Vigna <jug@sad.it>
15976 * lyxfunc.C: removed #if 0 unused code
15978 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15980 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15982 * text2.C (SetSelection): added a BufferView * parameter
15984 2001-02-13 Juergen Vigna <jug@sad.it>
15986 * lyxfunc.C (Dispatch): fixed protected blank problem.
15987 * BufferView2.C (protectedBlank): added LyxText * parameter.
15989 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15990 (AppendColumn): same as above for column_info.
15992 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15993 (moveCursorUpdate): use a LyXText param for support of InsetText.
15995 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15996 (tripleClick): ditto
15998 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16000 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16002 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16004 * text2.C (SetSelection): set correct update status if inset_owner
16005 (ToggleFree): ditto
16007 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16009 * tabular.C: remove some commented code.
16011 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16013 * BufferView_pimpl.C: call hideSplash()
16015 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16018 * bibforms.h: remove
16021 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16022 add LFUN_CHILD_CREATE
16024 * counters.h: fix tiny typo
16029 * lyx.C: move splash to frontends/xforms/
16031 * lyx_gui_misc.C: move Include and Bibform to frontends
16033 * lyxvc.h: clarify comment
16035 * vspace.C: tiny housekeeping
16037 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16039 * text.C (PrepareToPrint): RTL Fix.
16041 * paragraph.C (GetUChar): New method.
16042 (String): Use GetUChar.
16044 * buffer.C (asciiParagraph): Use GetUChar.
16046 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16048 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16050 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16053 * buffer.C: rename to getLogName(), handle
16054 build log / latex log nicely
16056 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16059 * MenuBackend.h: remove support for reference menuitem type.
16061 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16063 * BufferView_pimpl.C: housekeeping
16064 * BufferView_pimpl.h:
16069 * minibuffer.h: move Timeout GUI-I
16071 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16073 * lyxrc.C (read): Update converters data-structures.
16075 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16077 * LaTeX.h (operator!=): add operator != for Aux_Info
16079 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16081 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16083 * LaTeXLog.C: deleted, useful code moved to Buffer
16086 * buffer.C: new function getLatexLogName()
16092 * lyxfunc.C: use frontends for LaTeX and VC logs
16094 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16096 * LaTeX.h: yet another std:: that Allan forgot.
16098 * Variables.C (set): renamed from isset(), because this clashes
16099 with some HP-UX macros (grr).
16101 2001-02-06 Allan Rae <rae@lyx.org>
16103 * LaTeX.h: Another bug fix. Missing std:: this time.
16105 2001-02-04 Allan Rae <rae@lyx.org>
16107 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16108 floats problem. I've left it commented out because it's not quite
16109 correct. It should also test that the current object is a table or
16110 figure inset. But I haven't gotten around to figuring out how to do
16111 that. I *think* it'll be something like: "table" == inset.type()
16113 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16116 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16118 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16119 all the citation/databases/styles in the auxilary file.
16120 (run): Rerun latex if there was a babel language error.
16122 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16124 * text.C (Backspace): Preserve the font when changing newline char
16126 (BreakParagraph): If the cursor is before a space, delete the space.
16128 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16130 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16132 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16133 new argument (code).
16134 (ChangeCitationsIfUnique): New method.
16136 * paragraph.C (GetPositionOfInset): Handle bibkey.
16138 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16140 * BufferView_pimpl.h: change type of Position::par_pos to
16141 LyXParagraph::size_type.
16143 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16145 * BufferView_pimpl.C (savePosition, restorePosition): Write
16146 messages to minibuffer.
16148 2001-01-28 José Matos <jamatos@fep.up.pt>
16150 * buffer.C (makeDocBookFile): adds support for document language.
16151 A silly restriction on the name of LatexCommand types where removed.
16152 Added support for CDATA sections, allows to chars unescaped, used
16153 among others in code, to avoid escape < and >.
16155 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16157 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16158 saved positions instrad of a stack. Furthermore, a position is
16159 stored using paragraph id/paragraph position.
16161 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16162 Remove LFUN_REF_BACK.
16164 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16166 * converter.C (dvipdfm_options): New method.
16168 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16170 * vspace.C (isValidLength): Fix for empty input string.
16172 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16174 * LyXAction.C (init): change description of LFUN_FIGURE to
16177 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16179 * LaTeX.C: add using directive
16181 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16183 * MenuBackend.C (expand): Fix the sorting of the formats.
16185 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16187 * lyx_main.C: tiny error message fix
16189 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16191 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16192 calling fl_initialize(). This fixes the problem with ',' as
16193 decimal separator in text files.
16195 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16197 * trans.C (process): Fix the keymap bug.
16199 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16201 * LaTeX.C (scanAuxFiles): New method. Provides support for
16202 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16203 (scanLogFile) Scan for "run BibTeX" messages.
16205 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16206 OT1 font encoding. Also, load the aecompl package if the ae
16209 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16211 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16213 * texrow.C (increasePos): turn two error messages into debug
16216 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16218 * LaTeX.C (scanAux): Handle the \@input macro.
16219 (runBibTeX): Use scanAux().
16221 * language.C (latex_options_): New field.
16223 * LaTeXFeatures.C (getMacros): Add language macros.
16225 * buffer.C (makeLaTeXFile): Small fix.
16227 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16229 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16231 * text2.C: add a using directive.
16233 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16238 * lyxfunc.C: kill LyXBell.
16240 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16242 * text.C (IsBoundary): Remove the error message
16244 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16246 * lyxrc.C (setDefaults): Correct initialization value for
16249 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16251 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16254 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16255 and GotoNextNote().
16257 * src/LyXAction.C: Added reference-next.
16259 * text.C (InsertChar): Use contains instead of strchr.
16261 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16263 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16265 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16266 alignment commands (when needed).
16268 * text.C (InsertChar): Add ':' to number separator chars.