1 2004-11-02 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * text3.C (specialChar, dispatch): make sure cursor moves to the
4 right after inserting an inset
6 2004-11-02 José Matos <jamatos@lyx.org>
8 * output_docbook.C (docbook):
10 * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
11 garantee that the output is always legal.
13 * tabular.C (docbook):
14 * outputprams.[Ch]: remove mixed contents.
16 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
18 * text2.C (setCounter): prevent endless loop
20 2004-11-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
22 * exporter.C (copyFile): use the mover instead of support::copy()
23 * exporter.C (Export): pass format and latex name to copyFile()
24 * exporter.h (addExternalFile): document
25 * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
27 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
29 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
31 2004-10-30 José Matos <jamatos@lyx.org>
33 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
34 text and no inset or font change. This allows to use CDATA
35 sections just for the whole paragraph.
37 2004-10-30 José Matos <jamatos@lyx.org>
39 * paragraph.C (getFirstWord): remove unused variable.
41 2004-10-30 José Matos <jamatos@lyx.org>
43 * paragraph.C (getFirstWord): the content should always be escaped
45 (simpleDocBookOnePar):
46 * output_docbook.C (makeEnvironment): replace reference to CDATA
49 2004-10-30 José Matos <jamatos@lyx.org>
51 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
53 2004-10-30 José Matos <jamatos@lyx.org>
55 * output_docbook.C (makeParagraphs):
56 * paragraph.[Ch] (emptyTag): for docbook and company, if the
57 standard paragraph has only a given type of content drop the wrapper.
59 2004-10-29 José Matos <jamatos@lyx.org>
61 * output_docbook.C (makeEnvironment):
63 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
65 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
67 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
68 (cleanID): sanitize any id.
70 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
72 * buffer.C, lyxlex_pimpl.C:
73 * lyxlex_pimpl.C (setFile):
74 s/getExtFromContents/getFormatFromContents/
76 2004-10-28 José Matos <jamatos@lyx.org>
78 * output_docbook.C (makeEnvironment): move id to broadest possible
81 * sgml.C (openTag): apply substitution of <> for all attributes.
83 2004-10-28 José Matos <jamatos@lyx.org>
85 * buffer.C (makeLinuxDocFile, makeDocBookFile):
86 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
87 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
89 * sgml.[Ch]: new version for open and closeTag for paragraph and
90 for strings. Now they handle the ids of paragraphs.
92 2004-10-26 Angus Leeming <leeming@lyx.org>
94 * Makefile.am: add mover.[Ch].
96 * converter.C (convert, move): use the new Movers to move external
97 files to the temp directory.
99 * lyx_main.C (init): ensure that the global system_movers data
102 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
105 * mover.[Ch]: new files, defining a Mover as a utility to move an
106 external file between directories and, if necessary, manipulate this
107 file using a helper script.
109 2004-10-25 José Matos <jamatos@lyx.org>
111 * output_docbook.C (makeCommand): merge two if's that tested the
114 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
116 * sgml.C (escapeString): fix warning in a better way
118 2004-10-25 José Matos <jamatos@lyx.org>
120 * sgml.C (escapeString): import the require boosts header file for
121 tie, and avoid a signed unsigned comparison.
123 2004-10-25 José Matos <jamatos@lyx.org>
125 * sgml.h: add #include <string>
127 2004-10-25 José Matos <jamatos@lyx.org>
129 * sgml.[Ch] (escapeString): new function to escape all the string.
131 2004-10-24 José Matos <jamatos@lyx.org>
133 * paragraph.[Ch] (getFirstWord): new function to get the first
134 word. Useful for description.
135 (simpleDocBookOnePar): remove depth argument, add another that
136 says where to start the paragraph.
138 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
139 use the new functions to fix cleanly the support for descriptions.
141 2004-10-24 José Matos <jamatos@lyx.org>
143 * buffer.C (makeLinuxDocFile, makeDocBookFile):
144 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
145 * output_linuxdoc.C (linuxdocParagraphs):
146 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
147 add buffer as argument.
149 2004-10-24 José Matos <jamatos@lyx.org>
151 * output_docbook.C (makeEnvironment, searchEnvironment): place
152 CDATA inside paragraphs and fix scope for listitems.
154 2004-10-24 José Matos <jamatos@lyx.org>
156 * output_docbook.C: remove using statement for stack.
158 2004-10-23 José Matos <jamatos@lyx.org>
160 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
161 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
162 docbook. The new scheme is recursive and makes use of iterators, the
163 same as latex export works.
164 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
165 directly with the paragraph contents. This code was moved up to
166 output_docbook.C (docbookParagraphs).
167 * sgml.C (openTag, closeTag): removed unneeded newlines.
168 (closeEnvTags) removed.
170 2003-10-23 André Pönitz <poenitz@gmx.net>
172 * undo.C (textUndoOrRedo):
173 * dociterator.C (asDocIterator): work around crash
175 * cursor.C (getStatus): replace ASSERT by more verbose error message
176 and manual correction of the problem. Should increase stability
177 while providing more sensible information.
179 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
181 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
183 * bufferlist.C (previous, next): new methods
186 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
188 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
190 * buffer.C (makeDocBookFile): add dsssl stylesheet control
191 entities to preamble.
193 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
195 * messages.C (Pimpl): strip off translation context information
197 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
199 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
200 the cursor is correct (bug 1694)
202 2004-10-13 José Matos <jamatos@lyx.org>
204 * output_docbook.C (docbookParagraphs): fix closing tags in the
207 2004-10-09 José Matos <jamatos@lyx.org>
209 * buffer.C: format up to 237.
210 * bufferparams.C (write): use tostr to convert booleans to strings.
212 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
214 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
216 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
218 * LaTeX.C: implement use of babel language in xindy.
220 2004-10-05 José Matos <jamatos@lyx.org>
222 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
223 Add new translators to help reading and writing the lyx file.
225 2004-10-05 José Matos <jamatos@lyx.org>
227 * ParagraphParameters.C (read):
228 * text.C (readParToken): replace nexToken by more appropriate lex
231 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
233 * LaTeX.C (runMakeIndex):
234 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
235 (usually 'makeindex') configurable.
237 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
238 with a variable rather than with a number.
240 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
242 * output_latex.C (TeXOnePar): make sure font setting is the first
243 thing that gets output (and the last at the end). Should fix bug
246 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
248 * pch.h: use proper signal include
250 * LaTeX.h: Use preferred calling of Boost.Signal
253 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
255 * pch.h: dont include <boost/function/function0.hpp>
257 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
259 * paragraph_pimpl.h: remove usage of ShareContainer
261 * paragraph_pimpl.C: remove initialization of ShareContainer.
263 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
267 * BufferView.C (putSelectionAt): change the semantics when
268 backwards == true: now, this just swaps cursor and anchor wrt the
271 * BufferView.h (putSelectionAt): add some documentation
273 * lyxfind.C (findBackwards): rewrite using while(). In particular,
274 make sure backwardChar is done at least once (to avoid getting
276 (findNextChange): use putSelectionAt in the forward direction
277 (operator()): use Paragraph::isWord
279 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
281 * Spacing.C (set): c_str fix
283 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
285 * lyx_cb.C (Reconfigure): quote the name of configure script in
286 case it contains spaces
288 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
292 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
293 (BOOST_LIBS): use top_buildir when looking for the file
295 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
297 * pch.h: do not use include boost/format.hpp, multiple symbols
298 will result (gcc bug)
301 2004-08-23 José Matos <jamatos@lyx.org>
303 * bufferparams.C (readToken): fix reading of the author field.
305 2004-08-20 José Matos <jamatos@lyx.org>
307 * lyxrc.C: remove support/translator.h inclusion since it is not used.
309 2004-08-20 José Matos <jamatos@lyx.org>
311 * lyxlex.[Ch] (findToken): remove function.
313 * ParagraphParameters.C (findToken):
314 * bufferparams.C (findToken): replace call for previous function
315 with local copy. This local function has one more argument, the
316 read string argument.
318 2004-08-16 José Matos <jamatos@lyx.org>
320 * ParagraphParameters.C (write):
321 * Spacing.C (writeFile):
322 * bufferparams.C (writeLaTeX):
323 * lyx_cb.C (Reconfigure):
324 * paragraph.C (write):
325 * tabular.C (write): remove unnecessary space at end of line.
328 2004-08-16 José Matos <jamatos@lyx.org>
330 * text.C (readParagraph): remove debug message.
332 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
334 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
337 * output_plaintext.C (asciiParagraph): set depth correctly
339 * outputparams.h: add member depth
341 * paragraph_funcs.C (ownerPar): remove.
343 * text2.C (setCounter): remove first_pit; comment out some
344 non-working code that uses ownerPar
346 * BufferView.C (getParentLanguage): remove. Not used anymore, and
349 2004-08-16 José Matos <jamatos@lyx.org>
351 * text.C (readParToken, readParagraph, read): report all unknown tokens.
352 For the same level of importance use the same chanel to report problems.
353 (read): add code to deal with \begin_body and \end_body.
356 2004-08-15 José Matos <jamatos@lyx.org>
358 * lyxlex.C (getString): fix comment, buffer::readBody is now
361 * tex-strings.C (string_papersize): Default -> default,
362 Custom -> custom, for consistency with other options.
364 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
368 * Makefile.am: support pch
370 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
372 * text.C (readParToken): remove the static LyXFont variable and
373 pass it as a parameter instead. This fixes a nasty bug where an
374 inset will be inserted with a bad font in some situations
375 (readParagraph): adapt
377 * text2.C (setCounter): reduce number of calls to pars_[pit]
379 * text.C (singleWidth): add an assert, fix a test
381 * rowpainter.C (paintText): reduce number of calls to singleWidth
383 * paragraph.C (isHfill):
386 2004-08-14 André Pönitz <poenitz@gmx.net>
391 * lyxtext.h (several functions): use a Paragraph & argument
394 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
396 * metricsinfo.h: add a new field ltr_pos to PainterInfo
398 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
400 * text.C (singleWidth): remove useless test
402 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
404 * tabular.h: remove bogus comments
406 * tabular.C (getDescentOfRow):
407 (isPartOfMultiColumn): add assertions
409 * lyxlength.C (inPixels): remove #warning
411 2004-08-14 André Pönitz <poenitz@gmx.net>
413 * paragraph.h: inline getChar()
415 * BufferView.h: remove unused declarations
417 2004-08-14 José Matos <jamatos@lyx.org>
419 * Buffer.[Ch] (readDocument): new name for old readBody.
420 * Buffer.C: new file format, new keywords: \begin_document,
421 \begin_header, \begin_body, \end_body.
423 * bufferparams.C (readToken): replace all calls to lex.nextToken
424 by lex.next(). Do the same to eatLine except where really needed.
426 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
427 line when writing to the lyx file.
429 * output_plaintext.C (asciiParagraph): fix Bibliography style
432 * text.C (read): fix end of file handling.
434 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
436 * MenuBackend.C (Menu::operator[]): new method to access
437 individual menu items
438 (Menu::hasFunc): new method. search for an item that corresponds
440 (MenuBackend::specialMenu): new method
441 (MenuBackend::expand): if a special menu has been set, skip
442 entries whose func() appears in this menu
444 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
446 * text3.C: use Debug::DEBUG a bit more
448 * text.C (leftMargin): try to simplify a tiny bit change var x to
449 l_margin. Dont output the wide margins always.
450 (rightMargin): no margin in inner texts
452 * rowpainter.h (nestMargin): new func
453 (changebarMargin): new func
454 (rightMargin): new func
456 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
460 * factory.C (createInset): modify setDrawFrame
462 * cursor.C: use Debug::DEBUG a bit more
464 2004-08-14 André Pönitz <poenitz@gmx.net>
467 * Makefile.am: new files to accomodate an 'external' (x,y)-position
468 cache for all insets in (at least partially) visible (top-level)
471 * BufferView_pimpl.C: reset external coord cache before every update.
472 This means the coord cache only contains valid entries.
474 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
477 * BufferView_pimpl.C (getInsetByCode): move function out of class
478 and change in to a template in anon namespace. Also fix to do what
481 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
484 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
486 (breakParagraph): rename par to par_offset and use a local
487 reference. Add code to keep the language over a rebreak.
488 (breakParagraphConservative): rename par to par_offset, use a
490 (mergeParagraph): ditto
492 (isFirstInSequence): ditto
493 (outerFont): rename pit to par_offset
495 * paragraph.C: ws change
500 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
502 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
505 * paragraph.C (simpleTeXOnePar): when we have a \item with
506 optional argument, enclose the argument with curly brackets (in
507 case it contains a closing square bracket)
511 * text3.C (checkInsetHit): constify
513 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
515 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
518 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 Fix toggling of collapsable insets with the mouse (bug 1558)
522 * lyxfunc.C (dispatch): adapt to LCursor changes
524 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
525 make sure that dispatch is not invoked twice
527 * cursor.C (needsUpdate): new method
528 (dispatch): return void
529 (result): new method, to access the DispatchResult of the cursor.
531 2004-08-13 José Matos <jamatos@lyx.org>
533 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
535 2004-08-13 André Pönitz <poenitz@gmx.net>
537 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
539 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
542 2004-08-12 André Pönitz <poenitz@gmx.net>
544 * text3.C: take out the 'cursor right' form insertInset and only
545 do it in those places when it is really needed. Fixes crash on
548 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
550 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
552 * BufferView_pimpl.C (setBuffer): initialize the current font of
553 the underlying LyXText
555 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
557 * kbsequence.C (print): use UI native formatting for menu
560 * text.C (insertChar): call Paragraph::insertChar with a font
563 * paragraph.C (insertInset, insertChar): the version that takes a
564 LyXFont argument is now a wrapper around the other one (the
565 opposite used to be true).
567 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
568 argument. Font setting is done in Paragraph now.
570 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
572 * outputparams.h: add new members intitle and lang.
574 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
575 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
577 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
579 * text3.C (dispatch): remove special handling of button 4 and 5,
580 it is now taken care of in the frontend code.
582 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
584 * Spacing.h: add <string> (STLPort compile fix)
586 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
588 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
590 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
592 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
595 * converter.C (showMessage): inherit from unary_function, make
598 * buffer.C (writeFile): initialize retval
600 * InsetList.h: rename private variable list to list_
601 * InsetList.[Ch]: adjust accordingly.
603 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
605 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
606 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
607 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
608 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
609 * ParagraphParameters.C, LaTeXFeatures.C: replace
610 "support/std_sstream.h" with <sstream>
612 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
614 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
615 * lyxsocket.C (LyXServerSocket): ditto
616 (serverCallback): ditto
618 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
620 * LaTeXFeatures.C: check release date when loading jurabib.
622 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
624 * lyxserver.C (startPipe): call register_socket_callback
625 (endPipe): call unregister_socket_callback
627 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
629 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
630 (LyXServerSocket): register the callback
631 (LyXServerSocket): unregister the callback
632 (fd): delete function
633 (serverCallback): improve error checking and setup the callbacks.
634 (dataCallback): change arg to fd.
635 (writeln): new func (copied fro the client socket) used for server
637 (LyXDataSocket): simplify
638 (~LyXDataSocket): close ann unregiser callback
639 (server): delete function
640 (fd): delete function
641 (readln): small changes, improve some std::string usage
642 (writeln): constify a bit
644 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
649 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
651 * BufferView_pimpl.C (setBuffer): set the layout combox value only
652 after it has been populated
654 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
656 * text2.C (insertInset): move cursor when inserting inset.
658 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
660 * kbmap.C (findbindings): a couple of new methods. returns a
661 container of kb_sequence objects. The real work is done by the
662 private recursive version
663 (printbindings): uses findbindings to print out a bracketed list
664 of bindings (renamed from findbinding).
666 * MenuBackend.C (binding): use kb_keymap::findbindings
668 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
670 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
672 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
674 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
676 * paragraph.C (isWord): return true on insets that report
679 * text.C (getWord): use Paragraph::isWord to decide what is in a
680 word and what is not; fix bug 1609.
682 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
684 * tex-strings.C: add "none" to string_paperpackages[], fixes
685 off-by-one-error in the paperpackage selection.
688 * tex-strings.[Ch]: char const * string[n]
689 -> char const * const string[]
691 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
693 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
694 command, return early.
696 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
698 * debug.h: add DEBUG to enum and fix size of ANY.
700 * debug.C: add support for Debug::DEBUG
701 (showTags): cast errorTags.level to unsigned int
703 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
704 (redoCurrentBuffer): ditto
705 (updateScrollbar): ditto
706 * cursor.C (dispatch): ditto
707 * text2.C (setLayout): ditto
709 (updateCounters): ditto
711 (deleteEmptyParagraphMechanism): ditto
713 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
715 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
716 annotations to cleanup the Makefile slightly.
718 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
720 * lyxrc.C: do not set user_email to a default value but use empty
721 instead. The entry used to be translated, which does not work
722 since at the point where lyxrc is constructed there is no
723 translation service available
725 * messages.C (getLocaleDir): remove and use directly
726 lyx_localedir() instead
728 2004-06-02 Angus Leeming <leeming@lyx.org>
730 Fix crash caused by dereferencing null pointer 'exportdata' in
731 OutputParams by creating a new ExportData variable on the heap,
732 storing it in a boost::shared_ptr.
733 The crash was triggered when generating an Instant Preview
734 of an external inset.
736 * Makefile.am: add outputparams.C
738 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
739 (c-tor): allocate memory to it.
741 * exporter.C (c-tor): associated changes.
743 2004-06-01 Angus Leeming <leeming@lyx.org>
745 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
746 contains data before calling isInset(0). (Bug 1513.)
748 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
750 * exporter.C (checkOverwrite): new method
751 * exporter.C (copyFile): new method
752 * exporter.C (Export): copy referenced files to the document dir
753 * exporter.[Ch]: new class ExportedFile
754 * exporter.[Ch]: new class ExportData. Contains currently the
755 names of referenced external files
756 * outputparams.h: add exportdata member.
758 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
760 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
763 2004-05-19 Angus Leeming <leeming@lyx.org>
768 * lyxfunc.C: small changes due to the introduction of namespace
769 lyx::frontend and the moving of namespace biblio to lyx::biblio.
771 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
773 * text3.C (dispatch): supress update when only moving the cursor
774 * cursor.C (selHandle): remove commented code
776 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
778 * paragraph.C (startTeXParParams): correct column count
779 * CutAndPaste.C (pasteSelection): remove const_cast
780 * output_docbook.C (docbookParagraphs): remove const_cast
781 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
782 const_cast and return ParagraphList::const_iterator
783 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
784 * output_plaintext.C (writeFileAscii): remove const_cast
785 * paragraph.[Ch] (simpleTeXOnePar): make const
786 * paragraph_funcs.C (outerPar): use const iterators
787 * paragraph_pimpl.C (validate): use const iterators
788 * text.C (setHeightOfRow): use const iterators
790 2004-05-17 Angus Leeming <leeming@lyx.org>
793 * LyXAction.C (init): new LFUN_INSET_REFRESH.
795 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
796 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
797 if the citation engine has changed.
799 2004-05-14 José Matos <jamatos@lyx.org>
801 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
802 if the textclass does not provide it. Have it different for sgml and
804 support the language of document.
805 * output_docbook.C (docbookParagraphs):
806 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
807 first anchor as the id of the paragraph, remove special case code.
808 * sgml.C (escapeChar): escape only < & >.
810 2004-05-14 Angus Leeming <leeming@lyx.org>
812 * bufferparams.h: move biblio::CiteEngine enum here to minimize
813 dependencies on src/frontends/controllers/biblio.h. Define a
814 CiteEngine_enum wrapper class to enable the enum to be forward
817 2004-05-12 Angus Leeming <leeming@lyx.org>
819 * buffer.C: up LYX_FORMAT to 234.
820 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
821 use_numerical_citations with a single biblio::CiteEngine cite_engine
823 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
825 2004-05-13 José Matos <jamatos@lyx.org>
828 * converter.C (Converter, readFlags): add xml member.
829 * outputparams.h: add XML flavor.
830 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
832 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
834 * lyxfunc.C (dispatch):
835 (getStatus): fix handling of LFUN_SEQUENCE
837 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
839 * debug.C (showLevel): do not forget the end-of-line marker
841 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
843 * kbmap.C (read): do not stop parsing a bind file when an error
846 2004-04-29 Angus Leeming <leeming@lyx.org>
851 * text2.C: wrap a bunch of #warning statements
852 inside #ifdef WITH_WARNINGS blocks.
854 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
856 * buffer.C: increment format to 233.
858 2004-04-28 Angus Leeming <leeming@lyx.org>
860 * BufferView_pimpl.C:
863 s/updateToolbar()/updateToolbars()/
864 s/Toolbar.h/Toolbars.h/
866 2004-04-28 Angus Leeming <leeming@lyx.org>
868 * BufferView.[Ch] (c-tor):
869 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
870 No longer passes these data to the WorkArea generator.
872 2004-04-28 Angus Leeming <leeming@lyx.org>
874 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
876 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
878 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
880 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
882 * output_latex.C (TeXEnvironment): make sure that there is a line
883 break before \end{foo} for the last paragraph of a document
884 (TeXOnePar): if the paragraph is at the end of the document (or
885 inset) and the language has to be reset, then make sure that the
886 line break is _before_ the language command, not after (fixes bug
887 1225); also make sure that the language reset command is the first
888 thing after the paragraph (to ensure proper nesting of
889 environments and thus fix bug 1404)
891 2004-04-21 John Levon <levon@movementarian.org>
894 * ToolbarBackend.C: make "name" be a programmatic name
895 and a gui_name field.
897 * lyxfunc.C: display the minibuffer on M-x
899 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
901 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
904 2004-04-19 Angus Leeming <leeming@lyx.org>
906 * BufferView_pimpl.C (setBuffer): changed preview interface.
908 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
911 2004-04-19 John Levon <levon@movementarian.org>
913 * BufferView_pimpl.C:
914 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
916 2004-04-05 Angus Leeming <leeming@lyx.org>
918 * text.C (redoParagraphs): add call to updateCounters(), thereby
919 fixing the missing "Figure #:" label from the caption of a
922 2004-04-13 Angus Leeming <leeming@lyx.org>
924 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
925 cursor is clicked out of an inset.
927 2004-04-13 Angus Leeming <leeming@lyx.org>
929 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
930 than an InsetOld one.
932 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
934 * format.[Ch]: add editor to Format
935 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
936 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
938 2004-04-08 André Pönitz <poenitz@gmx.net>
940 * metricsinfo.h: remove PainterInfo::width member
942 2004-04-08 Angus Leeming <leeming@lyx.org>
944 * lyx_sty.C (boldsymbol_def): modify so that it outputs
945 "\providecommand" rather than "\newcommand", thereby preventing
946 clashes with packages that define "\boldsymbol" themselves.
949 2004-04-08 Angus Leeming <leeming@lyx.org>
951 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
952 thereby squashing an unnecessary warning.
954 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
956 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
959 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
961 * BufferView.C (setCursor): call redoParagraph (some insets could
963 (putSelectionAt): remove the 'double update' trick
965 * BufferView_pimpl.C (fitCursor): call refreshPar
966 (workAreaDispatch): remove an uneeded update call
967 (dispatch): remove some manual update calls
969 * cursor.[Ch]: remove cached_y_, updatePos
970 (selHandle): set noUpdate when appropriate
972 * lyxfunc.C (dispatch): track if we need an update
974 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
976 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
977 (paintSelection): cheap optimization, do not call cursorX when not
979 (paintPars): change signature
982 (paintTextInset): adjust
986 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
988 * lengthcommon.C: compilation fix: remove explicit array size from
989 unit_name[] and friends
991 2004-04-05 Angus Leeming <leeming@lyx.org>
993 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
995 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
996 present only for the preferences dialog.
997 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
999 2004-04-05 Angus Leeming <leeming@lyx.org>
1001 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
1002 to enable the frontends to export changes to lyxrc correctly.
1004 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
1006 2004-04-07 André Pönitz <poenitz@gmx.net>
1008 * cursor.[Ch] (selClear, adjust): remove math
1010 * cursor_slice.C: more agressive assert
1013 * BufferView_pimpl.C: rework mouse event dispatch
1020 2004-04-05 André Pönitz <poenitz@gmx.net>
1022 * cursor.[Ch] (valign, halign...): remove unneeded functions
1024 2004-04-05 Angus Leeming <leeming@lyx.org>
1026 * lyxlength.[Ch] (unit_name et al.): const-correct.
1028 2004-04-05 Angus Leeming <leeming@lyx.org>
1030 * BufferView_pimpl.C:
1039 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1041 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1043 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1045 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1047 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1048 * BufferView_pimpl.[Ch] (getStatus)
1049 * BufferView.[Ch] (getStatus): add
1050 * lyxfunc.C (getStatus): move lfuns handled in
1051 BufferView::dispatch to te function above
1052 * Cursor.C (setSelection): set selection() = true
1054 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1056 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1058 2004-03-31 Angus Leeming <leeming@lyx.org>
1060 * lyxfunc.C (dispatch): Fall through to the generic
1061 Dialogs::show("preamble").
1063 2004-03-31 Angus Leeming <leeming@lyx.org>
1065 * lyxfunc.C (dispatch): Fall through to the generic
1066 Dialogs::show("spellchecker").
1068 2004-03-31 Angus Leeming <leeming@lyx.org>
1070 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1073 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1078 * insetiterator.[Ch]:
1083 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1085 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1087 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1088 insets where we are putting the cursor.
1090 2004-03-31 Angus Leeming <leeming@lyx.org>
1093 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1095 * lyxrc.[Ch] (read, write): overloaded member functions taking
1096 a std::[io]stream arguments.
1098 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1100 2004-03-31 Angus Leeming <leeming@lyx.org>
1102 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1103 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1105 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1106 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1108 2004-03-31 Angus Leeming <leeming@lyx.org>
1110 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1111 the LFUN_ALL_INSETS_TOGGLE code.
1113 2004-03-30 Angus Leeming <leeming@lyx.org>
1115 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1116 has died. Fall through to the generic Dialogs::show("document").
1118 2004-03-30 Angus Leeming <leeming@lyx.org>
1121 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1122 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1124 * lyxfunc.C (getStatus, dispatch): define the actions for these
1125 lfuns. Little more than a cut and pste job from ControlDocument.C
1127 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1129 2004-03-30 Angus Leeming <leeming@lyx.org>
1132 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1133 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1135 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1136 open/closed state of ollapsable insets. Usage:
1138 all-inset-toggle <state> <name>, where
1139 <state> == "open" || "closed" || "toggle" and
1140 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1142 * lyxtext.h, text2.C (toggleInset): removed.
1144 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1145 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1146 now passes LFUN_INSET_TOGGLE to the found inset.
1148 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1149 is now invoked as "all-insets-toggle toggle branch".
1151 2004-03-30 Angus Leeming <leeming@lyx.org>
1155 * pariterator.[Ch]: added/corrected header blurb.
1157 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1159 * dociterator.[Ch]: add an inset_ member
1160 (backwardPos): implemented
1161 (backwardPos, forwardPos): use inset_ when the stack is empty.
1162 (doc_iterator_begin, doc_iterator_end): implemented
1163 * pariterator.[Ch]: adjust, add begin, end
1164 * insetiterator.[Ch]: adjust, add begin, end
1168 * BufferView_pimpl.C:
1169 * CutAndPaste.C: adjust
1171 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1173 * buffer.C: increment file format to 232.
1174 * LaTeXFeatures.C: add bibtopic package.
1175 * bufferparams.[Ch]: param \use_bibtopic.
1177 * lyxrc.[Ch]: add lyxrc bibtex_command
1178 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1180 * buffer.C: increment file format to 231.
1182 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1184 * dociterator.C: implement forwardPar
1185 * iterators.[Ch]: remove, replaced by
1186 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1188 * BufferView_pimpl.C:
1191 * bufferview_funcs.C:
1197 * Makefile.am: adjust
1199 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1201 * CutAndPaste.C (pasteSelection): fix 2 crashes
1202 (eraseSelection): fix a crash
1203 * paragraph_funcs.C: remove a warning
1205 2004-03-28 Angus Leeming <leeming@lyx.org>
1208 * LyXAction.C (init): new LFUN_PRINT.
1210 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1212 2004-03-27 Angus Leeming <leeming@lyx.org>
1215 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1217 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1219 2004-03-27 Angus Leeming <leeming@lyx.org>
1221 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1222 insetlist always contains non-null pointers to insets.
1224 2004-03-26 Angus Leeming <leeming@lyx.org>
1226 * src/BufferView_pimpl.C:
1227 * src/CutAndPaste.C:
1230 * src/output_plaintext.C:
1231 * src/outputparams.h:
1232 * src/paragraph_funcs.C:
1236 * src/frontends/controllers/ControlErrorList.C:
1237 * src/frontends/gtk/FileDialogPrivate.C:
1238 * src/frontends/gtk/GPainter.C:
1239 * src/frontends/gtk/GToolbar.C:
1240 * src/frontends/qt2/QRef.C:
1241 * src/mathed/math_scriptinset.C: squash compiler warnings.
1243 2004-03-26 Angus Leeming <leeming@lyx.org>
1245 * ispell.C (LaunchIspell::start):
1246 * lyx_cb.C (AutoSaveBuffer::start):
1247 invoke run(DontWait) rather than runNonBlocking().
1249 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1251 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1253 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1255 * kbsequence.C (print): adjust
1257 * kbmap.C (printKeySym): rename and change signature
1258 (printKey): use LyXKeySym::print()
1260 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1262 * undo.C: add using std::advance to compile for stlport
1264 2004-03-24 Angus Leeming <leeming@lyx.org>
1266 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1267 it leads to a crash when no buffer is present.
1269 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1270 Martin Vermeer <martin.vermeer@hut.fi>
1272 * lyxfunc.C (dispatch):
1273 * bufferparams.C (readToken): use the new LColor::setColor
1275 * LColor.[Ch] (setColor): new version that takes two strings as
1276 argument and creates a new color entry if necessary
1278 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1280 * buffer.C (makeLaTeXFile): if the main latex file that is
1281 processed is usually a subdocument of some master, then pretend
1282 for a while that it is actually the master
1284 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1286 * buffer.C (getLabelList):
1287 (getBibkeyList): use getMasterBuffer()
1288 (getMasterBuffer): new method. Returns the main document in the
1289 case where one is using included documents.
1291 2004-03-25 André Pönitz <poenitz@gmx.net>
1295 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1297 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1299 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1300 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1302 * ParameterStruct.h: merge with ParagraphParameters
1304 * lyxtext.h: remove LyXText::parOffset() and getPar()
1306 * text3.C: Remove all 'manual' update calls. We do now one per user
1307 interaction which is completely sufficient.
1311 * BufferView_pimpl.C:
1312 * FontIterator.[Ch]:
1314 * ParagraphParameters.[Ch]:
1319 * cursor_slice.[Ch]:
1326 * output_docbook.[Ch]:
1327 * output_latex.[Ch]:
1328 * output_linuxdoc.[Ch]:
1329 * output_plaintext.[Ch]:
1331 * paragraph_funcs.[Ch]:
1332 * paragraph_pimpl.[Ch]:
1340 * frontends/controllers/ControlDocument.C:
1341 * frontends/controllers/ControlErrorList.C:
1342 * frontends/controllers/ControlSpellchecker.C:
1345 * insets/insetbase.h:
1346 * insets/insetbibitem.C:
1347 * insets/insetbox.C:
1348 * insets/insetbranch.C:
1349 * insets/insetcaption.C:
1350 * insets/insetcharstyle.C:
1351 * insets/insetcharstyle.h:
1352 * insets/insetcollapsable.C:
1353 * insets/insetcollapsable.h:
1354 * insets/insetert.C:
1355 * insets/insetfloat.C:
1356 * insets/insetfoot.C:
1357 * insets/insetmarginal.C:
1358 * insets/insetnote.C:
1359 * insets/insetoptarg.C:
1360 * insets/insettabular.C:
1361 * insets/insettext.C:
1362 * insets/insettext.h:
1363 * insets/insetwrap.C:
1364 * mathed/math_mboxinset.C:
1365 * mathed/math_nestinset.C:
1366 * mathed/math_scriptinset.C:
1367 * mathed/math_scriptinset.h:
1370 2004-03-24 Angus Leeming <leeming@lyx.org>
1372 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1373 deal with any child processes that have finished but are waiting to
1374 communicate this fact to the rest of LyX.
1376 2004-03-24 Angus Leeming <leeming@lyx.org>
1378 64-bit compile fixes.
1380 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1381 (c-tor): pass lyx::pos_types rather than ints.
1383 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1386 * text.C (Delete): compile fix.
1387 (getPar): ensure that function declaration is the same as that in
1390 2004-03-23 Angus Leeming <leeming@lyx.org>
1392 * ispell.C (LaunchIspell):
1393 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1394 a boost::shred_ptr rather than a std::auto_ptr.
1396 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1398 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1399 handle LFUN_FILE_INSERT_*
1401 * lyxrc.C (setDefaults, getDescription, output, read):
1402 * lyxrc.h: remove ps_command
1404 2004-03-22 Angus Leeming <leeming@lyx.org>
1406 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1407 Ensure that error_handler is processed once only and that all data
1408 is saved before attempting to output any warning messages.
1410 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1412 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1414 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1416 2004-03-19 André Pönitz <poenitz@gmx.net>
1418 * cursor.[Ch] (reset): take main text inset as argument
1420 * BufferView: adjust
1421 * BufferView_pimpl.C: adjust
1423 * paragraph.[Ch]: fix completely broken operator=()
1425 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1427 * LColor.C (getFromLyXName): make sure that the color name is used
1430 2004-03-17 Angus Leeming <leeming@lyx.org>
1433 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1435 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1436 dialog and to kill a forked process.
1438 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1440 * text2.C (setCursorFromCoordinates): fix font problem
1442 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1444 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1445 bogus "rebuild cursor" code
1447 2004-03-11 André Pönitz <poenitz@gmx.net>
1449 * buffer.[Ch]: use InsetText instead of LyXText as container for
1452 * dociterator.[Ch]: drop the BufferView * member which is not needed
1453 anymore after the change to buffer.C
1455 * paragraph_funcs.C:
1459 * BufferView_pimpl.[Ch]:
1461 * cursor_slice.[Ch]: adjust
1463 * text3.C: fix bug in mathDispatch
1465 2004-03-08 André Pönitz <poenitz@gmx.net>
1467 * undo.[Ch]: use 'StableDocumentIterator' as base for
1470 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1473 * bufferparams.[Ch]: add jurabib support and param.
1475 * LaTeX.C: add FIXME/comment.
1477 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1479 * buffer.C: increment file format to 230.
1481 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1483 * cursor.C (dispatch): avoid infinite loops
1485 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1487 * rowpainter.C (paintSelection): fix x coordinates
1489 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1491 * text.C (rowBreakPoint): fix breaking before displayed insets
1493 2004-03-01 André Pönitz <poenitz@gmx.net>
1495 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1497 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1501 * BufferView_pimpl.C:
1509 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1515 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1516 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1518 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1520 * Bidi.[Ch] (computeTables): const correctness
1521 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1522 fill_hfill, fill_label_hfill and x from Row
1523 * lyxtext.h: prepareToPrint returns a RowMetrics
1524 * rowPainter.C: adjust
1525 * text.C (prepareToPrint): use width, not textWidth. adjust
1526 (redoParagraphInternal, cursorX): adjust
1527 * text2.C (getColumnNearX): adjust
1528 (init): put a default value to the top LyXText::width
1530 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1532 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1534 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1536 * lyxtext.h: add FontIterator class
1538 * text.C (FontIterator, operator*, operator->, operator++): add
1539 (rowBreakPoint, setRowWidth): adjust (fixing a
1542 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1544 * BufferView_pimpl.C (workAreaDispatch): allow also
1545 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1547 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1549 * text.C (rowBreakPoint): fix a bug showing with very large insets
1551 2004-02-25 André Pönitz <poenitz@gmx.net>
1554 * cursor.[Ch]: move some mathed specific code to mathed
1556 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1558 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1559 use_tempdir in preferences
1560 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1562 * lyx_main.C: ensure that tempdir is valid
1563 * lyxlex.h: correct typo
1564 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1565 * paragraph.[Ch] (isMultiLingual): make const
1566 * cursor.[Ch] (openable): make const
1568 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1570 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1572 2004-02-20 André Pönitz <poenitz@gmx.net>
1574 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1576 * cursor.[Ch]: prepare for localized getStatus()
1582 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1584 2004-02-20 André Pönitz <poenitz@gmx.net>
1586 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1588 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1590 * text2.C (setCursorFromCoordinates): switch to absolute coords
1592 (cursorDown): adjust
1593 * text3.C (dispatch): adjust
1595 2004-02-16 André Pönitz <poenitz@gmx.net>
1597 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1600 * cursor_slice.[Ch]: remove unneeded acessor function
1602 * lyxtext.h: rename rtl() to isRTL()
1610 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1612 * rowpainter.C (paintSelection): coord fix
1614 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1616 * Spacing.C: compile fix
1618 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1620 * cursor.C (dispatch): restore current_ before returning
1622 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1624 * text2.C (cursorUp, cursorDown): fix coords
1627 2004-02-12 André Pönitz <poenitz@gmx.net>
1632 * text3.C: add LCursor & parameter to most cursor movement functions
1633 remove usage of LyXText::cursorRow() and cursorPar()
1635 * cursor.[Ch]: add textRow() needed members
1638 * BufferView_pimpl.C:
1641 * BufferView_pimpl.C: adjust
1643 2004-02-11 André Pönitz <poenitz@gmx.net>
1647 * BufferView_pimpl.C: shift undo/redo handling
1649 * cursor.[Ch]: fix mathed crash
1652 * lyxtext.h: move selectionAsText to LCursor
1660 * rowpainter.C: fix excessive drawing
1662 2004-02-06 André Pönitz <poenitz@gmx.net>
1665 * BufferView_pimpl.[Ch]:
1666 * text3.C: move some text specific LFUN handling
1668 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1670 * text3.C (checkInsetHit): adjust coords
1671 * text2.C (getColumnNearX): adjust coords
1672 (edit): adjust coords
1673 * text.C (getRowNearY): add two asserts
1675 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1678 * format.C: add using std::distance to compile on gcc 2.95/stlport
1680 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1682 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1684 2004-02-04 André Pönitz <poenitz@gmx.net>
1686 * BufferView.[Ch] (insertInset):
1687 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1692 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1694 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1695 on the default clause of the switch
1696 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1697 wasn't catched by LCursor::dispatch
1699 2004-02-03 André Pönitz <poenitz@gmx.net>
1702 * cursor.[Ch]: some additional asserts
1704 * undo.[Ch]: remove LyXText dependency in interface
1708 * lyxtext.h (firstPar, lastPar): remove dead functions
1713 * paragraph.[Ch]: adjust
1715 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1717 * lyxfind.C (find): fix argument order in call to ::find
1719 2004-02-02 André Pönitz <poenitz@gmx.net>
1721 * cursor.[Ch]: remove direct access to anchor
1723 * text.C: remove findText() hack
1725 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1727 * iterators.[Ch] (lockPath): remove in favour of...
1728 * BufferView.[Ch] (setCursor): this addition
1729 * BufferView.C (putSelectionAt): adjust
1730 * undo.C (performUndoOrRedo): adjust
1731 * lyxfunc.C (dispatch): adjust
1733 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1735 * iterators.C (lockPath): add a missing slice
1736 * undo.C (performUndoOrRedo): remove redundant positioning code
1738 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1740 * vc-backend.C (scanMaster): ";" -> ';'
1742 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1744 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1745 std::binary_function
1747 * lyxtextclass.C (compare_name): rename to...
1748 (LayoutNamesEqual): ...this
1750 * lyxlex_pimpl.C (compare_tags): inherit from
1751 std::binary_function, put back into anon namespace
1753 * lyxfind.C (MatchString): inherig from std::binary_function
1754 (findChange): use empty() istead of !size()
1756 * format.C (FormatNamesEqual): new functor
1763 * converter.C (compare_Converter): rename to...
1764 (ConverterEqual): ...this, and fixup a bit.
1765 (getConverter): use it, and make function const
1766 (getNumber): use it, and make function const
1770 * bufferlist.C: add using boost::bind
1772 * MenuBackend.C (MenuNamesEqual): new functor
1773 (hasMenu): use it, and make function const
1774 (hasSubmenu): use nested bind to get rid of compare_memfun.
1776 2004-01-30 André Pönitz <poenitz@gmx.net>
1778 * BufferView_pimpl.C:
1781 * cursor_slice.[Ch]:
1784 * paragraph_funcs.C:
1785 * paragraph_funcs.h:
1789 * text3.C: move some of the edit(x,y) handling to the insets
1790 some coordinate changes.
1792 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1794 * text.C: add using statements for std::advance and std::distance
1796 * paragraph.C: add using statement for std::distance
1798 * lyxfind.C: add using statement for std::advance
1800 * cursor.C (region): remove std:: from swap
1801 (openable): use nucleus in stead of operator->
1803 * BufferView.C: add using statements for std::distance and std::swap
1805 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1807 * iterators.C: Remove the pimple, move the needed structures to
1808 the header file. Create accessor for the positions stack.
1809 (asPosIterator): remove function
1811 * PosIterator.C (PosIterator): move constructors to top of file
1812 (PosIterator): reimplement the constructor taking a ParIterator in
1814 (setFrom): new function
1815 (operator!=): inline it
1817 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1819 * lyxfind.C (replaceAll): use std::advance
1821 * iterators.h: inherit from std::iterator.
1823 * PosIterator.C (advance, distance): remove
1824 * PosIterator.h: interit from std::iterator.
1826 2004-01-26 André Pönitz <poenitz@gmx.net>
1829 * BufferView_pimpl.[Ch]:
1833 * bufferview_funcs.C:
1843 * output_linuxdoc.C:
1844 * output_plaintext.C:
1846 * paragraph_funcs.[Ch]:
1847 * paragraph_pimpl.[Ch]:
1853 * text3.C: more IU: dumps most of the rest of the mathcursor
1854 implementation into cursor.[Ch]; "globalize" a bit of it.
1856 2004-01-25 Angus Leeming <leeming@lyx.org>
1858 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1860 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1862 * LaTeXFeatures.h: add nice_ and nice() const
1863 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1865 2004-01-20 André Pönitz <poenitz@gmx.net>
1868 * BufferView_pimpl.C:
1870 * bufferview_funcs.C:
1872 * cursor_slice.[Ch]:
1883 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1884 LCursor and mathcursor parts to LCursor and InsetBase.
1886 2004-01-15 André Pönitz <poenitz@gmx.net>
1888 * cursor_slice.[Ch]: add a few covienience functions
1890 * funcrequest.[Ch]: remove BufferView * member
1892 * BufferView_pimpl.C:
1899 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1901 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1903 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1904 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1906 2004-01-13 André Pönitz <poenitz@gmx.net>
1909 * lyxtext.h: hide cursor and selection anchor behind accessor function
1912 * BufferView_pimpl.[Ch]:
1914 * bufferview_funcs.C:
1924 * cursor_slice.[Ch]: some integer type changes for inset unification
1926 * lyxcursor.[hC]: remove, it's CursorSlice now.
1929 * BufferView_pimpl.[Ch]:
1930 * bufferview_funcs.C:
1936 * textcursor.[Ch]: adjust
1938 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1940 * text2.C (undoSpan): add and use
1941 * text.C (breakParagraph): use undoSpan (fix bug 578)
1944 2004-01-08 Angus Leeming <leeming@lyx.org>
1946 * BufferView_pimpl.C (MenuInsertLyXFile):
1947 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1948 * lyxfunc.C (menuNew, open, doImport):
1949 FileFilterList change to the FileDialog open and save functions.
1951 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1953 * ShareContainer.h: make isEqual and isUnique adaptable
1955 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1957 2004-01-07 Angus Leeming <leeming@lyx.org>
1960 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1962 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1964 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1965 functions replacing find, replace and replaceAll.
1967 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1968 LFUN_WORDFIND(FORWARD|BACKWARD).
1970 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1972 * text.C (breakParagraph): remove an outdated #warning
1974 2004-01-07 André Pönitz <poenitz@gmx.net>
1976 * lyxfind.C: somewhat clearer logic
1978 * text.C: prevent crash in cursorX on unitialized row cache
1980 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1982 * lyxcursor.[Ch] (operator>): add
1983 * textcursor.C (selStart, selEnd): use std::min and std::max
1985 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1987 * Chktex.C: include boost/format.hpp
1989 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1991 * InsetList.C: replace functor MathcIt with adaptable functor
1993 (insetIterator): modify accordingly
1995 * BranchList.h: move the BranchNamesEqual functor here from...
1996 * BranchList.C: ... to here
1998 * BranchList.C: new BranchListEqual fuctor, use it. Remove
2000 (add): replace a finding loop with std::find_if.
2002 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
2004 * output_docbook.C: moving LatexParam functionality into
2007 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2009 * buffer.C: increment format to 229.
2011 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
2014 * lyx_sty.[Ch]: remove minipageindent_def
2020 * text3.C: remove LFUN_INSET_MINIPAGE
2022 2003-12-28 Angus Leeming <leeming@lyx.org>
2024 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
2026 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
2028 * text2.C (setParagraph): fix off-by-one crash
2030 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2032 * output_docbook.C: header stuff for AGU
2034 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2036 * text2.C (redoCursor): remove
2039 * BufferView_pimpl.C: remove calls to redoCursor and
2040 setCursor(cursor.par(), cursor.pos()) all around
2042 2003-12-15 Angus Leeming <leeming@lyx.org>
2044 * buffer.C: up the format to 228.
2046 2003-12-15 André Pönitz <poenitz@gmx.net>
2048 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2053 * BufferView_pimpl.C:
2062 2003-12-15 Angus Leeming <leeming@lyx.org>
2064 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2065 than getFromGUIName to manipulate the color.
2067 2003-12-14 Angus Leeming <leeming@lyx.org>
2069 * BranchList.[Ch]: minimize the API.
2070 (Branch::getBranch, getColor): now return a 'const &'.
2071 (Branch::setSelected) now returns a bool set to true if the
2072 selection status changes.
2073 (BranchList::clear, size, getColor, setColor, setSelected,
2074 allBranches, allSelected, separator): removed.
2075 (BranchList::find): new functions, returning the Branch with
2077 (BranchList::add, remove): return a bool indicating that
2078 the operation was successful.
2080 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2081 new InsetBranch::isBranchSlected member function.
2083 * LColor.[Ch]: mimimize the API.
2084 (fill): renamed as addColor and made private.
2085 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2086 versions of these functions taking a string arg have been removed.
2088 * bufferparams.C (readToken):
2089 * lyxfunc.C (dispatch):
2090 * lyxrc.C (read): changes due to the altered BranchList and
2093 * factory.C (createInset, readInset): changes due to altered
2096 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2099 * lyxfunc.C: remove insetminipage. "minipage-insert"
2100 now produces a frameless minipage box inset.
2102 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2104 * textcursor.[Ch] (selStart,selEnd): add new methods
2105 remove selection::start, end, use LyXCursor::operator<
2106 * lyxcursor.[Ch] (operator<): add
2107 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2108 * BufferView.[Ch] (unsetXSel): add
2109 * text2.C (clearSelection): use unsetXSel,adjust
2112 * rowpainter.C: adjust
2113 * bufferview_funcs.C (put_selection_at): adjust
2115 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2117 * BufferView_pimpl.C: small coord. correction
2119 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2121 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2122 dragging over the splash screen.
2124 2003-12-11 Angus Leeming <leeming@lyx.org>
2126 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2127 as it is now handled in LyXText::dispatch.
2129 * text3.C (doInsertInset): remove a level of nesting.
2131 2003-12-11 Angus Leeming <leeming@lyx.org>
2133 * factory.C (createInset): changes due to the changed interface to
2134 InsetCommandMailer::string2params.
2136 2003-12-10 Angus Leeming <leeming@lyx.org>
2138 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2139 'dialog-show-new-inset <inset name>'
2141 2003-12-10 Angus Leeming <leeming@lyx.org>
2143 * buffer.C: up the format to 227.
2145 * factory.C: the box inset is now identified simply by 'Box'.
2147 2003-12-10 Angus Leeming <leeming@lyx.org>
2149 * buffer.C: up the format to 226.
2151 * factory.C: the note inset is now identified simply by 'Note'.
2153 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2155 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2156 when a pit is enough. Standarize a couple of loops.
2158 2003-12-05 Angus Leeming <leeming@lyx.org>
2160 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2161 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2162 data to the re-worked "log" dialog.
2164 2003-12-03 André Pönitz <poenitz@gmx.net>
2170 * paragraph_funcs.C:
2172 * text2.C: use Inset::getText instead of Inset::getParagraph
2174 2003-12-03 André Pönitz <poenitz@gmx.net>
2178 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2179 InsetText::read() as LyXText::read()
2181 2003-12-02 Angus Leeming <leeming@lyx.org>
2183 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2184 type. Add a comment in the implementation that the function uses
2185 the stream's bad() function rather than fail() as the std::streams
2188 2003-12-02 André Pönitz <poenitz@gmx.net>
2190 * lyxlex.[Ch]: make interface more similar to std::stream
2192 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2194 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2196 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2198 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2200 * vspace.[Ch]: remove VSpace::NONE
2202 2003-12-01 André Pönitz <poenitz@gmx.net>
2205 * lyxtext.h: move ParagraphList member to LyXText
2206 rename LyXText::ownerParagraphs to LyXText::paragraph
2209 * bufferview_funcs.C:
2219 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2221 * undo.C: fix cursor positioning
2223 2003-12-01 John Levon <levon@movementarian.org>
2225 * BufferView_pimpl.C: fix a crash on exit with
2228 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2230 * BranchList.C: fix setSelected() method.
2232 2003-11-28 André Pönitz <poenitz@gmx.net>
2234 * ParagraphParameters.[Ch]:
2235 * ParameterStruct.h: remove space above/below from Paragraph to
2238 * BufferView_pimpl.C:
2244 * paragraph_funcs.C:
2250 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2252 * factory.C: Syntax change for CharStyles
2254 2003-11-28 André Pönitz <poenitz@gmx.net>
2259 * buffer.[Ch]: move LyXText member
2261 2003-11-28 André Pönitz <poenitz@gmx.net>
2263 * BufferView.[Ch]: make LyXText * text a private member
2265 * BufferView_pimpl.C:
2276 * output_plaintext.C: cleanup
2278 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2281 * lyxtextclass.[Ch]: parametrize SGML document header
2283 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2286 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2289 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2291 * text2.C (setFont): rework using PosIterator (no more recursive)
2292 (setCharFont): no more needed
2293 (setLayout): no more selection cursors fiddling (done by redoCursor)
2294 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2295 destroy remaining ones)
2297 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2299 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2301 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2304 * text3.C: adjust + re-allow multi par depth changes
2305 * textcursor.C: simplify a bit
2307 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2313 * src/output_docbook.C:
2314 * src/output_latex.C:
2319 * src/text2.C: Introducing a number of tags parametrizing various
2320 XML formats that we may want to support
2322 2003-11-25 André Pönitz <poenitz@gmx.net>
2324 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2326 * lyxtext.h (leftMargin/rightMargin): simplify interface
2333 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2335 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2336 master file to any child files. Fixes bug 546.
2338 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2340 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2342 2003-11-24 André Pönitz <poenitz@gmx.net>
2344 * rowpainter.C: simplification
2346 * text2.C (updateCounters): remove call to redoParagraph on
2347 changed labels as this is far too expensive.
2349 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2351 * converter.C (convert): fix a crash: this function gets
2352 called with buffer == 0 from importer code.
2354 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2356 * text3.C (cursorPrevious): make sure that we do not compare
2357 iterators form different containers.
2360 * rowpainter.C (paintSelection): make sure that we do not compare
2361 iterators from different containers.
2363 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2364 iterators from different ParagraphList containers.
2367 * text2.C (LyXText): change order of initialization slightly
2368 (operator=): new function. copy all variables except cache_par_
2369 (moveUp): make sure that we do not compare iterators from
2370 different ParagraphList constainers.
2373 * text.C (firstPar): new function
2374 (lastPar): new function
2375 (endPar): new function
2377 * lyxtext.h: move things around and group public functions, public
2378 variables, private functions, private variables
2380 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2382 * factory.C: change call to InsetERT constructor to avoid
2383 additional invocation of method status
2384 * text2.C (toggleInset): remove redundant update() call
2385 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2386 instead of a Bufferview pointer
2388 2003-11-21 André Pönitz <poenitz@gmx.net>
2390 * rowpainter.C: simplification
2392 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2394 * text3.C (dispatch): make possible to extend a word/row selection
2397 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2399 * lyxtext.h: x0_,y0_ -> xo_,yo_
2400 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2401 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2402 * rowpainter.C (paintRows): paint full paragraphs
2404 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2406 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2409 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2411 * lyxtext.h: add x0_, y0_
2412 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2413 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2415 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2417 * text2.C (setCursorIntern): move the x_target update here *
2418 * text3.C: change some bv() to true/false in calls to
2419 cursorUp/Down/Right/Left
2420 * cursor.C: use helper function.
2422 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2424 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2425 * paragraph_funcs.[Ch]: correct comment
2426 * rowpainter.C: do not paint selections away from bv->cursor()
2427 Fix a long standing selection painting bug.
2428 * text3.C: generalize mouse-selection code to LyXTexts other that
2430 * textcursor.C: do not use y coords if we can use par offsets
2432 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2434 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2435 cursor position after e.g. inset insert)
2437 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2439 * lyxfind.C (replace): adjust to locking removal + some
2442 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2444 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2447 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2450 * output_docbook.C: XML sanitation: new layout
2451 parameters InnerTag and CommandDepth
2453 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2455 * BufferView_pimpl.C:
2457 * text3.C: Fix the insertion and modification of button-style
2460 2003-11-13 André Pönitz <poenitz@gmx.net>
2462 * InsetList.[Ch]: remove deleteLyXText
2464 * paragraph.[Ch]: cache beginOfBody position
2469 * text3.C: remove superfluous update() calls
2473 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2475 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2476 * BufferView.C (fitLockedInsetCursor): remove
2477 * cursor.[Ch] (getDim): add
2478 * text.C (getRowNearY): add faster version
2479 * text3.C: remove some update calls
2481 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2493 * text3.C: The Character Style /XML short element patch.
2495 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2498 * factory.C: Small step to solving 'unable to insert some insets'
2501 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2503 * cursor.[Ch] (updatePos): new function for updating the y
2504 position of the tip inset
2505 * bufferview_funcs.C (put_selection_at):
2506 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2508 2003-11-11 André Pönitz <poenitz@gmx.net>
2510 * text.C: remove big comment on invalid Paragraph pointers as it is
2513 2003-11-11 André Pönitz <poenitz@gmx.net>
2515 * text_funcs.[Ch]: merge with ...
2523 * Makefile.am: remove text_funcs.[Ch]
2525 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2527 * cursor.C (getPos): return absolute cached y coord
2529 * BufferView_pimpl.C (fitCursor): new simplistic code
2530 (workAreaDispatch): add a fitCursor call
2532 2003-11-10 André Pönitz <poenitz@gmx.net>
2535 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2537 2003-11-10 André Pönitz <poenitz@gmx.net>
2539 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2540 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2541 indicate that the cursor needs to leave an inset
2543 * lyxtext.h: remove inset locking
2545 * cursor.[Ch]: re-implement functionality provided by inset locking
2548 * BufferView_pimpl.[Ch]:
2550 * bufferview_funcs.[Ch]:
2562 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2564 * PosIterator.[Ch]: replace the stack with a vector, add inset
2566 * iterators.[C]: adjust
2568 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2570 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2572 * paragraph_funcs.C (readParToken): put the correct id in the
2573 error item, not the id of the top paragraph
2575 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2577 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2578 * bufferview_funcs.C (put_selection_at): use the above
2580 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2582 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2584 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2586 * output_linuxdoc.h:
2587 * output_plaintext.h:
2589 * output_docbook.h: add #include statements
2591 2003-11-05 José Matos <jamatos@lyx.org>
2593 * output_docbook.[Ch]:
2594 * output_latex.[Ch]:
2595 * output_linuxdoc.[Ch]:
2596 * output_plaintext.[Ch]: New files for output formats.
2597 * output.[Ch]: New file for helper functions.
2600 * paragraph_funcs.[Ch]: output functions moved to new files.
2602 * outputparams.h: rename of latexrunparams.h
2610 * paragraph_funcs.[Ch]:
2611 * paragraph_pimpl.[Ch]:
2612 * tabular.[Ch]: rename ascii to plaintext
2613 and LatexRunParams to OutputParams.
2615 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2617 * iterators.[Ch] (text): require bv argument
2618 * undo.C (recordUndo):
2619 * lyxfunc.C (dispatch):
2620 * bufferview_funcs.C (put_selection_at): adjust
2622 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2624 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2626 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2628 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2631 2003-11-04 André Pönitz <poenitz@gmx.net>
2633 * cursor.[Ch]: restructure
2636 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2638 * iterators.[Ch] (asCursor): remove
2640 * lfuns.h: remove LFUN_INSET_EDIT
2646 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2648 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2650 * lyxfind.[Ch]: complete overhaul
2651 * BufferView_pimpl.C:
2653 * paragraph.[Ch] (insert): add
2655 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2659 * text.C: remove dead spellcheck code
2661 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2663 * dispatchresult.h: add a val setter
2665 * cursor.C (dispatch): use a tempvar for data_[i]
2667 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2669 * PosIterator.[Ch]: compile fix
2671 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2673 * text.C (cursorPar): deactivate the cursor cache
2675 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2677 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2679 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2681 * text3.C (dispatch): adjust for new DisptchResult semantics.
2683 * lyxfunc.C (dispatch): handle update when return from
2684 Cursor::dispatch, adjust for new DispatchResult semantics.
2686 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2687 DispatchResult(true) mean to not update. Add class functions for
2688 setting dispatched and update, as well as reading.
2690 * cursor.C (dispatch): don't handle update here
2692 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2694 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2695 * trans_mgr.C: adjust
2697 * paragraph_funcs.C (readParToken): exception safety
2699 * lyxvc.h: store the vcs pointer in a scoped_ptr
2702 * lyxsocket.C (serverCallback): exception safety
2704 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2706 * ispell.C (clone): make it return a auto_ptr
2708 * factory.C (createInset): exception safety
2709 (readInset): exception safety
2711 * bufferlist.C (newBuffer): exception safety
2713 * Thesaurus.C (Thesaurus): use initialization for aik_
2715 * MenuBackend.C (expandToc): exception safety.
2717 2003-11-03 André Pönitz <poenitz@gmx.net>
2721 * bufferview_funcs.C: remove getInsetFromId()
2724 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2730 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2732 * PosIterator.C (distance, advance): new
2733 * bufferview_funcs.[Ch] (put_selection_at): new
2734 * iterators.[Ch] (lockPath): new
2736 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2738 * iterators.[Ch] (asPosIterator): added
2739 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2740 * PosIterator.[Ch]: added
2742 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2746 * cursor.C (dispatch):
2747 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2749 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2750 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2751 contructor, add a class function dispatched. Remove operator>=
2753 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2755 * debug.C: only use the default constructor for debugstream
2758 * main.C (main): include debug.h and setup the lyxerr streambuf
2761 2003-10-31 José Matos <jamatos@lyx.org>
2763 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2765 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2766 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2767 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2768 * paragraph_pimpl.C (simpleTeXSpecialC):
2769 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2770 add LatexRunParams argument.
2772 * exporter.C (Export): change call accordingly.
2774 * latexrunparams.h: add new member to take care of the other backends.
2775 2003-10-30 José Matos <jamatos@lyx.org>
2777 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2778 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2779 factorise code for paragraph output.
2781 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2784 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2786 * text3.C (dispatch):
2787 * lyxfunc.C (dispatch):
2788 * cursor.C (dispatch):
2789 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2791 * dispatchresult.h: make the dispatch_result_t ctor explicit
2793 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2796 * buffer.C: small refactoring of docbook stuff
2798 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2800 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2803 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2805 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2806 operator dispatch_result_t, and operators for == != and >=
2808 * cursor.C (dispatch): adjust for operator dispatch_result_t
2809 removal. comment out call to update
2811 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2813 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2821 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2824 * dispatchresult.h: new file, DispatchResult broken out of
2827 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2829 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2831 * text.C (rowBreakPoint): put a hack inside #if 0
2833 2003-10-28 André Pönitz <poenitz@gmx.net>
2837 * paragraph_funcs.C:
2840 * text2.C: general cleanup (lots of small stuff)
2842 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2844 * text2.C (cursorEnd): simple fix to the "end key goes to one
2845 before the end on last row" bug
2847 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2849 * text.C (backspace): fix the "zombie characters"
2851 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2853 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2855 2003-10-27 André Pönitz <poenitz@gmx.net>
2857 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2859 * factory.C: handle new InsetPagebreak, InsetLine
2861 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2862 and move handling into new InsetPagebreak, InsetLine
2864 * BufferView_pimpl.C:
2866 * ParagraphParameters.C:
2867 * ParameterStruct.h:
2872 * paragraph_funcs.C:
2873 * paragraph_pimpl.C:
2879 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2882 * lyxrow_funcs.[Ch]:
2888 * text3.C: remove lastPos uses in favour of Row::endpos
2890 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2892 * undo.C (performUndoOrRedo): fix two crashes by setting a
2893 cursor by hand and reordering some calls. Use bv->lockInset instead
2894 of inset->edit because the latter loses cursor information
2896 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2898 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2900 (rowBreakPoint): fix width. change point to point + 1.
2901 Add a missing check.
2903 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2906 * lyxfunc.C: fix (at least partly) the problems
2907 with the Nav menu and headers inside branch insets
2910 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2912 * paragraph.C (getChar): add strong asserts
2914 * lyxrow_funcs.C (lastPos): remove hideous hack
2916 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2917 (fill): adjust to that (avoid an infinite loop)
2919 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2921 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2923 2003-10-23 André Pönitz <poenitz@gmx.net>
2925 * RowList_fwd.h: change list<> to vector<> to gain speed
2926 after suggestion from Alfredo
2928 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2930 * lyxtext.h: move the bidi stuff from here...
2933 * Bidi.[Ch]: ... to here
2935 2003-10-23 André Pönitz <poenitz@gmx.net>
2938 * text.C (isLastRow, isFirstRow): new functions
2940 * paragraph.h: new width cache member
2942 * rowpainter.C: replace RowList::iterator with Row & where possible
2944 * lyxfunc.C: replace several view()->text with a single call
2946 * toc.C: fix 'unused' warning
2948 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2950 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2951 when woring with stream::pos_type
2952 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2954 2003-10-22 André Pönitz <poenitz@gmx.net>
2957 * text.C: use Row & instead of RowList::iterator
2959 * lyxrow.h: rename end() to endpos()
2965 2003-10-22 Angus Leeming <leeming@lyx.org>
2967 * buffer.[Ch] (fully_loaded): new member function, returning true
2968 only when the file has been loaded fully.
2969 Used to prevent the premature generation of previews and by the
2970 citation inset to prevent computation of the natbib-style label.
2972 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2973 templates are all set up.
2975 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2977 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2979 * text.C: fixed an "oops" in the "is a bit silly"
2982 2003-10-21 André Pönitz <poenitz@gmx.net>
2984 * FuncStatus.[Ch]: small stuff, whitespace
2986 * lyxfont.[Ch]: operator<<() for debug reasons
2990 * lyxtext.h: whitespace, spelling
2992 * paragraph.C: naming of variables
2995 * text2.C: small stuff
2998 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
3000 * text.C: (1) finish off the inset display() work;
3001 (2) fix the "is a bit silly" bug (accessing char
3004 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
3006 * text.C: re-introduce display() for insets, fixing the
3007 various bugs (stretch of line above, math inset
3010 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3012 * text.C (rightMargin): remove spurious semicolon
3014 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
3017 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
3019 * text3.C: fix one crash due to wrong cursor def
3021 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3023 * vc-backend.C (scanMaster): make the regex static
3025 * LaTeX.C (scanAuxFile): make the regexs static
3027 * text3.C (doInsertInset, dispatch, dispatch):
3028 * text2.C (cursorUp, cursorDown):
3029 * text.C (selectNextWordToSpellcheck):
3030 * BufferView_pimpl.C (dispatch):
3031 * lyxfunc.C (dispatch): localDispatch -> dispatch
3033 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3035 * lyxsocket.C: include <cerrno>
3037 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3039 * lyxfunc.C (dispatch): remove textcache stuff
3041 * bufferlist.C (release): remove textcache stuff
3044 * TextCache.C: delete file
3045 * TextCache.h: delete file
3047 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3049 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3050 delete of the bv_->text.
3051 (resizeCurrentBuffer): remove texcache stuff
3052 (workAreaResize): ditto
3054 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3056 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3059 2003-10-16 André Pönitz <poenitz@gmx.net>
3066 * text3.C: speed up by storing y positions per paragraph plus per-row
3067 offset instead of having a 'full' y position in the row.
3069 2003-10-15 André Pönitz <poenitz@gmx.net>
3073 * undo.[Ch]: make undo aware of inner insets
3075 2003-10-14 Angus Leeming <leeming@lyx.org>
3077 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3078 static member functions LyX::ref() and LyX::cref.
3079 (lastfiles): new accessor functions for the new lastfiles_ member var.
3080 (addLyXView, views_): add a new LyXView to the list of views_.
3081 (updateInset): loop over all LyXViews to call their own updateInset
3082 member function, returning a pointer to the Buffer owning the inset.
3084 * BufferView_pimpl.C (loadLyXFile):
3085 * MenuBackend.C (expandLastfiles):
3086 * bufferlist.C (MenuWrite, QuitLyX):
3087 lastfiles is no longer a global variable.
3088 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3090 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3091 static function. Access through LyX::cref().emergencyCleanup().
3093 2003-10-14 André Pönitz <poenitz@gmx.net>
3095 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3097 * undo.[Ch]: restoring part of 'undo in insets'
3100 * undo_funcs.[Ch]: merge with undo.[Ch]
3102 * tabular.C: small cleansing stuff
3104 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3106 * paragraph_funcs.C (readParToken): report unknown insets as error
3107 boxes. Use the outer paragraph as location (also for unknown
3110 * factory.C (readInset): do not abort on reading an unknown inset.
3111 Eat it and return 0.
3113 2003-10-13 Angus Leeming <leeming@lyx.org>
3115 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3117 * lyxrc.C: displayTranslator is now a function,
3118 declared in GraphicsTypes.h.
3120 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3122 * format.C: new placeholder $$a to pass the socket address.
3124 * bufferlist.[Ch]: new function getBufferFromTmp.
3126 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3127 files in the temporary dir.
3129 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3131 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3133 * Makefile.am: add lyxsocket.[Ch].
3135 * lyx_main.C (error_handler): handle SIGPIPE.
3137 2003-10-13 André Pönitz <poenitz@gmx.net>
3139 * BufferView_pimpl.C:
3144 * undo_funcs.[Ch]: use paroffset_type instead of
3145 ParagraphList::iterators to prevent multiple conversion
3146 (and get a more robust interface)
3148 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3150 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3152 * text3.C (dispatch): ditto
3154 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3156 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3157 move the onlyfile, use onlyfile instead of foundfile in a couple
3160 * DepTable.C (update): flush the error stream a bit more
3162 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3164 * lyxserver.C (callback): adjust
3166 * lyxfunc.C (getStatus): add a missing brace in commented code
3167 (ensureBufferClean): reindent
3168 (dispatch): delete version taking a string
3170 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3172 * LaTeX.C (deplog): move found file handlig from here...
3173 (handleFoundFile): .. to new function here.
3174 (deplog): make sure to discover several files mentioned on the
3177 2003-10-10 André Pönitz <poenitz@gmx.net>
3184 * text3.C: fix some of the tabular crashes
3186 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3188 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3190 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3192 2003-10-09 André Pönitz <poenitz@gmx.net>
3194 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3197 * BufferView_pimpl.C:
3198 * bufferview_funcs.C:
3209 * undo_funcs.C: adjust
3211 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3213 * text2.C (incrementItemDepth): new function, use a backtracking
3214 algorithm to discover the correct item depth.
3215 (resetEnumCounterIfNeeded): new function, use a backtracking
3216 algorithm to discover if counter reset is needed.
3217 (setCounter): use them. Simplify a bit. Add different labels for
3218 different item depths for itemize.
3220 * paragraph.C (Paragraph): remove initialization of enumdepth
3223 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3224 enumerate and itemize. Change the type of itemdepth to signed char.
3226 2003-10-08 André Pönitz <poenitz@gmx.net>
3228 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3233 * tabular.[Ch]: fix crash after 'row-insert'
3235 2003-10-08 Angus Leeming <leeming@lyx.org>
3237 Fix doxygen warnings.
3239 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3240 Remove CutAndPaste:: prefix from header file declaration.
3242 * LColor.h (fill): remove LColor:: prefix from declaration.
3244 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3245 use lyx::depth_type rather than Paragraph::depth_type so that
3246 header file and .C file match.
3248 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3250 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3251 * aspell.C: \file aspell_local.C -> \file aspell.C
3252 * gettext.C: \file gettext.C -> \file src/gettext.C
3253 * gettext.h: \file gettext.h -> \file src/gettext.h
3254 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3255 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3256 * text.C: \file text.C -> \file src/text.C
3258 * toc.C: move comment so that doxygen is not confused.
3260 2003-10-07 Angus Leeming <leeming@lyx.org>
3262 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3264 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3267 * aspell_local.h: add forgotten std::string's.
3269 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3276 * text3.C: The Box patch. Fancybox support, minipage, parbox
3278 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3284 * ParagraphParameters.h:
3294 * lyxtextclasslist.h:
3297 * paragraph_pimpl.C:
3298 * textcursor.h: add <string> and other small fixes to make Lars'
3299 std::string patch compile with STLport.
3301 2003-10-06 Angus Leeming <leeming@lyx.org>
3303 * LColor.h: Add missing #include <string>.
3305 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3307 * All most all file in all subdirs: Make <string> be the prefered
3308 way of getting to std::string, add using declarations.
3310 2003-10-06 André Pönitz <poenitz@gmx.net>
3312 * metricsinfo.C: initialize LyXFont before changing attribute.
3313 (fixes the 'math in \emph is upright' bug)
3315 2003-10-06 André Pönitz <poenitz@gmx.net>
3317 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3319 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3322 * paragraph_pimpl.C: Small fixes to build using STLport
3324 2003-10-02 André Pönitz <poenitz@gmx.net>
3327 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3329 2003-10-01 André Pönitz <poenitz@gmx.net>
3331 * factory.C: assert early
3333 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3335 * lyx_main.C: remove the global debug object
3337 * debug.h: adjust for new debugstream
3339 * debug.C: adjust for new debugstream and keep the global debug
3342 2003-09-22 Angus Leeming <leeming@lyx.org>
3344 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3345 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3346 an incomplete class LyXFont.
3348 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3350 * factory.C: bug fix in branches
3352 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3354 * lyxfunc.C (processKeySym): adjust
3356 (dispatch): change arg name from ev to func, adjust
3357 (sendDispatchMessage): ditto
3359 * lyx_main.C (defaultKeyBindings): adjust keybindings
3360 (deadKeyBindings): ditto
3362 * kbsequence.C (addkey): return a FuncRequest
3364 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3366 * kbmap.C (bind): take a FuncRequest as arg, adjust
3369 (defkey): change to take a FuncRequest as arg, adjust
3370 (findbinding): take a FuncRequest as arg, adjust.
3372 * funcrequest.h (operator=): added
3374 * funcrequest.C (FuncRequest): default kb_action changed from
3375 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3377 * buffer.C (dispatch): simplify
3378 (dispatch): adjust to take a FuncRequest as arg, adjust
3380 * boost.C (assertion_failed): change assertion message slightly
3382 * ToolbarBackend.C (read): simplify
3384 * MenuBackend.C (binding): adjust call to findbinding, add a
3385 message if no binding is found.
3387 (expandToc): correct by adding a empty FuncRequest
3389 * LyXAction.C: include <boost/assert.hpp>
3390 (isPseudoAction): delete function
3391 (LookupFunc): change name to...
3392 (lookupFunc): this. change return type to FuncRequest.
3393 (getActionName): take kb_action as arg, simplify
3394 (funcHasFlag): add an assert, simplify.
3396 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3398 * toc.C (action): return a FuncRequest, simplify
3400 * lyxfunc.C (processKeySym): adjust
3401 (getStatus): delete version that takes an int.
3403 (dispatch): delete version that takes action as int
3405 (sendDispatchMessage): simplify and adjust
3407 * funcrequest.C (getArg): take unsigned int as arg
3409 * ToolbarBackend.C (read): adjust
3410 (add): delete version that takes func as a string.
3411 (getIton): take a FuncRequest as arg
3413 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3416 * MenuBackend.C (MenuItem): add a new construct that only takes a
3417 Kind, simplify the constructor use for submenus.
3419 (expandLastfiles): adjust
3420 (expandDocuments): adjust
3421 (expandFormats): adjust
3422 (expandFloatListInsert): adjust
3423 (expandFloatInsert): adjust
3424 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3426 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3427 Remove class variables lyx_pseudo_map and lyx_arg_map
3429 * LyXAction.C (searchActionArg): delete function
3430 (getPseudoAction): delete function
3431 (retrieveActionArg): delete function
3432 (LookupFunc): make it return kb_action, simplify.
3433 (getActionName): simplify
3435 * factory.C (createInset): fix new bug
3437 2003-09-19 Angus Leeming <leeming@lyx.org>
3439 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3440 masterFilename_ parameter in the include inset.
3442 * factory.C (createInset): changes due to the changes to InsetInclude.
3444 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3446 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3448 2003-09-18 Angus Leeming <leeming@lyx.org>
3451 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3452 Inset::fillWithBibKeys.
3453 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3455 2003-09-18 Angus Leeming <leeming@lyx.org>
3457 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3459 (ctor): pass and store a 'Buffer const &'
3460 (buffer): new member function.
3462 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3463 '*this' to the LaTeXFeatures ctor.
3465 2003-09-18 Angus Leeming <leeming@lyx.org>
3471 * text.C: rename EnumLColor as LColor_color.
3473 2003-09-18 Angus Leeming <leeming@lyx.org>
3475 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3476 remove #include "insets/insetbase.h" from cursor.h.
3478 2003-09-18 Angus Leeming <leeming@lyx.org>
3480 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3481 InsetOld_code to remove #include "inset.h".
3483 * iterators.C: add #include "insets/inset.h"
3485 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3487 * BufferView.C: remove more locking stuff that apparently doesn't
3488 do anything sensible.
3490 2003-09-16 André Pönitz <poenitz@gmx.net>
3493 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3496 2003-09-16 Angus Leeming <leeming@lyx.org>
3498 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3500 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3503 * paragraph.h: remove #include "lyxfont.h". Forward declare
3506 2003-09-16 Angus Leeming <leeming@lyx.org>
3508 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3509 of support/textutils.h.
3510 (isWord): move the contents of support/textutils.h's IsWordChar here.
3516 * text2.C: add #include "paragraph.h".
3519 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3521 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3527 * LaTeX.C: use namespace alias for lyx::support::os
3529 2003-09-16 Angus Leeming <leeming@lyx.org>
3532 * bufferview_funcs.C:
3535 * paragraph_pimpl.C:
3537 * text.C: add #include "LColor.h".
3539 2003-09-16 Angus Leeming <leeming@lyx.org>
3541 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3542 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3544 Store the FontBits::color variable as an int rather than as an
3545 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3548 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3549 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3550 string calls together.
3552 * lyxrc.C: add #include "LColor.h".
3554 2003-09-15 Angus Leeming <leeming@lyx.org>
3556 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3559 2003-09-15 Angus Leeming <leeming@lyx.org>
3561 * LColor.h: add an EnumLColor wrapper for LColor::color.
3563 * lyxfont.[Ch] (color, setColor, realColor):
3564 * lyxtext.h, text.C (backgroundColor):
3565 pass EnumLColor args to/from the functions, rather than LColor::color
3569 * lyxtext.h: forward declare EnumLColor.
3571 * lyx_main.C: add #include "LColor.h".
3573 2003-09-15 Angus Leeming <leeming@lyx.org>
3575 * .cvsignore: add lyx-gtk.
3577 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3582 * ParagraphParameters.C
3586 * bufferview_funcs.C
3596 * vc-backend.C: remove usage of STRCONV
3598 2003-09-15 Angus Leeming <leeming@lyx.org>
3600 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3601 explicitly define the color passed to the painter.
3603 2003-09-15 Angus Leeming <leeming@lyx.org>
3605 * bufferparams.C (BufferParams): reorder member initializers to avoid
3608 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3610 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3611 * text.C (updateRowPositions): remove an unusual nop
3613 2003-09-12 André Pönitz <poenitz@gmx.net>
3615 * BufferView_pimpl.C:
3624 * Counters.[Ch]: finish the 'automatic counters' job
3626 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3628 * aspell.C: include <boost/assert.cpp> (compile fix)
3630 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3632 * boost.C (assertion_failed): use lyx::support::abort instead of
3635 2003-09-10 Angus Leeming <leeming@lyx.org>
3637 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3638 with their _fwd progeny.
3640 2003-09-09 Angus Leeming <leeming@lyx.org>
3642 134 files throughtout the source tree: replace 'using namespace abc;'
3643 directives with the appropriate 'using abc::xyz;' declarations.
3645 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3647 * boost.C (emergencyCleanup): moved here from LAssert.c
3648 (assertion_failed): new function, called by BOOST_ASSERT
3650 * several files: change Assert to BOOST_ASSERT
3652 2003-09-09 Angus Leeming <leeming@lyx.org>
3654 * buffer.[Ch]: Add an Impl class and move Buffer's member
3655 variables into it. As a result move several header files out of
3658 Add header files to lots of .C files all over the tree as a result.
3660 2003-09-09 Angus Leeming <leeming@lyx.org>
3662 * buffer.[Ch]: make Buffer's member variables private. Add
3665 Lots of changes all over the tree as a result.
3667 2003-09-08 Angus Leeming <leeming@lyx.org>
3669 * graph.C: #include <config.h>.
3671 2003-09-08 Angus Leeming <leeming@lyx.org>
3675 * BufferView_pimpl.C:
3704 * toc.C: remove redundant using directives.
3706 2003-09-07 Angus Leeming <leeming@lyx.org>
3708 * LaTeXFeatures.h: remove #include "support/types.h".
3709 * ToolbarBackend.h: remove #include <algorithm>.
3710 * changes.h: remove #include <ctime>.
3711 * debug.h: remove #include <iosfwd>.
3712 * graph.h: remove #include "support/std_string.h".
3713 * lyx_main.h: remove #include <csignal>.
3714 * lyxlex_pimpl.h: remove #include <fstream>.
3715 * sgml.h: remove #include <algorithm>, <utility>.
3716 * toc.h: remove #include "support/std_ostream.h".
3717 Add #include <iosfwd>.
3719 2003-09-07 Angus Leeming <leeming@lyx.org>
3721 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3723 * converter.h: forward declare LatexRunParams.
3724 * encoding.h: remove #include "lyxrc.h".
3725 * lyxtext.h: remove #include "LColor.h".
3726 * lyxtextclass.h: remove #include "support/types.h".
3727 * trans.h: remove #include "tex-accent.h".
3728 * trans_mgr.h: remove #include "tex-accent.h".
3729 * insets/inset.h: remove #include "support/types.h", <vector>.
3730 * insets/insetcollapsable.h: remove #include "LColor.h".
3731 * insets/insetinclude.h: remove #include "dimension.h".
3732 * insets/insetlatexaccent.h: remove #include "dimension.h".
3733 * insets/insetoptarg.h:: remove #include "insettext.h".
3734 * insets/insettext.h: remove #include "dimension.h",
3735 <boost/shared_ptr.hpp>
3737 * insets/renderers.h: add #include "dimension.h".
3738 * insets/updatableinset.h: add #include "support/types.h".
3740 * many .C files: Associated changes.
3742 2003-09-06 Angus Leeming <leeming@lyx.org>
3744 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3745 one, inside testInvariant.
3747 * PrinterParams.C: new file.
3748 * PrinterParams.[Ch]: move the function bodies out of line.
3750 2003-09-06 Angus Leeming <leeming@lyx.org>
3752 * ParagraphParameters.h: forward declare ParameterStruct rather than
3753 including its header file.
3754 (depth): moved out-of-line.
3756 2003-09-06 Angus Leeming <leeming@lyx.org>
3758 * BufferView_pimpl.h:
3761 * lyxfunc.h: forward declare LyXKeySym rather than
3762 #include "frontends/LyXKeySym.h".
3764 * BufferView_pimpl.C:
3767 * lyxfunc.C: associated changes.
3769 2003-09-06 Angus Leeming <leeming@lyx.org>
3771 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3772 As a result, can remove the #include "insets/inset.h" from BufferView.h
3774 2003-09-06 Angus Leeming <leeming@lyx.org>
3776 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3777 As a result, can remove the #include "insets/inset.h" from BufferView.h
3779 2003-09-06 Angus Leeming <leeming@lyx.org>
3785 * bufferview_funcs.C:
3786 * BufferView_pimpl.C:
3791 * ParagraphParameters.C:
3796 * frontends/controllers/ControlDocument.C:
3797 * insets/insetcaption.C: rearrange the #includes into some sort of
3800 * buffer.h: remove #includes ErrorList.h, undo.h
3802 2003-09-06 Angus Leeming <leeming@lyx.org>
3804 * support/types.h: add a 'depth_type' typedef, used to store the
3805 nesting depth of a paragraph.
3808 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3809 defining explicitly.
3812 * paragraph_funcs.h:
3813 * ParagraphParameters.h:
3814 * sgml.h: use lyx::depth_type rather than Paragraph or
3815 ParameterStruct's depth_type.
3818 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3821 * BufferView_pimpl.C:
3823 * ParagraphParameters.C:
3826 * bufferview_funcs.C:
3833 * frontends/LyXView.C:
3834 * frontends/controllers/ControlDocument.C:
3835 * frontends/controllers/ControlErrorList.C:
3836 * insets/insetbibitem.C:
3837 * insets/insetbranch.C:
3838 * insets/insetcaption.C:
3839 * insets/insetcollapsable.C:
3840 * insets/insetenv.C:
3841 * insets/insetert.C:
3842 * insets/insetfloat.C:
3843 * insets/insetfoot.C:
3844 * insets/insetfootlike.C:
3845 * insets/insetnewline.C:
3846 * insets/insetquotes.C:
3847 * insets/insettabular.C:
3848 * insets/insettext.C:
3849 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3851 * frontends/controllers/ControlChanges.C: #include "changes.h".
3853 2003-09-06 Angus Leeming <leeming@lyx.org>
3855 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3856 than #including paragraph.h.
3859 * RowList.h: deleted. Superfluous.
3869 * insets/insettext.h: use ParagraphList_fwd.h rather than
3872 * paragraph.h: don't forward declare ParagraphList.
3875 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3876 rather than ParagraphList.h. paragraph.h is still needed for the
3877 Paragraph::depth_type parameters.
3879 * textcursor.h: enable it to compile stand-alone in light of the
3882 * bufferview_funcs.C:
3894 * frontends/controllers/ControlParagraph.C:
3895 * frontends/controllers/ControlTabular.C:
3896 * insets/insetmarginal.C:
3897 * insets/insetminipage.C:
3898 * insets/insetnote.C:
3899 * insets/insetoptarg.C: add header files needed to compile again.
3901 2003-09-06 Angus Leeming <leeming@lyx.org>
3903 * RowList_fwd.h: new file, forward-declaring Row rather than
3904 #including lyxrow.h.
3909 * insets/insettext.h: use it instead of RowList.h
3911 * bufferview_funcs.C:
3918 * text3.C: #include "RowList.h".
3920 2003-09-05 Angus Leeming <leeming@lyx.org>
3922 * factory.C (createInset):
3923 * vspace.C (c-tor): replace sscanf call with an istringstream.
3924 * ispell.C: re-add missing HP/UX headers.
3925 * lyxserver.C: re-add missing os2 headers.
3927 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3936 * text3.C: re-add missing system headers, needed for 2.95.2.
3938 2003-09-05 Angus Leeming <leeming@lyx.org>
3940 Changes most place everywhere due to the removal of using directives
3941 from support/std_sstream.h.
3943 2003-09-05 Angus Leeming <leeming@lyx.org>
3945 Replace LString.h with support/std_string.h,
3946 Lsstream.h with support/std_sstream.h,
3947 support/LIstream.h with support/std_istream.h,
3948 support/LOstream.h with support/std_ostream.h.
3950 Changes resulting throughout the tree.
3952 2003-09-05 Angus Leeming <leeming@lyx.org>
3954 * sgml.h: ensure that the header file can be compiled stand-alone.
3955 * *.C: strip out redundant #includes. (320 in total.)
3957 2003-09-04 Angus Leeming <leeming@lyx.org>
3959 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3960 here (from getPackages).
3962 * debug.[Ch]: add a new EXTERNAL tag.
3964 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3966 * text2.C (cursorEnd): simplify
3968 (getColumnNearX): adjust
3970 * text.C (computeBidiTables): adjust
3973 * rowpainter.C (paintChars): adjust
3974 (paintSelection): adjust
3975 (paintChangeBar): adjust
3978 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3980 (numberOfSeparators): adjust
3982 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3988 * text3.C: Restricts the mouse click functionality
3989 of insets like bibtex, include, toc and floatlist to the visible
3990 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3991 up the dialogs. Cursor has to be in front of the inset (i.e.
3992 start of row) for this to function.
3994 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3996 * bufferview_funcs.C (currentState): output row information
3998 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4000 * bufferview_funcs.C (currentState): output paragraph position
4002 2003-09-04 Angus Leeming <leeming@lyx.org>
4004 * FloatList.h: move out #include "Floating.h".
4005 * LaTeX.h: move out #include "DepTable.h".
4006 * LyXAction.h: move out #include "funcrequest.h".
4007 * buffer.h: move out #include "author.h", "iterators.h".
4008 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
4009 * lyx_main.h: move out #include "errorlist.h".
4010 * lyxfunc.h: move out #include "FuncStatus.h".
4011 * lyxtext: move out #include "lyxcursor.h".
4012 * paragraph_pimpl.h: move out #include "counters.h".
4014 2003-09-03 Angus Leeming <leeming@lyx.org>
4016 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
4017 preamble_snippets list, enabling us to add snippets to the preamble
4018 only if the snippet was not there already.
4020 2003-09-04 Angus Leeming <leeming@lyx.org>
4022 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
4024 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
4026 * lyxfunc.C (dispatch): if fitCursor did something be sure to
4029 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4031 * BranchList.C: point fix, earlier forgotten
4033 2003-09-02 Angus Leeming <leeming@lyx.org>
4035 * box.C (contains): renamed from 'contained' after a fantastic
4038 2003-09-02 John Levon <levon@movementarian.org>
4044 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4046 2003-09-02 John Levon <levon@movementarian.org>
4048 * text2.C: simplification of cursorEnd(), including partial
4051 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4053 * buffer.C (readFile): add a space
4055 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4057 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4059 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4061 * buffer.C (readFile): new function, take a filename and a
4062 ParagraphList::iterator
4064 (readFile): adjust, make it private. don't use setStream, make
4065 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4066 always contain the filename.
4068 * BufferView.C (insertLyXFile): simplify and make it work for
4071 2003-08-30 John Levon <levon@movementarian.org>
4073 * Makefile.am: fix dist (from Kayvan)
4075 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4077 * most files: change to use const Buffer refs
4079 2003-08-27 André Pönitz <poenitz@gmx.net>
4081 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4082 on top of ownerPar().
4084 2003-08-27 John Levon <levon@movementarian.org>
4086 * funcrequest.C: properly initialise POD members
4088 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4090 * lyxtext.h (top_y): move top_y from here
4095 * BufferView_pimpl.[Ch]: to here
4096 * frontends/screen.C:
4097 * insets/insettabular.C:
4098 * insets/insettext.C: adjust
4099 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4101 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4104 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4106 2003-08-26 André Pönitz <poenitz@gmx.net>
4108 * paragraph_func.[Ch] (outerPar): new function
4111 * paragraph_funcs.C:
4112 * paragraph_funcs.h:
4113 * paragraph_pimpl.C:
4114 * text2.C: remove Inset::par_owner
4116 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4121 * text2.C: eliminates the needFullRow/display() stuff
4122 altogether, putting the logic in metrics/draw in the insets.
4124 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4126 * text2.C (redoParagraphInternal, redoParagraphs):
4127 * text.C (redoParagraph): add a call to updateRowPositions at the
4128 end of each 'metrics-like' call. Remove all others.
4129 (getRow): remove the 'y-computing' version.
4130 (getRowNearY): do not compute nor return the real y. Solve the
4131 'y < 0' problem and simplify.
4133 2003-08-22 Angus Leeming <leeming@lyx.org>
4135 * *.[Ch]: clean-up of licence and author blurbs.
4136 Also move config.h out of a few .h files and into a few .C files.
4138 2003-08-22 André Pönitz <poenitz@gmx.net>
4140 * lyxrow.[Ch]: add x_ and *fill_ members
4145 * text2.C: adjust/remove prepareToPrint() calls
4147 2003-08-22 André Pönitz <poenitz@gmx.net>
4149 * lyxrow.[Ch]: add end_ member
4151 * lyxrow_funcs.C: use LyXRow::end_
4153 * lyxtext.h (singleWidth): add LyXFont parameter
4156 * text2.C: adjust LyXText::singleWidth() calls
4158 * text.C (redoParagraph): simplify row breaking logic
4161 2003-08-19 André Pönitz <poenitz@gmx.net>
4163 * funcrequest.C: initialize button_ member
4166 * rowpainter.[Ch]: interface consolidation
4168 2003-08-18 André Pönitz <poenitz@gmx.net>
4171 * BufferView_pimpl.C:
4173 * paragraph_funcs.C:
4175 * text3.C: remove LyXScreen::draw() and fitCursor calls
4177 * BranchList.h: remove spurious semicolons
4179 * MenuBackend.C: fix branchlist related crash
4181 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4189 * bufferparams.[Ch]:
4193 * text3.C: implements the 'branch inset'
4194 idea. This allows the output of various versions of a document
4195 from a single source version, selectively outputing or suppressing
4196 output of parts of the text.
4197 This implementation contains a 'branch list editor' in a separate
4198 tab of the document settings dialog. Branches are user definable
4199 and have a "display colour" to distinguish them on-screen.
4201 ColorHandler was somewhat cleaned up.
4202 (1) make possible a dynamically growing LColor list by allowing
4203 the graphic context cache to grow along (vector);
4204 (2) eliminate an IMHO unnecessary step in colour allocation.
4206 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4208 * BufferView_pimpl.C: compile fix
4210 2003-08-15 André Pönitz <poenitz@gmx.net>
4212 * rowpainter.C: remove extra metrics calls
4214 * lyxtext.h: merge the two constructors into a single one,
4215 pass reference to owner's par list
4217 * BufferView_pimpl.C:
4221 2003-08-15 André Pönitz <poenitz@gmx.net>
4223 * lyxrow_funcs.[Ch]:
4226 * paragraph_funcs.C:
4231 * text_funcs.C: split LyXText::rowlist_ into individual
4232 Paragraph::rows_ chunks
4235 * BufferView_pimpl.[Ch]:
4238 * text3.C: remove toggleSelection()
4240 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4242 * bufferlist.C: beautify two alerts (shorter text of buttons)
4243 * buffer.C: Remove redundant ' ' from message
4245 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4246 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4247 rename VALIGN_CENTER to VALIGN_MIDDLE
4249 2003-08-11 André Pönitz <poenitz@gmx.net>
4251 * lyxtext.h (getPar):
4252 * text.C: new function
4254 2003-08-11 André Pönitz <poenitz@gmx.net>
4257 * tracer.[Ch]: remove unneeded files
4259 * InsetList.[Ch]: remove resizeInsetsLyXText()
4264 * text3.C: merge insertParagraphs() and appendParagraph()
4265 remove breakAgain(), update()
4267 * BufferView_pimpl.[Ch]:
4268 * bufferview_funcs.[Ch]:
4272 * tabular.C: adjust after text & InsetList changes.
4274 2003-08-08 André Pönitz <poenitz@gmx.net>
4276 * text.C (insertChar, backspace): replace rowlist fiddling
4277 with rebreak of full par
4280 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4281 checkParagraph, updateInset): removed
4283 2003-08-07 André Pönitz <poenitz@gmx.net>
4286 * text3.C: merge some LFUN handlers, remove dead code
4288 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4290 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4292 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4294 * text2.C (DEPM): fix part of bug 1255 and 1256
4296 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4298 * BufferView_pimpl.C (workAreaDispatch): change to use
4299 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4300 that are no mouse related.
4302 2003-08-05 André Pönitz <poenitz@gmx.net>
4305 * BufferView_pimpl.[Ch]:
4306 * bufferview_funcs.C:
4308 * text3.C: rip out "deep update"
4310 * textcursor.[Ch] (last_sel_cursor): remove unused member
4312 2003-08-04 André Pönitz <poenitz@gmx.net>
4315 * BufferView_pimpl.[Ch]:
4316 * ParagraphParameters.C:
4317 * bufferview_funcs.C:
4323 * text3.C: replace "complicated" BufferView::update(...) calls with
4326 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4328 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4330 * Makefile.am (lyx_SOURCES): add paper.h
4332 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4334 * Makefile.am: move things around so that both lyx-qt and
4335 lyx-xforms can be built (according to --with-frontend). Then lyx
4336 is a symbolic link to lyx-[firstfrontend]
4338 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4340 * Always use std::endl with lyxerr
4342 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4344 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4346 2003-08-01 André Pönitz <poenitz@gmx.net>
4349 * BufferView_pimpl.[Ch]:
4351 * text3.C: merge BufferView::repaint() and BufferView::update()
4353 2003-08-01 José Matos <jamatos@lyx.org>
4355 * buffer.[Ch]: file_format is no longer a buffer data element.
4357 2003-08-01 André Pönitz <poenitz@gmx.net>
4362 * text2.C: make redoParagraph more independent of current cursor
4364 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4366 * text2.C: remove unneeded members
4368 2003-07-30 André Pönitz <poenitz@gmx.net>
4370 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4372 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4373 create a single function...
4375 * paragraph_funcs.C (moveItem): ... here.
4378 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4380 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4382 * LColor.[Ch]: Add comment and greyedout logical colors.
4384 2003-07-30 André Pönitz <poenitz@gmx.net>
4386 * tabular.C: don't use Assert too heavily. This crashes where it
4389 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4391 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4392 is disabled (bug 1232)
4394 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4396 * factory.C: limited 'arg' scope
4398 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4400 * factory.C: fixed Note submenu issues
4402 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4404 * factory.C: submenu for Note/Comment/Greyedout
4406 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4409 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4411 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4414 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4415 greyedout. Patch provided by Jürgen Spitzmüller.
4417 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4419 * kbmap.C (read): fix error message when reading bind files
4421 2003-07-29 Angus Leeming <leeming@lyx.org>
4423 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4424 certainly does not do what it purports to do. I am doing it, and
4425 us, a favour by killing it.
4427 2003-07-28 José Matos <jamatos@lyx.org>
4429 * buffer.C (readBody, do_writeFile):
4430 * paragraph.C(readParagraph): \end_document replaces \the_end.
4432 2003-07-29 André Pönitz <poenitz@gmx.net>
4435 * BufferView_pimpl.[Ch]:
4439 * textcursor.[Ch]: remove toggleToggle & Co
4441 2003-07-28 José Matos <jamatos@fep.up.pt>
4443 * buffer.C (readParagraph):
4444 * params_func (readParToken, readParagraph):
4445 * paragraph.C (write): \layout -> \begin_layout.
4447 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4449 * lyxlex_pimpl.C (setFile): clean up slightly.
4451 * bufferparams.h: add compressed var
4453 * buffer_funcs.C (readFile): adjust for LyXLex change
4454 (newFile): ditto + simplify
4456 * buffer.C (writeFile): handle writing of compressed files
4458 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4459 Check if the file is compressed and set a bufferparm if so.
4461 * Makefile.am (lyx_LDADD): remove explicit -lz
4463 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4465 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4466 makeDocBookFile): put the real LyX version in the first line of
4470 * version.C.in: remove lyx_docversion
4472 * tabular.C (write_attribute): add a template-based version to
4473 write enums properly
4475 2003-07-28 André Pönitz <poenitz@gmx.net>
4480 * text3.C: use doubles again for x-coordinates. They are needed.
4482 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4484 * messages.C (getLocaleDir): use lyx_localedir()
4486 * lyxlex_pimpl.C (setFile): compress stuff
4488 * buffer.C (writeFile): add some compression stuff
4489 (do_writeFile): new func, dont call expliti close... will this
4492 * Makefile.am (lyx_LDADD): add -lz
4494 2003-07-28 José Matos <jamatos@fep.up.pt>
4496 * buffer.C: increment file format.
4497 * paragraph_funcs (readParagraph, readParToken):
4498 * paragraph.C (readParagraph): add \end_layout.
4500 2003-07-27 Angus Leeming <leeming@lyx.org>
4502 * Makefile.am: remove special casing for configure-time setting of
4503 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4505 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4506 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4508 2003-07-26 André Pönitz <poenitz@gmx.net>
4510 * paragraph_func.[Ch]:
4511 * paragraph.C (realizeFont): inline it whereever it is used
4516 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4519 2003-07-26 André Pönitz <poenitz@gmx.net>
4523 * text2.C: get rid of LyXText::need_break_row
4525 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4527 * toc.[Ch]: put namespace toc inside namespace lyx
4529 * MenuBackend.C (expandToc2): adjust for lyx::toc
4532 * lyxfunc.C (dispatch): adjust for lyx::find
4534 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4535 lyx::find instead. Reorganize a bit.
4536 (LyXReplace): rename to replace
4537 (LyXFind): rename to find
4539 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4542 2003-07-26 André Pönitz <poenitz@gmx.net>
4544 * text.C (setHeightOfRow): restrict scope of temporary variable
4546 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4547 code (never has been used?)
4549 2003-07-27 Asger Alstrup <alstrup@local>
4551 * text.C (fill): Optimise algorithm to exploit that we can reuse
4552 the LyXFont for many characters.
4553 (setHeightOfRow): Same thing.
4554 (rowBreakPoint): Same thing.
4556 2003-07-26 Asger Alstrup <alstrup@local>
4558 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4560 * text.C (singleWidth): Spurious font copying in hot-spot
4561 singleWidth avoided. Reorder tests for arabic for efficiency.
4563 * text.C (fill): handle empty paragraphs better.
4565 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4568 * encoding.h: add includes
4570 * lyxrc.C: remove reading of bind files
4572 * lyx_main.C (init): setup bindings and menus only if we have a
4575 * kbmap.C (read): new method. Do the actual reading of bind
4578 * converter.C (dvipdfm_options):
4581 (output): adapt PAPER_* enums.
4583 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4585 * bufferparams.h: remove paper-related enums from there
4587 * paper.h: New file. A trivial header file to hold paper-related
4588 enums. It should later expand to contain many paper-related
4591 * lyxrc.C: declare extern displayTranslator
4593 2003-07-27 José Matos <jamatos@fep.up.pt>
4595 * tabular.[Ch] (linuxdoc): add support for tables and figures
4598 2003-07-27 José Matos <jamatos@fep.up.pt>
4600 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4601 consistency in both functions.
4602 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4604 2003-07-26 Asger Alstrup <alstrup@local>
4606 * rowpainter.C (paintRows): Change algorithm to work directly on
4607 the insets rather than asking every character in the document
4608 whether its an inset.
4610 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4612 * buffer.C (openFileWrite): factorize some code
4614 2003-07-26 Angus Leeming <leeming@lyx.org>
4617 * lyx_main.[Ch]: replace occurances of system_tempdir with
4620 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4622 * rename Inset to InsetOld
4624 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4626 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4627 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4628 which I think is a bit clearer. EDIT is gone, since it was
4629 premature optimisation, and broken for mathed anyway.
4630 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4631 with cursor positioning in insets as well (math insets still do not
4632 work, but that's a different story anyway.) It mysteriously
4633 crashes sometimes with undo in the first paragraph, but I'm fairly
4634 confident that this is a compiler bug.
4636 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4638 * paragraph.C (Paragraph): adjust for new clone return type
4640 (copyIntoMinibuffer): ditto
4642 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4644 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4645 by not having a special case, and always doing a full rebreak of
4646 the document after undo.
4648 2003-07-23 Angus Leeming <leeming@lyx.org>
4650 * factory.C (createInset): InsetExternal::setParams now takes a
4653 2003-07-23 Angus Leeming <leeming@lyx.org>
4655 * factory.C (createInset): changed interface to the external and
4656 graphics mailers' string2params functions.
4658 2003-07-23 Angus Leeming <leeming@lyx.org>
4660 * factory.C (createInset): pass a
4661 Buffer const * parameter to InsetExternalMailer's string2params.
4663 2003-07-22 John Levon <levon@movementarian.org>
4665 * Thesaurus.h: include the right aiksaurus header
4667 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4669 * MenuBackend.C (expand): check menu shortcuts unconditionally
4671 2003-07-21 Angus Leeming <leeming@lyx.org>
4673 * factory.C (createInset): pass a
4674 buffer_path parameter to InsetGraphicsMailer's string2params.
4676 2003-07-21 Angus Leeming <leeming@lyx.org>
4678 * BufferView_pimpl.C (buffer):
4681 * lyxfunc.C (dispatch):
4682 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4683 rather than the grfx shortcut.
4685 2003-07-21 André Pönitz <poenitz@gmx.net>
4687 * rowpainter.C: remove unused variables
4690 * tabular_funcs.h: move to tabular.C
4691 * Makefile.am: adjust
4693 * tabular.[Ch]: basic optical cleaning
4695 * author.h: pass references, not values
4697 2003-07-18 André Pönitz <poenitz@gmx.net>
4705 * text3.C: two-phase drawing for InsetText and InsetTabular
4706 some float -> int changes.
4708 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4710 * lyx_main.C: fix the fix
4712 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4714 * lyx_main.C: fix a crash in batch mode if no files specified
4717 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4719 * format.[Ch] (papersize): moved to BufferParams
4720 * converter.[Ch] (dvips_options): moved to BufferParams
4721 (dvipdfm_options): moved to anon namespace
4722 * bufferparams.[Ch]: added above functions.
4724 2003-07-17 André Pönitz <poenitz@gmx.net>
4728 * text2.C: don't call inset->update() anymore
4730 * metricsinfo.[Ch]: add convenience constructor
4732 2003-07-16 André Pönitz <poenitz@gmx.net>
4737 * text2.C: replace the LyXCursor::irow_ member with
4738 on-demand computation of the value
4740 2003-07-16 John Levon <levon@movementarian.org>
4742 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4744 2003-07-15 André Pönitz <poenitz@gmx.net>
4747 * text2.C: remove no more needed refresh_row
4749 2003-07-15 André Pönitz <poenitz@gmx.net>
4754 * text3.C: refresh_status tristate -> need_update bool
4756 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4758 * lyxtext.h (init): remove reinit argument (act as if always true)
4759 * text2.C: adjust to that
4761 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4763 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4764 * text3.C: use it to delete selections in some cases
4765 (bugs 441, 673, 702, 954).
4767 2003-07-14 André Pönitz <poenitz@gmx.net>
4769 * rowpainter.[Ch]: reduce interface
4771 2003-07-14 André Pönitz <poenitz@gmx.net>
4773 * BufferView_pimpl.C:
4774 * text2.C: adjust after removing unused BufferView * argument
4776 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4778 * text2.C (init): fix a crash fired on resize
4780 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4782 * buffer.[Ch]: added new closing signal
4783 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4784 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4785 BufferView::Pimpl via the closing the signal
4787 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4789 * buffer.[Ch]: take out all bv-related from buffer
4791 * BufferView_pimpl.[Ch]: connect to new signals
4792 * CutAndPaste.C: removed useless asserts
4793 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4796 * lyxfunc.C: moved view-related funciontality from vc here
4797 * paragraph.C: removed outdated comments
4800 2003-07-10 André Pönitz <poenitz@gmx.net>
4802 * BufferView_pimpl.C:
4806 * text2.C: remove InsetText::InnerCache, clean up consequences
4808 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4810 * ispell.C: fix two typos in error messages
4812 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4814 * Extend Note inset to other forms of annotation like Comment
4815 and Greyedout. Right button click gives dialog.
4817 Files modified or added (+):
4821 * ControlNote.[Ch] +
4823 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4824 frontends/controllers
4828 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4830 * aspell.C: add missing namespace lyx::support
4832 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4834 * BufferView.[Ch] (newFile): Add
4835 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4836 * LaTeX.[Ch] (message): added this signal and use it
4837 * buffer.[Ch] (busy, message): added these signals and use them
4838 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4842 * importer.C: use buffer signals instead of direct bv calling
4843 * lyx_cb.[Ch] (ShowMessage): removed
4846 * paragraph_funcs.C:
4847 * text2.C: use buffer signals
4849 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4851 * introduce namespace lyx::graphics
4853 2003-07-02 André Pönitz <poenitz@gmx.net>
4855 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4857 2003-07-01 André Pönitz <poenitz@gmx.net>
4864 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4865 text*.C to text_func.C
4867 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4869 * introduce namespace lyx::support
4871 2003-06-30 André Pönitz <poenitz@gmx.net>
4876 * text.C: re-enable --with-included-string
4878 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4880 * textcursor.C: add <config.h>
4882 * text.C (getWord): remove const from word_location arg
4884 * lyxvc.C (getLogFile): fix const type order
4886 * lyxtext.h: remove const from word_location arg, add arg name
4888 * lyxlayout.h: currect type on labeltype.
4890 * importer.C: correct \file
4892 * converter.C (intToFormat): use std:: on ret val, ws changes
4894 * bufferlist.h: correct \file
4896 * buffer.C (makeLinuxDocFile): fix const type order
4897 (makeDocBookFile): ditto
4898 (fillWithBibKeys): use std:: on stdlib args.
4900 * CutAndPaste.C: fix authors.
4901 (availableSelections): use std:: on return vector
4903 2003-06-27 André Pönitz <poenitz@gmx.net>
4905 * BufferView_pimpl.C:
4906 * bufferview_funcs.C:
4914 * text3.C: remove LyXCursor::row_ member
4917 * text.C: rename fullRebreak() to partialRebreak() and implement
4918 a fullRebreak() that really bereks fully
4920 * textcursor.h: new struct for cursor-related data
4922 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4924 * lyx_main.C (LyX): get full path of document loaded on the
4927 2003-06-26 André Pönitz <poenitz@gmx.net>
4929 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4930 remove unused/broken operator>,<,>=.
4932 * text.C: remove only use of broken operator<= in an Assert().
4934 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4936 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4937 moved errorlist_.clear to showErrorList
4939 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4941 * converter.C (scanLog, runLaTeX):
4942 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4943 move the bv->showErrorList call to the callers
4944 * lyxfunc.C: i.e. here...
4946 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4947 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4948 namespace, the second to...
4949 * buffer_funcs (BufferFormat, parseErrors): added
4950 * errorlist.C (ErrorList(TeXErrors const &)): removed
4952 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4954 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4956 2003-06-24 "Garst R. Reese" <reese@isn.net>
4960 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4962 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4964 * version.C.in: change docversion to 1.4
4966 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4968 * buffer.C: fix a bug just introduced
4970 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4972 * buffer.[Ch]: added the parseError signal and use it, removed
4974 * BufferView.[Ch] (addError): moved to ...
4975 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4976 to the Buffer::parseError signal to catch (guess what) parse errors
4977 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4979 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4981 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4982 ability to create a buffer and to return an existing one from
4983 the list. Moved these functions to...
4984 * buffer_funcs.[Ch]: added
4985 * BufferView.[Ch] (loadLyXFile): added
4986 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4987 job removed from bufferlist::loadLyXFile.
4988 * buffer.C (setReadOnly): make it work without view
4989 (i.e added an if (users))
4991 2003-06-19 Angus Leeming <leeming@lyx.org>
4994 * LyXAction.C (init):
4995 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4996 with LFUN_DIALOG_SHOW <name> <data>.
4998 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5000 * CutAndPaste.C (availableSelections): small compilation fix for
5001 ancient (gcc 2.9x) compilers
5003 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
5005 * text3.C (cursorNext): add tmp var
5007 * text2.C (updateCounters): for function calling out of for clause
5008 (replaceSelectionWithString): ditto
5009 (insertStringAsParagraphs): ditto
5010 (getColumnNearX): add tmp var
5011 (setCursorFromCoordinates): add tmp var
5012 (cursorDownParagraph): add tmp var
5013 (deleteEmptyParagraphMechanism): add tmp var
5015 * text.C (insertChar): add tmp var
5017 * rowpainter.C (paintDepthBar): add tmp var
5019 * CutAndPaste.C (availableSelections): potentially check all
5020 paragraphs in a cut to fill the shown strings.
5022 2003-06-18 André Pönitz <poenitz@gmx.net>
5024 * kbmap.[Ch]: use vector<> instead of list<>
5026 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
5028 * text3.C (dispatch): handle arg to LFUN_PASTE, call
5029 pasteSelection with index
5031 * text2.C (pasteSelection): modify, call pasteSelection with index
5033 * paragraph.C (asString): reimplement version with no interval to
5034 call the one with interval.
5036 * lyxtext.h: add index arg to pasteSelection
5038 * MenuBackend.C (MenuItem): handle PasteRecent
5039 (Menu::read::Menutags): add md_pasterecent
5041 (expandPasteRecent): new function
5044 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5046 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5048 (availableSelections): new function
5050 2003-06-17 Angus Leeming <leeming@lyx.org>
5052 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5054 2003-06-17 Angus Leeming <leeming@lyx.org>
5057 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5059 * lyxfunc.C (dispatch): invoke it.
5061 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5063 * iterators.C (operator++, ParPosition): reintroduce some
5064 const_cast for the benefit of older compilers.
5066 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5068 * text3.C (dispatch): do not modify clipboard when doing
5069 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5070 LFUN_DELETE_SKIP on a selection selection
5072 2003-06-16 André Pönitz <poenitz@gmx.net>
5078 * tabular.[Ch]: IU of clone() and getLabelList();
5080 2003-06-13 André Pönitz <poenitz@gmx.net>
5082 * tabular.h: compactification
5084 2003-06-12 André Pönitz <poenitz@gmx.net>
5088 * tabular_funcs.h: some renaming plus whitespace
5090 2003-06-12 André Pönitz <poenitz@gmx.net>
5093 * BufferView_pimpl.C:
5099 * toc.C: Return a Paragraph & for ParIterator::operator*()
5101 2003-06-11 John Levon <levon@movementarian.org>
5105 * ToolbarBackend.C: add "Toolbars" section and
5108 2003-06-10 Angus Leeming <leeming@lyx.org>
5111 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5113 * lyxfunc.C (dispatch): invoke it.
5115 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5117 * main.C: protect <ios> with HAVE_IOS
5118 (main): protect sync_with_stdio with HAVE_IOS
5120 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5122 * text2.C (cutSelection): adjust
5123 (pasteSelection): adjust
5125 * messages.C: handle get of empty string
5127 * main.C (main): use sync_with_stdio(false)
5129 * lyxfunc.C (dispatch): adjust
5131 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5132 (WriteAs): remove unneeded BufferView arg.
5134 * bufferparams.h: use correct types on papersize, papersize2 and
5137 * bufferparams.C (readToken): adjust for type
5138 (writeLaTeX): add missing cases to switch.
5140 * bufferlist.C (quitWriteBuffer): adjust
5143 * buffer.C (asciiParagraph): remove some commented code.
5145 * CutAndPaste.C: remove current_view extern variable.
5146 (cutSelection): add BufferParams arg.
5147 (eraseSelection): add BufferParams arg.
5148 (pasteSelection): add Buffer const & arg
5150 2003-06-07 John Levon <levon@movementarian.org>
5153 * paragraph_funcs.C:
5154 * paragraph_pimpl.C:
5158 * paragraph.C: allow InsetERT to freely space lines,
5159 and some consolidation of code
5161 2003-06-06 José Matos <jamatos@fep.up.pt>
5163 * buffer.C (makeDocBookFile): fix bug #821
5165 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5167 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5169 2003-06-04 Angus Leeming <leeming@lyx.org>
5171 * buffer.C: bump format to 224.
5173 2003-06-05 André Pönitz <poenitz@gmx.net>
5175 * text2.C (redoParagraphs): remove two const_cast<>
5177 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5179 * ParagraphList.h: remove last remnants of NO_STD_LIST
5181 2003-06-03 Angus Leeming <leeming@lyx.org>
5183 * factory.C (createInset): small change to the way InsetExternal's params
5186 2003-06-04 André Pönitz <poenitz@gmx.net>
5188 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5190 * paragraph_pimpl.h:
5191 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5193 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5195 * undo_funcs.C: make some simple cases of undo work again
5197 2003-06-03 John Levon <levon@movementarian.org>
5199 * ispell.C: HPUX doesn't have sys/select.h
5202 2003-06-03 John Levon <levon@movementarian.org>
5204 * CutAndPaste.C: update tabular and include inset
5209 * paragraph.C: remove owningBuffer(), don't pass Buffer
5212 * factory.C: insetGraphicsParams changed
5214 2003-06-02 John Levon <levon@movementarian.org>
5220 * text3.C: remove insetparent
5222 2003-06-02 John Levon <levon@movementarian.org>
5225 * buffer.C: fix inset_iterator.end(), move out of line
5228 2003-06-01 John Levon <levon@movementarian.org>
5230 * text3.C: use a proper cut/paste when doing inset
5231 insert (from Jürgen Spitzmüller)
5233 2003-06-01 John Levon <levon@movementarian.org>
5235 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5237 2003-05-30 André Pönitz <poenitz@gmx.net>
5239 * rowpainter.C: unify second drawing phase
5241 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5243 * trans_mgr.C: remove one case of current_view
5245 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5247 * paragraph_funcs.h: remove paragraph.h include
5249 * paragraph.h: delete NO_STD_LIST stuff
5251 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5253 * buffer.h: remove paragraph.h include
5255 * ParagraphList.C: delete file
5257 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5259 * toc.C (getTocList): adjust
5261 * paragraph_pimpl.C (validate): adjust
5263 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5265 * paragraph.C (Paragraph): adjust
5266 (getPositionOfInset): use const_iterator, adjust
5267 (bibitem): use const_iterator, adjust
5268 (setInsetOwner): adjust
5270 * iterators.C (operator++): adjust
5272 * InsetList.[Ch]: Replace selfmade iterator with standard
5273 vector::iterator also introduce const_iterator. Remove getPos,
5274 getInset and setInset from InsetTable. Adjust accordingly.
5276 * BufferView.C (lockInset): adjust
5277 (ChangeInsets): adjust
5279 * tabular.[Ch]: delete commented same_id functions
5281 2003-05-28 John Levon <levon@movementarian.org>
5283 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5285 2003-05-28 André Pönitz <poenitz@gmx.net>
5287 * metricsinfo.[Ch]: remove 'fullredraw' member
5289 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5291 * lyxtextclass.C (operator): remove caching.
5293 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5297 * text2.C (cursorBottom): adjust
5298 (setCounter): use ParagraphList::find, adjust
5300 * text.C (workWidth): use ParagraphList::find, adjust
5302 * lyxcursor.C (LyXCursor): adjust
5304 * buffer.C (inset_iterator): adjust
5306 * ParagraphList.h: make iterator(value_type) private, make
5307 ParagraphList a friend of iterator.
5309 * ParagraphList.C (find): new function
5311 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5313 2003-05-27 André Pönitz <poenitz@gmx.net>
5315 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5317 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5319 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5321 2003-05-26 John Levon <levon@movementarian.org>
5323 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5325 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5327 * remove same_id from function signatures, adjust.
5329 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5331 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5333 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5335 * paragraph.C (Paragraph): get rid of same_ids parameter
5337 * ParagraphList.C (insert): adjust
5340 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5342 * paragraph_funcs.C (breakParagraph): adjust
5343 (breakParagraphConservative): adjust
5345 * buffer.C (readParagraph): adjust
5347 * ParagraphList.C (insert): take a reference instead of a pointer
5350 * paragraph.[Ch] (id): new function
5352 * bufferlist.C (newFile): adjust
5354 * ParagraphList.C (ParagraphList): adjust
5356 (push_back): take a reference instead of a pointer.
5358 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5360 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5363 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5364 set else use old code.
5366 * ParagraphList.C: remove all NO_NEXT code and only compile this
5367 code of NO_STD_LIST is set.
5369 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5371 * BufferView_pimpl.C:
5381 * graphics/GraphicsConverter.C:
5382 * graphics/PreviewLoader.C: header adjustment
5384 2003-05-23 Angus Leeming <leeming@lyx.org>
5386 * LaTeXFeatures.[Ch] (useBabel): new method.
5387 * bufferparams.C (writeLaTeX): use it.
5389 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5391 * ParagraphList.h (set): remove unused function.
5393 2003-05-23 André Pönitz <poenitz@gmx.net>
5396 * BufferView_pimpl.C:
5400 * undo_funcs.C: setUndo reworked
5402 * iterators.[Ch]: add access to topmost ParagraphList
5404 * lyxtext.[Ch] (workWidth): add a const
5406 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5408 * texrow.[Ch] (increasePos): remove function
5409 * exporter.C (export): removed unused var and outdated comment
5411 2003-05-23 Angus Leeming <leeming@lyx.org>
5413 * latexrunparams.h: rename fragile as moving_arg.
5414 * paragraph.C (simpleTeXOnePar): ditto.
5415 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5417 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5419 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5421 (textUndoOrRedo): comment out a currently unused var.
5423 * paragraph.h (NO_NEXT): enable NO_NEXT
5425 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5427 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5429 * exporter.C (Export): adjust for removeAutoInsets removal.
5431 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5433 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5435 * BufferView.[Ch] (removeAutoInsets): delete function
5437 2003-05-22 Angus Leeming <leeming@lyx.org>
5439 * latexrunparams.h: add a free_spacing variable.
5441 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5442 to pass moving_arg, as the data is stored in runparams.fragile.
5444 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5445 to Inset::latexOptional or to simpleTeXOnePar.
5447 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5448 free_spacing arg to Inset::latexOptional.
5450 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5453 2003-05-22 Angus Leeming <leeming@lyx.org>
5455 * latexrunparams.h: add fragile and use_babel variables.
5457 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5458 * buffer.C (makeLaTeXFile): store this returned value in
5459 runparams.use_babel, thus passing it to the inset::latex methods.
5461 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5462 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5464 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5465 longer has a fragile arg, as it is stored in runparams.fragile.
5467 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5468 moving_arg parameter as the data is stored in runparams.fragile.
5470 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5471 a fragile parameter as the data is stored in runparams.fragile.
5473 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5475 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5477 2003-05-22 Angus Leeming <leeming@lyx.org>
5479 * latexrunparams.h: add a 'bool nice' which defaults to false.
5481 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5482 now encapsulated within runparams.
5484 * bufferlist.C (updateIncludedTeXfiles):
5485 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5487 2003-05-22 Angus Leeming <leeming@lyx.org>
5489 * latexrunparams.h: new file containing struct LatexRunParams.
5490 * Makefile.am: add new file.
5492 * LaTeX.[Ch] (c-tor, run):
5493 * buffer.[Ch] (makeLaTeXFile):
5494 * bufferlist.[Ch] (updateIncludedTeXfiles):
5495 * converter.C (convert, scanLog):
5496 * converter.[Ch] (runLaTeX):
5497 * exporter.C (Export):
5498 * paragraph.[Ch] (simpleTeXOnePar):
5499 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5500 * paragraph_funcs.[Ch] (latexParagraphs):
5501 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5502 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5503 pass around a LatexRunParams parameter.
5505 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5507 * paragraph.[Ch]: remove unused constructor
5509 * ParagraphList.C (erase): new function, taking two iterators
5511 2003-05-22 André Pönitz <poenitz@gmx.net>
5513 * undo_funcs.C: remove duplicated code
5515 * iterator.[Ch]: operator=
5517 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5519 * tabular.C (SetMultiColumn): ws changes
5521 * rowpainter.C (paintFirst): get rid of a ->previous
5523 * lyx_cb.C (getPossibleLabel): parlist simplification
5525 * BufferView.C (ChangeInsets): simplify slightly.
5527 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5529 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5530 * lfuns.h: new LFUN_SPACE
5531 * lyxfunc.C: protected space has a new lfun
5532 * paragraph_funcs.C: read new space insets
5534 * factory.C: handle new space insets
5536 2003-05-22 André Pönitz <poenitz@gmx.net>
5539 * BufferView_pimpl.C:
5542 * undo_funcs.C: return a ParIterator from getParFromID.
5544 * iterators.[Ch]: add two const's
5546 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5548 * toc.C (getTocList): adjust
5550 * iterators.[Ch]: rework for parlist
5552 * buffer.C (par_iterator_begin): adjust
5553 (par_iterator_end): adjust
5555 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5557 * BufferView.C (removeAutoInsets): adjust
5558 (ChangeInsets): adjust
5560 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5562 * text.C (top_y): fix bug 1110
5564 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5566 * errorlist.[Ch]: added
5569 * BufferView_pimpl.C:
5570 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5573 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5575 * Makefile.am: ensure that lyx is relinked upon changes to the
5576 various "convenience" libs.
5578 2003-05-20 Angus Leeming <leeming@lyx.org>
5580 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5581 files are compiled in alphabetical order again.
5583 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5585 2003-05-19 Angus Leeming <leeming@lyx.org>
5587 * gettext.[Ch]: remove "char const * _(char const *)".
5589 2003-05-19 André Pönitz <poenitz@gmx.net>
5591 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5600 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5602 2003-05-19 André Pönitz <poenitz@gmx.net>
5606 * lyxtextclass.[Ch]:
5608 * paragraph_funcs.[Ch]:
5610 * text3.C: more insetenv work
5612 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5614 * ParagraphParameters.C (params2string): small bug fixed
5616 2003-05-16 André Pönitz <poenitz@gmx.net>
5619 * bufferview_funcs.C: patch from Kornel Benko to prevent
5620 crash when _(...) is called twice in a statement
5622 2003-05-16 André Pönitz <poenitz@gmx.net>
5629 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5631 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5633 * lyx_main.C (init): remove spurious static_cast
5635 2003-05-14 André Pönitz <poenitz@gmx.net>
5637 * BufferView.C: fix format string
5639 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5641 * BufferView.[Ch] (insertErrors): removed
5642 * BufferView.[Ch] (showErrorList): added
5643 * buffer.C (runChkTeX):
5644 * converter.C (scanLog): call showErrorList instead of inserterrors
5646 2003-05-13 André Pönitz <poenitz@gmx.net>
5648 * BufferView_pimpl.C:
5650 * bufferview_func.C:
5657 * tabular_funcs.h: tostr() from its own header
5659 * ParagraphParameters.C:
5664 * text3.C: STRCONV()
5666 2003-05-12 André Pönitz <poenitz@gmx.net>
5669 * BufferView_pimpl.C:
5673 * ParagraphParameters.C:
5677 * bufferview_funcs.C:
5690 * paragraph_funcs.C:
5694 * text3.C: boost::format -> bformat all over the place
5697 2003-05-09 André Pönitz <poenitz@gmx.net>
5699 * LColor.[Ch]: Pimpl the #include <map> away
5701 2003-05-09 John Levon <levon@movementarian.org>
5703 * bufferlist.C: never remove emergency saves
5705 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5707 * Makefile.am: better lib building
5709 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5711 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5713 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5714 (simpleTeXSpecialChars): adjust
5715 (simpleTeXSpecialChars): adjust
5716 * paragraph.C (simpleTeXOnePar): adjust
5717 * buffer.C (makeLaTeXFile): adjust
5719 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5721 * text2.C (changeDepth): parlist cleanup
5722 (getColumnNearX): ditto
5724 * rowpainter.C (getLabelFont): parlist cleanup
5726 * bufferlist.C (newFile): parlist cleanup
5728 * CutAndPaste.C (eraseSelection): parlist cleanup
5730 * BufferView_pimpl.C (trackChanges): parlist cleanup
5733 * BufferView.C (lockInset): parlist cleanup.
5734 (ChangeInsets): ditto
5736 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5738 * CutAndPaste.h: Update file header.
5740 * CutAndPaste.C: Update file header.
5741 Store the parts cut out of the Document in a limited_stack.
5742 (copySelection): adjust
5743 (pasteSelection): new function, takes the index in the limited stack.
5744 (nrOfParagraphs): adjust
5745 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5746 simplify error inset insertion.
5747 (checkPastePossible): adjust
5749 2003-05-06 John Levon <levon@movementarian.org>
5751 * text2.C: don't cast wrap inset to float
5753 2003-05-05 André Pönitz <poenitz@gmx.net>
5756 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5758 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5759 few naked Paragraph *.
5761 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5763 * bufferparams.C: Output warning if a document with missing
5764 TeX document class is loaded
5765 * exporter.C: Disable TeX exports if the document class is missing
5768 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5769 isTeXClassAvailable()
5771 2003-05-03 John Levon <levon@movementarian.org>
5774 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5775 explicit cursor show/hide
5777 * BufferView_pimpl.h:
5778 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5779 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5781 * lyxfunc.C: hide cursor before dispatching.
5786 * text3.C: remove explicit cursor hides
5788 2003-05-02 André Pönitz <poenitz@gmx.net>
5790 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5793 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5796 * text2.C: tiny whitespace
5798 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5800 * undo_funcs.C: almost only ws changes.
5802 * ParagraphList.C (splice): just return if pl is empty.
5804 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5806 * ParagraphList.C (splice): new function.
5808 * CutAndPaste.C (pasteSelection): use it
5810 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5812 * CutAndPaste.C (pasteSelection): remove the last next and
5813 previous from this file.
5815 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5817 * CutAndPaste.C (pasteSelection): more clean up, user proper
5818 ParagraphList functions for pasteing.
5820 * ParagraphList.C (insert): new function, three arg insert
5822 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5824 * ParagraphList.C (insert): new function, three arg insert
5826 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5829 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5831 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5833 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5835 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5837 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5839 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5840 (copySelection): clean up a bit.
5841 (pasteSelection): use make_pair
5843 * ParagraphList.C (ParagraphList): implement copy constructor
5844 (operator=): implement, base on copy constructor.
5847 * paragraph.C (erase): return a bool
5849 * paragraph_pimpl.C (erasePos): remove function, move contents...
5850 (erase): ... here. Return a bool.
5851 (erase): call erase instead of erasePos.
5853 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5855 * ParagraphList.h: define PitPosPair
5856 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5857 ParagraphList, fix a bug on pasting multiple pars
5858 * text2.C: change interface to C&P
5860 2003-04-30 André Pönitz <poenitz@gmx.net>
5862 * undo_func.C: revert part of yesterday's patch 2
5864 2003-04-30 John Levon <levon@movementarian.org>
5866 * LColor.C: s/tabular/table/
5868 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5870 * text3.C (dispatch): do not convert iterator -> pointer
5871 * undo_funcs.C (setCursorParUndo): ditto
5872 * text_funcs.C (transposeChars): ditto
5874 * text2.C (setLayout): ws changes only
5876 * text.C (breakParagraph): do not convert iterator -> pointer
5878 (acceptChange): ditto
5879 (rejectChange): ditto
5884 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5887 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5889 * text3.C (gotoInset): YABG (yet another bad getChar)
5891 2003-04-29 André Pönitz <poenitz@gmx.net>
5893 * paragraph.h: make operator= private unimplemented as long as
5896 * ParagraphList.C: whitespace
5899 * paragraph_pimpl.[Ch]:
5900 * paragraph_funcs.C:
5902 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5905 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5907 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5909 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5910 * paragraph.[Ch] (erase):
5911 * paragraph_pimpl.[Ch] (erase): change return type and value
5912 * text2.C (cutSelection): some rework
5914 2003-04-28 John Levon <levon@movementarian.org>
5916 * bufferlist.C: changes for unsaved changes dialog
5918 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5920 * bufferlist.C (newFile): set language (messages_) for new
5923 * buffer.C (readFile): ws changes only.
5925 2003-04-28 André Pönitz <poenitz@gmx.net>
5930 * BufferView_pimpl.C:
5931 * BufferView.C: getParFromID related ParagraphList::iterator changes
5933 2003-04-28 André Pönitz <poenitz@gmx.net>
5935 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5938 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5940 * messages.C: remove one more localedir class variable.
5942 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5944 * messages.C (getLocaleDir): singleton generation function
5946 (Messages): add a default constructor.
5948 * main.C (main): do not setup localedir here, do not call
5951 * gettext.C (_): use it.
5952 (gettext_init): delete funciton
5954 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5956 * gettext.C (getLyXMessages): new singleton generating function.
5958 * buffer.C (updateDocLang): adjust
5960 * Makefile.am (messages.o): add target
5961 (main.o): remove target
5963 2003-04-27 John Levon <levon@movementarian.org>
5968 * lyxvc.C: specify cancel button in Alert::prompt
5970 2003-04-26 John Levon <levon@movementarian.org>
5975 * LyXAction.C: add LFUN_INSET_SETTINGS
5977 * lyxfunc.C: don't enable tabular-feature when there's
5978 just any locking inset
5980 2003-04-26 John Levon <levon@movementarian.org>
5982 * bufferlist.C: re-add Cancel to buffer close question
5984 * lyxfunc.C: fix import UI a bit
5986 2003-04-25 John Levon <levon@movementarian.org>
5988 * gettext.C: remove the broken asserts for now
5990 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5992 * messages.C: make case where setlocale cannot comply work better.
5994 * buffer.C (updateDocLang): new function
5995 (changeLanguage): use it
5998 * text2.C (setCounter): use B_ a bit.
6000 * lyxlayout.C (Read): be sure to trim the label strings.
6002 * messages.C (Messages): fix typo in comment
6004 * buffer.C (readFile): set message_ after file is loaded.
6005 (makeDocBookFile): remove double return
6006 (changeLanguage): reset message_ upon language change.
6007 (B_): new func, use this to get translated buffer strings.
6009 * main.C: add myself and Jean Marc as authors.
6011 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
6013 * messages.[hC]: pimplify Messages, and three different pimpls to be
6014 used in different circumstances.
6016 * gettext.[Ch]: change for use with new message code.
6018 2003-04-24 André Pönitz <poenitz@gmx.net>
6020 * factory.C: support for eqref
6022 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
6024 * messages.[Ch]: add missing char
6026 * Makefile.am (lyx_SOURCES): add messages.[Ch]
6028 * messages.[Ch]: New files
6030 2003-04-18 John Levon <levon@movementarian.org>
6034 * BufferView_pimpl.C:
6038 * text2.C: remove layout-copy/paste (bug 778)
6040 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6042 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6044 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6046 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6047 if they succeed. Act accordingly.
6049 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6051 * text2.C (setCharFont): adjust
6052 (setCounter): adjust
6053 (insertStringAsLines): adjust
6055 * text.C (leftMargin): adjust
6056 (setHeightOfRow): adjust
6058 * rowpainter.C (paintFirst): adjust
6061 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6063 (isFirstInSequence): ditto
6064 (getEndLabel): ditto
6067 * paragraph.C (getParLanguage): comment out some hard stuff.
6069 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6071 (simpleDocBookOnePar): ditto
6072 (makeDocBookFile): use ParagraphList::iterator
6074 * CutAndPaste.C (pasteSelection): adjust
6076 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6078 * text2.C (getFont): adjust
6079 (getLayoutFont): adjust
6080 (getLabelFont): adjust
6082 * paragraph_funcs.C (TeXOnePar): adjust
6084 * buffer.C (simpleLinuxDocOnePar): adjust
6085 (simpleDocBookOnePar): adjust
6087 * CutAndPaste.C (pasteSelection): adjust
6089 * BufferView.C (getEncoding): adjust
6091 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6093 2003-04-16 John Levon <levon@movementarian.org>
6095 * lyxfind.C: use parlist stuff for search/changes
6097 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6099 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6101 * text2.C (deleteEmptyParagraphMechanism): adjust
6103 * text2.[Ch] (ownerParagraph): delete func (both of them
6105 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6107 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6109 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * ParagraphList.C: prepare for NO_NEXT
6113 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6115 * text2.C (getFont): adjust
6116 (getLayoutFont): adjust
6117 (getLabelFont): adjust
6119 * paragraph.C (getFont): adjust
6120 (getLabelFont): adjust
6121 (getLayoutFont): adjust
6123 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6125 2003-04-15 John Levon <levon@movementarian.org>
6129 * lyx_main.C: handle Include in .ui files
6131 2003-04-15 John Levon <levon@movementarian.org>
6133 * MenuBackend.C: make the doc files length shorter
6136 * ToolbarBackend.C: handle toolbar placement flags,
6139 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6141 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6144 * paragraph_funcs.C (TeXOnePar): adjust
6146 * paragraph.C (getLabelFont): add outerfont arg, adjust
6147 (getLayoutFont): ditto
6148 (simpleTeXOnePar): adjust
6150 * paragraph_pimpl.C (realizeFont): delete func
6152 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6154 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6155 row argument, constify cur argument.
6157 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6159 * text2.C (getFont): adjust
6160 (getLayoutFont): adjust
6161 (getLabelFont): adjust
6163 * paragraph_funcs.C (TeXOnePar): adjust
6164 (outerFont): new func...
6165 (realizeFont): ...moved out from here, changed this to facilitate
6168 * paragraph.C (getFont): take outerfont as arg, adjust
6169 (simpleTeXOnePar): add outerfont arg, adjust
6171 * buffer.C (simpleLinuxDocOnePar): adjust
6172 (simpleDocBookOnePar): adjust
6174 * CutAndPaste.C (pasteSelection): adjust
6176 * BufferView.C (getEncoding): adjust
6178 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6180 * text2.C (setCharFont): adjust
6181 (setCounter): adjust
6183 * text.C (leftMargin): adjust
6184 (setHeightOfRow): adjust
6186 * rowpainter.C (paintFirst): adjust
6189 * paragraph_pimpl.C (realizeFont): adjust
6191 * paragraph.C (isFirstInSequence): move from here...
6192 * paragraph_funcs.C (isFirstInSequence): ...to here
6194 * paragraph.C (outerHook): move from here...
6195 * paragraph_funcs.C (outerHook): ...to here
6197 * paragraph.C (depthHook): move from here...
6198 * paragraph_funcs.C (depthHook): ...to here
6200 * paragraph.C (getEndLabel): move from here...
6201 * paragraph_funcs.C (getEndLabel): ...to here
6203 * text2.C (realizeFont): move from here...
6204 * paragraph_funcs.C (realizeFont): ...to here
6206 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6208 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6210 2003-04-14 Angus Leeming <leeming@lyx.org>
6212 * LColor.[Ch]: scrap LColor mathcursor.
6214 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6216 * lyxlex.[Ch] (text): delete function
6217 * trans.C (Load): adjust
6218 * paragraph_funcs.C (readParToken): adjust
6220 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6222 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6223 vector<char> instead of a char[].
6225 * lyxlex_pimpl.C (getString): adjust
6227 (lex): use getString
6231 * lyxlex.C (text): use pimpl_->getString()
6235 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6237 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6238 (makeFontEntriesLayoutSpecific): temp var for par.size()
6239 (setLayout): temp var for ownerParagraphs().end()
6240 (fullRebreak): temp var for rows().end()
6241 (selectionAsString): temp var for boost::next(startpit), realize
6242 that the while really is a regular for loop.
6243 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6244 setCursor in one place.
6245 (setParagraph): temp vr for ownerParagraphs().end()
6246 (updateCounters): make the while loop a for loop
6247 (cutSelection): temp var for ownerParagraphs().end()
6248 (updateInset): make the do {} while() a regular for loop
6249 (getCursorX): use temp vars
6250 (setCurrentFont): use temp vars
6251 (getColumnNearX): use temp vars
6253 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6255 * text.C (transformChar): use temp var for getChar
6256 (computeBidiTables): use temp var for row->par()
6257 (fill): move temp vars for row->par() and pit->layout() earlier in
6259 (labelFill): use temp var for row->par()
6260 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6261 asc and desc, realize that pit never changes and that firstpit is
6262 just a duplicate and not needed. Exchange rit->par() with pit in a
6264 (breakAgain): use a temp var for boost::next(rit)
6265 (breakAgainOneRow): ditto
6266 (breakParagraph): use a temp var for rows().begin()
6267 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6268 (cursorRightOneWord): use temp var for cursor.par() and
6269 cursor.pos(), remove usage of tmpcursor.
6270 (cursorLeftOneWord): use temp var for cursor.par() and
6271 cursor.pos() only set cur at end of function.
6273 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6275 * text.C, text2.C: exchange all usage of Paragraph::next with
6276 boost::next(ParagraphList::iterator)
6278 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6280 * text2.C (cursorTop): simplify implementation
6281 (cursorBottom): ditto
6282 (setParagraph): use ParagraphList::iterator
6283 (setCurrentFont): adjust
6284 (getColumnNearX): adjust
6285 (cursorRight): adjust
6286 (cursorLeft): remove usage of Paragraph::previous
6287 (cursorUpParagraph): ditto
6288 (deleteEmptyParagraphMechanism): slight cleanup
6290 * text.C (isBoundary): take a Paragraph const & instead of a
6292 (addressBreakPoint): ditto
6293 (leftMargin): remove usage of Paragraph::previous.
6294 (setHeightOfRow): ditto
6295 (cursorLeftOneWord): ditto
6296 (selectNextWordToSpellcheck): ditto
6299 (breakParagraph): remove one usage of Paragraph::next
6300 (redoParagraph): ditto
6301 (acceptChange): ditto
6302 (insertChar): adjust
6303 (rowBreakPoint): adjust
6305 * bufferview_funcs.C (toggleAndShow): adjust
6307 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6309 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6310 methods to access it.
6312 * text.C: Added updateRowPositions to compute all row positions.
6313 Make top_y and getRowNearY() to use the cached y position
6315 2003-04-11 John Levon <levon@movementarian.org>
6317 * text.C (rowBreakPoint): reintroduce the labelEnd
6318 checks, code copied from the row fill stuff. Deep voodoo.
6320 * text.C (fill): add a comment and debugging for the
6323 2003-04-11 John Levon <levon@movementarian.org>
6325 * text.C: make sure fullrow insets get wrapped to the next line,
6326 even when they're in a manual label
6328 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6330 * text2.C (insertParagraph): make it take ParagraphList::iterator
6332 (setLayout): make it return ParagraphList::iterator
6333 (redoParagraphs): ditto
6335 (checkParagraph): ditto
6337 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6339 * text2.C: adjust several funcs.
6340 (realizeFont): take a ParagraphList::iterator as arg.
6341 (getLayoutFont): ditto
6342 (getLabelFont): ditto
6343 (setCharFont): ditto
6345 * text.C: adjust several funcs.
6347 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6349 * text.C (selectNextWordToSpellcheck): don't accidentally
6352 2003-04-10 John Levon <levon@movementarian.org>
6354 * ToolbarBackend.C (getIcon): special handling for
6357 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6359 * text2.C (cursorRight): a getChar assert fixed
6361 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6363 * text2.C (getFont): change to take a ParagraphList::iterator
6364 instead of Paragraph*
6365 Adjust several functions.
6367 * text.C (transformChar): change to take a ParagraphList::iterator
6368 instead of Paragraph*
6369 (singleWidth): ditto
6370 Adjust several functions.
6372 * rowpainter.C: adjust several functions
6373 * rowpainter.h:store a ParagraphList::iterator and not a
6377 2003-04-09 John Levon <levon@movementarian.org>
6382 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6383 and the "help" bits as well
6385 2003-04-09 John Levon <levon@movementarian.org>
6388 * ToolbarBackend.C: allow multiple toolbars
6390 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6392 * undo_funcs.C (setCursorParUndo): adjust
6394 * text_funcs.C (transposeChars): adjust
6396 * text3.C (gotoNextInset): adjust
6399 * text2.C (setLayout): adjust
6400 (changeDepth): adjust
6402 (redoParagraphs): adjust
6403 (selectionAsString): adjust
6404 (setParagraph): adjust
6405 (insertInset): adjust
6406 (cutSelection): adjust
6407 (copySelection): adjust
6408 (pasteSelection): adjust
6409 (insertStringAsLines): adjust
6410 (updateInset): adjust
6411 (setCursor): change to take a ParagraphList::iterator parameter
6412 (setCursorIntern): change to take a ParagraphList::iterator parameter
6413 (setCurrentFont): adjust
6414 (cursorLeft): adjust
6415 (cursorRight): adjust
6416 (deleteEmptyParagraphMechanism): adjust
6418 * text.C (breakParagraph): adjust
6419 (insertChar): adjust
6420 (acceptChange): adjust
6421 (rejectChange): adjust
6422 (selectNextWordToSpellcheck): adjust
6423 (changeCase): adjust
6427 * lyxfind.C (SearchForward): adjust
6428 (SearchBackward): adjust
6429 (nextChange): adjust
6431 * lyxcursor.C (par): adjust
6433 * lyxcursor.h: store a ParagraphList::iterator instead of a
6436 * lyx_cb.C (getPossibleLabel): adjust
6438 * bufferview_funcs.C (toggleAndShow): adjust
6440 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6443 * BufferView.C (removeAutoInsets): adjust
6444 (lockedInsetStoreUndo): adjust
6446 2003-04-09 John Levon <levon@movementarian.org>
6448 * ToolbarBackend.C: try icon without argument
6449 if with argument fails
6451 2003-04-08 John Levon <levon@movementarian.org>
6454 * ToolbarBackend.C: add getIcon(), handle tooltip,
6455 and change from "Icon" to "Item".
6457 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6459 * BufferView.C (lockInset): another bad getchar crunched
6461 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6463 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6466 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6468 * lyxfind.C (searchForward, searchBackwards): bug 782
6470 2003-04-07 John Levon <levon@movementarian.org>
6472 * paragraph.C: remove dead comment
6474 * text.C: remove troublesome depth-fiddling code
6475 in leftMargin() and rightMargin() (bug 1017)
6477 * text.C: fix breaking of rows in nested lists
6480 * text2.C (updateCounters): fix up depth values
6483 2003-04-07 John Levon <levon@movementarian.org>
6485 * BufferView_pimpl.C: clear message when doc finishes resizing,
6486 and after a mouse event
6488 * lyxfunc.C: clear message after exiting inset
6490 2003-04-07 John Levon <levon@movementarian.org>
6492 * bufferview_funcs.C: show math status not outside
6493 status in the statusbar
6495 2003-04-07 John Levon <levon@movementarian.org>
6497 * lyxfunc.C: note status changed after a depth change
6499 2003-04-04 Angus Leeming <leeming@lyx.org>
6501 * LaTeX.h: move AuxInfo operator==, != out of line.
6502 Remove LaTeX virtual destructor; nothing derives from it.
6503 Move operator()() out of public area and rename it startscript().
6504 Change protected for private.
6506 2003-04-04 Angus Leeming <leeming@lyx.org>
6509 * text2.C: remove unneeded #includes.
6511 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6513 * text2.C (dEPM): fix the heigth of the next row
6515 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6517 * text.C: squashed an invalid getChar requester + some ws changes
6519 2003-04-03 John Levon <levon@movementarian.org>
6521 * bufferview_funcs.h:
6522 * bufferview_funcs.C:
6525 * text2.C: make getStatus work for the env depth lfuns
6527 2003-04-03 John Levon <levon@movementarian.org>
6529 * bufferview_funcs.h:
6530 * bufferview_funcs.C:
6533 * text2.C: parlistize decDepth(), by merging it with incDepth()
6535 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6537 * lyxrow.h: store a ParagraphList::iterator instead of a
6538 Paragraph* and adjust other class functions to suit.
6540 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6543 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6545 * text2.C (setCursor): do not anchor to cursor row for the time being
6547 2003-04-02 John Levon <levon@movementarian.org>
6554 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6556 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6558 * paragraph.h: make ParagraphList and ParagraphList::iterator
6559 friends of Paragraph.
6561 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6563 * ParagraphList.C: Use the private next_ and previous_ from
6566 2003-04-01 John Levon <levon@movementarian.org>
6570 * Makefile.am: rename, remove defaults gunk
6573 * MenuBackend.C: remove defaults gunk
6576 * Languages.C: remove defaults gunk
6579 * lyx_main.C: error out if files couldn't be found.
6581 2003-04-02 John Levon <levon@movementarian.org>
6583 * text2.C: make incDepth() use parlist
6585 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6587 * undo_funcs.C (firstUndoParagraph): adjust
6589 * text3.C (gotoInset): adjust
6590 (dispatch): adjust, and rewrite loop.
6592 * text2.C (init): adjust, and rewrite loop.
6593 (redoParagraphs): adjust
6594 (updateInset): adjust, and rewrite loop.
6595 (deleteEmptyParagraphMechanism): adjust
6597 * tabular.C (LyXTabular): adjust
6598 (SetMultiColumn): adjust
6601 * lyxtext.[Ch] (ownerParagraph): delete function
6602 (ownerParagraphs): new function returns a ParagraphList.
6604 * BufferView.C (removeAutoInsets): adjust
6605 (insertErrors): adjust
6606 (setCursorFromRow): adjust
6608 2003-04-01 Angus Leeming <leeming@lyx.org>
6610 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6613 2003-04-02 John Levon <levon@movementarian.org>
6619 * text_funcs.C: make transposeChars a free function
6621 * lyxrow_funcs.C: remove wrong comment
6623 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6626 * rowpainter.C: adjust
6631 * lyxrow_funcs. [Ch]: new files
6633 * lyxrow.[Ch]: remove next and previous pointers
6634 (next,previous): remove accessor functions
6635 (isParEnd): move to lyxrow_funcs
6636 (lastPos): move to lyxrow_funcs
6637 (nextRowIsAllInset): move to lyxrow_funcs
6638 (lastPrintablePos): move to lyxrow_funcs
6639 (numberOfSeparators): move to lyxrow_funcs
6640 (numberOfHfills): move to lyxrow_funcs
6641 (numberOfLabelHfills): move to lyxrow_funcs
6642 (hfillExpansion): move to lyxrow_funcs
6646 * bufferview_funcs.C (toggleAndShow): adjust
6648 * RowList.h: Remove class RowList from file leave just a
6651 * RowList.C: delete file
6653 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6656 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6658 * text3.C (cursorPrevious): adjust
6659 (cursorNext): adjust
6662 * text2.C (redoHeightOfParagraph): adjust
6663 (redoDrawingOfParagraph): adjust
6666 * text.C (breakParagraph): adjust
6667 (insertChar): adjust
6670 * rowpainter.C (RowPainter): adjust
6671 (leftMargin): simplify and adjust
6672 (most rowpainter functions): adjust.
6674 * rowpainter.h: store the row as RowList::iterator not as Row*
6676 * lyxcursor.C (row): taka RowList::iterator as arg
6679 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6682 2003-04-01 Angus Leeming <leeming@lyx.org>
6684 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6685 stuff like bool Bool.
6687 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6689 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6692 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6694 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6697 * lyxtext.h (rows): drop one version and leve a const variant that
6698 returns a RowList::iterator.
6700 2003-03-31 Angus Leeming <leeming@lyx.org>
6702 * text.C (fill): ensure that the signature is the same as that in the
6705 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6707 * text2.C (redoParagraphs): adjust
6708 (updateCounters): adjust
6709 (checkParagraph): adjust
6710 (getColumnNearX): adjust and reformat a bit.
6712 * text.C (top_y): adjust
6714 (leftMargin): adjust
6715 (prepareToPrint): adjust
6717 (getRowNearY): adjust
6719 * lyxtext.h: make rowlist_ mutable.
6721 * RowList.h: add const_iterator
6722 * RowList.C: adjust for RowList::const_iterator.
6724 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6727 2003-03-31 John Levon <levon@movementarian.org>
6730 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6732 * lyx_main.C: set default fonts from using lyx_gui funcs
6734 * exporter.C: pdf_mode moved from lyxrc
6737 * lyxfunc.C: changes from above
6739 2003-03-31 John Levon <levon@movementarian.org>
6741 * lyx_main.C: fix to the last fix
6743 2003-03-31 John Levon <levon@movementarian.org>
6745 * bufferlist.C: "Load original" -> "Load Original"
6751 * format.C: more Alert cleanups
6753 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6755 * text2.C (removeParagraph): make it take a RowList::iterator as
6757 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6758 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6760 * text.C (anchor_row): make it take a RowList::iterator as arg,
6762 (computeBidiTables): make it take a const reference to Row instead
6763 of Row pointer, adjust.
6764 (leftMargin): make it take a RowList::iterator as arg, adjust.
6765 (rowBreakPoint): adjust
6766 (breakAgainOneRow): make it take a RowList::iterator as arg,
6768 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6770 * bufferview_funcs.C (toggleAndShow): adjust
6772 2003-03-30 John Levon <levon@movementarian.org>
6776 * boost-inst.C: moved to support
6778 * several files: changes as a result
6780 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6782 * text2.C (LyXText): adjust.
6784 (removeRow): make it take a RowList::iterator as arg, adjust.
6785 (fullRebreak): adjust
6786 (deleteEmptyParagraphMechanism): adjust
6787 (clearPaint): adjust
6790 * text.C (top_y): adjust
6791 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6792 (breakAgain): make it take a RowList::iterator as arg, adjust.
6793 (breakParagraph): adjust
6794 (insertChar): adjust
6797 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6798 need_break_row, and refresh_row.
6800 * text3.C (dispatch): adjust
6802 * text2.C (checkParagraph): adjust
6804 (setCursorFromCoordinates): adjust
6806 * text.C (top_y): adjust
6808 (getRow): make it return a RowList::iterator, adjust
6809 (getRowNearY): make it return a RowList::iterator, adjust
6811 * text2.C (init): adjust
6812 (insertRow): remove function
6813 (insertParagraph): adjust
6814 (redoParagraphs): adjust
6815 (fullRebreak): adjust
6816 (updateCounters): adjust
6818 * text.C (top_y): rewrite to use RowList iterators.
6820 (setHeightOfRow): rewrite to sue RowList iterators.
6821 (appendParagraph): adjust
6822 (breakAgain): adjust
6823 (breakAgainOneRow): adjust
6824 (breakParagraph): adjust
6826 (getRowNearY): adjust, and remove commented code.
6828 * lyxtext.h (firstRow): delete function
6829 (lastRow): delete function
6830 (rows): new function (const and non-const versions.)
6831 (insertRow): delete function
6833 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6835 2003-03-29 John Levon <levon@movementarian.org>
6837 * BufferView_pimpl.C: always update scrollbar top
6838 because pasting text when we're anchored could mean we
6839 miss an update altogether
6841 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6843 * text2.C (init): use rowlist_.end() and not 0.
6844 (insertRow): change to take a RowList::iterator as arg, adjust
6846 (insertParagraph): change to take a RowList::iterator as arg,
6848 (redoParagraphs): remove some debug msgs.
6850 * text.C (appendParagraph): change to take a RowList::iterator
6851 arg, adjust for this.
6852 (breakAgain): add an assert
6853 (breakAgainOneRow): ditto
6855 2003-03-29 John Levon <levon@movementarian.org>
6857 * text2.C: do not clear selection after inc/decDepth
6860 2003-03-29 John Levon <levon@movementarian.org>
6863 * buffer.C: fix broken strerrors according to Lars
6865 2003-03-29 John Levon <levon@movementarian.org>
6867 * converters.C: more Alert cleanups
6869 2003-03-29 John Levon <levon@movementarian.org>
6871 * bufferview_funcs.C: remove pointless Alert
6873 * buffer.C: fix confusing error message when
6874 a template is chmoded 000
6876 2003-03-29 John Levon <levon@movementarian.org>
6880 * BufferView_pimpl.C: Alert fixes
6884 * tabular-old.C: remove unused table compat reading
6886 2003-03-29 John Levon <levon@movementarian.org>
6891 * lyx_cb.C: more Alert cleanups
6893 * lyxfunc.C: don't allow chktex if not latex document
6895 2003-03-29 John Levon <levon@movementarian.org>
6899 * buffer.C: warnings pushed down from support/,
6902 2003-03-29 John Levon <levon@movementarian.org>
6904 * lyxfunc.C: safety check for C-r (revert)
6906 2003-03-29 John Levon <levon@movementarian.org>
6909 * bufferlist.C: several UI fixes using Alert::prompt.
6910 Fix the pointless looping quit code. Fix stupid revert
6915 * lyx_cb.C: use Alert::prompt
6917 * lyx_main.C: remove a silly question
6919 * lyxfunc.C: remove a couple of silly questions,
6922 2003-03-28 John Levon <levon@movementarian.org>
6924 * text2.C: fix bug 974 (End on empty par)
6926 2003-03-28 John Levon <levon@movementarian.org>
6928 * BufferView_pimpl.C:
6930 * lfuns.h: remove do-nothing math greek lfuns
6932 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6934 * lyxgluelength.h (isValidGlueLength): add default arg on
6935 parameter 2. Remove default arg from friend in class.
6937 * lyxlength.h (isValidLength): add default arg on parameter 2.
6938 Remove default arg from friend in class.
6940 * text2.C (LyXText): adjust, initialize refresh_row.
6944 (insertParagraph): adjst
6945 (redoParagraphs): adjust
6946 (fullRebreak): adjust
6947 (updateCounters): adjust
6948 (deleteEmptyParagraphMechanism): first attempt at fixing a
6951 * text.C (top_y): adjust
6952 (setHeightOfRow): adjust
6954 (getRowNearY): adjust
6956 * lyxtext.h: include RowList.h
6957 (~LyXText): not needed anymore, deleted.
6958 (firstRow): modify for RowList
6959 (lastRow): new function
6960 Delete firstrow and lastrow class variables, add a Rowlist
6961 rowlist_ class variable.
6963 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6966 * RowList.C (insert): fix case where it == begin().
6968 2003-03-26 Angus Leeming <leeming@lyx.org>
6970 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6971 the thesaurus dialog.
6973 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6975 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6977 * RowList.[Ch]: new files
6979 * ParagraphList.C (erase): handle the case where it == begin
6982 2003-03-25 John Levon <levon@movementarian.org>
6986 * aspell.C: add new aspell support
6989 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6992 2003-03-25 Angus Leeming <leeming@lyx.org>
6995 * LyXAction.C (init): new LFUN_INSET_INSERT.
6997 * BufferView_pimpl.C (dispatch): split out part of the
6998 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
7000 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
7003 2003-03-25 Angus Leeming <leeming@lyx.org>
7005 * lyxfunc.C (dispatch): changes to the Dialogs interface.
7007 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
7010 * text3.C: remove useless row->height(0)
7012 2003-03-25 John Levon <levon@movementarian.org>
7016 * text3.C: rename the refreshing stuff to better names
7018 2003-03-24 John Levon <levon@movementarian.org>
7020 * BufferView_pimpl.h:
7021 * BufferView_pimpl.C: update layout choice on a mouse
7024 2003-03-23 John Levon <levon@movementarian.org>
7026 * Makefile.am: fix commandtags.h reference
7028 2003-03-22 John Levon <levon@movementarian.org>
7030 * BufferView_pimpl.C:
7035 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7037 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7040 * text.C: take the rtl methods out of line
7042 2003-03-21 André Pönitz <poenitz@gmx.net>
7044 * metricsinfo.[Ch]: new files containing structures to be passed around
7045 during the two-phase-drawing...
7047 2003-03-21 André Pönitz <poenitz@gmx.net>
7049 * lyxtextclass.C: read 'environment' tag.
7051 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7053 * text2.C (removeRow): fix bug 964
7055 2003-03-20 John Levon <levon@movementarian.org>
7059 * text2.C: paint cleanups. Inset::update() dropped font
7062 2003-03-19 John Levon <levon@movementarian.org>
7064 * lyxfunc.C: only fitcursor/markDirty if available()
7066 2003-03-19 John Levon <levon@movementarian.org>
7068 * commandtags.h: rename to ...
7070 * lfuns.h: ... this, and renumber / cleanup
7072 2003-03-19 John Levon <levon@movementarian.org>
7074 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7075 fit the cursor after an lfun
7079 * BufferView_pimpl.h:
7080 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7082 * LyXAction.C: layout-character should have ReadOnly
7084 * ParagraphParameters.C:
7086 * bufferview_funcs.C:
7093 * undo_funcs.C: changes from above
7095 2003-03-18 John Levon <levon@movementarian.org>
7097 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7098 remove it from update()
7100 * lyxfunc.C: update layout choice after an lfun
7102 * text3.C: remove extra updateLayoutChoice()s
7104 2003-03-18 John Levon <levon@movementarian.org>
7106 * text.C: top_y change means full repaint, fix
7107 a drawing bug with cursor movement
7109 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7113 * text2.C: anchor row on setCursor
7115 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7117 * lyxtext.h: remove almost all mutable keywords
7120 * text3.C: remove const keywords accordingly
7122 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7124 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7126 (TeXEnvironment): ditto
7129 2003-03-17 John Levon <levon@movementarian.org>
7131 * text.C (rowBreakPoint): remove attempt to fix displayed
7132 math insets inside a manual label
7134 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7136 * lyxtext.h: remove BufferView* as first arg from almost all class
7138 * other files: adjust.
7140 2003-03-17 John Levon <levon@movementarian.org>
7144 * text2.C: more paint cleanups
7146 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7149 * rowpainter.C: remove "smart" background painting code
7151 2003-03-16 John Levon <levon@movementarian.org>
7156 * text3.C: add helper functions for setting refresh_row/y
7158 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7160 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7161 newline inset which *can* get inserted in the pass_thru layouts.
7162 This is primarily for literate documents.
7164 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7166 * buffer.C: increment LYX_FORMAT to 223
7168 2003-03-14 André Pönitz <poenitz@gmx.net>
7170 * textclass.h: prepare for environment handling, ws changes
7171 * lyxlayout.C: read latexheader and latexfooter tags
7173 2003-03-14 John Levon <levon@movementarian.org>
7175 * text2.C: rewrite ::status() a bit
7177 2003-03-13 John Levon <levon@movementarian.org>
7179 * lyxtext.h: add some docs
7181 2003-03-13 John Levon <levon@movementarian.org>
7186 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7188 2003-03-13 John Levon <levon@movementarian.org>
7190 * text3.C: fix appendix redrawing
7192 2003-03-13 John Levon <levon@movementarian.org>
7194 * text.C (setHeightOfRow):
7196 * rowpainter.C: make appendix mark have the text
7197 "Appendix" so the user knows what it is
7200 * LColor.C: s/appendixline/appendix/ from above
7202 2003-03-13 John Levon <levon@movementarian.org>
7204 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7206 * text.C: fix a getChar(pos) bug properly
7208 2003-03-13 Angus Leeming <leeming@lyx.org>
7211 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7212 Probably only temporary. Let's see how things pan out.
7214 * BufferView.C (unlockInset):
7215 * BufferView_pimpl.C (fitCursor):
7216 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7218 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7219 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7221 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7222 new functions that convert ParagraphParameters to and from a string.
7224 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7225 BufferView::Pimpl's dispatch.
7226 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7228 2003-03-13 André Pönitz <poenitz@gmx.net>
7232 * factory.C: make it aware of InsetEnv
7234 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7236 * text2.C (setCursor): never ask for one past last
7237 (setCursor): add some debugging messages.
7239 * text.C (singleWidth): never ask for one past last
7240 (singleWidth): ditto
7242 (rightMargin): ditto
7243 (rowBreakPoint): ditto
7244 (setHeightOfRow): ditto
7245 (prepareToPrint): ditto
7247 * rowpainter.C (paintBackground): never ask for one past last
7248 (paintText): never ask for one past last
7250 * paragraph_pimpl.C (getChar): make the assert stricter, never
7251 allow the one past last pos to be taken
7253 * paragraph.C (getChar): ws changes only
7255 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7256 (numberOfSeparators): ditto
7257 (numberOfHfills): ditto
7259 2003-03-12 John Levon <levon@movementarian.org>
7265 * paragraph_funcs.C: fix per-buffer authorlists
7267 2003-03-12 John Levon <levon@movementarian.org>
7269 * text.C: fix newline in right address
7271 2003-03-12 Angus Leeming <leeming@lyx.org>
7273 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7274 duplicate those in LyXFunc::dispatch.
7278 * ToolbarDefaults.C:
7279 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7280 Add LFUN_FONTFREE_UPDATE.
7282 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7283 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7285 * bufferview_func.[Ch]: several new functions to facilliate
7286 transfer of data to and from the character dialog.
7288 2003-03-12 John Levon <levon@movementarian.org>
7293 * paragraph_funcs.C:
7294 * paragraph_pimpl.C:
7298 * text3.C: remove META_NEWLINE in favour of an inset
7301 * rowpainter.C: remove paintNewline (done by inset)
7303 2003-03-12 John Levon <levon@movementarian.org>
7305 * paragraph_pimpl.C: complain about bad getChar()s
7306 for a while at least
7308 2003-03-12 John Levon <levon@movementarian.org>
7311 * buffer.C: move paragraph read into a separate function,
7312 a little renaming to reflect that.
7315 * bufferparams.C: remove the author_ids map, not necessary now
7318 * factory.C: moved Buffer::readInset to here
7320 * paragraph_funcs.h:
7321 * paragraph_funcs.C: readParagraph free function moved from
7324 * tabular.C: name change
7326 2003-03-12 John Levon <levon@movementarian.org>
7329 * ParagraphParameters.C: move par params input to
7332 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7333 behave like a normal read from the stream wrt reading
7334 a line vs. a \\token
7336 2003-03-12 John Levon <levon@movementarian.org>
7339 * ParagraphParameters.h:
7340 * ParagraphParameters.C: move output code to a
7343 2003-03-12 John Levon <levon@movementarian.org>
7345 * BufferView.C (insertLyXFile):
7348 * tabular.C: use a parlist iterator for creating the
7351 2003-03-12 John Levon <levon@movementarian.org>
7353 * buffer.C: make current_change static local not
7356 2003-03-12 John Levon <levon@movementarian.org>
7358 * buffer.C: fix insertStringAsLines for change tracking
7360 2003-03-12 John Levon <levon@movementarian.org>
7367 * bufferparams.C: move author list into params. Rename some
7368 functions. Move the header reading into a separate token
7369 loop. Move the header token reading into BufferParams.
7371 2003-03-12 John Levon <levon@movementarian.org>
7373 * changes.C: put debug inside lyxerr.debugging() checks
7375 2003-03-11 André Pönitz <poenitz@gmx.net>
7377 * factory.C: make it aware of InsetHFill
7379 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7381 * buffer.C (latexParagraphs): move function from here...
7382 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7385 2003-03-10 Angus Leeming <leeming@lyx.org>
7387 * LyXAction.C (init): fix bug in poplating array with multiple entries
7388 with the same LFUN (spotted by JMarc).
7390 2003-03-10 John Levon <levon@movementarian.org>
7393 * text2.C: move getColumnNearX() near its
7396 2003-03-10 John Levon <levon@movementarian.org>
7398 * text.C: fix break before a minipage
7400 2003-03-10 John Levon <levon@movementarian.org>
7402 * text.C: fix the last commit
7404 2003-03-09 John Levon <levon@movementarian.org>
7408 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7409 bug 365 (don't break before insets unless needed). Don't
7410 return a value > last under any circumstances.
7412 2003-03-09 Angus Leeming <leeming@lyx.org>
7414 * BufferView_pimpl.C (trackChanges, dispatch): call
7415 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7417 2003-03-09 Angus Leeming <leeming@lyx.org>
7419 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7420 than Dialogs::showAboutlyx().
7422 2003-03-09 Angus Leeming <leeming@lyx.org>
7424 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7425 than Dialogs::showTabularCreate().
7427 2003-03-09 John Levon <levon@movementarian.org>
7431 * text2.C: 3rd arg to nextBreakPoint was always the same.
7434 2003-03-08 John Levon <levon@movementarian.org>
7441 * text2.C: Remove the "main" bit from the "main body"
7444 2003-03-08 John Levon <levon@movementarian.org>
7446 * text.C (leftMargin): The left margin of an empty
7447 manual label paragraph should not include the label width
7450 * text.C (prepareToPrint): don't attempt to measure hfills
7451 for empty manual label paragraphs - the answer should be 0
7453 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7455 * CutAndPaste.C: remove commented code and reindent.
7457 2003-03-08 John Levon <levon@movementarian.org>
7460 * lyxfunc.C: move reloadBuffer()
7463 * BufferView.C: to here
7465 * lyxvc.C: add comment
7468 * vc-backend.C: call bv->reload() to avoid
7469 getStatus() check on MENURELOAD
7471 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7473 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7474 to an old format .dep file.
7476 2003-03-07 Angus Leeming <leeming@lyx.org>
7478 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7479 when the LFUN_MOUSE_RELEASE should have been handled by
7480 inset->localDispatch.
7482 2003-03-07 Angus Leeming <leeming@lyx.org>
7484 * BufferView_pimpl.C (dispatch):
7485 * LyXAction.C (init):
7486 * ToolbarDefaults.C (init):
7488 * lyxfunc.C (getStatus):
7489 remove LFUN_INSET_GRAPHICS.
7491 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7493 2003-03-07 Angus Leeming <leeming@lyx.org>
7496 * LyXAction.C (init):
7497 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7499 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7502 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7504 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7505 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7507 2003-03-07 Angus Leeming <leeming@lyx.org>
7509 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7512 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7514 * ParagraphList.C (front): new function
7517 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7519 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7520 and top_row_offset_. removed var first_y.
7522 * text2.C (LyXText, removeRow):
7524 * BufferView_pimpl.C:
7525 use these methods instead of using first_y
7527 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7529 * text2.C (pasteSelection): adjust for checkPastePossible
7531 * CutAndPaste.C: remove Paragraph * buf and replace with
7532 ParagraphList paragraphs.
7533 (DeleteBuffer): delete
7534 (cutSelection): change the tc type to textclass_type
7535 (copySelection): change the tc type to textclass_type
7536 (copySelection): adjust for ParagraphList
7537 (pasteSelection): change the tc type to textclass_type
7538 (pasteSelection): adjust for Paragraphlist
7539 (nrOfParagraphs): simplify for ParagraphList
7540 (checkPastePossible): simplify for ParagraphList
7541 (checkPastePossible): remove unused arg
7543 * ParagraphList.C (insert): handle the case where there are no
7546 * CutAndPaste.h: make CutAndPaste a namespace.
7548 * text3.C (dispatch): adjust
7550 * text.C (breakParagraph): add a ParagraphList as arg
7552 * paragraph_funcs.C (breakParagraph): change to take a
7553 BufferParams and a ParagraphList as args.
7554 (breakParagraphConservative): ditto
7555 (mergeParagraph): ditto
7556 (TeXDeeper): add a ParagraphList arg
7557 (TeXEnvironment): ditto
7560 * buffer.C (readLyXformat2): adjust
7561 (insertStringAsLines): adjust
7562 (latexParagraphs): adjust
7564 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7565 (cutSelection): adjust
7566 (pasteSelection): adjust
7568 * BufferView_pimpl.C (insertInset): adjust
7570 2003-03-05 Angus Leeming <leeming@lyx.org>
7573 * LyXAction.C (init):
7574 * BufferView_pimpl.C (dispatch):
7575 * lyxfunc.C (getStatus):
7576 remove LFUN_CHILD_INSERT.
7578 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7580 2003-03-05 Angus Leeming <leeming@lyx.org>
7583 * LyXAction.C (init):
7584 * src/factory.C (createInset):
7585 * lyxfunc.C (getStatus):
7586 * text3.C (dispatch):
7587 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7589 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7591 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7593 * ParagraphList.C (insert): handle insert right before end()
7594 (erase): fix cases where it can be first or last paragraph.
7596 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7598 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7599 Paragraph::next and Paragraph::previous
7602 * text.C (breakParagraph): adjust
7604 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7605 BufferParams& as arg.
7606 (breakParagraph): use ParagraphList::insert
7607 (breakParagraphConservative): take a Buffer* instead of a
7608 BufferParams& as arg.
7609 (breakParagraphConservative): use ParagraphList::insert.
7611 * buffer.C (insertStringAsLines): un-const it
7612 (insertStringAsLines): adjust
7614 * ParagraphList.C (insert): new function
7616 * CutAndPaste.C (pasteSelection): adjust
7618 * text.C (backspace): adjust
7620 * tabular.C (SetMultiColumn): adjust
7622 * CutAndPaste.C (cutSelection): adjust
7623 (pasteSelection): adjust
7625 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7626 Buffer const * as arg
7628 * ParagraphList.C (erase): new function
7629 * paragraph_funcs.C (mergeParagraph): use it
7630 (mergeParagraph): make it take a Buffer* instead of a
7631 BufferParams* as arg
7633 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7635 (breakParagraphConservative): ditto
7637 * paragraph.h: remove the breakParagraph friend
7639 * paragraph.C (eraseIntern): new function
7640 (setChange): new function
7642 * paragraph_funcs.C (mergeParagraph): make it take a
7643 ParagraphList::iterator instead of a Paragraph *, adjust
7646 * paragraph.h: move an #endif so that the change tracking stuff
7647 also works in the NO_NEXT case.
7649 2003-03-04 Angus Leeming <leeming@lyx.org>
7652 * LyXAction.C: new LFUN_INSET_MODIFY.
7654 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7655 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7657 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7659 * several files: ws changes only
7661 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7662 (TeXEnvironment): ditto
7665 * buffer.C (makeLaTeXFile): adjust
7666 (latexParagraphs): make it take ParagraphList::iterator as args
7668 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7670 * buffer.C (latexParagraphs): adjust
7672 * paragraph.C (TeXOnePar): move function...
7673 (optArgInset): move function...
7674 (TeXEnvironment): move function...
7675 * paragraph_pimpl.C (TeXDeeper): move function...
7676 * paragraph_funcs.C: ...here
7678 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7680 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7682 * buffer.C (readInset): remove compability code for old Figure and
7685 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7687 * buffer.C: ws changes
7690 * BufferView_pimpl.C: ditto
7693 * bufferlist.h: ditto
7697 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7699 * converter.[Ch]: split into itself +
7702 * Makefile.am: += graph.[Ch] + format.[Ch]
7709 * lyxrc.C: added #include "format.h"
7711 2003-02-27 Angus Leeming <leeming@lyx.org>
7713 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7716 * factory.C (createInset): add "label" to the factory.
7718 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7719 string and do no more.
7721 2003-02-27 Angus Leeming <leeming@lyx.org>
7724 * LyXAction.C (init):
7725 * factory.C (createInset):
7726 * BufferView_pimpl.C (dispatch):
7727 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7729 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7731 * lyxfunc.C (dispatch):
7732 * text3.C (dispatch): pass name to params2string.
7734 2003-02-26 Angus Leeming <leeming@lyx.org>
7736 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7738 Rearrange the ~includes. Strip out the unnecessary ones.
7740 * factory.C (createInset): reformat.
7741 create new insets for the various LFUN_XYZ_APPLY lfuns.
7743 2003-02-26 John Levon <levon@movementarian.org>
7746 * lyxrow.C: add isParStart,isParEnd helpers
7748 * paragraph.h: make isInserted/DeletedText take refs
7750 * paragraph_funcs.h:
7751 * paragraph_funcs.C: remove #if 0'd code
7756 * text.C: use lyxrow helpers above.
7757 Move draw and paint routines to RowPainter.
7758 Make several methods use refs not pointers.
7759 Make backgroundColor() const.
7760 Add markChangeInDraw(), isInInset().
7761 Merge changeRegionCase into changeCase.
7762 Make workWidth() shouldn't-happen code into an Assert.
7765 * rowpainter.C: new class for painting a row.
7768 * vspace.C: make inPixels take a ref
7770 2003-02-26 Angus Leeming <leeming@lyx.org>
7772 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7775 2003-02-25 John Levon <levon@movementarian.org>
7777 * ispell.C: give the forked command a more accurate name
7779 2003-02-22 John Levon <levon@movementarian.org>
7782 * toc.C: make TocItem store an id not a Paragraph *
7785 2003-02-21 Angus Leeming <leeming@lyx.org>
7787 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7788 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7789 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7790 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7791 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7792 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7794 * BufferView_pimpl.C (dispatch):
7795 * LyXAction.C (init):
7796 * factory.C (createInset):
7797 * lyxfunc.C (getStatus, dispatch):
7798 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7800 2003-02-21 Angus Leeming <leeming@lyx.org>
7802 * BufferView_pimpl.C (MenuInsertLyXFile):
7803 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7804 * lyxfunc.C (menuNew, open, doImport):
7805 no longer pass a LyXView & to fileDlg.
7807 2003-02-21 Angus Leeming <leeming@lyx.org>
7809 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7810 * LyXAction.C: change, BIBKEY to BIBITEM.
7811 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7812 Change InsetBibKey to InsetBibitem.
7813 Change BIBKEY_CODE to BIBITEM_CODE.
7814 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7815 * factory.C: replace insetbib.h with insetbibitem.h.
7816 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7817 * paragraph.C: replace insetbib.h with insetbibitem.h.
7818 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7819 Change bibkey() to bibitem().
7820 * text.C: remove insetbib.h.
7821 * text2.C: replace insetbib.h with insetbibitem.h.
7822 change bibkey() to bibitem().
7823 * text3.C: remove insetbib.h.
7824 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7826 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7828 * lyxrc.C (output): enclose user email in quotes (in case there are
7831 2003-02-18 John Levon <levon@movementarian.org>
7833 * buffer.h: add std::
7835 2003-02-17 John Levon <levon@movementarian.org>
7841 * pspell.C: reworking. Especially in ispell, a large
7842 number of clean ups and bug fixes.
7844 * lyxfunc.C: fix revert to behave sensibly
7846 2003-02-17 André Pönitz <poenitz@gmx.net>
7849 * commandtags.h: new LFUN_INSERT_BIBKEY
7859 * paragraph_func.C: remove special bibkey handling
7861 2003-02-17 John Levon <levon@movementarian.org>
7863 * text.C (Delete): fix case where delete at the end of
7864 the very first paragraph would not merge the pars
7866 2003-02-17 John Levon <levon@movementarian.org>
7868 * lyxrow.C: fix lastPrintablePos()
7870 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7872 * bufferparams.C (writeLaTeX): add a std:here
7874 * buffer.C: and remove a using directive there
7876 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7878 * buffer.C (makeLaTeXFile): move the code that generates the
7881 * bufferparams.C (writeLaTeX): ... in this new method
7883 * LaTeXFeatures.C (getEncodingSet): make const
7884 (getLanguages): make const
7886 * MenuBackend.C (binding): returns the binding associated to this
7888 (add): sets the status of each item by calling getStatus. Adds
7890 (read): add support for OptSubMenu
7891 (expand): remove extra separator at the end of expanded menu
7893 2003-02-15 John Levon <levon@movementarian.org>
7896 * BufferView_pimpl.C:
7898 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7899 inset code that had no actual effect. Remove unneeded status
7902 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7904 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7907 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7909 * text.C (drawLengthMarker): also draw an arrow marker for
7910 symbolic lengths (medskip...)
7912 2003-02-14 John Levon <levon@movementarian.org>
7915 * tabular.C: better method names
7917 2003-02-14 John Levon <levon@movementarian.org>
7919 * BufferView_pimpl.C:
7924 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7925 it's a more accurate name. Remove some pointless uses.
7927 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7929 * text2.C (LyXText): change order of initilizers to shut off
7932 2003-02-14 John Levon <levon@movementarian.org>
7934 * buffer.C: use ParIterator for getParFromID()
7938 * paragraph_pimpl.h:
7939 * paragraph_pimpl.C: remove unused getParFromID()
7941 2003-02-14 John Levon <levon@movementarian.org>
7943 * buffer.C: remove some very old #if 0'd parse code
7945 2003-02-13 John Levon <levon@movementarian.org>
7949 * text2.C: move hfillExpansion(), numberOfSeparators(),
7950 rowLast(), rowLastPrintable(), numberofHfills(),
7951 numberOfLabelHfills() ...
7954 * lyxrow.C: ... to member functions here.
7959 * text.C: remove LyXText::beginningOfMainBody(), and call
7960 p->beginningOfMainBody() directly. Move the check for
7961 LABEL_MANUAL into the latter.
7968 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7974 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7975 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7977 2003-02-13 John Levon <levon@movementarian.org>
7979 * CutAndPaste.C: remove debug
7981 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7983 * paragraph.C (asString): remove two unused variables
7985 * lyxtextclass.C (readTitleType):
7987 (LyXTextClass): handle new members titletype_ and titlename_
7989 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7991 2003-02-09 John Levon <levon@movementarian.org>
7994 * buffer.C: replace hand-coded list with a map for the dep clean
7996 2003-02-08 John Levon <levon@movementarian.org>
7998 * LaTeX.C: consolidate code into showRunMessage() helper
8000 2003-02-08 John Levon <levon@movementarian.org>
8005 * BufferView.C: change setSelectionOverString() to setSelectionRange()
8006 and pass the size in explicitly
8008 * BufferView_pimpl.h:
8009 * BufferView_pimpl.C:
8011 * BufferView.C: add getCurrentChange()
8013 * BufferView_pimpl.h:
8014 * BufferView_pimpl.C: handle change lfuns
8016 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
8017 for changes. Mark pasted paragraphs as new.
8019 * support/lyxtime.h:
8020 * support/lyxtime.C:
8021 * DepTable.C: abstract time_t as lyx::time_type
8024 * LColor.C: add colours for new text, deleted text, changebars
8026 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
8027 package use "usenames" option.
8031 * LyXAction.C: add change lfuns
8035 * author.C: author handling
8038 * buffer.C: add a per-buffer author list, with first entry as
8039 current author. Handle new .lyx tokens for change tracking. Output
8040 author list to .lyx file. Output dvipost stuff to .tex preamble.
8041 Bump lyx format to 222.
8044 * bufferlist.C: add setCurrentAuthor() to reset current author details
8048 * bufferparams.C: add param for tracking
8050 * bufferview_funcs.C: output change info in minibuffer
8054 * changes.C: add change-tracking structure
8057 * debug.C: add CHANGES debug flag
8060 * lyxfind.C: add code for finding the next change piece
8063 * lyxrc.C: add user_name and user_email
8066 * lyxrow.C: add a metric for the top of the text line
8069 * text.C: implement accept/rejectChange()
8072 * text.C: paint changebars. Paint new/deleted text in the chosen
8073 colours. Strike through deleted text.
8077 * paragraph_pimpl.h:
8078 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8079 in the current change to the insert functions. Rework erase to
8080 mark text as deleted, adding an eraseIntern() and a range-based
8081 erase(). Implement per-paragraph change lookup and
8084 * paragraph_funcs.C: Fixup paste for change tracking.
8086 * tabular.C: mark added row/columns as new.
8088 * text.C: fix rowLast() to never return -1. Don't allow
8089 spellchecking of deleted text. Track transpose changes. Don't
8090 allow paragraph break or merge where appropriate.
8092 * text2.C: leave cursor at end of selection after a cut.
8094 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8096 * text.C (getLengthMarkerHeight):
8097 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8098 visible on screen too.
8100 2003-02-07 John Levon <levon@movementarian.org>
8102 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8104 2003-02-05 Angus Leeming <leeming@lyx.org>
8106 * lyxserver.C (read_ready): revert my patch of 11 September last year
8107 as it sends PC cpu through the roof. Presumably this means that
8108 the lyxserver will no longer run on an Alpha...
8110 2003-01-30 Angus Leeming <leeming@lyx.org>
8112 * factory.C (createInset): create an InsetCommandParam of type "index"
8113 and use it to 'do the right thing'.
8115 * text2.C (getStringToIndex): ensure that cursor position is always
8116 reset to the reset_cursor position.
8118 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8120 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8123 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8127 * lyxfunc.C: Output messages with identical spelling, punctuation,
8130 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8132 * MenuBackend.C (expandFormats): List only viewable export formats
8135 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8138 * lyxfunc.C (getStatus): Make sure that formats other than
8139 "fax" can also be disabled
8141 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8143 * text3.C (dispatch): put the lfuns that insert insets in 3
8144 groups, and call doInsertInset with appropriate arguments.
8145 (doInsertInset): new function, that creates an inset and inserts
8146 it according to some boolean parameters.
8148 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8150 * buffer.C (readFile): remember to pass on 'par' when calling
8151 readFile recursively.
8153 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8155 * MenuBackend.C (expandFormats): add "..." to import formats.
8157 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8159 * paragraph.C (asString): Remove XForms RTL hacks.
8161 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8162 * buffer.C: fix typo
8164 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8166 * Makefile.am (LIBS): delete var
8167 (lyx_LDADD): add @LIBS@ here instead.
8169 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8171 * Clarify the meaning of "wheel mouse jump"
8173 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8175 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8178 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8180 * importer.C (Loaders): do not preallocate 3 elements in the
8181 vector, since one ends up with 6 elements otherwise
8183 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8185 * DepTable.C (write): write the file name as last element of the
8186 .dep file (because it may contain spaces)
8187 (read): read info in the right order
8189 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8191 * paragraph_pimpl.C (simpleTeXBlanks):
8192 (simpleTeXSpecialChars):
8193 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8195 * tabular.C (latex): add some missing case statements. Reindent.
8197 * MenuBackend.C (expandToc): remove unused variable.
8199 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8208 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8211 2003-01-05 John Levon <levon@movementarian.org>
8214 * BufferView.C: add getEncoding()
8217 * kbsequence.C: do not store last keypress
8220 * lyxfunc.C: store last keypress here instead. Pass encoding
8223 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8225 * lyx_main.C (init): remove annoying error message when following
8226 symbolic links (bug #780)
8228 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8230 * text.C (insertChar):
8231 * lyxrc.C (getDescription): remove extra spaces
8233 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8235 * lyxrc.C (getDescription): remove extra spaces
8237 2002-12-20 John Levon <levon@movementarian.org>
8239 * text3.C: hack fix for page up/down across tall rows
8241 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8243 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8246 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8248 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8249 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8250 thesaurus is not compiled in
8252 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8254 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8256 2002-12-16 Angus Leeming <leeming@lyx.org>
8259 * lyx_main.C (init): remove override_x_deadkeys stuff.
8261 2002-12-12 John Levon <levon@movementarian.org>
8263 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8264 insert. Only remove shift modifier under strict
8267 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8269 * MenuBackend.C (expandToc): fix crash.
8271 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8273 * MenuBackend.C (expandToc): gettext on float names.
8275 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8277 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8278 implement bool empty() [bug 490]
8280 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8282 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8284 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8286 * several files: ws changes
8288 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8290 * text2.C (setCounter): clean up a bit, use boost.format.
8291 (updateCounters): initialize par upon declaration.
8293 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8294 if the layout exists. We do not just store the layout any more.
8295 (SwitchLayoutsBetweenClasses): use boost.format
8297 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8299 * converter.C (convert): if from and to files are the same, use a
8300 temporary files as intermediary
8302 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8305 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8307 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8309 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8311 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8313 * tabular.C (asciiPrintCell): use string(size, char) instead of
8316 * sgml.C (openTag): fix order of arguments to string constructor
8319 * lyxfunc.C (dispatch): use boost.format
8321 * lots of files: change "c" -> 'c'
8323 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8325 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8327 2002-11-25 Angus Leeming <leeming@lyx.org>
8329 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8331 * lyx_main.C (init): compile fix.
8333 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8335 * lyx_cb.C (start): boost.formatify
8336 do not include <iostream>
8338 * lengthcommon.C: ws only
8340 * boost-inst.C,BoostFormat.h: add more explict instantations
8342 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8344 * lots of files: handle USE_BOOST_FORMAT
8346 2002-11-21 John Levon <levon@movementarian.org>
8348 * pspell.C: fix compile
8350 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8352 * lyxfunc.C (dispatch): use boost::format
8356 * lyxfont.C (stateText): use boost::format
8358 * lyx_main.C (LyX): use boost::format
8360 (queryUserLyXDir): ditto
8363 (typedef boost::function): use the recommened syntax.
8365 * importer.C (Import): use boost::format
8367 * debug.C (showLevel): use boost::format
8369 * converter.C (view): use boost::format
8374 * bufferview_funcs.C (currentState): use boost::format
8376 * bufferlist.C (emergencyWrite): use boost::format
8378 * buffer.C (readLyXformat2): use boost::format
8379 (parseSingleLyXformat2Token): ditto
8381 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8383 * LaTeX.C (run): use boost::format
8385 * Chktex.C (scanLogFile): use boost::format
8387 * BufferView_pimpl.C (savePosition): use boost::format
8388 (restorePosition): ditto
8389 (MenuInsertLyXFile): ditto
8391 * BoostFormat.h: help file for explicit instation.
8393 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8395 * tabular.C (latex): Support for block alignment in fixed width
8398 2002-11-17 John Levon <levon@movementarian.org>
8400 * BufferView_pimpl.C:
8402 * lyxfunc.C: split filedialog into open/save
8404 2002-11-08 Juergen Vigna <jug@sad.it>
8406 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8407 by my last patch (hopefully).
8409 2002-11-08 John Levon <levon@movementarian.org>
8418 * toc.C: ParConstIterator, and use it (from Lars)
8420 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8422 * lyxtextclass.[Ch]: revise and add doxygen comments
8424 2002-11-07 John Levon <levon@movementarian.org>
8426 * text.C: fix progress value for spellchecker
8428 * toc.C: fix navigate menu for insetwrap inside minipage
8430 * paragraph_funcs.C: added FIXME for suspect code
8432 2002-11-07 John Levon <levon@movementarian.org>
8434 * BufferView_pimpl.C: fix redrawing of insets
8437 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8439 * text2.C (updateCounters): fix bug 668
8441 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8443 * text3.C (dispatch): Do not make the buffer dirty when moving the
8446 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8448 * vc-backend.C: STRCONV
8451 * text2.C (setCounter): STRCONV
8453 * paragraph.C (asString): STRCONV
8455 * lyxlength.C (asString): STRCONV
8456 (asLatexString): ditto
8458 * lyxgluelength.C (asString): STRCONV
8459 (asLatexString): ditto
8461 * lyxfunc.C (dispatch): STRCONV
8464 * lyxfont.C (stateText): STRCONV
8466 * importer.C (Import): STRCONV
8468 * counters.C (labelItem): STRCONV
8469 (numberLabel): ditto
8470 (numberLabel): remove unused ostringstream o
8475 * bufferview_funcs.C (currentState): STRCONV
8477 * buffer.C (readFile): STRCONV
8478 (asciiParagraph): ditto
8479 (makeLaTeXFile): ditto
8481 * Spacing.C (writeEnvirBegin): STRCONV
8483 * LaTeXFeatures.C (getLanguages): STRCONV
8484 (getPackages): ditto
8486 (getBabelOptions): ditto
8487 (getTClassPreamble): ditto
8488 (getLyXSGMLEntities): ditto
8489 (getIncludedFiles): ditto
8493 (scanAuxFile): ditto
8496 * LString.h: add the STRCONV macros
8498 * BufferView_pimpl.C (savePosition): STRCONV
8499 (restorePosition): ditto
8500 (MenuInsertLyXFile): ditto
8502 * vc-backend.C (scanMaster): change from submatch[...] to
8505 * funcrequest.C: include config.h
8507 * factory.C: include config.h
8509 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8511 * box.C: include config.h
8513 * LaTeX.C (scanAuxFile): change from submatch[...] to
8517 2002-10-25 Angus Leeming <leeming@lyx.org>
8519 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8521 * ispell.[Ch] (setError): new method.
8522 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8523 Use setError() insetead of goto END.
8525 * lyx_cb.C (AutoSave): move out child process into new class
8528 2002-10-30 John Levon <levon@movementarian.org>
8530 * text3.C: make start appendix undoable
8532 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8534 * lyxlength.C (inPixels): Fix returned value.
8536 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8539 2002-10-24 Angus Leeming <leeming@lyx.org>
8541 * lyxgluelength.h: no need to forward declare BufferParams
8542 or BufferView, so don't.
8544 2002-10-21 John Levon <levon@movementarian.org>
8546 * BufferView.C: menuUndo ->undo, redo
8548 * BufferView.h: document, remove dead, make some methods private
8550 * paragraph_funcs.h:
8551 * paragraph_funcs.C:
8552 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8557 * sgml.C: move sgml open/close tag into sgml.C
8559 * bufferview_funcs.h: unused prototype
8562 * lyxfunc.C: remove unused
8565 * text.C: remove unused
8567 2002-10-21 John Levon <levon@movementarian.org>
8571 * BufferView_pimpl.h:
8572 * BufferView_pimpl.C: fix mouse wheel handling based on
8573 patch from Darren Freeman
8575 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8577 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8579 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8581 * lyxlength.C (inPixels): Fix hanfling of negative length.
8582 Fix LyXLength::MU case.
8584 2002-10-16 John Levon <levon@movementarian.org>
8586 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8588 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8590 * converter.C (view): add support for $$i (file name) and $$p
8591 (file path) for the viewer command. If $$i is not specified, then
8592 it is appended to the command (for compatibility with old syntax)
8594 2002-10-14 Juergen Vigna <jug@sad.it>
8596 * undo_funcs.C (textHandleUndo): alter the order in which the
8597 new undopar is added to the LyXText, as we have to set first
8598 the right prev/next and then add it as otherwise the rebuild of
8599 LyXText is not correct. Also reset the cursor to the right paragraph,
8600 with this IMO we could remove the hack in "redoParagraphs()".
8602 2002-10-09 Angus Leeming <leeming@lyx.org>
8604 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8605 to turn off an optimisation if a new inset is to be inserted.
8607 2002-10-11 André Pönitz <poenitz@gmx.net>
8609 * lyxtext.h: make some functions public to allow access
8610 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8612 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8614 * text3.C (dispatch): when changing layout, avoid an infinite loop
8617 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8619 * lyxrc.C (read): treat a viewer or converter command of "none" as
8622 * MenuBackend.C (expandFormats): for an update, also allow the
8623 formats that are not viewable
8625 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8626 script if it is newer than the lyxrc.defaults in user directory
8628 2002-10-07 André Pönitz <poenitz@gmx.net>
8630 * text.C: Vitaly Lipatov's small i18n fix
8632 2002-09-25 Angus Leeming <leeming@lyx.org>
8634 * ispell.h: doxygen fix.
8636 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8638 * buffer.h (readFile): Add a new argument to the method, to allow
8639 reading of old-format templates.
8641 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8643 * toc.C (getTocList): Get TOC from InsetWrap.
8645 2002-09-16 John Levon <levon@movementarian.org>
8647 * lyxfunc.C: check tabular for cut/copy too
8649 2002-09-12 John Levon <levon@movementarian.org>
8654 * factory.C: add header
8656 * paragraph_funcs.h:
8657 * paragraph_funcs.C: cleanup
8659 2002-09-11 John Levon <levon@movementarian.org>
8661 * PrinterParams.h: odd/even default to true
8663 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8665 * PrinterParams.h: update printer parameters for new xforms dialog
8667 2002-09-11 Angus Leeming <leeming@lyx.org>
8669 * lyxserver.C (read_ready): re-write to make it more transparent
8670 and to make it work in coherent fashion under Tru64 Unix.
8672 2002-09-11 André Pönitz <poenitz@gmx.net>
8676 * text3.C: implement LFUN_WORDSEL
8678 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8680 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8681 make floatlist_ a boost::shared_ptr<FloatList>
8683 * lyxtextclass.C: include FloatList.h
8684 (LyXTextClass): initialize floatlist_
8685 (TextClassTags): add TC_NOFLOAT
8686 (Read): match "nofloat" to TC_NOFLOAT and use it.
8687 (readFloat): modify call to floatlist_
8691 * FloatList.[Ch] (FloatList): remove commented out float
8693 (erase): new function
8695 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8697 * MenuBackend.C (expandToc): fix crash when there is no document
8700 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8702 * many files: Add insetwrap.
8704 2002-09-09 John Levon <levon@movementarian.org>
8706 * text2.C: remove confusing and awkward depth wraparound
8708 2002-09-09 John Levon <levon@movementarian.org>
8710 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8713 * buffer.C: remove getIncludeonlyList()
8716 * lyxfunc.C: remove headers
8718 2002-09-09 Juergen Vigna <jug@sad.it>
8720 * text.C (getColumnNearX): fix form Michael this is most
8721 probably a cut&paste bug.
8723 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8725 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8727 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8728 references, ws changes.
8730 * text2.C (init): update counters after init
8731 (insertParagraph): no need to set counter on idividual paragraphs.
8732 (setCounter): access the counters object in the textclass object
8733 on in the buffer object.
8734 (updateCounters): ditto
8736 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8737 shared_ptr<Counters> to avoid loading counters.h in all
8739 (LyXTextClass): initialize ctrs_
8740 (TextClassTags): add TC_COUNTER, and ...
8741 (Read): use it here.
8742 (CounterTags): new tags
8743 (readCounter): new function
8744 (counters): new funtion
8745 (defaultLayoutName): return a const reference
8747 * counters.C (Counters): remove contructor
8748 (newCounter): remove a couple of unneeded statements.
8749 (newCounter): simplify a bit.
8750 (numberLabel): some small formatting changes.
8752 * buffer.[Ch]: remove all traces of counters, move the Counters
8753 object to the LyXTextClass.
8755 2002-09-06 Alain Castera <castera@in2p3.fr>
8757 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8758 package to set the horizontal alignment on fixed width columns.
8761 * lyx_sty.h: added tabularnewline macro def.
8763 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8765 2002-09-06 John Levon <levon@movementarian.org>
8767 * LyXAction.C: tooltips for sub/superscript
8769 * MenuBackend.C: a bit more verbose
8771 * lyxfunc.C: tiny clean
8773 * undo_funcs.C: document undo_frozen
8775 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8777 * counters.C (Counters): add missing algorithm counter.
8779 * text2.C (setCounter): lookup the counter with layouts latexname
8780 instead of by section number.
8781 (setCounter): use a hackish way to lookup the correct enum
8783 a float name->type change
8784 reset enum couners with counter name directly instead of depth value.
8786 * counters.C (Counters): remove the push_backs, change to use the
8787 float type not the float name.
8788 (labelItem): remove unused string, float name->type change
8790 * counters.h: don't include vector, loose the enums and sects vectors
8792 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8794 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8795 (Read): add float->TC_FLOAT to textclassTags
8796 (Read): and handle it in the switch
8797 (readFloat): new function
8799 * FloatList.C (FloatList): comment out the hardcoded float
8802 * lyxlayout.h: ws change.
8804 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8806 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8808 2002-09-03 Angus Leeming <leeming@lyx.org>
8810 * BufferView_pimpl.h: qualified name is not allowed in member
8811 declaration: WorkArea & Pimpl::workarea() const;
8813 * factory.C: added using std::endl directive.
8815 * text3.C: added using std::find and std::vector directives.
8817 2002-08-29 André Pönitz <poenitz@gmx.net>
8820 * text2.C: remove unused member number_of_rows
8823 * BufferView2.C: remove file, move contents to...
8824 * BufferView.C: ... here
8826 * BufferView_pimpl.C:
8827 * factory.C: move more inset creation to factory
8829 * vspace.C: avoid direct usage of LyXText, ws changes
8832 don't provide direct access to WorkArea, use two simple
8833 acessors haveSelction() and workHeight() instead
8836 2002-08-29 John Levon <levon@movementarian.org>
8838 * BufferView_pimpl.C (dispatch): do not continue when
8841 2002-08-28 André Pönitz <poenitz@gmx.net>
8843 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8846 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8848 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8850 * buffer.C: increment LYX_FORMAT to 221
8852 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8853 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8855 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8857 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8859 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8861 * factory.C (createInset): use LyXTextClass::floats
8863 * MenuBackend.C (expandFloatListInsert):
8864 (expandFloatInsert):
8867 * text2.C (setCounter):
8869 * LaTeXFeatures.C (useFloat):
8870 (getFloatDefinitions):
8872 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8874 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8875 floatlist_, with accessor floats().
8877 * FloatList.h: remove global FloatList
8879 2002-08-26 André Pönitz <poenitz@gmx.net>
8881 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8885 * BufferView_pimpl.C:
8886 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8888 2002-08-25 John Levon <levon@movementarian.org>
8890 * LyXAction.C: fix margin note description
8892 2002-08-24 John Levon <levon@movementarian.org>
8896 * bufferview_funcs.C:
8898 * undo_funcs.C: cleanups
8900 * lyxfunc.C: disable CUT/COPY when no selection
8902 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8904 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8905 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8907 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8908 Add backward compatibility to "mono", "gray" and "no".
8910 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8912 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8913 (and file_format >= 200).
8915 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8917 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8919 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8921 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8923 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8925 * BufferView_pimpl.C:
8932 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8933 inset and code to make it work with the paragraph code. The inset
8934 can be anywhere in the paragraph, but will only do the expected
8935 thing in LaTeX if the layout file contains the parameter line
8937 (or more generally, a nonzero value) for that layout.
8939 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8941 * paragraph.h: remove the declaration of undefined counters class
8944 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8946 * text2.C (setCounter): fixed enumeration mis-count as reported by
8947 Dr. Richard Hawkins.
8949 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8951 * paragraph_funcs.h: remove some unneeded includes
8953 * text.C (backspace): pasteParagraph now in global scipe
8955 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8956 (pasteSelection): ditto
8958 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8959 * paragraph_funcs.C (pasteParagraph): ... here
8961 2002-08-20 André Pönitz <poenitz@gmx.net>
8963 * commandtags.h: new LFUNs for swapping/copying table row/colums
8966 * lyxfunc.C: support for new lfuns
8968 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8971 * buffer.[Ch]: remove NO_COMPABILITY stuff
8973 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8975 * boost.C (throw_exception): new file, with helper function for
8976 boost compiled without exceptions.
8981 * ParameterStruct.h:
8982 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8984 * bufferlist.C (emergencyWriteAll): use boost bind
8986 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8988 * text.C: include paragraph_funcs.h
8989 (breakParagraph): breakParagraph is now in global scope
8991 * paragraph_funcs.[Ch]: new files
8993 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8996 * buffer.C: include paragraph_funcs.h
8997 (insertStringAsLines): breakParagraph is now in global scope
8999 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
9002 * CutAndPaste.C: include paragraph_funcs.h
9003 (cutSelection): breakParagraphConservative is now in global scope
9004 (pasteSelection): ditto
9006 * buffer.h: declare oprator== and operator!= for
9007 Buffer::inset_iterator
9009 * bufferlist.C (emergencyWrite): don't use fmt(...)
9011 * text3.C: add using std::endl
9013 * BufferView.C (moveCursorUpdate): remove default arg
9015 2002-08-20 André Pönitz <poenitz@gmx.net>
9017 * buffer.[Ch]: move inline functions to .C
9020 * BufferView_pimpl.C:
9022 * buffer.[Ch]: use improved inset_iterator
9025 * paragraph.[Ch]: write one paragraph at a time
9027 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
9029 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9030 style if style is not specified.
9032 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9034 * text2.C (setCounter): when searching for right label for a
9035 caption, make sure to recurse to parent insets (so that a caption
9036 in a minipage in a figure float works) (bug #568)
9038 2002-08-20 André Pönitz <poenitz@gmx.net>
9040 * text3.C: new file for LyXText::dispatch() and helpers
9042 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9044 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9046 2002-08-19 André Pönitz <poenitz@gmx.net>
9049 * text.C: new LyXText::dispatch()
9051 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9053 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9055 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9057 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9060 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9062 * Makefile.am: use $(variables) instead of @substitutions@
9064 2002-08-15 André Pönitz <poenitz@gmx.net>
9067 * BufferView_pimpl.C: streamlining mathed <-> outer world
9071 * LyXAction.C: remove unused LFUN_MATH
9073 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9075 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9077 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9079 * paragraph.C (Paragraph): reformat a bit
9080 (cutIntoMinibuffer): use builtin InsetList function instad of
9084 * buffer.C: include boost/bind.hpp, add using std::for_each
9085 (writeFileAscii): use ParagraphList iterators
9086 (validate): use for_each for validate traversal of paragraphs
9087 (getBibkeyList): use ParagraphList iterators
9088 (resizeInsets): use for_each to resizeInsetsLyXText for all
9090 (getParFromID): use ParagraphList iterators
9092 * BufferView2.C (lockInset): use paragraph list and iterators
9094 2002-08-14 John Levon <levon@movementarian.org>
9096 * lyxserver.C: remove spurious xforms include
9098 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9100 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9102 2002-08-13 André Pönitz <poenitz@gmx.net>
9105 * lyxfunc.C: further cleaning
9107 2002-08-13 André Pönitz <poenitz@gmx.net>
9109 * funcrequest.h: new constructor
9111 * funcrequest.C: move stuff here from .h
9114 * BufferView_pimpl.C:
9117 * lyxfunc.C: subsequent changes
9119 * lyxfunc.h: new view() member function
9121 * lyxfunc.C: subsequent changes
9123 2002-08-13 Angus Leeming <leeming@lyx.org>
9126 * BufferView_pimpl.C:
9134 changes due to the changed LyXView interface that now returns references
9135 to member variables not pointers.
9137 2002-08-13 Angus Leeming <leeming@lyx.org>
9139 * WordLangTuple (word, lang_code): return references to strings,
9144 * lyxtext.h: forward-declare WordLangTuple.
9149 * text.C: #include "WordLangTuple.h".
9152 * text.C: (selectNextWordToSpellcheck): constify return type.
9154 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9160 * paragraph_pimpl.h:
9163 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9165 Made updateCounter always count from start of buffer, and removed
9166 second argument (par).
9167 Reverted floats number display to '#'. Perhaps I'll try again when the
9168 code base is sanitized a bit.
9170 2002-08-12 Angus Leeming <leeming@lyx.org>
9172 * buffer.[Ch] (getLabelList): constify.
9174 2002-08-07 André Pönitz <poenitz@gmx.net>
9176 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9178 * funcrequest.h: extension to keep mouse (x,y) position
9180 2002-08-12 Juergen Vigna <jug@sad.it>
9182 * BufferView2.C (insertErrors): forbid undo when inserting error
9185 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9187 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9189 * ParagraphList.[Ch]: new files
9191 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9193 * BufferView2.C (lockInset): ParagraphList changes
9196 * bufferlist.C: ditto
9200 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9202 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9203 unused class variable counter_,
9205 * paragraph.[Ch] (getFirstCounter): delete unused function
9207 * counters.C: include LAssert.h
9208 (reset): add a new function with no arg, change other version to
9209 not have def. arg and to not allow empty arg.
9211 * text2.C (setCounter): remove empty arg from call to Counters::reset
9213 2002-08-11 John Levon <levon@movementarian.org>
9215 * Makefile.am: add WordLangTuple.h
9217 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9219 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9220 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9222 * insets/insettext.C: InsetList changes
9224 * graphics/GraphicsSupport.C (operator()): InsetList changes
9226 * toc.C (getTocList): InsetList changes
9228 * paragraph_pimpl.[Ch]: InsetList changes
9230 * paragraph.[Ch]: InsetList changes
9232 * buffer.C (inset_iterator): InsetList changes
9233 (setParagraph): ditto
9234 * buffer.h (inset_iterator): ditto
9235 * iterators.C (operator++): ditto
9236 * iterators.h: ditto
9238 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9240 * InsetList.[Ch]: new files, most InsetList handling moved out of
9243 * BufferView2.C (removeAutoInsets): InsetList changes
9245 (ChangeInsets): ditto
9247 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9249 * paragraph_pimpl.h (empty): new function
9251 * paragraph.[Ch] (empty): new function
9253 * other files: use the new Paragraph::empty function
9255 2002-08-09 John Levon <levon@movementarian.org>
9257 * lyxtext.h: remove unused refresh_height
9259 2002-08-09 John Levon <levon@movementarian.org>
9266 * paragraph.C: move sgml char escaping out of paragraph
9269 * paragraph.C: remove id setter
9273 * paragraph_pimpl.C: remove dead tex_code_break_column
9275 * bufferview_funcs.C: small cleanup
9277 * lyxfunc.C: remove dead proto
9279 * lyxtext.h: make some stuff private. Remove some dead stuff.
9281 * lyxgluelength.C: make as[LyX]String() readable
9283 2002-08-08 John Levon <levon@movementarian.org>
9288 * ToolbarDefaults.C:
9291 * toc.C: lyxaction cleanup
9293 2002-08-08 John Levon <levon@movementarian.org>
9295 * BufferView2.C: small cleanup
9298 * lyxfind.C: move unnecessary header into the .C
9300 2002-08-08 John Levon <levon@movementarian.org>
9302 * funcrequest.h: just tedious nonsense
9305 * lyx_main.C: cleanups
9308 * vspace.C: remove dead header lyx_main.h
9310 2002-08-07 Angus Leeming <leeming@lyx.org>
9313 * paragraph_pimpl.h:
9314 Forward declare class Counters in paragraph.h by moving the ctrs member
9315 variable into Paragraph::Pimpl.
9316 (counters): new method, returning a reference to pimpl_->ctrs.
9318 * text2.C: ensuing changes.
9320 2002-08-07 John Levon <levon@movementarian.org>
9322 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9324 * BufferView_pimpl.C: announce X selection on double/triple
9327 * lyx_main.C: use correct bool in batch dispatch
9329 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9331 2002-08-07 André Pönitz <poenitz@gmx.net>
9333 * funcrequest.h: new class to wrap a kb_action and its argument
9336 * BufferView_pimpl[Ch]:
9340 * lyxrc.C: subsequent changes
9343 2002-08-07 John Levon <levon@movementarian.org>
9345 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9346 document options change.
9348 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9353 * makefile.am: move counters functionality over from
9354 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9356 2002-08-06 John Levon <levon@movementarian.org>
9358 * WordLangTuple.h: new file for word + language code tuple
9369 * BufferView2.C: use WordLangTuple
9372 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9374 2002-08-06 John Levon <levon@movementarian.org>
9376 * lyx_main.C: fix cmdline batch handling
9378 2002-08-06 André Pönitz <poenitz@gmx.net>
9380 * lyxrc.C: set default for show_banner to true
9382 2002-08-06 John Levon <levon@movementarian.org>
9384 * pspell.C: fix a crash, and allow new aspell to work
9386 2002-08-06 John Levon <levon@movementarian.org>
9389 * kbmap.C: small cleanup
9392 * vspace.C: add const
9394 2002-08-05 John Levon <levon@movementarian.org>
9396 * LyXAction.C: back to tabular-insert
9398 2002-08-04 John Levon <levon@movementarian.org>
9401 * BufferView.C: cosmetic change
9403 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9413 * BufferView2.C: purge all "Lyx" not "LyX" strings
9416 * lyxcursor.C: attempt to add some documentation
9421 * ToolbarDefaults.C:
9422 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9423 merge with LFUN_TABULAR_INSERT
9430 * pspell.C: split up i/pspell implementations into separate
9431 files, many cleanups
9433 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9435 * text2.C: some cleanup
9437 * lyxfunc.C: don't check for isp_command == "none" any more, it
9438 didn't make any sense
9440 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9445 * makefile.am: move counters functionality over
9446 from text2.C/paragraph.[Ch] to counters.[Ch], and
9448 2002-08-02 John Levon <levon@movementarian.org>
9450 * buffer.C: s/lyxconvert/lyx2lyx/
9452 2002-08-02 Angus Leeming <leeming@lyx.org>
9454 * lyxlex.C: revert John's change as it breaks reading of the user
9457 2002-08-02 Angus Leeming <leeming@lyx.org>
9459 * importer.C (Import):
9460 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9461 changes due to LyXView::view() now returning a boost::shared_ptr.
9463 2002-08-02 John Levon <levon@movementarian.org>
9465 * lyxlex.C: small cleanup
9467 2002-08-02 John Levon <levon@movementarian.org>
9469 * text2.C (status): small cleanup, no logic change
9471 2002-08-01 John Levon <levon@movementarian.org>
9474 * buffer.C (writeFile): don't output alerts, caller
9478 * lyx_cb.C: from above
9480 * lyxfunc.C: allow to open non-existent files
9482 2002-07-31 John Levon <levon@movementarian.org>
9484 * lyxserver.C: don't let incidental errors get
9487 2002-07-30 John Levon <levon@movementarian.org>
9489 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9491 2002-07-30 John Levon <levon@movementarian.org>
9494 * lyxserver.C: remove I/O callback too
9496 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9498 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9501 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9503 * many files: strip,frontStrip -> trim,ltrim,rtrim
9505 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9507 * PrinterParams.h: remove extern containsOnly, and include
9508 support/lstrings.h instead.
9510 * LaTeX.C (scanAuxFile): modify because of strip changes
9512 * buffer.C (makeLaTeXFile): ditto
9513 * bufferparams.C (writeFile): ditt
9514 * lyxfont.C (stateText): ditto
9515 * lyxserver.C (read_ready): ditto
9516 * vc-backend.C (scanMaster): ditto
9518 * BufferView_pimpl.h: ws changes
9520 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9522 2002-07-26 André Pönitz <poenitz@gmx.net>
9524 * kb_sequence.C: remove unnedred usings
9526 2002-07-26 Juergen Vigna <jug@sad.it>
9528 * lyxfind.C (LyXReplace): we have to check better if the returned
9529 text is not of theLockingInset()->getLockingInset().
9531 2002-07-25 Juergen Vigna <jug@sad.it>
9533 * lyxfind.C (LyXReplace): don't replace if we don't get the
9536 * undo_funcs.C (createUndo): remove debugging code.
9538 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9540 * buffer.C (parseSingleLyXformat2Token): Use default placement
9541 when reading old floats.
9543 * FloatList.C (FloatList): Change the default placement of figure
9544 and tables to "tbp".
9546 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9548 * MenuBackend.C: using std::max
9550 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9552 * MenuBackend.C (expandToc):
9553 (expandToc2): code moved from xforms menu frontend. It is now
9554 generic and TOCs are transparent to menu frontends.
9556 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9558 * toc.C (getTocList): protect against buf=0
9560 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9561 Menu as first parameter. Now, this calls itself recursively to
9562 expand a whole tree (this will be useful for TOC handling)
9563 (expandFloatInsert): remove 'wide' version of floats
9565 * MenuBackend.h (submenuname): returns the name of the submenu.
9566 (submenu): returns the submenu itself, provided it has been
9567 created by MenuBackend::expand
9569 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9571 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9572 insets which have noFontChange == true. (bug #172)
9574 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9576 * BufferView_pimpl.C: add connection objects and use them...
9579 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9581 * MenuBackend.C (expandLastfiles):
9584 (expandFloatListInsert):
9585 (expandFloatInsert):
9586 (expand): split expand in parts
9588 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9590 * lyx_gui.C: use lyx_gui::exit()
9592 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9594 * LyXAction.C: show the failing pseudo action
9596 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9598 * buffer.C (readFile): Run the lyxconvert script in order to read
9601 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9605 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9607 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9611 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9613 2002-07-22 Herbert Voss <voss@lyx.org>
9616 * lyxlength.[Ch]: add support for the vertical lengths
9618 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9620 * toc.[Ch]: std:: fixes
9622 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9624 * lyxrc.C: do not include lyx_main.h
9626 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9632 * BufferView2.C: include "lyxlex.h"
9635 * bufferparams.h: do not #include "lyxlex.h"
9637 * lyxtextclasslist.C (Add): remove method
9638 (classlist): renamed to classlist_
9640 * paragraph_pimpl.C:
9644 * bufferview_funcs.C:
9649 * toc.C (getTocList): use BufferParams::getLyXTextClass
9651 * toc.C (getTocList): use InsetFloat::addToToc
9653 * toc.[Ch]: new files, containing helper functions to handle table
9656 * lyxfunc.C (dispatch): no need to remove spaces around command
9658 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9659 first command of the sequence; it is not very clever, but I do not
9660 have a better idea, actually
9662 * LyXAction.C (LookupFunc): make sure to remove space at the
9663 beginning and end of the command
9665 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9667 * MenuBackend.C (getMenubar): new method: return the menubar of
9669 (read): treat differently reading of menu and menubar (in
9670 particular, the menubar has no name now)
9671 (Menu::menubar): remove
9673 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9676 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9678 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9679 a bibitem inset in a RTL paragraph.
9681 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9683 * paragraph_pimpl.C: constify
9685 * BufferView_pimpl.C:
9687 * lyxfunc.C: fix dispatch in a nicer way
9689 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9691 * lyxfunc.C (dispatch):
9692 * BufferView_pimpl.C:
9693 * BufferView_pimpl.h:
9695 * BufferView.h: rename Dispatch() to dispatch()
9697 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9699 * lyxlayout.C (Read): honor DependsOn tag
9701 * lyxlayout.[Ch] (depends_on): new method
9703 * version.C.in: update lyx_docversion
9705 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9707 * paragraph.C (validate): remove from here...
9708 * paragraph_pimpl.C (validate): ... and move here
9709 (isTextAt): make it const
9711 * buffer.C (getLists): ws cleanup
9713 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9715 * language.C (read): Use iso8859-1 encoding in latex_lang
9716 (this prevents LyX from crashing when using iso10646-1 encoding).
9718 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9720 * text2.C (toggleInset): if cursor is inside an inset, close the
9721 inset and leave cursor _after_ it
9723 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9725 * lyxfunc.C: move minibuffer completion handling out of here
9727 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9729 * BufferView_pimpl.C:
9730 * LaTeX.C: fix dispatch calls
9732 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9734 * text.C (drawChars): Fix Arabic text rendering.
9736 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9740 * lyxfunc.C: remove message-push/pop
9744 * lyxfunc.C: rationalise some code by removing verboseDispatch
9745 in favour of a bool argument to dispatch()
9747 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9749 * lyx_main.C (init): make sure to read symlinks as absolute paths
9751 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9754 * lyxfunc.C: no need for commandshortcut to be a member
9756 2002-07-15 André Pönitz <poenitz@gmx.net>
9758 * converter.C: add support for $$s (scripts from lib/scripts dir)
9759 * lyx_main.C: white space
9761 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9765 * lyxrc.C: remove second exit confirmation
9767 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9772 * BufferView_pimpl.h:
9773 * BufferView_pimpl.C:
9774 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9776 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9778 * MenuBackend.C (expand): add numeric shortcuts to document menu
9780 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9782 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9784 * lyxfont.C (setLyXFamily):
9791 * buffer.C (asciiParagraph): use ascii_lowercase
9793 2002-07-15 Mike Fabian <mfabian@suse.de>
9795 * lyxlex_pimpl.C (search_kw):
9796 * lyxlex.C (getLongString):
9797 * converter.h (operator<):
9798 * converter.C (operator<):
9799 * buffer.C (parseSingleLyXformat2Token):
9801 * ToolbarDefaults.C (read):
9802 * MenuBackend.C (checkShortcuts):
9804 * LColor.C (getFromGUIName):
9805 (getFromLyXName): use the compare_ascii_no_case instead of
9806 compare_no_case, because in turkish, 'i' is not the lowercase
9807 version of 'I', and thus turkish locale breaks parsing of tags.
9809 2002-07-16 Angus Leeming <leeming@lyx.org>
9811 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9812 now takes a Buffer const & argument.
9814 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9816 * BufferView.C (resize): check there's a buffer to resize
9818 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9820 * lyxfunc.C: remove dead code
9823 * lyxserver.C: use lyx_guii::set_read_callback
9825 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9827 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9828 an inset in a RTL paragraph.
9830 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9832 * lyxfunc.C: repaint after a font size update
9834 2002-07-15 André Pönitz <poenitz@gmx.net>
9836 * lyxlength.C: inBP should be able to return negative values
9838 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9840 * lyxfunc.C: use lyx_gui::update_fonts()
9842 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9844 * lyxfunc.C: use lyx_gui::update_color()
9846 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9852 * lyxrc.C: remove file->new asks for name option, and let
9853 buffer-new take an argument
9855 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9857 * BufferView_pimpl.C: remove unneeded extra repaint()
9859 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9861 * LyXAction.C: allow command-sequence with NoBuffer
9863 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9865 2002-07-10 Angus Leeming <leeming@lyx.org>
9867 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9869 2002-07-09 Angus Leeming <leeming@lyx.org>
9871 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9873 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9875 * lengthcommon.h: whitespace
9877 * lyxfunc.C: update scrollbar after goto paragraph
9879 * lyxtext.h: factor out page break drawing, and fix it so
9880 page break/added space paints as selected nicely
9882 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9884 * BufferView_pimpl.C: add FIXMEs, clean up a little
9886 2002-07-09 André Pönitz <poenitz@gmx.net>
9888 * lyxfont.[Ch]: support for wasy symbols
9890 2002-07-08 André Pönitz <poenitz@gmx.net>
9892 * BufferView_pimpl.C: apply John's patch for #93.
9894 2002-07-05 Angus Leeming <leeming@lyx.org>
9896 * BufferView_pimpl.C (buffer): generate previews if desired.
9898 * LColor.h: add "preview" to the color enum.
9900 * LColor.C (LColor): add a corresponding entry to the items array.
9902 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9905 2002-07-05 Angus Leeming <leeming@lyx.org>
9907 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9908 The body of the code is now in the method that is passed an ostream &
9909 rather than a file name.
9910 Pass an additional only_preamble parameter, useful for the forthcoming
9913 2002-07-03 André Pönitz <poenitz@gmx.net>
9915 * lyxfunc.C: simplify getStatus() a bit for math stuff
9917 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9919 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9921 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9923 * text.C (changeRegionCase): do not change case of all the
9924 document when region ends at paragraph end (bug #461)
9926 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9928 * paragraph.C (startTeXParParams):
9929 (endTeXParParams): add \protect when necessary
9931 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9933 * BufferView_pimpl.C (workAreaExpose): remove warning
9935 2002-06-27 Angus Leeming <leeming@lyx.org>
9937 * Makefile.am: add lyxlayout_ptr_fwd.h.
9939 2002-06-26 André Pönitz <poenitz@gmx.net>
9941 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9943 2002-06-25 Angus Leeming <leeming@lyx.org>
9945 * lyxfunc.C (dispatch): Comment out the call to
9946 grfx::GCache::changeDisplay. The method no longer exists now that the
9947 pixmap generation part of the graphics loader has been moved into
9950 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9952 * text2.C: layout as layout
9954 * text.C: layout as layout
9956 * tabular.C (OldFormatRead): layout as layout
9958 * paragraph_pimpl.C (TeXDeeper): layout as layout
9959 (realizeFont): layout as layout
9961 * paragraph.C (writeFile): layout as layout
9962 (validate): layout as layout
9963 (getFont): layout as layout
9964 (getLabelFont): layout as layout
9965 (getLayoutFont): layout as layout
9966 (breakParagraph): layout as layout
9967 (stripLeadingSpaces): layout as layout
9968 (getEndLabel): layout as layout
9969 (getMaxDepthAfter): layout as layout
9970 (applyLayout): layout as layout
9971 (TeXOnePar): layout as layout
9972 (simpleTeXOnePar): layout as layout
9973 (TeXEnvironment): layout as layout
9974 (layout): layout as layout
9975 (layout): layout as layout
9977 * lyxtextclass.C (compare_name): new functor to work with
9978 shared_ptr, layout as layout
9979 (Read): layout as layout
9980 (hasLayout): layout as layout
9981 (operator): layout as layout
9982 (delete_layout): layout as layout
9983 (defaultLayout): layout as layout
9985 * lyxlayout_ptr_fwd.h: new file
9987 * lyxlayout.C (Read): layout as layout
9989 * lyx_cb.C (MenuInsertLabel): layout as layout
9991 * bufferlist.C (newFile): layout as layout
9993 * buffer.C (readLyXformat2): layout as layout
9994 (parseSingleLyXformat2Token): layout as layout
9995 (insertStringAsLines): layout as layout
9996 (asciiParagraph): layout as layout
9997 (latexParagraphs): layout as layout
9998 (makeLinuxDocFile): layout as layout
9999 (simpleLinuxDocOnePar): layout as layout
10000 (makeDocBookFile): layout as layout
10001 (simpleDocBookOnePar): layout as layout
10002 (getLists): layout as layout
10004 * LaTeXFeatures.C (getTClassPreamble): layout as layout
10006 * CutAndPaste.C (cutSelection): layout as layout
10007 (pasteSelection): layout as layout
10008 (SwitchLayoutsBetweenClasses): layout as layout
10010 * BufferView_pimpl.C (Dispatch): layout as layout
10011 (smartQuote): layout as layout
10013 * BufferView2.C (unlockInset): layout as layout
10015 2002-06-24 André Pönitz <poenitz@gmx.net>
10017 * lyxfunc.C: fix #487
10019 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10023 * lyxfunc.C: remove display_shortcuts, show_banner
10025 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10027 * Buffer_pimpl.C: oops, update on resize
10029 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10036 * BufferView.C: use repaint()
10038 * BufferView_pimpl.h:
10039 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10040 as it's a clearer description. Remove superfluous
10043 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10045 * text.C: fix bug 488. Not ideal, but getting
10046 getWord() to work properly for the insets that
10047 matter is more difficult ...
10049 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10051 * BufferView_pimpl.C:
10054 * lyxfunc.C: remove the six million index lyxfuncs to just
10055 one, and DTRT (bug 458)
10057 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10061 * BufferView_pimpl.h:
10062 * BufferView_pimpl.C: clean up resize() stuff,
10063 and unnecessary updateScreen()s
10065 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10069 * BufferView_pimpl.h:
10070 * BufferView_pimpl.C:
10073 * minibuffer.C: remove focus management of workarea,
10074 not needed. Use screen's greyOut()
10076 2002-06-17 Herbert Voss <voss@lyx.org>
10078 * converter.C: (convert) do not post a message, when converting
10079 fails, let the calling function decide what to do in this case
10081 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10083 * lyxfunc.C: tidy up a little
10085 2002-06-16 <alstrup@diku.dk>
10087 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10088 Got rid of FORMS_H_LOCATION include. Now we are
10091 2002-06-15 LyX Development team <lyx@rilke>
10093 * buffer.[Ch] (sgmlOpenTag):
10094 (sgmlCloseTag): Added support for avoiding pernicious mixed
10095 content. Return number of lines written.
10097 (makeLinuxDocFile):
10098 (makeDocBookFile): Fixed calls to sgml*Tag.
10099 Simple white space clean.
10101 (simpleDocBookOnePar): Simple white space clean.
10103 * tabular.[Ch] (docBook): Renamed to docbook and got another
10104 argument to related with the pernicious mixed content.
10106 (docbookRow): Fixed calls for docbook inset method.
10108 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10110 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10111 so it's X11 independent.
10115 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10117 2002-06-15 Lyx Development team <lyx@electronia>
10119 * intl.h: Renamed getTrans to getTransManager.
10121 2002-06-14 Angus Leeming <leeming@lyx.org>
10123 * Makefile.am: nuke forgotten stl_string_fwd.h.
10125 2002-06-12 Angus Leeming <leeming@lyx.org>
10127 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10129 2002-06-13 Angus Leeming <leeming@lyx.org>
10132 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10134 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10136 * kbmap.C (getiso): add support for cyrillic and greek
10138 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10142 * BufferView_pimpl.h:
10143 * BufferView_pimpl.C: move bogus scrolling logic
10146 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10149 * BufferView_pimpl.C: view->resize() change
10151 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10153 * BufferView_pimpl.C: topCursorVisible
10156 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10160 * lyx_gui.C: move to frontends/
10164 * lyx_main.C: changes from above
10166 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10173 * lyx_main.C: minor tidy
10175 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10177 * BufferView_pimpl.h:
10178 * BufferView_pimpl.C:
10180 * BufferView.C: make painter() const,
10183 * BufferView2.C: use screen() accessor
10186 * lyx_main.C: some minor cleanup
10188 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10190 * BufferView_pimpl.h:
10191 * BufferView_pimpl.C: remove enter/leaveView,
10194 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10199 * BufferView_pimpl.h:
10200 * BufferView_pimpl.C: only construct screen once,
10203 * lyxrc.C: remove pointless comment
10205 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10208 * BufferView.C: remove active() and belowMouse()
10210 * BufferView_pimpl.h:
10211 * BufferView_pimpl.C: use workarea() not workarea_,
10212 and make it use a scoped_ptr instead
10214 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10216 * lyx_gui.C: add debug message on BadWindow
10218 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10220 * sp_spell.C: fdopen is not part of the C++ standard.
10222 * paragraph.C (InsetIterator): use >= instead of ==
10224 2002-06-07 Angus Leeming <leeming@lyx.org>
10226 Fixes needed to compile with Compaq cxx 6.5.
10227 * BufferView_pimpl.C:
10234 * lyxtextclasslist.C:
10239 all c-library variables have been moved into namespace std. Wrap
10240 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10245 Add a using std::abs declaration.
10247 * kbmap.h (modifier_pair):
10248 * paragraph.h (InsetTable, InsetList):
10249 * lyxfont.h (FontBits):
10250 type definition made public.
10252 * bufferlist.C (emergencyWriteAll): the compiler complains that
10253 there is more than one possible lyx::class_fun template to choose from.
10254 I re-named the void specialisation as lyx::void_class_fun.
10256 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10258 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10259 the compiler is is unable to find tostr in write_attribute.
10261 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10263 * buffer.C (sgmlError): hide #warning
10265 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10267 * xtl/*: get rid of xtl, which is not in use anyway
10269 * LyXAction.C (init):
10270 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10271 were unimplemented xtl experimentation
10273 2002-06-04 André Pönitz <poenitz@gmx.net>
10275 * lyxfunc.C: disable array operation on simple formulae
10277 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10279 * converter.C: constify a bit
10281 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10283 * lyx_gui.C: check xforms version correctly
10285 2002-04-30 Herbert Voss <voss@lyx.org>
10287 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10290 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10292 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10293 attempt to register it with a VCS)
10295 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10297 * lyx_main.C (init): honor variables LYX_DIR_13x and
10300 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10304 * lyx_main.C: fix a crash on bad command line,
10305 and give a useful exit status on error
10307 * lyxfunc.C (doImport): allow -i lyx to work
10309 2002-03-30 André Pönitz <poenitz@gmx.net>
10311 * lyxfunc.C: mathed font changes
10313 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10328 * trans_mgr.h: srcdocs, and some minor cleanups
10330 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10332 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10333 call getFont all the time)
10335 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10337 * switch from SigC signals to boost::signals
10339 2002-05-29 André Pönitz <poenitz@gmx.net>
10341 * paragraph_pimpl.C (getChar): don't call size() too often...
10343 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10345 * paragraph_pimpl.C (insertChar): do not try to update tables when
10346 appending (pos == size())
10348 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10349 in order to reduce drastically the number of comparisons needed to
10350 parse a large document
10352 2002-05-29 André Pönitz <poenitz@gmx.net>
10358 * textclasslist.[Ch]:
10359 * sp_ispell.h: whitespace change
10361 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10363 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10364 lyxaction directly now.
10366 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10370 * lyxvc.C: remove unused headers
10372 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10379 * undo_funcs.C: some cleanups. Use shared_ptr
10380 and a template for the undo stacks.
10382 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10384 * BufferView_pimpl.h:
10385 * BufferView_pimpl.C:
10392 * text2.C: use key_state/mouse_state
10394 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10396 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10399 * chset.C: change include order
10400 (loadFile): use boost regex and get rid of LRegex and LSubstring
10402 * Makefile.am (BOOST_LIBS): new variable
10403 (lyx_LDADD): use it
10405 * LaTeX.C: change include order.
10406 (scanAuxFile): use boost regex and get rid of LRegex and
10410 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10415 * FontInfo.C: moved to frontends/xforms/
10418 * FontLoader.C: moved into frontends for GUIIzation
10423 * lyxfunc.C: changes from above
10425 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10427 * LColor.C: remove spurious X include
10429 * BufferView_pimpl.C:
10434 * text2.C: move font metrics to frontends/
10436 2002-05-24 Juergen Vigna <jug@sad.it>
10438 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10439 setting the undo_cursor.
10441 * ParagraphParameters.h: include local includes first.
10443 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10445 * BufferView_pimpl.C:
10446 * BufferView_pimpl.h:
10450 * screen.C: move WorkArea into frontends/
10456 * BufferView2.C: move LyXScreen into frontends/
10460 * lyx_gui.C: move lyxlookup into frontends/xforms/
10462 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10465 * BufferView_pimpl.C:
10475 * bufferview_funcs.C:
10488 * vc-backend.C: move LyX/XFormsView into frontends/
10490 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10502 * text2.C: move Painter to frontends/
10504 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10506 * buffer.C: comment out some some code that depend upon lyx_format
10509 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10510 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10512 * buffer.h (NO_COMPABILITY): turn off compability
10514 * ColorHandler.C: include scoped_array.hpp
10516 * font.C: Use more specific smart_ptr header.
10519 * ShareContainer.h: ditto
10520 * lyx_main.h: ditto
10522 * FontInfo.h: ditto
10523 * BufferView_pimpl.h: ditto
10524 * ColorHandler.h: ditto
10526 * kbmap.C (defkey): change call to shared_ptr::reset
10528 2002-05-21 Juergen Vigna <jug@sad.it>
10530 * buffer.C (insertErtContents): fix to insert ert asis if it is
10531 non empty. Skip it completely if it contains only whitespaces.
10533 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10535 * BufferView_pimpl.C:
10536 * BufferView2.C: clear selection on paste (bug 393)
10538 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10540 * DepTable.C: include ctime
10542 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10544 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10546 2002-05-14 Juergen Vigna <jug@sad.it>
10548 * text.C (breakParagraph): fixed function to honor the keepempty
10549 layout in the right maner and also to permit the right breaking
10550 algorithm on empty or non empyt keepempty paragraphs.
10552 * paragraph.C (breakParagraph): we have to check also if the par
10553 is really empty (!size()) for isempty otherwise we do the wrong
10556 2002-05-10 Juergen Vigna <jug@sad.it>
10558 * buffer.[Ch] : The following are only changes to the ert
10559 compatibility read reading old LaTeX layout and font stuff and
10560 convert it to ERTInsets.
10562 * buffer.h: added isErtInset().
10564 * buffer.C (struct ErtComp): add a fromlayout bool to check
10565 if we're inside a LaTeX layout.
10566 (isErtInset): new helper function.
10567 (insertErtContents): look for other ert insets before this one
10568 and insert the contents there, so that we don't have subsequent
10569 ERT insets with nothing between them. This way we create only one
10570 inset with multiple paragraphs. Also check if we don't insert only
10571 spaces ' ' as they are ignored anyway afterwards in the .tex file
10572 so if we have only spaces we will ignore this latex part in the
10574 (parseSingleLyXformat2Token \\layout): better compatibility when
10575 reading layout-latex stuff.
10576 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10578 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10579 stuff after reading the inset only get the information back from
10582 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10584 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10586 * LaTeXFeatures.C (getBabelOptions): New method.
10588 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10590 * BufferView_pimpl.C (Dispatch): work around missing argument for
10593 2002-05-08 Juergen Vigna <jug@sad.it>
10595 * text.C (leftMargin): handle paragraph leftindent.
10597 * paragraph.C (writeFile): write the new \\leftindent tag.
10598 (validate): handle leftindent code.
10599 (TeXEnvironment): handle paragraphleftindent code again.
10601 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10603 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10604 for paragrap_extra indent code and new token \\leftindent.
10605 (latexParagraphs): handle the leftindent as environment.
10607 * ParameterStruct.h: added leftindent support.
10609 * ParagraphParameters.C (leftIndent): added support functions for
10610 the paragraph left indent.
10612 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10615 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10617 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10620 * text.C (computeBidiTables): No bidi in insetERT.
10622 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10625 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10627 * version.C.in: pre 5
10629 2002-05-02 José Matos <jamatos@fep.up.pt>
10630 * buffer.C (makeDocBookFile): white space changes, add newline to
10632 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10634 * tabular.C (docBook): fix typo.
10636 2002-05-03 Juergen Vigna <jug@sad.it>
10638 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10639 change in LyXText as we can not be sure it was not freed.
10640 (drawOneRow): remove unused code.
10642 * text.C (drawInset): redo the calculation of the need_break_row as
10643 it could have a row which was already freed.
10644 (draw): look at the return value of drawInset and return false if
10645 it also returned false.
10646 (paintRowText): look at the return value of draw and return false if
10647 it also returned false.
10649 * lyxtext.h: added bool return type to drawInset() and draw() so that
10650 if we have a change in the row so that the rowbreak has to be redone
10651 we abort drawing as it will be called again.
10653 2002-05-02 Juergen Vigna <jug@sad.it>
10655 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10656 a change in the maintext also if we're inside an inset.
10657 (Dispatch): set the cursor again after a break line and after the
10658 screen has been updated as it could be we're in a different row.
10660 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10661 to set the cursor behind the pargraph with > size().
10662 (setCursor): check also for the same paragraph when checking where
10663 to put the cursor if we have a NFR inset.
10665 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10666 parts of layout read further up as it still was in the wrong
10669 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10671 * screen.C (drawFromTo): change sine fullRebreak always return
10674 * buffer.C (parseSingleLyXformat2Token): reindent some
10676 * BufferView_pimpl.C (update): change since fullRebreak always
10678 (Dispatch): git rid of the last hardcoded "Standard"s.
10680 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10682 * text2.[Ch] (fullRebreak): make it return void now that we always
10685 2002-04-30 Juergen Vigna <jug@sad.it>
10687 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10688 ert compatibility check for "latex" layout.
10690 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10692 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10693 minipages: use col% instead of p%, and also use the current font.
10694 (makeLaTeXFile): Fix use babel condition.
10695 (parseSingleLyXformat2Token): Correct font when reading old floats.
10697 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10699 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10700 inserting list of floats.
10702 2002-04-25 Herbert Voss <voss@lyx.org>
10704 * MenuBackend.C (expand): don't add the graphics extensions to the
10707 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10709 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10710 non-existing layout, do not complain if it was the default layout
10711 of the original class (bug #342)
10713 2002-04-24 Juergen Vigna <jug@sad.it>
10715 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10716 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10718 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10720 * buffer.C (getBibkeyList): If using \bibliography, return the
10721 option field with the reference itself. Enables us to provide natbib
10722 support when using \bibliography.
10724 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10726 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10728 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10729 natbib is provided by the LaTeX class.
10731 2002-04-23 Juergen Vigna <jug@sad.it>
10733 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10736 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10738 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10740 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10742 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10743 ensuremath around textordmasculine, textordfeminine and
10746 2002-04-19 Juergen Vigna <jug@sad.it>
10748 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10749 reinitializing the buffer otherwise row-dimensions may be wrong.
10750 (update): reset also the selection cursors if they do exits otherwise
10751 their x/y positions may be wrong.
10753 * text2.C (cursorDown): don't enter the inset if we came from a row
10754 above and are one row over the inset.
10756 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10757 really leaving an inset.
10759 2002-04-18 Juergen Vigna <jug@sad.it>
10761 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10762 of the selected paragraph does not have the selected layout also if
10765 * text2.C (setLayout): fixed bug which did not change last selected
10768 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10769 changed the read and substituted \\end_float with \\end_inset!
10771 * BufferView_pimpl.C (cursorPrevious):
10772 (cursorNext): fixed to make it work with rows heigher than the work
10773 area without moving the cursor only the draw of the row.
10774 (workAreaMotionNotify): fix jumping over high rows.
10776 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10778 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10781 2002-04-16 Juergen Vigna <jug@sad.it>
10783 * text2.C (setCursor): set also the irow().
10784 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10786 (cursorDown): support for locking an inset if the x_fix value goes
10787 inside it. That way I can transverse insets too with cursor up/down.
10789 * lyxrow.h: added irow helper function same as other (i) functions.
10791 * BufferView_pimpl.C (cursorPrevious):
10792 (cursorNext): fixed for insets!
10794 2002-04-15 Juergen Vigna <jug@sad.it>
10796 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10797 position otherwise it is wrong in some cases.
10799 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10800 inside the inset before the call.
10802 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10804 * buffer.[Ch] (getBibkeyList): make it const.
10806 2002-04-12 Juergen Vigna <jug@sad.it>
10808 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10810 * text2.C (getCursorX): new helper function
10811 (setCursor): compute also ix_
10812 (setCursorFromCoordinates): set also ix.
10814 * lyxcursor.h: added ix_ and helper functions.
10816 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10818 * buffer.C (insertStringAsLines): dont break paragraph if the this
10819 paragraph is inside an inset which does not permit it!
10821 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10822 also with no chars on this paragraph.
10823 (paintRowText): only paint stuff if it's inside the workarea!
10825 * paragraph.C (breakParagraph): honor keepempty flag and break the
10826 paragraph always below not above.
10828 * BufferView2.C (unlockInset): update the paragraph layout on inset
10829 unlock as we changed paragraph in such a case.
10831 * lyxfind.C (LyXFind): clear the former selection if not found!
10833 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10834 again called in insertChar().
10836 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10837 an inset which uses the whole row!
10838 (rightMargin): ditto.
10839 (insertChar): force a rebreak if we inserted an inset!
10841 2002-03-28 Herbert Voss <voss@lyx.org>
10843 * lyxlength.[Ch]: add inBP() to get the right PS-point
10844 units (BigPoint). With inPixels we have rounding errors
10846 2002-04-11 Juergen Vigna <jug@sad.it>
10848 * text2.C (setCursorFromCoordinates): set iy to the right value.
10849 (setCursor): add check if row->previous exists!
10851 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10852 an old float_type as this was the case in the old code!
10854 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10856 * BufferView2.C (showLockedInsetCursor): use iy
10857 (fitLockedInsetCursor): ditto
10859 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10860 locked insets as there we have the right value now.
10862 * lyxcursor.C: added iy_ variable and iy functions to set to the
10863 baseline of cursor-y of the locked inset.
10865 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10866 (setCursor): fixed for insets which need a full row.
10868 * text.C (rowLastPrintable): don't ignore the last space when before
10869 an inset which needs a full row.
10870 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10871 as last character of a row when before a inset which needs a full row.
10873 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10875 * version.C.in: update date
10877 * text2.C (fullRebreak): try to always return true and see what
10880 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10882 * MenuBackend.C (expand): use Floating::listName
10884 * FloatList.C (FloatList): add listName argument to the built-in
10887 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10888 text associated with the float.
10890 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10892 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10894 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10896 * ShareContainer.h: add a couple of missing typenames.
10898 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10900 * lyxrc.C (getDescription): use _() correctly rather than N_().
10902 2002-03-28 Herbert Voss <voss@lyx.org>
10904 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10905 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10907 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10909 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10910 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10912 2002-03-29 Juergen Vigna <jug@sad.it>
10914 * lyxfunc.C (dispatch): add a missing fitCursor call.
10916 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10917 it was scrolled by a cursor move, so return the bool status.
10919 * BufferView.C (fitCursor): return the bool flag also to the outside
10920 world as this is needed.
10922 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10924 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10925 call the edit() as it is not needed (and wrong) IMO.
10926 (workAreaButtonPress): set the screen_first variable before evt.
10927 unlock the inset as this may change screen_first and then we have
10928 a wrong y position for the click!
10930 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10932 * MenuBackend.C (expand): another translation that I missed
10934 2002-03-28 Juergen Vigna <jug@sad.it>
10936 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10938 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10940 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10942 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10944 * MenuBackend.C (expand): fix export/view/update when there is no
10947 2002-03-27 Herbert Voss <voss@lyx.org>
10949 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10952 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10954 * bufferview_funcs.C (currentState): only show paragraph number
10955 for is DEVEL_VERSION is set.
10957 * lyxfunc.C (dispatch): put warning in INFO channel
10959 * MenuBackend.C (expand): translate the name of floats
10961 * FloatList.C (FloatList): mark the float names for translation
10963 * converter.C (convert): use LibScriptSearch
10965 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10967 * MenuBackend.C (defaults): fix default menu (we might as well get
10970 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10972 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10975 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10977 * lyxvc.C: reorder includes.
10979 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10981 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10984 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10986 * CutAndPaste.C: change layouts earlier on paste
10987 to avoid crashing when calling getFont()
10989 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10991 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10994 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10996 * WorkArea.C: remove 'Pending' debug message.
10998 * most files: ws cleanup
11000 * buffer.[Ch]: ws changes
11002 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
11004 2002-03-21 Juergen Vigna <jug@sad.it>
11006 * tabular.C (SetMultiColumn): collapse also the contents of the
11007 cells and set the last border right. Added a Buffer const * param.
11009 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
11011 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
11014 2002-03-19 Juergen Vigna <jug@sad.it>
11016 * text2.C (clearSelection): reset also xsel_cache.
11018 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
11019 where it needs to be called (John tells us to do so too :)
11020 (selectionLost): reset sel_cache.
11022 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
11024 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11026 * text2.C (setCursorIntern): put debuging code in INSETS channel
11028 2002-03-19 André Pönitz <poenitz@gmx.net>
11030 * lyxfunc.C: tiny whitespace change
11032 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11034 * ToolbarDefaults.C (init):
11035 * LyXAction.C (init):
11037 * BufferView_pimpl.C (Dispatch):
11038 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11040 2002-03-19 Allan Rae <rae@lyx.org>
11042 * exporter.C (Export): removeAutoInsets before doing anything else.
11043 While I've just introduced a dependency on BufferView this really is
11044 the best place to clean the buffer otherwise you need to cleanup in
11045 a dozen places before calling export or cleanup in a dozen functions
11048 * converter.C (runLaTeX):
11049 (scanLog): Better handling of removeAutoInsets and screen updates.
11051 * lyxfunc.C (dispatch): small whitespace changes
11053 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11055 * WorkArea.C (C_WorkAreaEvent): return a value.
11056 (event_cb): return 1 if we handled the event, 0 otherwise.
11058 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11060 2002-03-18 Juergen Vigna <jug@sad.it>
11062 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11063 (GetAdditionalWidth): ditto.
11064 (RightLine): ditto.
11067 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11068 inset if we're there actually (probably not used right now but this
11069 is the direction to go for unifying code).
11070 (paste): disable code to clear the selection.
11072 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11073 inside an InsetText and move the check further up as it is in the
11076 * text2.C (pasteSelection): set a selection over the pasted text.
11078 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11080 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11081 and libgraphics to build on Cygwin.
11083 2002-03-15 Juergen Vigna <jug@sad.it>
11085 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11086 inserting an Inset into the paragraph. I know this is not the best
11087 fix but we already use current_view in CutAndPaste so we will remove
11088 all of it's using at the same time.
11090 * buffer.C (sgmlError): deactivated function till it is rewritten in
11091 the right mode, now it can create problems.
11093 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11094 before accessing it.
11096 2002-03-14 Juergen Vigna <jug@sad.it>
11098 * undo_funcs.C (textHandleUndo): do the right thing when updating
11099 the inset after the undo/redo.
11101 * text2.C (setCursor): just some testcode for #44 not ready yet.
11103 * undo_funcs.C (textHandleUndo): set the next() and previous()
11104 pointers of the paragraph to 0 before deleting otherwise we have
11105 problems with the Paragraph::[destructor].
11107 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11108 on a paragraph insertion.
11110 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11112 * buffer.C (asciiParagraph): use += operator for char append to
11115 * paragraph.C (getFontSettings): compare >= not just >
11116 (highestFontInRange): ditto
11119 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11121 * paragraph.C: change several algorithm to be more appripriate for
11122 the problem domain. This is lookip in FontList and in the InsetList.
11124 2002-03-13 André Pönitz <poenitz@gmx.net>
11127 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11129 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11134 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11136 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11138 * Painter.C (display): anon helper function, adjust code for this
11140 (pixmap): remove function.
11142 * Painter.h: remove private display variable.
11144 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11146 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11148 * WorkArea.[Ch]: remove figinset_canvas cruft.
11150 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11152 * lyxtextclass.C (operator): add one item cache optimization.
11154 * bufferlist.h: doxy changes
11156 * bufferlist.C: ws changes
11158 * DepTable.[Ch] (ext_exist): place const in the right spot.
11160 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11162 (workAreaExpose): call resizeInsets when the with BufferView changes.
11163 (Dispatch): adjust for protectedBlank removal
11164 (specialChar): call updateInset if the insert went ok.
11166 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11167 specialChar instead.
11169 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11171 * BufferView.h: doxy change
11173 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11175 * lyxtextclass.C (operator[]): remove non-const version
11176 (defaultLayout): remove non-const version
11178 2002-03-12 Juergen Vigna <jug@sad.it>
11180 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11181 did resize the LyXText too.
11183 * buffer.C (readLyXformat2): set layout information on newly allocated
11186 * tabular.C (OldFormatRead): set layout information on the paragraph.
11188 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11190 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11192 2002-03-11 Juergen Vigna <jug@sad.it>
11194 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11196 (resizeCurrentBuffer): force also the insets to resize themselfes.
11197 (moveCursorUpdate): fixed up for InsetText.
11199 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11202 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11203 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11204 value of Dialogs::tooltipsEnabled().
11205 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11207 2002-03-08 Juergen Vigna <jug@sad.it>
11209 * BufferView_pimpl.C (updateInset): update inset inside inset also
11210 if it isn't inside theLockingInset().
11212 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11214 * buffer.C (asciiParagraph): redo some of the word and line length
11216 (getLists): look for Caption instead of caption.
11218 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11220 * buffer.C (Buffer): initialize niceFile to true
11222 (makeLinuxDocFile):
11223 (makeDocBookFile): make sure niceFile is true on exit
11225 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11227 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11229 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11231 * LyXSendto.C: remove.
11232 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11233 * lyx_gui.C: remove now-redundant comment.
11234 * ColorHandler.h: remove forward declaration of class WorkArea.
11235 * lyxfunc.C: remove #include "WorkArea.h".
11237 2002-03-07 Juergen Vigna <jug@sad.it>
11239 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11240 got moved away with the DEPM and also set the inset_owner always
11241 right which before could have been omitted.
11243 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11245 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11246 wanted layout is not found.
11248 2002-03-07 Juergen Vigna <jug@sad.it>
11250 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11252 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11254 * paragraph.C (breakParagraph): use default layout not layout of
11256 (Paragraph): clear ParagraphParameters.
11258 2002-03-06 Juergen Vigna <jug@sad.it>
11260 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11261 otherwise it would not be a valid lenght. Fixed a special case in
11262 the minipage compatibility read where we end the document with a
11265 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11266 was set as it could be 0 for InsetTexts first entry.
11268 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11270 * paragraph.C (writeFile): if layout is empty write out
11271 defaultLayoutName().
11273 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11274 file without named layout we set layout to defaultLayoutName().
11276 2002-03-06 Juergen Vigna <jug@sad.it>
11278 * CutAndPaste.C (copySelection): set layout for new paragraph.
11280 * text.C (prepareToPrint): leave ERT inset left aligned
11281 (leftMargin): don't indent paragraphs inside ERT insets
11283 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11285 * paragraph.C (breakParagraph): dont call clear do the work manually
11287 * paragraph.[Ch] (clear): remove function
11289 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11291 * paragraph.C (Paragraph): dont call clear, the work has already
11294 * lyxtextclass.C (operator): assert if n is empty
11296 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11297 work manually instead.
11299 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11301 * BufferView_pimpl.C: protect selectionLost against text == 0
11303 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11305 * text.C (breakParagraph): fix a setting layout to '0' problem.
11307 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11309 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11310 final location of file, for the included files, and graphics.
11312 2002-03-05 Juergen Vigna <jug@sad.it>
11314 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11316 2002-03-04 Juergen Vigna <jug@sad.it>
11318 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11320 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11321 last column of multicolumn cells.
11322 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11324 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11326 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11327 file if it doesn't go to a temporary file.
11329 * buffer.C (sgmlOpenTag):
11330 (sgmlCloseTag): remove extra newline insertion.
11332 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11334 * text.C (getRowNearY): comment out debug msg
11336 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11338 * text2.C: first -> first_y
11340 * text.C (getRowNearY): add some attemts at a possible
11341 optimization, not working.
11343 * tabular.[Ch]: add BufferParams to several function so that newly
11344 created paragraph can be initialized to he default layotu for the
11347 * tabular-old.C (ReadOld): add buf->params to call of Init
11349 * screen.C: rename text->first to text->first_y
11351 * paragraph.C (breakParagraph): always set layout in the broken
11354 * lyxtextclass.C (Read): remove lowercase
11357 (delete_layout): ditto
11359 * lyxtext.h: rename first -> first_y
11361 * lyxlayout.C (Read): remove lowercase
11364 (obsoleted_by): ditto
11366 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11368 * buffer.C (insertErtContents): add params are to InsetERT
11369 (parseSingleLyXformat2Token): add code to check if a paragraphs
11370 layout really exist.
11371 (parseSingleLyXformat2Token): add params to several inset
11373 (asciiParagraph): remove lowercase, do the layout comparisons with
11376 * BufferView_pimpl.C (cursorNext): first -> first_y
11377 (resizeCurrentBuffer): first -> first_y
11378 (updateScrollbar): first -> first_y
11379 (scrollCB): first -> first_y
11380 (workAreaMotionNotify): first -> first_y
11381 (workAreaButtonPress): first -> first_y
11382 (checkInsetHit): first -> first_y
11383 (cursorPrevious): first -> first_y
11384 (cursorNext): first -> first_y
11385 (Dispatch): add buffer_->params to severl inset contructors
11387 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11389 * lyxlayout.C (Read): remove some debug info that I forgot.
11391 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11392 clean up the code slightly.
11393 (makeLinuxDocFile): ditto
11394 (makeDocBookFile): ditto
11396 * text2.C: layout as string
11398 * text.C: layout as string
11400 * paragraph_pimpl.C: layout as string
11402 * paragraph.[Ch]: layout as string
11404 * lyxtextclasslist.[Ch]: layout as string
11406 * lyxtextclass.[Ch]: layout as string
11408 * lyxtext.h: layout as string
11410 * lyxlayout.[Ch]: layout as string
11412 * lyx_cb.C: layout as string
11414 * bufferview_funcs.C: layout as string
11416 * bufferparams.C: layout as string
11418 * buffer.C: layout as string
11420 * LyXView.[Ch]: layout as string
11422 * LaTeXFeatures.[Ch]: layout as string
11424 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11426 * BufferView_pimpl.C: change current_layout to string, remove
11431 (workAreaButtonRelease): layout as string
11433 * BufferView2.C (unlockInset): adjust
11435 * vspace.C (asLatexCommand): use an explict temp variable.
11437 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11439 * Makefile.am: use FRONTEND_*
11441 2002-03-01 Juergen Vigna <jug@sad.it>
11443 * tabular.C (SetWidthOfMulticolCell): changed to something better
11444 I hope but still work in progress.
11445 (recalculateMulticolumnsOfColumn): renamed function from
11446 recalculateMulticolCells as it is more appropriate now.
11447 (SetWidthOfCell): calculate multicols better.
11449 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11451 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11453 * lyxfunc.C (processKeySym): print sequence also if it is
11454 `deleted' (complete)
11456 * kbsequence.C (print): print sequence even if it is deleted
11457 (complete would be a better word, actually).
11459 * lyxfunc.C (dispatch): print complete options after a prefix key
11461 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11463 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11465 * text2.C (setCharFont): eliminate setCharFont code duplication.
11467 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11469 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11470 LFUN_TABULAR_FEATURE (bug #177)
11472 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11474 * Makefile.am: remove figure.h
11476 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11478 * Bufferview_pimpl.C:
11490 * text2.C: remove #include "lyx_gui_misc.h".
11492 * LaTeX.C: added #include <cstdio>
11494 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11496 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11497 that the paragraph following this one can have.
11499 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11501 * vspace.C (asLatexCommand): fix bogus gcc warning
11503 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11505 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11507 * text2.C (setLayout): get rid of redundant code
11509 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11511 * text2.C (incDepth): make sure depth cannot be increased beyond
11514 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11516 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11517 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11519 * PainterBase.h (image):
11520 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11521 a LyXImage const *.
11523 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11527 * BufferView_pimpl.C:
11528 * BufferView_pimpl.h:
11548 * sp_spell.C: remove fig inset, and the crap house of
11549 cards that follows it
11551 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11556 * os2_errortable.h:
11557 * nt_defines.h: move .h into support/
11559 * vms_defines.h: remove
11561 * WorkArea.C: add space in debug output
11565 * buffer.C: add WITH_WARNINGS
11569 * bufferlist.C: s/retrive/retrieve/, add docs
11578 * chset.C: add docs
11580 * lyxgui.C: add ID to X error handler
11582 * lyxtestclass.c: fix typo
11584 2002-02-26 Juergen Vigna <jug@sad.it>
11586 * tabular_funcs.C (write_attribute): changed so that some default
11587 attributes are not written at all.
11588 (getTokenValue): set default values before trying to read the
11589 value so we have the return value always set as default if we don't
11590 find the token we search for.
11592 * tabular.C (Write): write bools as bools not as strings!
11594 2002-02-22 Juergen Vigna <jug@sad.it>
11596 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11597 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11599 * text.C (leftMargin): don't add an indent for paragraphs inside
11600 tabular cells (fix #208).
11602 2002-02-21 José Matos <jamatos@fep.up.pt>
11604 * tabular.C (docBook): fixed support for long tables.
11606 2002-02-20 Juergen Vigna <jug@sad.it>
11608 * text2.C (getFont): get the drawing font of the Inset if this
11609 paragraph is inside an inset (only important for InsetERT for now).
11611 * buffer.C (insertErtContents): use new lanugage params in ERT
11614 * CutAndPaste.C: commenting out seemingly uneeded code.
11616 2002-02-19 Allan Rae <rae@lyx.org>
11618 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11619 Iterators might be simple to use but they also get invalidated.
11620 (removeAutoInsets): renamed saved cursor tracking variables and added
11621 some comments to clarify what everything does.
11623 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11630 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11631 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11634 * vc-backend.h: remove #include "support/syscall.h"
11638 * converter.C: rearrange #includes in Lars' approved fashion.
11640 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11641 forward declare class Timeout in the header file.
11643 * XFormsView.C: changes due to the above.
11645 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11646 similar to LyXView.
11648 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11649 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11651 2002-02-18 José Matos <jamatos@fep.up.pt>
11653 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11656 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11658 * a lot of small ws changes
11659 * add a lot of using std::XXX
11660 * use std construcs some places where approp.
11661 * use some exisint stuff from lyxfunctional where approp.
11662 * Make file changes to use partial linking (lets test this now...)
11664 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11668 remove #include "support/syscontr.h" as it's redundant. Always has been.
11676 change Systemcalls::System to Systemcalls::Wait and
11677 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11678 No change of functionality, just reflects the stripped down Systemcalls
11681 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11683 * debug.[Ch]: add a GRAPHICS type to the enum.
11685 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11687 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11689 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11692 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11694 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11695 match the changes below.
11697 * text2.C (toggleInset): if there is not editable inset at cursor
11698 position, try to see if cursor is _inside_ a collapsable inset
11701 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11703 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11704 document menu has a nice checkbox
11706 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11708 * lyxlength.C (asLatexString): change PW to output as percent of
11711 * lengthcommon.C: change '%' to 't%'
11713 * lyxfunc.C (dispatch): a few comments from Martin
11715 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11719 * BufferView_pimpl.h:
11720 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11723 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11725 * vspace.C (inPixels): fix compiler warning
11727 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11729 * lyxfunc.C (getStatus): fix status message for disabled commands.
11731 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11733 * BufferView_pimpl.C: fix crash on close buffer
11734 during selection (#227)
11736 2002-01-27 Herbert Voss <voss@lyx.org>
11738 * buffer.C: link old Figure to new graphic inset
11740 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11742 * FontLoader.C (getFontinfo): Change the latex font names in order
11743 to match the names of type1inst.
11745 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11747 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11749 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11750 (extchanged): ditto
11752 (remove_files_with_extension): ditto
11753 (remove_file): ditto
11756 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11757 document is smaller than the work area height. Do not initialize
11758 static variables to 0.
11760 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11762 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11764 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11765 LFUN_LAYOUT_PARAGRAPHS.
11767 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11768 tabular. It is possible to provide a possible cell, which will
11769 typically be the actcell from the corresponding insettabular
11771 * lyxfunc.C (getStatus): small cleanup; disable
11772 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11775 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11777 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11779 * paragraph.C (startTeXParParams):
11780 (endTeXParParams): new methods. The LaTeX code to
11781 start/end paragraph formatting
11782 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11783 empty (fixes bug #200)
11785 * vspace.C (inPixels): adapt to the change below
11786 (inPixels): [later] more cleanups (remove unused variables)
11788 * lyxlength.C (inPixels): change to use a width and a height as
11791 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11793 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11794 Replaced with \paperwidth
11796 * DepTable.C (insert): add std:: qualifier
11798 2002-01-18 Allan Rae <rae@lyx.org>
11800 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11803 * text.C (drawInset): Turned out I didn't know enough about how
11804 rebreaking worked. This fixes most of the redraw problems. I see
11805 an occasional cursor trail when a line is broken now and the cursor
11806 placement can seem out by a few pixels also after a rebreak.
11808 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11810 * buffer.C (parseSingleLyXformat2Token): update because minipage
11811 width is now a LyXLength
11813 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11815 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11818 2002-01-17 Juergen Vigna <jug@sad.it>
11820 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11822 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11823 is set correctly and the inset is updated correctly.
11825 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11827 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11828 the beginning of the loop.
11830 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11832 * lyxrc.C: improve help for use_scalable_fonts
11834 2002-01-17 Allan Rae <rae@lyx.org>
11836 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11838 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11840 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11841 make sure to set their inset_owner to the right value (bug #171)
11843 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11846 * DepTable.C: Implement mtime checking to reduce time spent doing
11849 2002-01-16 Juergen Vigna <jug@sad.it>
11851 * tabular.C (GetAdditionalHeight): one of error fixed.
11853 * lyxrc.C (output): small fix in writing use_pspell.
11855 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11857 * sp_base.h: #include LString.h
11859 2002-01-16 Allan Rae <rae@lyx.org>
11861 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11862 Can someone check this please?
11864 * text.C (drawInset): It was possible that p.row would be removed by
11865 breakAgainOneRow upsetting a few other settings. There may be another
11866 small tweak possible by setting need_break_row = 0 when p.row has been
11867 removed but I don't know enough about the logic here.
11869 2002-01-15 Allan Rae <rae@lyx.org>
11871 * text.C (insertChar): removed conditional truism.
11873 * BufferView2.C (removeAutoInsets): More tweaks.
11874 cur_par_prev could be a stray pointer. Check for trailing empty line
11875 in case last line was cur_par and only had an error inset on it.
11877 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11879 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11882 * vc-backend.C (most methods):
11883 * exporter.C (Export):
11884 * converter.C (convert):
11886 * LyXSendto.C (SendtoApplyCB):
11887 * lyxfunc.C (dispatch):
11891 * lyx_cb.C (AutoSave):
11893 * BufferView_pimpl.C (MenuInsertLyXFile):
11894 * buffer.C (runChktex): use Buffer::filePath().
11896 * buffer.h: rename filename to filename_; rename filepath to
11897 filepath_ and make it private
11898 (filePath): new method
11900 * buffer.C (writeFile): use fileName()
11903 * lyx_main.C (init): fix starting of LyX when the binary is a
11904 link from so,ewhere else.
11906 * minibuffer.C: include <cctype> for isprint
11908 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11910 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11911 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11912 name clash with InsetCollapsable's width function.
11914 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11916 * lastfiles.C: include <iterator>
11918 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11920 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11923 * buffer.C (makeLaTeXFile): ditto.
11924 Also make loop operation more transparent.
11926 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11928 * ToolbarDefaults.C: remove trailing comma closing namespace.
11930 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11932 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11935 * trans.C (Load): comment out unused variable, allowed.
11937 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11939 * minibuffer.[Ch] (append_char): new method to recieve input from the
11940 drop-down completion browser. If a key was pressed, then recieve this
11941 char and append it to the existing string.
11942 (peek_event): modify the positioning data passed to the completion
11943 browser so that it can be placed above the minibuffer rather than below.
11944 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11946 * LyXAction.C (init): alloe error-next for readonly documents.
11948 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11951 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11953 * bufferlist.C (readFile): create the buffer _after_ checking that
11956 * lyxfunc.C (verboseDispatch): fix handling of arguments
11958 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11960 * lyxrc.C: use string::erase() instead of initializing to "".
11963 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11965 * BufferView_pimpl.h:
11966 * BufferView_pimpl.C:
11969 * text2.C: tell X when we have made a selection for copying
11971 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11973 * BufferView_pimpl.C (MenuInsertLyXFile):
11974 * lyxfunc.C (menuNew):
11976 (doImport): add shortcuts to directory buttons
11978 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11981 * lyxfunc.C (setStatusMessage):
11982 (getStatusMessage): new methods
11983 (getStatus):use setStatusMessage instead of setErrorMessage
11984 (dispatch): when function is disabled, set error message here
11985 [instead of in getStatus previously]
11987 * BufferView_pimpl.C (workAreaButtonRelease): update
11988 toolbar/menubar here too.
11990 2002-01-13 Allan Rae <rae@lyx.org>
11992 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11993 Now seems indestructible. Remaining task is to audit all other
11994 code affected by deleteEmptyParagraphMechanism. One small quirk
11995 left is that an empty document with an error in the preamble can
11996 be made to report an error but no error box appears. I don't know
11998 (removeAutoInsets): Improved comments.
12000 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
12003 * Thesaurus.C: update for Aiksaurus 0.14
12005 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
12007 * text2.C (firstParagraph): removed member function, all uses
12008 replaces with ownerParagraph
12009 (redoParagraphs): here
12010 (updateInset): here
12011 (toggleAppendix): here
12012 * BufferView2.C (insertErrors): here
12013 (setCursorFromRow): here
12015 2002-01-13 Allan Rae <rae@lyx.org>
12017 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
12018 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
12019 There is still a way to segfault this although you may have to do this
12020 multiple times: Have an InsetERT with an unknown command in it.
12021 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
12022 <down-arrow>, <Enter> again, View->DVI, BANG!
12024 * text2.C (setCursor):
12025 (deleteEmptyParagraphMechanism):
12026 * lyxtext.h (setCursor):
12027 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
12028 Making use of the return value may help fix other bugs.
12030 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12032 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12034 * LyXView.C (updateMenubar): call MenuBar::update here
12035 (updateToolbar): but not here
12036 (showState): do not update toolbar/menubar
12038 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12039 should need to care about that.
12041 * lyxfunc.C (verboseDispatch): simplify a bit
12042 (getStatus): have a version which takes a pseudoaction, and
12043 another which requires a (kb_action,string).
12045 * LyXAction.C (retrieveActionArg): make it work also when action
12046 is not a pseudo-action.
12047 (getActionName): simplify a bit
12050 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12052 * lyxfunc.C (verboseDispatch): new families of methods with
12053 several ways to specify a command and a bool to indicate whether
12054 the command name and shortcut should be displayed in minibuffer
12055 (eventually, we could extend that to a finer bitmask like
12056 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12057 (dispatch): the pristine dispatch command which just, well,
12058 dispatchs! Note it still sets its result to minibuffer; I'm not
12061 * lyxfunc.h: remove setHintMessage
12063 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12065 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12067 * BufferView_pimpl.C (specialChar): delete new inset if we have
12068 not been able to insert it.
12070 * kbmap.C: revert to using int instead of kb_action, since all we
12071 are dealing with is pseudo-actions.
12073 * LyXAction.C (searchActionArg): change to return int instead of
12074 kb_action, since the result is a pseudoaction.
12076 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12078 * buffer.C (insertErtContents): Fix (partially) the font bug.
12080 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12082 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12083 as the other one is broken on my machine!
12085 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12088 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12090 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12092 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12093 reflect their actual use. Provide compatibility code for older lyxrc
12096 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12098 change names of popup font variables in line with the changes to lyxrc.C
12100 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12102 * buffer.C (asciiParagraph): avoid outputing a word twice after
12105 * lyxrc.C (getDescription): document that document_path and
12106 template_path can be empty.
12108 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12110 * LaTeXFeatures.C (getMacros):
12111 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12113 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12115 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12117 (getPackages): rename feature "floats" to "float". Use an array to
12118 iterate over 'simple' features (i.e. just a \usepackage). Add
12119 handling of "amsmath" (renamed from "amsstyle").
12121 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12123 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12126 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12128 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12129 FuncStaus::FuncStatus & FuncStaus::some_method().
12131 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12133 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12134 of the func_satus stuff. Edited and massaged in various ways by
12137 * lyxfunc.C (getStatus): use FuncStatus
12139 2002-01-08 Juergen Vigna <jug@sad.it>
12141 * text.C (nextBreakPoint): use function Inset::isChar().
12143 * paragraph.C (TeXOnePar): use function
12144 Inset::forceDefaultParagraphs.
12146 * buffer.C (latexParagraphs): use function
12147 Inset::forceDefaultParagraphs.
12149 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12151 * lyx_gui.C (init): set the style of the menu popups to
12152 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12154 2002-01-07 Juergen Vigna <jug@sad.it>
12156 * text.C (setHeightOfRow): small fix
12157 (prepareToPrint): don't look at alignment if we don't have the place
12160 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12162 * box.C: New file. Move the Box methods and functions out of box.h,
12163 following Lars' suggestion.
12165 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12167 * box.h: #include "support/LOstream.h", needed for inlined function.
12170 * lyxtextclasslist.C: added some using std declarations.
12172 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12174 * box.h: make signed dimensions to allow insets wider than
12175 the screen (bug #162)
12177 * BufferView_pimpl.C: add some insetHit debug
12179 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12181 * vc-backend.C: add FIXME
12183 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12185 * lyxfunc.C (getStatus): enable code for showing math font status
12188 2002-01-07 Juergen Vigna <jug@sad.it>
12190 * text.C (nextBreakPoint): removed debug output not needed anymore.
12192 2002-01-06 Juergen Vigna <jug@sad.it>
12194 * text.C (nextBreakPoint): fixed up this function we had this bug
12195 since ever but now hopefully we break row better.
12196 (insertChar): we have to check if an inset is the next char as it
12197 could now happen that a large inset is causing a break.
12199 2002-01-05 Juergen Vigna <jug@sad.it>
12201 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12202 if it doesn't like to be drawed.
12204 2002-01-04 Juergen Vigna <jug@sad.it>
12206 * BufferView2.C (lockInset): forgot to set a cursor.
12208 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12210 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12212 * FormMathsPanel.C:
12215 * form_maths_panel.C:
12216 * form_maths_panel.h:
12217 * form_maths_panel.fd: implemented sub- and super- buttons in math
12220 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12221 (or ^ space) to be used as in TeX (req'd by André).
12223 * lyxfunc.C: Allow ^ and _ again to be used both as
12224 super/subscript (mathed) and as themselves (in text).
12226 2002-01-03 Allan Rae <rae@lyx.org>
12228 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12229 "LyX" or the filename of the current buffer if it has one. This is a
12230 modified form of John Levon's patch.
12232 * XFormsView.C (setWindowTitle): also set icon title.
12234 * LyXView.h (setWindowTitle): signature changed.
12235 * XFormsView.h (setWindowTitle): ditto.
12237 2002-01-02 Juergen Vigna <jug@sad.it>
12239 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12241 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12243 * screen.C (topCursorVisible): introduce a temp var for
12244 text->cursor.row(), handle the case where this row is null. (kindo
12247 * text2.C (setCursor): add a couple of asserts.
12249 * paragraph.h (inset_iterator): add -> operator
12251 * paragraph.[Ch] (autoDeleteInsets): remove member function
12253 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12254 cursor pos correctly and handle inset deletion by itself.
12255 (insertErrors): move iterator declaration out of for expression
12257 * lyxtextclass.C: add <algorithm>
12259 * Makefile.am: added the new files to sources, removed layout.C
12261 * layout.C: removed file
12263 * layout.h: remove LYX_DUMMY_LAYOUT
12265 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12269 * lyxtextclass.[Ch]:
12270 * lyxtextclasslist.[Ch]: new files
12272 * include order changes to a lot of files, also changes because of
12275 2001-12-27 Juergen Vigna <jug@sad.it>
12277 * buffer.C (asciiParagraph): more fixes.
12279 * tabular.C (ascii): make ascii export support export of only the
12280 data separated by a column-delimiter.
12281 (ascii): better support for ascii export.
12283 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12285 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12287 * tabular_funcs.C: use a "using std::getline" instead of the
12288 previous fix from Angus (necessary for cxx + lyxstring)
12290 2001-12-24 Juergen Vigna <jug@sad.it>
12292 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12294 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12295 problems. First check a minipage also if we have some ert-contents
12296 (not only on par->size(), second set the right depth of the paragraph
12297 on the relink to the root-paragraph-list!
12299 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12300 which then did not anymore update the main paragraphs on undo/redo!
12302 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12304 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12305 code. Support all font-changing funcs (even those which are not in
12306 menu currently). Support for reporting font settings in
12307 mathed (disabled until Andre provides a function on mathed's side).
12309 * func_status.h (toggle): small helper function to set toggle
12312 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12314 * tabular_funcs.C: getline -> std::getline
12316 2001-12-21 Juergen Vigna <jug@sad.it>
12318 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12319 accessed and could be 0 (I couldn't generate this but it seems
12322 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12324 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12325 * tabular_funcs.h: here and include iosfwd
12327 2001-12-20 Juergen Vigna <jug@sad.it>
12329 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12330 inside inset but undo_par was.
12332 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12334 * Thesaurus.C: always include <config.h> in sources.
12338 * box.h: do not include <config.h> in header files
12340 * text.C (paintLastRow): remove unused variable
12342 * text.C (transformChar):
12344 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12346 * Painter.C (text):
12347 * font.C (width): rewrite to use uppercase() instead of
12350 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12352 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12354 * lyxfind.C: clean up of find failure position change
12356 2001-12-20 Juergen Vigna <jug@sad.it>
12358 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12360 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12361 (TeXRow): added to LaTeX a single tabular row.
12362 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12363 (Latex): simplified and finally good LT-h/f support.
12364 (various_functions): just small adaptions for LT-h/f support.
12366 * tabular_funcs.[hC]: added and moved here all not classfunctions
12369 2001-12-19 Juergen Vigna <jug@sad.it>
12371 * tabular.[Ch]: better support for longtabular options (not finished
12374 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12376 * text.C (paintLastRow): use the label font instead of the font of
12377 the last character to compute the size of *_BOX. This makes more
12378 sense and avoids a crash with empty paragraphs.
12379 Use Painter::rectangle to draw EMPTY_BOX.
12381 2001-12-19 Juergen Vigna <jug@sad.it>
12383 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12384 the paragraphs if the replaced paragraph is not the first one!
12385 Tried to delete not used paragraphs but does not work yet so for
12386 now it's inside #ifdef's and by default off!
12388 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12390 * MenuBackend.C: include "lyx_main.h" instead of declaring
12391 lastfiles (actually was declared as LastFiles* instead of a
12394 2001-12-17 Juergen Vigna <jug@sad.it>
12396 * tabular.C (AppendColumn): applied John's fix
12398 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12402 * BufferView_pimpl.h:
12403 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12406 * box.h: new start of class for above
12408 * lyxfunc.C: ignore space-only minibuffer dispatches.
12409 Show the command name when it doesn't exist
12411 * minibuffer.C: don't add empty lines to the history
12413 * minibuffer.C: add a space on dropdown completion
12415 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12417 * text.C: fix line above/below drawing in insets
12419 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12421 * lyxlength.C (LyXLength): Initialize private variables.
12423 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12425 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12426 when inserting error insets.
12428 2001-12-13 Juergen Vigna <jug@sad.it>
12430 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12431 actually sometimes the before-paragraph.
12432 (setUndo): don't clear the redostack if we're not actually undoing!
12434 2001-12-06 Juergen Vigna <jug@sad.it>
12436 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12437 and fixed redoing of main paragraph, so we can use it now ;)
12439 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12441 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12443 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12446 2001-12-13 André Pönitz <poenitz@gmx.net>
12449 * undo_func.C: minor cleanup
12451 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12453 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12454 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12455 font in urw-fonts package which is marked as -urw-fontspecific and
12456 does not work (incidentally, changing the encoding in the
12457 fonts.dir of this package to -adobe-fontspecific fixes the
12460 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12461 is a crash when undoing first paragraph (Juergen, please take a
12462 look). THis does not mean the undo fix is wrong, just that it
12465 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12466 the (Paragraph*) version when needed instead of duplicating the
12469 * text.C (workWidth): use Inset::parOwner to find out where the
12470 inset has been inserted. This is a huge performance gain for large
12471 documents with lots of insets. If Inset::parOwner is not set, fall
12472 back on the brute force method
12474 * paragraph_pimpl.C (insertInset):
12475 * paragraph.C (Paragraph):
12476 (cutIntoMinibuffer): set parOwner of insets when
12477 inserting/removing them
12479 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12481 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12487 * mathed/formulabase.C:
12488 * mathed/math_cursor.[Ch]:
12489 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12492 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12494 * lyxlength.[Ch] (operator!=): new function
12496 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12498 * text.C (workWidth): use Inset::parOwner to find out where the
12499 inset has been inserted. This is a huge performance gain for large
12500 documents with lots of insets. If Inset::parOwner is not set, fall
12501 back on the brute force method
12503 * paragraph_pimpl.C (insertInset):
12504 * paragraph.C (Paragraph):
12505 (cutIntoMinibuffer): set parOwner of insets when
12506 inserting/removing them
12508 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12510 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12512 * tabular-old.C (getTokenValue):
12513 * tabular.C (getTokenValue):
12514 (write_attribute): new versions for LyXLength
12515 (everywhere): adjust the use of widths
12517 * tabular.h: change the type of widths from string to LyXLength
12519 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12521 * paragraph.C: fixed missing line number count when exporting
12522 Environments to LaTeX file
12524 * buffer.C: added informational message for checking line numbers.
12526 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12528 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12529 paragraph, do the 'double space' part, but not the 'empty
12532 * text.C (workWidth): small optimization
12533 (getLengthMarkerHeight): use minimal size for negative lengths.
12535 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12537 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12539 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12541 2001-12-11 André Pönitz <poenitz@gmx.net>
12544 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12546 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12548 * text2.C: keep selection on a setFont()
12550 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12552 * lyx_cb.C: another bv->text misuse, from insert label
12554 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12557 * kbsequence.C: re-instate nmodifier mask
12559 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12561 * lyx_main.h: make lyxGUI private.
12563 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12565 * lyxfind.C: place the cursor correctly on failed search
12567 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12569 * text.C (getLengthMarkerHeight): for small heights, the arrows
12570 are not always on top/bottom of the text
12571 (drawLengthMarker): smaller arrows; take the left margin in
12572 account; draw also vfills.
12574 (paintLastRow): remove special code for vfill and standard spaces,
12575 since everything is handled in drawLengthMarker now.
12577 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12579 * buffer.C (insertErtContents): try to handle font and language
12580 interaction a bit better.g
12582 * ColorHandler.C (updateColor): change the hash to cover the whole
12583 LColor enum, ws cleanup
12584 (getGCLinepars): ditto
12585 (getGCLinepars): only lookup in the linecache once.
12587 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12589 * iterators.C (operator++): Make the iterator more robust
12591 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12593 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12595 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12598 * text.C: better added space drawing
12600 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12603 * BufferView2.C: fix layout combo update on inset unlock
12605 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12607 * Makefile.am: don't compile unused files
12609 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12613 * LyXAction.C: remove old LFUN_LAYOUTNO
12615 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12617 * paragraph_pimpl.h:
12618 * paragraph_pimpl.C: isTextAt() doesn't need font param
12620 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12623 * lyxlex.C: little cleanup
12625 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12627 * BufferView_pimpl.C: fix insertAscii for insets
12629 2001-12-05 Juergen Vigna <jug@sad.it>
12631 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12632 set the right font on the "multi" paragraph paste!
12634 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12640 * lyxlength.C: remove out-commented code.
12642 * BufferView_pimpl:
12656 * vc-backend.C: change "while(" to "while ("
12658 * lyxlength.[Ch]: add zero function to check if length is zero or
12660 * lyxgluelength.C: use it
12662 2001-12-05 Allan Rae <rae@lyx.org>
12664 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12665 Works for 2.95.3, from what I understand of Garst's reports this should
12666 work for other g++ versions. We're screwed if the abs(int) definition
12667 changed between bugfix releases of gcc.
12669 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12671 * text.C: fix chapter label offset !
12673 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12676 * text.C: fix hfill at end of line, clean up
12678 2001-12-04 Juergen Vigna <jug@sad.it>
12680 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12681 that we force an update of the inset and it's owners if neccessary.
12683 2001-12-03 Juergen Vigna <jug@sad.it>
12685 * text.C (rowLast): simplified code
12687 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12689 * lyxfunc.C: fix show options on timeout
12691 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12693 * screen.C (topCursorVisible): scroll half a page when the cursor
12694 reached top of bottom of screen
12696 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12698 * minibuffer.C: deactivate on loss of focus
12700 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12702 * vspace.[Ch] (operator!=): add operator.
12704 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12706 * BufferView_pimpl.C: refuse to open an inset when
12707 there's a selection.
12709 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12711 * BufferView_pimpl.C: allow to click on RHS of full row insets
12713 2001-11-30 Juergen Vigna <jug@sad.it>
12715 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12716 insets for undo reasons.
12718 2001-11-28 André Pönitz <poenitz@gmx.net>
12720 * vspace.[Ch]: cosmetical changes
12722 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12732 * kbsequence.C: part re-write of old kb code
12735 * WorkArea.C: remove Lgb_bug_find_hack
12737 2001-11-30 José Matos <jamatos@fep.up.pt>
12739 * buffer.C (makeDocBookFile): add a comment to point a hack.
12740 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12741 Fixed a double write of labels.
12743 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12746 * LaTeX.h Fixed bug in LaTeX class where it would not
12747 re-run latex if no depfiles were changed, but the .dvi was removed.
12749 2001-11-28 André Pönitz <poenitz@gmx.net>
12751 * all the files from the change on 2001/11/26:
12752 use lyx::layout_type instead of LyXTextClass::size_type
12753 use lyx::textclass_type instead of LyXTextClassList::size_type
12755 2001-11-29 Juergen Vigna <jug@sad.it>
12757 * text.C: added support for paragraph::isFreeSpacing()
12759 * buffer.C: same as above
12761 * paragraph.h: inserted isFreeSpacing() function to enable
12762 FreeSpacing inside InsetERT.
12764 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12765 of the paragraph's in the cut/copy buffer to 0!
12767 * text2.C (removeRow): remove the assert as it can!
12769 * lyxtext.h: added helper function firstRow returning firstrow and
12770 made firstrow private again.
12772 * BufferView2.C (lockInset): don't relock if we're already locked!
12774 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12775 the only paragraph.
12776 (removeRow): added Assert::(firstrow)
12778 * debug.C: forgot to add INSETTEXT here.
12780 2001-11-28 Juergen Vigna <jug@sad.it>
12782 * sp_spell.C (initialize): changed error text to more general
12783 spellchecker command use (not only ispell!)
12785 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12787 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12789 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12791 * vspace.C: initialise lyxgluelength on failure
12793 2001-11-28 Allan Rae <rae@lyx.org>
12795 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12796 declaration & definition that looks like a function declaration.
12798 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12800 * BufferView2.C (copy):
12801 (copyEnvironment): do not clear the selection when doing a copy.
12803 * text.C (paintFirstRow): compilation fix
12805 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12807 * tabular.C (Latex): correct line count when writing latex.
12809 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12811 * paragraph_pimpl.h:
12812 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12815 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12819 * LColor.C: change vfillline->added_space
12821 * text.C: add markers and text for added space
12823 * vspace.C: fix comment
12825 2001-11-28 André Pönitz <poenitz@gmx.net>
12827 * paragraph.C: whitespace changes
12828 * all the other files from the change on 2001/11/26:
12829 change *::pos_type into lyx::pos_type
12831 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12833 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12834 language of the document when inserting error insets.
12836 2001-11-26 André Pönitz <poenitz@gmx.net>
12838 * BufferView_pimpl.[Ch]:
12846 * paragraph_pimpl.[Ch]:
12849 * text2.C: reduce header dependencies, introduce type for positions
12851 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12853 * <various>: change to use Alert.h
12855 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12857 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12858 when encountering an unknown token.
12859 (readLyXformat2): Show an error message if there were unknown tokens.
12861 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12864 * BufferView_pimpl.C:
12868 * text2.C: use par->isInset()
12870 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12872 * paragraph_pimpl.h:
12873 * paragraph_pimpl.C: cleanup
12875 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12877 * text2.C (removeRow):
12878 * text.C (setHeightOfRow): remove useless (and costly) call to
12881 2001-11-20 Allan Rae <rae@lyx.org>
12883 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12884 Now need Inset*::checkInsertChar() to return true for appropriate
12885 cases so that the characters in the minibuffer will actually be
12888 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12890 * text.C: change the order of the includes.
12891 (workWidth): initialize it at once.
12892 (workWidth): make maxw unsigned
12893 (setHeightOfRow): remove unused variable (inset)
12894 (selectSelectedWord): remove unused variable (inset)
12895 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12897 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12899 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12900 server is not running.
12902 (closeConnection): add debug info when server is disabled.
12904 * ColorHandler.C (getGCForeground): send debug message to GUI
12907 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12909 * kbmap.C (bind): modify because return conventions of
12910 kb_sequence::parse have changed.
12912 * kbsequence.C (parse): only ignore spaces and not any stupid
12913 control character. This avoids tests like s[i] <= ' ', which are
12914 guaranteed to fail with 8bit characters and signed chars.
12915 Change return code to string::npos when there have been no error
12916 (0 was a bad idea when error is at first character)
12918 2001-11-14 José Matos <jamatos@fep.up.pt>
12921 * buffer.C (simpleDocBookOnePar): removed unused argument.
12923 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12925 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12926 insets which are part of a word. Paragraph::isLetter takes care of
12927 that now. Use Paragraph::isInset to identify insets.
12928 (selectSelectedWord): do not test for hyphenation break.
12930 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12931 that protected spaces are considered as spaces.
12933 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12936 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12939 * lyxserver.C: fix it. and small cleanup.
12941 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12943 * BufferView_pimpl.C: use inline helpers
12946 * LaTeXFeatures.C: fix typos
12949 * Spacing.C: move spacing_string into class
12951 * ToolbarDefaults.C: move stuff into namespace anon
12953 * layout.h: update enum
12955 * lyxfunc.C: use better debug
12957 * minibuffer.h: fix typo
12961 * WorkArea.C: add and use Debug::WORKAREA
12965 * text2.C: code re-organisation, inline helpers
12967 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12969 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12970 std::vector.empty().
12972 2001-11-09 Allan Rae <rae@lyx.org>
12974 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12975 '\n's after tables. Tabular and ERT inset work now makes this no
12978 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12981 * minibuffer.C: fix crash, improve drop-down completion
12983 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12986 * lyxserver.C: invalidate fd's when doing endPipe()
12988 2001-11-08 José Matos <jamatos@fep.up.pt>
12990 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12991 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12994 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12996 2001-11-07 José Matos <jamatos@fep.up.pt>
12999 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
13002 * buffer.C (sgmlOpenTag):
13003 * buffer.C (sgmlCloseTag): removed debug info.
13005 * buffer.h (sgmlOpenTag):
13006 * buffer.h (sgmlCloseTag): made public.
13008 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13010 * buffer.C (saveParamsAsDefaults):
13011 * lyx_cb.C (MenuLayoutSave): remove
13013 * LyXAction.C (init):
13015 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
13017 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13019 * buffer.C (setPaperStuff): removed from here...
13021 * bufferparams.C (setPaperStuff): ... and moved there.
13023 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
13027 * XFormsView.C: add support for drop-down completion
13029 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13031 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13034 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13036 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13039 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13041 * lyx_main.C: change ref to known bugs
13043 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13045 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13046 to work around older babel problems.
13048 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13050 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13052 2001-10-24 Juergen Vigna <jug@sad.it>
13054 * tabular-old.C (ReadOld): below variable changes reflected.
13056 * tabular.[Ch]: added ltType struct for longtable header/footer
13057 defines and changed all instances where they are used. Added
13058 future support for double top/bottom rows.
13060 2001-10-24 José Matos <jamatos@fep.up.pt>
13062 * buffer.h (docbookHandleCaption):
13063 * buffer.C (docbookHandleCaption): removed unused function.
13064 (makeDocBookFile): moved docbook supported version to v4.1.
13066 2001-10-24 José Matos <jamatos@fep.up.pt>
13069 * tabular.C (docbookRow): new function to export docbook code of a row.
13070 (DocBook): now honors the longtable flags.
13072 2001-10-23 José Matos <jamatos@fep.up.pt>
13075 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13076 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13078 * buffer.C (makeLinuxDocFile):
13079 (makeDocBookFile): reworked the preamble, more clean, and with
13080 support for lyx defined entities. Changed the document declaration
13081 to be more XML friendly.
13083 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13084 if we need to output XML that should be done with a filter.
13086 2001-10-22 Juergen Vigna <jug@sad.it>
13088 * sp_pspell.h (class PSpell): add alive function needed in the
13089 controller to see if the spellchecker could be started.
13091 2001-10-22 Juergen Vigna <jug@sad.it>
13093 * buffer.C (insertStringAsLines): modify the font for inserting
13094 chars in certain conditions by calling checkInsertChar(font).
13096 2001-10-19 Juergen Vigna <jug@sad.it>
13098 * text.C (workWidth): use getRow instead of wrong algorithm.
13099 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13101 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13106 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13108 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13110 * text.C (workWidth): do not search for the exact row when
13111 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13112 optimization for big documents.
13114 2001-10-18 Juergen Vigna <jug@sad.it>
13116 * text.C (workWidth): new function with added Inset * parameter.
13118 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13120 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13122 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13123 change return type of getColumnNearX.
13126 * text.C (changeRegionCase): use uppercase/lowercase instead of
13129 (rightMargin): simplify code by factoring out the uses of
13134 (appendParagraph): use Paragraph::size_type
13136 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13138 * vspace.C (asLatexString): add a missing break
13140 2001-10-15 Herbert Voss <voss@perce.de>
13142 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13144 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13146 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13149 2001-10-10 André Pönitz <poenitz@gmx.net>
13151 * lyxfunc.C: removed greek_kb_flag.
13153 2001-10-10 Herbert Voss <voss@perce.de>
13155 * lyx_main.C: delete global string help_lyxdir.
13157 2001-10-09 Herbert Voss <voss@perce.de>
13159 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13161 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13163 * lyx_main.C: added global string help_lyxdir.
13165 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13167 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13169 * lyxrc.C (set_font_norm_type): support iso8859-4
13171 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13173 * LaTeX.C (deplog): add another regex for MikTeX
13175 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13177 * lyxrc.C (set_font_norm_type): support iso8859-3
13179 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13181 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13183 * LaTeXFeatures.C: remove special case of french and index
13185 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13186 before \begin{document}). This solves several incompatibilities.
13188 2001-10-03 Garst Reese <reese@isn.net>
13190 * lyx_cb.C: change CheckTex error msg.
13192 2001-10-03 José Matos <jamatos@fep.up.pt>
13194 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13196 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13198 * .cvsignore: update
13200 * lyx_main.C (commandLineVersionInfo): use new style version info.
13202 * buffer.C (writeFile):
13204 (makeLinuxDocFile):
13205 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13207 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13209 * version.h: update to use stuff in version.C
13211 * version.C.in: new file. Contains version information determined
13212 at compile time. This is a merging of version.h and
13215 2001-10-03 Juergen Vigna <jug@sad.it>
13217 * BufferView_pimpl.C (update): don't change "dirty" status in
13220 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13222 * WorkArea.C (c-tor): re-position version string slightly.
13224 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13226 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13227 revert to previous code.
13229 WorkArea.[Ch]: (show, destroySplash): methods removed.
13231 WorkArea.C: rework code so that it's an amalgam of the codes before and
13232 after the splash screen was moved to WorkArea.
13234 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13237 * vspace.C (inPixels):
13240 * buffer.C (insertStringAsLines):
13241 (asciiParagraph): fix types to be large enough
13243 * lyxlex_pimpl.h: change member status from short to int
13245 * layout.h: fix type of endlabeltype
13248 * kbsequence.C (parse): change return type to string::size_type
13250 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13253 * Bullet.C (bulletSize):
13254 (bulletEntry): do not use short ints as parameters
13256 * BufferView2.C (insertLyXFile): change a char to an int.
13258 * WorkArea.C (WorkArea): remove unneeded floats in computation
13260 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13262 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13264 * paragraph.C (asString): Do not ignore newline/hfill chars when
13265 copying to the clipboard.
13267 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13269 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13270 after a multi-line inset.
13272 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13274 * paragraph.C (validate): Set NeedLyXFootnoteCode
13276 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13278 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13279 and decrease-error to decrease.
13281 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13283 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13284 it more readable (should be equivalent)
13286 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13288 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13290 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13292 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13293 of a cursor (row, etc.) after a character has been deleted
13294 (deleteEmptyParagraphMechanism): call the method above on _all_
13295 cursors held by the LyXText when a double space has been
13298 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13300 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13302 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13304 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13305 background. Use greyOut() and the new show() methods to toggle between
13306 the foreground and background. Add code to remove the splash after
13307 its initial showing.
13309 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13310 (create_forms): no longer call Dialogs::showSplash.
13312 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13314 * .cvsignore: add version_info.h
13316 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13318 * version_info.h.in: new file
13320 * Makefile.am: add version_info.h.in
13322 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13323 version_info.h instead of VERSION_INFO
13325 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13327 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13328 The ERT inset now returns string().
13330 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13332 * lyxtext.h, text.C (selectNextWord): renamed as
13333 selectNextWordToSpellcheck.
13335 * text.C (selectNextWordToSpellcheck): Modified to not select
13336 words inside an ERT inset.
13338 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13340 * lyx_cb.C (MenuLayoutSave): change a bit the question
13342 * sp_base.h: include <sys/types.h>
13344 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13346 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13348 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13350 * several files: fix typos in user-visible strings
13352 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13354 * text2.C (pasteSelection): do not set the selection, since it
13355 will be cleared later. Actually, the intent was to fix the way the
13356 selection was set, but I figured rmoving the code was just as good.
13358 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13360 * FontLoader.C (available): Check if font is available without
13363 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13365 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13367 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13369 * lyxrc.[Ch]: added display_graphics variable and associated code.
13371 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13373 * bufferparams.C (hasClassDefaults): new method. Returns true if
13374 the buffer parameters correspond to known class defaults
13376 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13378 * XFormsView.C (show): set minimum size to the main window.
13380 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13382 * text2.C (copySelection):
13384 * lyxfind.C (LyXReplace):
13385 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13386 LyXText::selectionAsString.
13388 * paragraph.C (asString): add "label" argument to the second form
13390 * text2.C (selectionAsString): add "label" argument and pass it to
13391 Paragraph::asString.
13393 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13395 * lyx_main.C (commandLineHelp): remove version information
13397 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13399 * lyx_main.C: add -version commandline option
13401 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13403 * paragraph.h: make the optional constructor arg required instead.
13404 some modifications to other files because of this.
13406 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13408 * lyxserver.C (C_LyXComm_callback): make it static
13410 * lyx_main.C (error_handler): make it static
13412 * lyx_gui.C (LyX_XErrHandler): make it static
13414 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13416 * WorkArea.C: make the extern "C" methods static.
13418 * Makefile.am (lyx_LDADD): simplify
13420 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13422 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13423 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13425 * LyXAction.C (init):
13426 * lyxfunc.C (dispatch): associated code removal.
13428 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13430 * lyxfont.h (isSymbolFont): shut off warning
13432 * text.C (setHeightOfRow):
13433 (getVisibleRow): fix crash with empty paragraphs which have a
13436 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13438 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13441 2001-09-04 José Matos <jamatos@fep.up.pt>
13444 * tabular.C (docbook): rename docBook method to docbook.
13446 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13448 * Makefile.am: add dependencies to main.o.
13450 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13452 * FontLoader.C (available): Return false if !lyxrc.use_gui
13454 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13456 * FontInfo.C (query):
13457 * converter.C (view):
13458 * importer.C (Import):
13459 * exporter.C (Export): Can not -> cannot.
13461 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13463 * BufferView_pimpl.C: allow to create index inset even if
13466 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13468 * buffer.C (getLists): replace boost::tie code with an explicit pair
13469 as boost::tie can break some compilers.
13471 * iterators.h: Added a std:: declaration to the return type of
13474 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13476 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13479 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13481 * iterators.[Ch]: New files. Provide paragraph iterators.
13483 * buffer.C (changeLanguage): Use paragraph iterators.
13484 (isMultiLingual): ditto
13486 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13488 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13490 * FontLoader.C: Support for cmr font.
13492 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13494 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13495 (available): New method.
13497 * FontInfo.C (getFontname): Use scalable fonts even when
13498 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13501 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13503 * converter.C (Formats::view): reverted! Incorrect fix.
13505 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13507 * converter.C (Formats::view): only output the -paper option
13508 if the dvi viewer is xdvi, thereby fixing bug #233429.
13510 2001-08-23 Herbert Voss <voss@perce>
13512 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13514 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13516 * Spacing.h (Spacing): Set space to Default on in the default
13519 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13521 * vc-backend.h (RCS::versionString): add RCS to version
13522 (CVS::versionString): add CVS to version
13524 * vc-backend.C (scanMaster): do not add CVS to version.
13525 (scanMaster): do not add RCS to version
13527 * lyxvc.C (versionString): new method
13529 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13531 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13533 * Spacing.C (set): initialize fval
13535 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13537 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13540 2001-08-16 Juergen Vigna <jug@sad.it>
13542 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13544 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13546 * BufferView_pimpl.C:
13549 * text2.C: setParagraph takes linespacing now
13551 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13553 * LyxAction.C: add internal LFUN_CITATION_INSERT
13555 * LyXView.C: actually apply fix
13557 * bufferlist.C: fix open non-existent file
13559 * lyxfind.C: fix indentation
13561 * lyxfunc.C: remove unneeded assert, fix typo
13563 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13565 * MenuBackend.C: use "Floatname List"
13567 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13569 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13570 when converting LaTeX layout to insetERT.
13571 Generate a non-collapsed float when reading old float
13573 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13575 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13578 2001-08-13 Juergen Vigna <jug@sad.it>
13580 * text.C (fill): return 0 instead of 20 as this seems to be the more
13583 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13585 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13588 2001-08-13 Juergen Vigna <jug@sad.it>
13590 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13592 (SearchBackward): comment out the unlocking of the inset_owner this
13593 should not be needed!
13595 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13597 * Many files: Remove inherit_language, and add latex_language
13599 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13600 collapsible insets.
13602 2001-08-10 Juergen Vigna <jug@sad.it>
13604 * text.C (prepareToPrint): fixed hfill-width in draw!
13606 * BufferView2.C (selectLastWord): save the selection cursor as this
13607 now is cleared in the function LyXText::clearSelection!
13609 2001-08-08 Juergen Vigna <jug@sad.it>
13611 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13612 BACKSPACE type functions.
13614 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13615 is only cutted from the document but not put in the cut-buffer, where
13616 still the old stuff should be.
13618 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13620 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13622 * tabular.C (SetWidthOfCell): fixed special case where the width
13624 (LeftLine): handle '|' in align_special.
13626 (LeftAlreadyDrawed): ditto
13627 (SetWidthOfCell): ditto
13629 2001-08-07 Juergen Vigna <jug@sad.it>
13631 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13633 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13635 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13636 * lyxlex.[hC]: ditto
13638 2001-08-06 Juergen Vigna <jug@sad.it>
13640 * text.C (getVisibleRow): fix up row clearing a bit.
13642 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13644 * minibuffer.C: make sure the X server sees the changes in the input.
13646 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13648 * paragraph.C (getFont): split into...
13649 (getLabelFont): this
13650 (getLayoutFont): and this
13651 * paragraph_pimpl.C (realizeFont): calling this
13653 * text2.C (getFont): split into...
13654 (getLayoutFont): this
13655 (getLabelFont): and this
13656 (realizeFont): all three calling this
13658 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13661 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13663 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13665 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13667 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13668 layouts from the Quote inset insertion.
13670 2001-08-03 Juergen Vigna <jug@sad.it>
13672 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13674 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13675 only if status not is already CHANGED_IN_DRAW (second level).
13677 * text.C (draw): don't set the need_break_row when inside an
13680 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13682 * buffer.C (parseSingleLyXformat2Token): handle more latex
13685 * bufferview_funcs.[hC]: change function names to
13686 begin with small char, adjust other files.
13688 2001-08-02 André Pönitz <poenitz@gmx.net>
13691 BufferView_pimpl.C: remove broken special code for math-greek
13693 2001-08-02 Juergen Vigna <jug@sad.it>
13695 * BufferView_pimpl.C (update): redone this function so that we
13696 update the text again if there was a CHANGE_IN_DRAW.
13698 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13699 (drawFromTo): added a new internal bool which is used by draw() and
13701 (general): some cursor drawing problems fixed.
13703 2001-08-01 Juergen Vigna <jug@sad.it>
13705 * lyxfind.C (LyXFind): fixed
13706 (SearchForward): ditto
13707 (SearchBackward): ditto
13709 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13710 spurius drawing of the cursor in the main area.
13712 * text2.C (status): small fix which could lead to a segfault!
13713 (clearSelection): remove unneeded BufferView param.
13715 2001-08-01 André Pönitz <poenitz@gmx.net>
13717 * lyxfunc.C: small change due to changed mathed interface
13719 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13721 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13723 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13725 * lyxfunc.c: fail gracefully if file doesn't exist
13730 * BufferView_pimpl.C: IsDirWriteable() proto changed
13732 * LyXView.C: fix updateWindowTitle() to store the last title
13734 2001-07-31 Juergen Vigna <jug@sad.it>
13736 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13737 the font (wrong since using of Paragraph::highestFontInRange).
13739 * paragraph.C (highestFontInRange): added a default_size parameter.
13741 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13742 (setHeightOfRow): reformat
13744 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13746 * converter.[hC] + affected files: move to (inital-char)lowercase
13749 * ParagraphParameters.C (ParagraphParameters): remove commented code
13751 * PainterBase.[Ch]: remove commented code
13753 * LaTeXFeatures.h: add "bool floats" for float.sty
13755 * LaTeXFeatures.C (LaTeXFeatures): init floats
13756 (require): handle float
13757 (getPackages): do it with floats
13759 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13761 * BufferView_pimpl.C (Dispatch): improve handling of
13762 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13764 * commandtags.h: #include lyxfont.h here temporarily to avoid
13767 * bufferlist.h: include LString.h here.
13769 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13771 * text2.C (getStringToIndex): new method.
13773 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13775 * *: Reduced header file dependencies all over.
13777 2001-07-30 Baruch Even <baruch@lyx.org>
13779 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13781 2001-07-29 Baruch Even <baruch@lyx.org>
13783 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13785 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13787 * ParameterStruct.h (endif): add a default constructor to make
13788 sure that all variables is initialized.
13790 * ParagraphParameters.C (ParagraphParameters): adjust
13792 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13794 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13795 index; also, check that there is something to index, and that it
13796 does not span over several paragraphs.
13797 (doubleClick): use WHOLE_WORD_STRICT for double click.
13799 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13801 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13804 2001-07-26 Baruch Even <baruch@lyx.org>
13806 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13807 an InsetFig figure, backwards compatible reading of old figure code.
13809 2001-07-27 Juergen Vigna <jug@sad.it>
13811 * text2.C: font.realize function adaption.
13813 * text.C (draw): add a warnings lyxerr text if needed.
13815 * layout.C: font.realize function adaption.
13817 * language.C: add inherit_language and implement it's handlings
13819 * bufferview_funcs.C (StyleReset): remove language parameter from
13820 font creation (should be language_inherit now).
13822 * bufferparams.C (writeFile): handle ignore_language.
13824 * paragraph.C (getFontSettings): the language has to be resolved
13825 otherwise we have problems in LyXFont!
13827 * lyxfont.C (lyxWriteChanges): added document_language parameter
13828 (update): removed unneeded language parameter
13830 * paragraph.C (validate): fixed wrong output of color-package when
13831 using interface colors for certain fonts in certain environments,
13832 which should not seen as that on the final output.
13834 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13836 * BufferView_pimpl.C:
13841 * LyXAction.C: add thesaurus support
13844 * lyxfind.C: add "once" parameter, for thesaurus, to not
13845 move to the next match
13847 2001-07-26 Juergen Vigna <jug@sad.it>
13849 * lyxfont.C (realize): honor ignore_language too!
13852 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13854 * text.C (draw): one place more for ignore_language to not draw
13857 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13859 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13861 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13863 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13864 the minipage conversion problem.
13866 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13868 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13871 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13873 * BufferView.h: don't forward declare WorkArea
13875 * BufferView.C: don't include WorkArea.h
13877 2001-07-25 André Pönitz <poenitz@gmx.net>
13881 * lyxfunc.C: new LFUN 'math-space'
13883 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13885 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13887 * text2.C (toggleInset): call open/close
13889 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13891 * lyxfunc.C (dispatch): add debug for the disabled case
13893 * font.C (buttonText): make similar to rectText
13895 * buffer.C (readInset): comment out parsing of insetlist and
13898 * PainterBase.C (rectText): small correction
13900 * BufferView_pimpl.C: comment out insettheorem and insetlist
13901 * LyXAction.C: ditto
13902 * commandtags.h: ditto
13904 2001-07-24 Juergen Vigna <jug@sad.it>
13906 * text.C (draw): honor the ignore_language.
13908 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13910 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13912 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13915 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13917 * lyxtext.h: remove unused (and unimplemented) methods
13919 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13921 * text.C (getVisibleRow): honor background color
13924 * Painter.h: remove default color argument for fillRectangle
13926 * text.C (backgroundColor): new method
13928 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13930 * text.C (getVisibleRow): adjust
13932 * font.[Ch] (rectText): new method, metrics
13933 (buttonText): new method, metrics
13935 * PainterBase.[hC]: make rectText and buttonText always draw and take
13938 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13940 * ToolbarDefaults.C (read):
13941 * MenuBackend.C (read): allow escaping in all strings
13943 * BufferView_pimpl.C (insertAndEditInset): new method.
13944 (Dispatch): use insertAndEditInset whenever appropriate.
13946 * BufferView_pimpl.C (insertNote): removed
13948 * BufferView_pimpl.C (smartQuote): new method, moved from
13949 BufferView; if an insetquote cannot be inserted, insert a '"'
13952 * BufferView2.C: remove insertCorrectQuote();
13954 * lyxfunc.C (getStatus): Add support for all remaingin
13955 inset-insert lfuns.
13957 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13959 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13960 command (necessary to pass " as parameter of self-insert.
13962 * text.C (selectWordWhenUnderCursor):
13963 (selectWord): add word_location parameter
13964 (selectWordWhenUnderCursor): same + remove special code for word
13966 (selectNextWord): use kind() to guess type of insetspecialchar,
13969 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13970 (insertErtContents): create ert insets as collapsed.
13971 (readInset): better compatibility code for Info inset.
13973 2001-07-20 Juergen Vigna <jug@sad.it>
13975 * lyxfunc.C (dispatch): use always LyXFind now!
13977 * text2.C (init): add a reinit flag so that the LyXText can be
13978 reinited instead of deleted and reallocated (used in InsetText).
13980 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13986 2001-07-18 Juergen Vigna <jug@sad.it>
13988 * text.C (selectNextWord): handle insets inside inset by calling
13989 always the bv->text functions so that we can go up the_locking_inset!
13991 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13992 in strange locations when inside an inset!
13994 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13995 handling to include insets.
13997 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13999 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14001 * LyXAction.C (init):
14003 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
14004 LIGATURE_BREAK, since the name is so stupid.
14006 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14008 * buffer.C (readInset): enable reading of new InsetNotes as well as old
14011 * FontLoader.C: remove FORMS_H_LOCATION cruft.
14013 * sp_form.[Ch]: remove.
14015 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
14017 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
14020 * src/buffer.C (readInset): ditto.
14022 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14024 * BufferView_pimpl.C (specialChar): new method. Obsoletes
14025 menuSeparator(), endOfSentenceDot(), ldots() and
14026 hyphenationPoint(), which are therefore removed.
14027 (Dispatch): handle LFUN_HYPHENATION_BREAK.
14029 * LyXAction.C (init):
14030 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14032 * paragraph.C (getWord): removed.
14034 * BufferView_pimpl.C (Dispatch): use last word or selection for
14035 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14037 * lyx_main.C (queryUserLyXDir): do not ask before creating
14038 user_dir, except if it has been named explicitely.
14040 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14042 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14043 a document of zero size.
14045 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14047 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14048 approriately in the c-tor and in require().
14049 (getPackages): output the appropriate LaTeX for natbib support.
14051 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14052 variables "use_natbib" and "use_numerical_citations" when reading the
14054 (readInset): read the various natbib cite commands.
14055 (validate): white-space change.
14057 * bufferparams.[Ch]: new variables "bool use_natbib" and
14058 "bool use_numerical_citations".
14059 (writeFile): output them in the LyX file.
14061 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14063 * lyxfunc.C (getStatus): add support for all the inset insertion
14066 * text2.C (insertInset):
14067 * paragraph.C (insetAllowed):
14068 * BufferView_pimpl.C (insertInset): update to take in account the
14069 renaming of insertInsetAllowed
14071 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14073 * text2.C (getInset): new method. returns inset at cursor position.
14075 * BufferView_pimpl.C (Dispatch): changes because of this.
14077 * LyXAction.C (init): rename open-stuff to inset-toggle.
14079 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14081 * text2.C (toggleInset): renamed from openStuff; use
14084 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14086 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14088 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14090 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14092 * buffer.C (readLyXformat2): Add filename to the error dialog
14094 2001-07-18 Juergen Vigna <jug@sad.it>
14096 * tabular.C (GetCellNumber): put an assert here instead of the check!
14098 2001-07-17 Juergen Vigna <jug@sad.it>
14100 * BufferView_pimpl.C (toggleSelection): adapted too.
14102 * text.C (selectNextWord): adapted for use with insets.
14103 (selectSelectedWord): ditto
14105 2001-07-17 Juergen Vigna <jug@sad.it>
14107 * sp_spell.C (PSpell): fix initialitation order.
14109 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14111 * paragraph.C: spacing
14113 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14115 * sp_spell.C: repair language selection for pspell
14117 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14119 * lyxfunc.h: change more methods to begin with lower char.
14121 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14123 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14124 for unknown layouts.
14126 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14128 * buffer.C (readLyXformat2): Generate an error dialog if there are
14131 2001-07-16 Juergen Vigna <jug@sad.it>
14133 * sp_spell.C: always compile ISpell part.
14135 * lyxrc.C: added use_pspell entry and it's handling.
14137 2001-07-13 Juergen Vigna <jug@sad.it>
14139 * sp_spell.C: removed double includes.
14141 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14143 Consistent use of Lsstream.h:
14144 * Lsstream.h: added using std::stringstream for consistencies sake.
14146 * buffer.C: removed using std::stringstream
14148 * lyxfont.C (stateText):
14149 * paragraph.C (asString):
14150 * text.C (selectNextWord, selectSelectedWord):
14151 * text2.C (setCounter):
14152 * vspace.C (asString, asLatexString):
14153 std::ostringstream -> ostringstream.
14155 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14157 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14158 * commandtags.h: add LFUN_HELP_ABOUTLYX
14159 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14161 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14163 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14165 * lyx_gui_misc.C: remove spellchecker
14166 * lyxfunc.C: showSpellchecker
14168 * sp_ispell.h: added
14169 * sp_pspell.h: added
14170 * sp_spell.C: added
14171 * sp_form.[Ch]: removed
14172 * spellchecker.[Ch]: removed
14174 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14176 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14178 (simpleTeXSpecialChars): Simply print the input character without
14179 any special translation if pass_thru is set.
14181 * layout.h: Added bool pass_thru to layout class for being able to
14182 implement pass through of a paragraph for Literate Programming.
14184 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14185 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14186 * layout.C (Read): add "passthru" to list of layout tags and add
14187 code to set the pass_thru boolean when it is read.
14189 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14191 * trans_decl.h: remove allowed from KmodInfo
14193 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14194 remove allowed code
14197 * paragraph_pimpl.C (erase): use boost::prior
14199 * Painter.C (text): use data() instead of c_str() when length is
14201 * WorkArea.C (putClipboard): ditto
14202 * font.h (width): ditto
14204 * BufferView2.C: use it-> instead of (*it). for iterators
14206 * paragraph_pimpl.C: ditto
14207 * paragraph.C: ditto
14208 * minibuffer.C: ditto
14209 * language.C: ditto
14211 * encoding.C: ditto
14212 * counters.C: ditto
14213 * converter.C: ditto
14215 * Variables.C: ditto
14216 * TextCache.C: ditto
14217 * MenuBackend.C: ditto
14218 * LyXAction.C: ditto
14220 * FloatList.C: ditto
14221 * DepTable.C: ditto
14222 * ColorHandler.C (LyXColorHandler): ditto
14224 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14226 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14228 * text2.C (openStuff): reintroduce this method (which had been
14229 nuked in NEW_INSETS frenzy).
14231 * lyxfunc.C (Dispatch): when an action has not been handled, use
14232 its name in the error message, not its number.
14234 * paragraph.C (inInset): change method name to begin with lowercase.
14237 * text2.C: updates because of this.
14239 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14241 * ToolbarDefaults.C (add): add spaces in error message
14243 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14245 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14246 (readLyXformat2): rename return_par to first_par, use lyxlex's
14247 pushToken and remove the manual push handling.
14248 (parseSingleLyXformat2Token): add another ert comp. variable:
14249 in_tabular, rename return_par to first_par. handle newlines better
14251 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14253 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14255 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14257 * text2.C (getParFromID): removed
14259 * buffer.C (getParFromID): new method moved form lyxtext.
14260 * BufferView2.C (insertErrors): adjust
14261 (setCursorFromRow): adjust
14262 * BufferView_pimpl.C (restorePosition): adjust
14263 * lyxfunc.C (Dispatch): adjust
14264 * undo_funcs.C (textUndo): adjust
14266 (textHandleUndo): adjust
14267 (textHandleUndo): adjust
14269 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14271 * buffer.C: up' the LYX_FORMAT
14273 * lyxfont.h: turn NO_LATEX on as default
14275 * buffer.C (insertErtContents): new methods of tex style compability.
14276 (parseSingleLyXformat2Token): use it several places.
14277 * tabular.C (OldFormatRead): and here
14279 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14281 * text2.C: remove some commented code.
14284 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14285 * trans.C: changes because of the above.
14287 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14289 * text2.C (setCounter): Fix counters bug with bibliography layout.
14291 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14293 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14294 own member functions
14295 (simpleTeXSpecialChars): ditto
14297 2001-07-06 Juergen Vigna <jug@sad.it>
14299 * a lot of files: changed the access to LyXText::status and the
14300 call of undo-functions.
14302 * undo.[Ch]: added a inset_id to the undo informations.
14304 * undo_funcs.[Ch]: added and moved here all undo functions.
14306 * lyxtext.h: give the status enum a weight, made status_ a private
14307 variable and made accessor functions for it, removed the whole bunch
14308 of undo-functions as they are now in their own file, make some
14309 functions publically available. Added function ownerParagraph with
14312 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14313 made InInset() a const function, added getParFromID() function.
14315 * buffer.[Ch]: added const version for inset_iterator functions,
14316 added getInsetFromID() function.
14318 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14319 changed undo functions for new version.
14321 2001-07-05 Juergen Vigna <jug@sad.it>
14323 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14324 unknow mechanism does not call the proper constructor but only this
14325 one also if I request the other!?
14327 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14329 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14331 * text2.C (LyXText): use initialization lists.
14333 * lyxtext.h (Selection): initialize set_ and mark_
14334 (init): remove method
14336 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14338 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14340 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14342 * screen.[Ch]: change method names to begin with lowercase
14344 * BufferView_pimpl.C (updateScrollbar): simplify further and
14345 hopefully make it a bit faster.
14347 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14349 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14350 calling directly xforms functions.
14352 * Painter.C (Painter):
14353 * lyx_cb.C (MenuWrite):
14354 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14357 * lyx_gui.C: remove bogus guiruntime extern declaration.
14359 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14361 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14363 (redoDrawingOfParagraph): ditto
14364 (redoParagraphs): ditto
14365 (cutSelection): don't create a object for CutAndPaste use the
14366 static method directly
14367 (pasteSelection): ditto
14369 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14372 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14374 * modifications to some other files because of this.
14376 * Makefile.am (lyx_SOURCES): add XFormsView
14378 * XFormsView.[Ch]: new files
14380 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14381 the main window. Move the gui dependent stuff to XFormsView
14383 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14385 * tabular.C (GetCellInset): update cur_cell also in the row/col
14386 version of this function.
14388 * lyxfunc.C: no need to include figure_form.h here.
14394 * lyxvc.C: no need to include forms.h here.
14396 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14398 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14400 * lyxfunc.C (Dispatch):
14402 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14403 constructor argument.
14405 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14407 * paragraph.C (Paragraph): dont't clear, and just set layout.
14408 (makeSameLayout): use params's copy contructor.
14410 * ParagraphParameters.[Ch] (makeSame): delete method
14412 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14414 * Variables.[Ch]: fix indentation, rename set to isSet
14416 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14418 * lyxfunc.C (Dispatch): fix typo
14420 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14422 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14425 * bufferlist.C: include assert.h for emergencyWrite().
14427 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14429 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14430 give up at last (bug #425202) !
14432 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14438 * spellchecker.C: strip spellchecker options and bring up
14439 preferences tab instead
14441 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14443 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14444 the istringstream constructor
14446 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14448 * paragraph.C (getLayout): fix return value
14450 * paragraph.h: do not declare getLayout as inline.
14452 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14454 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14456 * lyxcursor.h (operator<): new func
14457 (operator>): new func
14458 (operator>=): new func
14459 (operator<=): new func
14461 * text.C (changeCase): use selection.start and selection.end
14462 (changeRegionCase): require from to be <= to. Require par to be a
14465 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14467 2001-06-27 Juergen Vigna <jug@sad.it>
14469 * text.C (cursorLeftOneWord): changed to return the cursor and added
14470 overlay with BufferView * parameter which calls this one.
14472 (selectWord): use new getWord function.
14473 (changeCase): renamed from changeWordCase as and extended to work
14474 also on selections.
14476 * lyxtext.h: added enum word_location
14478 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14479 changeCase as this operates now also on selections.
14481 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14483 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14485 * many files: send debug output to Debug::INFO instead of
14488 * converter.C (View):
14490 (Move): send debug output to Debug::FILES instead of console.
14492 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14494 * lyxfunc.C (getStatus): use func_status
14496 * func_status.h: new header, describing the results of
14497 LyXFunc::getStatus;
14499 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14502 2001-06-25 The LyX Project <jug@sad.it>
14504 * buffer.C (sgmlOpenTag):
14506 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14508 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14510 * text2.C: remove some dead code
14512 * tabular.C (GetCellInset): store the last cell checked (gotten)
14514 * tabular.h: add the helper for the speedup
14516 * lyxtext.h: remove some dead code
14518 2001-06-26 The LyX Project <Asger>
14520 * paragraph.C: Change export to LaTeX of alignment to
14521 \begin{center} and family for better roundtrip work with reLyX.
14523 * Tune the math drawing a bit.
14525 2001-06-25 The LyX Project <Asger>
14527 * LColor.C (LColor): New color for math background. New color
14530 2001-06-25 The LyX Project <jug@sad.it>
14532 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14534 * lyxfunc.C (Open):
14535 * bufferlist.C (newFile): do not restrict to files ending with
14538 * BufferView_pimpl.C (MenuInsertLyXFile):
14540 2001-06-24 The LyX Project <jug@sad.it>
14542 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14545 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14547 * lyxtext.h: rename most methods to begin with a small char.
14548 Lots of changes because of this.
14550 * paragraph.C (Paragraph): do not call fitToSize
14551 (erase): call Pimpl::erase
14552 (insertChar): call Pimpl::insertChar
14553 (insertInset): call Pipl::insertInset
14554 (breakParagraph): do not call fitToSize
14555 (breakParagraphConservative): do not call fitToSize
14556 (fitToSize): remove method
14558 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14560 2001-06-24 The LyX Project <Asger>
14562 * Fix Qt compilation^2
14564 2001-06-24 The LyX Project <jug@sad.it>
14566 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14567 depthHook(getDepth()-1).
14570 * ParagraphParameters.h:
14571 * ParameterStruct.h: change type of depth to unsigned int ==
14572 depth_type. Many adaptations to other files before of that.
14574 2001-06-24 The LyX Project <Asger>
14576 * Fix Qt compilation.
14578 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14580 * paragraph.h: renamed several methods to begin with small letter.
14581 several changes to many parts of the code because of this.
14583 2001-06-23 The LyX Project <jug@sad.it>
14585 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14586 rewritten to discard all double spaces when KeepEmpty is off
14587 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14588 to only handle newlines but not fiddle with spaces and friends.
14590 * lyxfunc.C (MenuNew): when doing 'new from template', use
14591 template_path as default directory
14593 2001-06-23 The LyX Project <Asger>
14595 * Clean-up of header file includes all over
14596 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14598 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14600 * paragraph.h: renamed from lyxparagraph.h
14602 2001-06-23 Asger <lyx@violet.home.sad.it>
14604 * Buffer.h: Removed Buffer::resize
14605 * BufferList.h: Removed BufferList::resize
14606 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14607 the document lazily when we change the width, or the font settings.
14609 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14611 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14613 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14615 * buffer.h: remove out of date comment
14617 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14620 * screen.C: fix "theoretical" GC leak
14622 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14624 * LaTeX.C (scanAuxFile):
14625 (deplog): remove trailing \r when reading stream (useful under
14628 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14630 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14631 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14632 and BufferView::theLockingInset(Inset*), so should use them and not
14633 access bv_->text->the_locking_inset directly.
14635 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14637 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14640 * tex-defs.h: remove old unused file
14642 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14644 * BufferView_pimpl.C: fix typo, remove minibuffer message
14645 when buffer has loaded
14647 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14649 * lyxfunc.C (Dispatch): use stringstream
14650 (MenuNew): use stringstream
14651 (Open): use stringstream
14653 * importer.C (Import): use stringstream
14655 * bufferview_funcs.C (CurrentState): use stringstream
14657 * LaTeX.C (run): use stringstream
14659 * BufferView_pimpl.C (savePosition): use stringstream
14660 (restorePosition): use stringstream
14661 (MenuInsertLyXFile): use stringstream
14663 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14676 * vspace.C: removed // -*- C++ -*- as first line.
14679 * version.h: added // -*- C++ -*- as first line.
14681 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14683 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14685 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14688 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14690 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14693 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14695 * gettext.C: include LString.h even when --disable-nls is on.
14697 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14699 * converter.h (Get): changed argument type from int to
14700 FormatList::size_type to avoid unnecessary conversion.
14702 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14705 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14707 * gettext.h: include LString.h even when --disable-nls is on.
14709 2001-06-07 Juergen Vigna <jug@sad.it>
14711 * text.C (BreakAgain): subst spaces with tabs.
14713 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14714 (resizeInsetsLyXText): set force on resizeLyXText.
14716 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14718 * gettext.h (gettext_init):
14719 (locale_init): use a real definition instead of a macro
14721 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14723 * Bufferview_pimpl.C:
14725 * LColor.C: further lcolor tidies
14727 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14729 * BufferView_pimpl.C (updateScrollbar): simplify.
14731 * BufferView2.C: don't include insets/insetinfo.h, change
14732 prototype for insertInset and call the Pimpl version. let
14733 updateInset call Pimpl version.
14735 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14736 gotoInset to BufferView::Pimpl
14738 2001-06-01 Juergen Vigna <jug@sad.it>
14740 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14741 inside a LockingInset (is the update needed at all?).
14743 2001-05-31 Juergen Vigna <jug@sad.it>
14745 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14746 here not the old one otherwise how should we compare it afterwards
14749 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14754 * FontInfo.C: bring C functions into global namespace when
14757 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14759 * LString.h: make sure config.h has been loaded before LString.h.
14761 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14762 (one for each char read by EatLine!).
14764 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14767 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14769 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14770 to the same as the par we break from
14772 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14774 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14776 * MenuBackend.C (expand): also create menu entries for wide
14777 versions of the floats.
14779 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14781 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14783 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14784 frontends/Makefile.am
14790 * tabular.C (getTokenValue): add std::
14792 * tabular-old.C (getTokenValue): add std::
14793 (getTokenValue): ditto
14794 (getTokenValue): ditto
14796 * screen.C (ToggleSelection): adjust
14798 * lyxtext.h: put selection cursors inside a Selection struct.
14800 * lyxfunc.C (moveCursorUpdate): adjust
14802 * lyxfont.C (latexWriteStartChanges): add std::
14804 * lyxfind.C: adjust
14806 * font.h: delete with(char const *, LyXFont const &)
14808 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14810 * FontInfo.C (getFontname): add std::
14812 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14813 (workAreaButtonPress): adjust
14814 (tripleClick): adjust
14816 (moveCursorUpdate): adjust
14819 * BufferView2.C (gotoInset): adjust
14821 2001-05-30 Juergen Vigna <jug@sad.it>
14823 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14824 to check pspell I add this as default as I now have new pspell
14825 libraries and they seem to use this.
14827 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14829 * text2.C (CutSelection): make the cursor valid before the call to
14832 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14834 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14835 relied on 0 terminated strings and other horrors. Bug found due to
14836 the new assert in lyxstring!
14838 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14841 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14843 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14846 * lyxfunc.C (processKeySym): change method of getting to the
14849 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14850 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14851 * BufferView_pimpl.[Ch]: here as private methods.
14853 2001-05-28 Juergen Vigna <jug@sad.it>
14855 * text.C (SetHeightOfRow): added the update() call again as it is
14856 needed to initialize inset dimensions!
14858 2001-05-16 Juergen Vigna <jug@sad.it>
14860 * text2.C (SetCharFont): Add new function with BufferView * and
14861 bool toggleall parameters for setting insets internal fonts.
14862 (SetFont): Freeze the undo as we may change fonts in Insets and
14863 all this change should be inside only one Undo!
14865 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14866 setting font's in insets as for them we have the SetFont function!
14868 2001-05-15 Juergen Vigna <jug@sad.it>
14870 * text2.C (ClearSelection): to be sure we REALLY don't have any
14873 * tabular.C (TeXCellPreamble): fixed the left border problem for
14876 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14878 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14881 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14883 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14884 LFUN_BREAKPARAGRAPH.
14886 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14887 help test to "internal only", similar for LFUN_INSERT_URL
14889 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14890 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14891 auto_region_delete and deadkeys.
14893 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14896 * LColor.C: remove some dead entries, tidy a little
14898 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14900 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14902 (Dispatch): implement LFUN_ESCAPE
14904 * commandtags.h: add LFUN_ESCAPE
14906 * LyXAction.C (init): add entry for LFUN_ESCAPE
14908 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14909 Remove commented code.
14910 (insertNote): moved here
14911 (open_new_inset): moved here
14913 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14916 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14918 * kbmap.C (findbinding): clean it up and make it work correctly.
14920 * lyx_main.C (init): do not pass argc and argv as parameters
14922 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14924 * buffer.C: fix path for OS/2 & Win32
14928 * lyx_main.C: Added os:: class.
14930 * os2_defines.h: update
14932 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14934 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14935 better by trying again with reduced state.
14937 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14939 * lyxrc.C (read): print error about invalid key sequence only when
14940 debugging (because not all latinX keysyms are known to some X
14943 * kbsequence.C (getiso): add a few std:: qualifiers
14944 (getiso): comment out extra return statement.
14946 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14948 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14950 (Dispatch): enhance the accent inset a bit. (not perfect)
14952 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14954 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14956 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14958 * bufferlist.C (emergencyWrite): fix assert() call
14960 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14962 * text.C (InsertChar): Added trivial patch to only send the "you
14963 can not do multiple spaces this way" message once during a
14966 2001-05-08 Baruch Even <baruch@lyx.org>
14968 * Makefile.am: Changed order of libraries to get LyX to link properly
14969 with the gnome frontend.
14971 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14973 * LaTeXFeatures.h: add a std:: qualifier
14975 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14977 * paragraph.C (String): use stringstream
14979 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14981 * paragraph.C (writeFile): remove footflag arg
14983 * buffer.C (makeLaTeXFile): use stringstream
14984 (latexParagraphs): remove footnot gurba
14986 * LaTeXFeatures.C (getPackages): use stringstream
14987 (getMacros): likewise
14988 (getTClassPreamble): likewise
14989 (getFloatDefinitions): new method
14991 * paragraph.C (writeFile): reindent
14994 * WorkArea.h: revert the xpos + etc changes.
14996 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14998 * lyxparagraph.[Ch]: add copy constructor, remove Clone
15000 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
15001 (pasteSelection): likewise
15002 * text2.C (CreateUndo): likewise
15004 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15006 * minibuffer.C (peek_event): temporarily reduce the functionality
15007 of the minibuffer (to allow args on lfuns)
15009 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
15010 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
15012 * buffer.C (readInset): add compability reading of old float
15013 lists, add reading of new style float list.
15014 (readInset): avoid reevaluation of inscmd.getCmdName()
15015 (getLists): reindent
15017 * MenuBackend.C (MenuItem): implement parsing of
15018 md_floatlistinsert and md_floatinsert.
15019 (expand::LastFiles): move initalizaton of iterators out of loop,
15020 avoid reevaluation.
15021 (expand::Documents): introduce typdedef vector<string> Strings,
15023 (expand::ExportFormats): introduce typedef vector<Format const *>
15024 Formats, and use it.
15025 (expand): implement FloatListInsert and FloatInsert.
15027 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
15028 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
15029 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15031 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15033 (Dispatch::LFUN_FLOAT_LIST): implement
15035 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15037 * LaTeX.C (run): Fix problem with --export code.
15039 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15041 * BufferView.[Ch] (workarea): removed.
15042 (getClipboard) new method; wrapper for workarea()->getClipboard()
15044 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15047 * WorkArea.h (width, height, xpos, ypos): These methods all
15048 returned the dimensions of the work_area sub-area of WorkArea,
15049 resulting in a position error if the WorkArea were resized. Now
15050 return the dimensions of the entire WorkArea.
15052 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15054 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15056 * LaTeX.C (deplog): correct the syntax of regex reg1
15058 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15060 * undo.C: remove !NEW_INSETS cruft
15062 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15064 * text2.C: remove !NEW_INSETS cruft
15066 * text.C: remove !NEW_INSETS cruft
15068 * tabular.C: remove !NEW_INSETS cruft
15070 * spellchecker.C: remove !NEW_INSETS cruft
15072 * lyxtext.h: remove !NEW_INSETS cruft
15074 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15076 * lyxfunc.C: remove !NEW_INSETS cruft
15078 * lyxfind.C: remove !NEW_INSETS cruft
15080 * lyx_cb.C: remove !NEW_INSETS cruft
15082 * figureForm.C: remove !NEW_INSETS cruft
15084 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15086 * buffer.[Ch]: remove !NEW_INSETS cruft
15088 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15090 * CutAndPaste.C: remove !NEW_INSETS cruft
15092 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15094 * BufferView2.C: remove !NEW_INSETS cruft
15096 * BufferView.h: remove !NEW_INSETS cruft
15098 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15100 * Lsstream.h: include LString.h before the sstream headers to
15101 fix problem with gcc 2.95.3 and lyxstring
15103 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15105 * lyx_main.C: add using directives when needed for C functions
15106 declared in std:: namespace.
15108 2001-04-27 Juergen Vigna <jug@sad.it>
15110 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15111 (SetHeightOfRow): comment out the update call should not be needed!
15113 2001-04-13 Juergen Vigna <jug@sad.it>
15115 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15116 (LyXTabular): tried to minimize operator= operations (and realized
15117 hopfully Lars wish).
15119 2001-04-27 Juergen Vigna <jug@sad.it>
15121 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15123 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15125 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15127 * buffer.C (readInset): hack to make listof algorithm work
15129 * BufferView_pimpl.C: hack to make listof algorithm work
15131 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15133 * LyXAction.C: removed all !NEW_INSETS cruft
15134 (init): moved lfun_item in method
15136 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15138 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15140 * BufferView2.C (theLockingInset): white space.
15142 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15144 * minibuffer.C: include <iostream>
15146 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15148 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15150 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15152 * text.[Ch] (TransposeChars): new method
15154 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15156 * call message directly through LyXView instead of through LyXFunc
15157 * BufferView2.C: adjust
15158 * BufferView_pimpl.C: adjust
15159 * FontLoader.C: adjust
15161 * bufferview_funcs.C: adjust
15162 * converter.C: adjust
15163 * figureForm.C: adjust
15164 * importer.C: adjust
15166 * lyx_gui_misc.C: adjust
15167 * lyxfunc.C: adjust
15170 + more files in subdirs
15172 * lyxparagraph.h (size): move up int file
15175 * adjust all uses of Assert to lyx::Assert.
15177 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15178 lyxfunctional in namespace lyx
15179 * layout.C (hasLayout): ditto
15182 (delete_layout): ditto
15183 (NumberOfClass): ditto
15184 * converter.C (GetFormat): ditto
15189 * bufferlist.C (getFileNames): ditto
15190 (emergencyWriteAll): ditto
15193 * MenuBackend.C (hasSubmenu): ditto
15196 * BufferView_pimpl.C (getInsetByCode): ditto
15198 2001-04-18 Juergen Vigna <jug@sad.it>
15200 * vspace.C (asLatexString): fixed the 100% problem.
15202 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15204 * lyxfunc.C (Dispatch):
15206 * minibuffer.h: add a few std:: qualifiers
15208 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15210 * minibuffer.[Ch]: reimplement so that commands is initiated and
15211 run from lyxfunc, simplified som handling, and made the completion
15212 and history code for complete. wip.
15214 * lyxfunc.C (processKeySym): call message
15215 (miniDispatch): new temporary method
15216 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15217 (LFUN_MESSAGE): implement
15218 (LFUN_MESSAGE_PUSH): implement
15219 (LFUN_MESSAGE_POP): implement
15220 (initMiniBuffer): the initial/defualt minibuffer message.
15222 * lyxfont.[Ch]: inline some more getters
15224 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15226 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15228 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15229 (AutoSave): use LFUN_MESSAGE
15230 (Reconfigure): ditto
15232 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15234 * figureForm.C: use LFUN_MESSAGE
15236 * converter.C (runLaTeX): use LFUN_MESSAGE
15238 * bufferview_funcs.C: use LFUN_MESSAGE
15240 (changeDepth): ditto
15242 * bufferparams.h: use boost::
15244 * bufferlist.h: inherit privately from noncopyable
15246 * bufferlist.C (loadLyXFile): remove some commented code.
15248 * buffer.C (runChktex): use LFUN_MESSAGE
15250 * ShareContainer.h: inherit privately from noncopyable
15252 * ParagraphParameters.[hC] (depth): inline it.
15254 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15256 (message): new method
15257 (messagePush): ditto
15258 (messagePop): ditto
15259 (show): init minibuffer
15260 (showState): direct call
15262 * LaTeX.[Ch]: inherit privately from noncopyable
15263 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15264 instead of WriteStatus.
15266 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15268 * BufferView_pimpl.C (buffer): don't init minibuffer
15269 (workAreaButtonPress): use LFUN_MESSAGE
15270 (workAreaButtonRelease): ditto
15271 (savePosition): ditto
15272 (restorePosition): ditto
15273 (MenuInsertLyXFile): ditto
15274 (workAreaExpose): don't init minibuffer
15275 (update): remove commented code, simplify
15277 * BufferView2.C (openStuff): use LFUN_MESSAGE
15278 (toggleFloat): ditto
15281 (copyEnvironment): ditto
15282 (pasteEnvironment): ditto
15287 (updateInset): remove some commented code
15289 * lastfiles.h: inherit privately from noncopyable
15292 * lyx_main.h: ditto
15294 * lyxlex_pimpl.h: ditto
15296 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15297 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15298 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15300 * LyXAction.h: inherit privately from noncopyable, add methods
15301 func_begin, func_end, returning iterators to the func map.
15303 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15304 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15305 (func_begin): new method
15306 (func_end): new method
15308 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15310 (copySelection): ditto
15311 (pasteSelection): ditto
15313 * BufferView.C: whitespace change
15314 * BufferView.h: inherit privately from noncopyable
15316 2001-04-16 Allan Rae <rae@lyx.org>
15318 * tabular-old.C (l_getline):
15319 * spellchecker.C (sc_check_word):
15320 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15321 an unrecognised preprocessor directive. So ensure they're wrapped.
15323 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15325 * src/exporter.C (Export): Give an error message when path to file
15328 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15330 * LaTeX.C (deplog): Always check that foundfile exists.
15332 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15335 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15337 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15339 * tabular.[Ch] (getLabelList): implement new method
15341 * minibuffer.h: comment ouf setTiimer
15343 * minibuffer.C (ExecutingCB): constify res
15344 (peek_event): constify s
15345 (Set): constify ntext
15346 (Init): constify nicename
15348 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15350 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15351 (savePosition): use two params to Minibuffer::Set
15352 (restorePosition): ditto
15354 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15356 * lyx_main.C: include language.h
15358 * Makefile.am (lyx_main.o): add language.h
15360 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15366 * CutAndPaste.C: include gettext.h
15368 * lyxfont.h: remove old hack with ON and OFF.
15371 * lyxfont.h: do not include language.h...
15376 * bufferview_funcs.C:
15382 * paragraph.C: ... but do it here instead
15384 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15386 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15388 * tabular.C: small reformat
15390 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15393 (BreakParagraph): ditto
15394 (SetOnlyLayout): ditto
15397 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15400 * lastfiles.C: removed most using decl, add std:: where needed
15402 * buffer.C: ws changes
15404 * MenuBackend.C (class compare_format): put into anon namespace
15405 (expand): constify label, names, action, action2
15408 * text.C (SingleWidth): constify font
15409 (IsBoundary): constify rtl2
15410 (GetVisibleRow): constify ww
15412 * LaTeX.C (deplog): constify logfile
15414 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15416 (workAreaExpose): constify widthChange, heightChange
15418 * lyxrow.C (par): moved
15421 * lyxrow.h: as inlines here
15423 * lyxfont.h (shape): moved from lyxfont.C
15424 (emph): moved from lyxfont.C
15426 * lyxfont.C (LyXFont): use initialization list for all
15428 (shape): move to lyxfont.h as inline
15429 (emph): move to lyxfont.h as inline
15432 2001-04-04 Juergen Vigna <jug@sad.it>
15434 * vspace.C: had to include stdio.h for use of sscanf
15436 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15439 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15440 independent of xforms.
15442 2001-04-02 Juergen Vigna <jug@sad.it>
15444 * spellchecker.C: fixed namespace placing!
15446 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15448 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15449 the LyXParagraph * is 0.
15451 2001-03-29 Juergen Vigna <jug@sad.it>
15453 * vspace.C: added support for %, c%, p%, l%.
15454 (stringFromUnit): added helper function.
15455 (asLatexString): changed to give right results for the %-values.
15457 * buffer.C: convert the widthp in a width%.
15459 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15461 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15464 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15465 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15467 * lyx_cb.[Ch]: see above.
15469 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15473 * lyx.[Ch]: replaced by figure_form.[Ch].
15477 * lyxfunc.C: changed headers associated with above changes.
15479 2001-03-27 Juergen Vigna <jug@sad.it>
15481 * BufferView_pimpl.C: set the temporary cursor right!
15483 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15485 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15487 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15489 * LString.h: removed "using std::getline"!
15491 * BufferView_pimpl.C (Dispatch): changes due to changes in
15492 InsetInclude::Params.
15494 * buffer.C (tag_name): removed redundant break statements as they were
15495 producing lots of warnings with my compiler.
15497 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15499 * LString.h: add "using std::getline" when using the real <string>.
15501 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15503 * buffer.C: removed bitset usage.
15504 PAR_TAG moved to an anonymous name space.
15505 (tag_name): new funtion, also in the anonymous namespace.
15506 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15507 (makeDocBookFile): clean code. Completed transition from string arrays
15509 (SimpleDocBookOnePar): code clean.
15511 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15513 * tabular.C: add some comments.
15515 2001-03-22 Juergen Vigna <jug@sad.it>
15517 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15518 compatibility read a bit and fixed bug with minipage in different
15521 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15523 * buffer.C (pop_tag): removed.
15524 (push_tag): removed.
15525 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15526 array replaced with vector. Added support for CDATA sections.
15527 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15529 (makeDocBookFile): XML conformant declaration of CDATA section,
15530 fixed bug related to <emphasis> in the first paragraph char.
15531 (sgmlOpenTag): exclude empty tags.
15532 (sgmlCloseTag): ditto.
15534 * buffer.h (pop_tag): removed.
15535 (push_tag): removed.
15537 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15539 * language.h (Languages): added size_type and size().
15541 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15543 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15544 response on compability reading of minipages. One probliem is that
15545 the old usage of minipages was «flertydig»
15547 * several files here and in subdirs: don't use static at file
15548 scope use anon namespaces instead.
15550 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15552 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15553 LaTeX output. This is necessary for Literate document
15556 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15558 * buffer.C: insert hfill when needed.
15560 * tabular.C (l_getline): use string::erase, small whitespace change.
15562 * BufferView_pimpl.C: try the anon namespace.
15563 * WorkArea.C: ditto
15565 2001-03-16 Juergen Vigna <jug@sad.it>
15567 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15568 otherwise it won't open options-dialogs.
15570 * buffer.C: honor pextraWidth(p) on converting minipages.
15572 * tabular.C (l_getline): changed the functions to strip trailing \r.
15574 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15576 * BufferView_pimpl.C:
15577 * minibuffer..C: added "using SigC::slot" declaration.
15579 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15581 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15587 * paragraph.C: ditto
15589 * lyxtext.h: NO_PEXTRA
15591 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15593 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15594 * ParameterStruct.h: ditto
15595 * ParagraphParameters.h: ditto
15596 * lyxparagraph.h: ditto
15598 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15600 * buffer.C: add compability for minipage alignment.
15601 (latexParagraphs): remove unwanted pextra check.
15603 * several files: remove CXX_WORKING_NAMESPACES
15605 * buffer.C (pop_tag): tie is in namespace boost
15607 * BufferView.h: noncopyable is in namespace boost
15609 * lyx_main.h: ditto
15612 * lastfiles.h: ditto
15613 * bufferlist.h: ditto
15614 * ShareContainer.h: ditto
15616 * LyXAction.h: ditto
15619 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15621 * Merging changes from BRANCH_MVC back into HEAD.
15623 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15625 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15627 * BufferView_pimpl.C: change from intl.C
15631 * Makefile.am: move combox.*
15637 * intl.C: remove dialog (covered by prefs)
15639 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15641 * lyxfunc.C (Dispatch): removed redundant break statement.
15643 2001-03-14 Juergen Vigna <jug@sad.it>
15645 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15647 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15649 * buffer.C: add hack to fix compability reading of minipages.
15651 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15653 * buffer.C (getLists): Cleanup.
15655 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15657 * lyxfont.C (update): don't honor toggleall on font size.
15659 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15663 * Makefile.am: moved to frontends/xforms/
15667 * BufferView_pimpl.C: changes for moved mathpanel
15669 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15671 * gettext.h: fix gettext_init() in --disable-nls
15673 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15675 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15677 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15680 * lyx.h: strip external form
15682 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15684 * BufferView_pimpl.C: add comment, destroySplash()
15686 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15688 * BufferView_pimpl.C:
15692 * lyxfunc.C: use re-worked insetinclude
15694 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15696 * buffer.C: add using std::stringstream.
15698 * lyx_cb.C: readd using std::ios.
15700 * buffer.C: add using std::map.
15702 * BufferView_pimpl.C: add using std::vector.
15704 * ShareContainer.h: add std:: to swap.
15706 * buffer.h: add some typedefs
15707 * buffer.C (getLists): use them
15708 (getLists): renamed from getTocList.
15709 add a counter for the different float types and use it in the
15711 (getLists): use the same counter for the NEW_INSETS and the "non"
15714 * lyx_cb.h: remove unused items, includes, using etc.
15716 * ShareContainer.h: remove some commented code, add more comments
15717 and "documentation".
15719 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15721 * buffer.C (getTocList): make the list also when NEW_INSETS is
15724 * buffer.h: remove TocType
15726 * buffer.C (getTocList): change to return a map<string,
15727 vector<TocItem> >, implement for dynamic number of list.
15729 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15730 * text2.C (PasteSelection): adjust
15731 * CutAndPaste.C (pasteSelection): adjust
15733 * FloatList.C (FloatList): update from the new_insets branch.
15734 * Floating.[Ch]: ditto
15735 * LaTeXFeatures.C: ditto
15737 * lyxlex_pimpl.C: ditto
15739 * paragraph.C (Last): remove when NEW_INSETS is defined.
15741 * other file: changes because of the above.
15743 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15745 * lyxparagraph.h: rename next to next_, previous to previous_,
15746 make them private for NEW_INSETS. Rename Next() to next(),
15747 Previous() to previous().
15749 * other files: changes because of the above.
15751 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15754 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15757 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15759 * main.C (main): pass lyx_localedir to gettext_init().
15761 * gettext.h: remove locale_init and gettext_init macros
15763 * gettext.C (locale_init): new function
15764 (gettext_init): new function
15766 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15769 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15771 * Moved credits to frontends:
15772 * credits.[Ch]: removed
15773 * credits_form.[Ch]: removed
15774 * lyx_gui_misc.C: remove credits stuff
15777 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15779 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15781 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15782 unneeded destructor.
15784 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15785 a standalone pointer again.
15787 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15789 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15795 * ToolbarDefaults.C:
15804 * BufferView_pimpl.C: use new file dialog in GUII
15807 * lyx_cb.C: remove LayoutsCB to Toolbar
15809 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15811 * ShareContainer.h (get): add std:: qualifier
15813 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15815 * ShareContainer.h: define a proper ShareContainer::value_type
15816 type (and use typename to please compaq cxx)
15818 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15820 * lyxparagraph.h: move serveral local vars to
15821 ParameterStruct/ParagraphParameters., use ShareContainer in
15822 FontTable., make vars in FontTable private and add getter and
15825 * paragraph.C: changes because of the above.
15827 * lyxfont.h: remove copy constructor and copy assignment. (the
15828 default ones is ok), move number inside FontBits. move inlines to
15831 * lyxfont.C: add number to initializaton of statics, move several
15832 inlines here. constify several local vars. some whitespace
15833 cleanup. Dont hide outerscope variables.
15835 * Spacing.h: add two new constructors to match the set methods.
15837 * ShareContainer.h: new file, will perhaps be moved to support
15839 * ParameterStruct.h: new file
15841 * ParagraphParameters.h: new file
15843 * ParagraphParameters.C: new file
15845 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15846 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15848 * BufferView_pimpl.C: ParagraphParameter changes.
15849 * buffer.C: Likewise.
15850 * bufferview_funcs.C: Likewise.
15851 * text.C: Likewise.
15852 * text2.C: Likewise.
15854 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15856 * lyxfind.C (LyXReplace): do not redefine default argument in
15858 (IsStringInText): ditto
15859 (SearchForward): ditto
15860 (SearchBackward): ditto
15862 2001-03-06 Juergen Vigna <jug@sad.it>
15864 * lyxfind.C (IsStringInText): put parentes around expressions.
15866 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15868 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15870 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15872 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15874 * stl_string_fwd.h: add comment
15876 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15879 * tabular.C: remove unused DocBook methods
15885 killed DO_USE_DEFAULT_LANGUAGE
15887 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15889 * lyx_gui.C: do not include language.h.
15891 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15892 arguments in function implementation.
15894 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15896 * BufferView_pimpl.C: add <ctime>
15898 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15900 * BufferView_pimpl.C: add using std::find_if
15902 2001-02-27 José Matos <jamatos@fep.up.pt>
15904 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15907 2001-02-11 José Matos <jamatos@fep.up.pt>
15909 * buffer.C (makeDocBookFile): command styles now have a parameter as
15910 "title" by default.
15912 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15914 * layout_forms.[Ch]: removed
15915 * lyx_cb.[Ch]: out character
15916 * lyx_gui.C: out character
15917 * lyx_gui_misc.C: out character
15918 * bufferview_funcs.C: : out character,
15919 added toggleall as parameter in ToggleAndShow
15921 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15923 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15925 * text2.C (SetCurrentFont): Disable number property at boundary.
15927 2001-02-26 Juergen Vigna <jug@sad.it>
15929 * lyxfunc.C (getStatus): added a string argument override function so
15930 that this is correctly called from LyXFunc::Dispatch if it contains a
15931 do_not_use_argument which is used!
15932 (Dispatch): added check for "custom" export and call appropriate func.
15934 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15936 * lyxrc.C: Add language_command_local, language_use_babel and
15937 language_global_options.
15939 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15941 * buffer.C (makeLaTeXFile): Use language_use_babel and
15942 language_global_options.
15944 2001-02-23 Juergen Vigna <jug@sad.it>
15946 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15947 which works with LyXText and putted it inside BufferView. Here now we
15948 only call for that part the BufferView::Dispatch() function.
15950 * BufferView.C (Dispatch): added.
15952 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15953 functions which needs to use a LyXText over from LyXFunc.
15954 (MenuInsertLyXFile): added
15955 (getInsetByCode): added
15956 (moveCursorUpdate): added
15957 (static TEXT): added
15959 2001-02-22 Juergen Vigna <jug@sad.it>
15961 * BufferView_pimpl.C (update): call a status update to see if LyXText
15964 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15966 * vc-backend.C (revert): implement for CVS
15967 (getLog): implement for CVS
15969 2001-02-20 Juergen Vigna <jug@sad.it>
15971 * text2.C (ClearSelection): added BufferView param for inset_owner call
15973 * lyxfunc.C (TEXT): added this function and use it instead of
15974 directly owner->view()-text of getLyXText().
15976 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15978 * src/layout_forms.C: out preamble
15979 * src/layout_forms.h: out preamble
15980 * src/lyx_cb.C: out preamble
15981 * src/lyx_cb.h: out preamble
15982 * src/lyx_gui.C: out preamble
15983 * src/lyx_gui_misc.C: out preamble
15984 * src/lyxfunc.C: connect with guii preamble
15986 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15988 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15990 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15992 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15993 whether to run bibtex.
15995 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15997 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15999 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
16001 * Makefile.am (lyx_SOURCES): removed bibforms.h
16003 * vspace.h: doxygen
16005 * text.C (GetVisibleRow): make several local vars const
16007 * tabular.C: small cleanup.
16009 * lyxserver.C (callback): use compare instead of strncmp
16011 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
16012 inlines to after class or to paragraph.C
16014 * lyxfont.h: remove friend operator!=
16016 * converter.h: move friend bool operator< to non friend and after
16019 * combox.h: small cleanup
16021 * buffer.h: doxygen, remove unused constructor, move inclas inlies
16022 to inlines after class def.
16024 * buffer.C (pop_tag): use string operations instead of strcmp
16026 * bmtable.c: doxygen, small cleanup
16028 * LaTeX.h: remove friend operator==
16030 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16042 * BufferView_pimpl.C:
16043 * BufferView.[Ch]: remove cruft
16045 2001-02-14 Juergen Vigna <jug@sad.it>
16047 * lyxfunc.C: removed #if 0 unused code
16049 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16051 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16053 * text2.C (SetSelection): added a BufferView * parameter
16055 2001-02-13 Juergen Vigna <jug@sad.it>
16057 * lyxfunc.C (Dispatch): fixed protected blank problem.
16058 * BufferView2.C (protectedBlank): added LyxText * parameter.
16060 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16061 (AppendColumn): same as above for column_info.
16063 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16064 (moveCursorUpdate): use a LyXText param for support of InsetText.
16066 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16067 (tripleClick): ditto
16069 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16071 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16073 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16075 * text2.C (SetSelection): set correct update status if inset_owner
16076 (ToggleFree): ditto
16078 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16080 * tabular.C: remove some commented code.
16082 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16084 * BufferView_pimpl.C: call hideSplash()
16086 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16089 * bibforms.h: remove
16092 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16093 add LFUN_CHILD_CREATE
16095 * counters.h: fix tiny typo
16100 * lyx.C: move splash to frontends/xforms/
16102 * lyx_gui_misc.C: move Include and Bibform to frontends
16104 * lyxvc.h: clarify comment
16106 * vspace.C: tiny housekeeping
16108 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16110 * text.C (PrepareToPrint): RTL Fix.
16112 * paragraph.C (GetUChar): New method.
16113 (String): Use GetUChar.
16115 * buffer.C (asciiParagraph): Use GetUChar.
16117 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16119 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16121 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16124 * buffer.C: rename to getLogName(), handle
16125 build log / latex log nicely
16127 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16130 * MenuBackend.h: remove support for reference menuitem type.
16132 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16134 * BufferView_pimpl.C: housekeeping
16135 * BufferView_pimpl.h:
16140 * minibuffer.h: move Timeout GUI-I
16142 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16144 * lyxrc.C (read): Update converters data-structures.
16146 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16148 * LaTeX.h (operator!=): add operator != for Aux_Info
16150 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16152 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16154 * LaTeXLog.C: deleted, useful code moved to Buffer
16157 * buffer.C: new function getLatexLogName()
16163 * lyxfunc.C: use frontends for LaTeX and VC logs
16165 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16167 * LaTeX.h: yet another std:: that Allan forgot.
16169 * Variables.C (set): renamed from isset(), because this clashes
16170 with some HP-UX macros (grr).
16172 2001-02-06 Allan Rae <rae@lyx.org>
16174 * LaTeX.h: Another bug fix. Missing std:: this time.
16176 2001-02-04 Allan Rae <rae@lyx.org>
16178 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16179 floats problem. I've left it commented out because it's not quite
16180 correct. It should also test that the current object is a table or
16181 figure inset. But I haven't gotten around to figuring out how to do
16182 that. I *think* it'll be something like: "table" == inset.type()
16184 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16187 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16189 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16190 all the citation/databases/styles in the auxilary file.
16191 (run): Rerun latex if there was a babel language error.
16193 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16195 * text.C (Backspace): Preserve the font when changing newline char
16197 (BreakParagraph): If the cursor is before a space, delete the space.
16199 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16201 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16203 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16204 new argument (code).
16205 (ChangeCitationsIfUnique): New method.
16207 * paragraph.C (GetPositionOfInset): Handle bibkey.
16209 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16211 * BufferView_pimpl.h: change type of Position::par_pos to
16212 LyXParagraph::size_type.
16214 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16216 * BufferView_pimpl.C (savePosition, restorePosition): Write
16217 messages to minibuffer.
16219 2001-01-28 José Matos <jamatos@fep.up.pt>
16221 * buffer.C (makeDocBookFile): adds support for document language.
16222 A silly restriction on the name of LatexCommand types where removed.
16223 Added support for CDATA sections, allows to chars unescaped, used
16224 among others in code, to avoid escape < and >.
16226 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16228 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16229 saved positions instrad of a stack. Furthermore, a position is
16230 stored using paragraph id/paragraph position.
16232 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16233 Remove LFUN_REF_BACK.
16235 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16237 * converter.C (dvipdfm_options): New method.
16239 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16241 * vspace.C (isValidLength): Fix for empty input string.
16243 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16245 * LyXAction.C (init): change description of LFUN_FIGURE to
16248 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16250 * LaTeX.C: add using directive
16252 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16254 * MenuBackend.C (expand): Fix the sorting of the formats.
16256 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16258 * lyx_main.C: tiny error message fix
16260 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16262 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16263 calling fl_initialize(). This fixes the problem with ',' as
16264 decimal separator in text files.
16266 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16268 * trans.C (process): Fix the keymap bug.
16270 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16272 * LaTeX.C (scanAuxFiles): New method. Provides support for
16273 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16274 (scanLogFile) Scan for "run BibTeX" messages.
16276 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16277 OT1 font encoding. Also, load the aecompl package if the ae
16280 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16282 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16284 * texrow.C (increasePos): turn two error messages into debug
16287 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16289 * LaTeX.C (scanAux): Handle the \@input macro.
16290 (runBibTeX): Use scanAux().
16292 * language.C (latex_options_): New field.
16294 * LaTeXFeatures.C (getMacros): Add language macros.
16296 * buffer.C (makeLaTeXFile): Small fix.
16298 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16300 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16302 * text2.C: add a using directive.
16304 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16309 * lyxfunc.C: kill LyXBell.
16311 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16313 * text.C (IsBoundary): Remove the error message
16315 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16317 * lyxrc.C (setDefaults): Correct initialization value for
16320 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16322 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16325 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16326 and GotoNextNote().
16328 * src/LyXAction.C: Added reference-next.
16330 * text.C (InsertChar): Use contains instead of strchr.
16332 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16334 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16336 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16337 alignment commands (when needed).
16339 * text.C (InsertChar): Add ':' to number separator chars.