1 2004-10-31 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3 * text.C (leftMargin): do not indent paragraphs in charstyle insets.
5 2004-10-30 José Matos <jamatos@lyx.org>
7 * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
8 text and no inset or font change. This allows to use CDATA
9 sections just for the whole paragraph.
11 2004-10-30 José Matos <jamatos@lyx.org>
13 * paragraph.C (getFirstWord): remove unused variable.
15 2004-10-30 José Matos <jamatos@lyx.org>
17 * paragraph.C (getFirstWord): the content should always be escaped there.
18 (simpleDocBookOnePar):
19 * output_docbook.C (makeEnvironment): replace reference to CDATA to style pass_thru.
21 2004-10-30 José Matos <jamatos@lyx.org>
23 * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
25 2004-10-30 José Matos <jamatos@lyx.org>
27 * output_docbook.C (makeParagraphs):
28 * paragraph.[Ch] (emptyTag): for docbook and company, if the
29 standard paragraph has only a given type of content drop the wrapper.
31 2004-10-29 José Matos <jamatos@lyx.org>
33 * output_docbook.C (makeEnvironment):
35 * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
37 2004-10-29 Andreas Vox <vox@isp.uni-luebeck.de>
39 * sgml.[Ch] (uniqueID): returns a unique id for a given label.
40 (cleanID): sanitize any id.
42 2004-10-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
44 * buffer.C, lyxlex_pimpl.C:
45 * lyxlex_pimpl.C (setFile):
46 s/getExtFromContents/getFormatFromContents/
48 2004-10-28 José Matos <jamatos@lyx.org>
50 * output_docbook.C (makeEnvironment): move id to broadest possible scope.
52 * sgml.C (openTag): apply substitution of <> for all attribuites.
54 2004-10-28 José Matos <jamatos@lyx.org>
56 * buffer.C (makeLinuxDocFile, makeDocBookFile):
57 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
58 * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
60 * sgml.[Ch]: new version for open and closeTag for paragraph and
61 for strings. Now they handle the ids of paragraphs.
63 2004-10-26 Angus Leeming <leeming@lyx.org>
65 * Makefile.am: add mover.[Ch].
67 * converter.C (convert, move): use the new Movers to move external
68 files to the temp directory.
70 * lyx_main.C (init): ensure that the global system_movers data
73 * lyxrc.[Ch]: code to read and write 'copiers' from/to the
76 * mover.[Ch]: new files, defining a Mover as a utility to move an
77 external file between directories and, if necessary, manipulate this
78 file using a helper script.
80 2004-10-25 José Matos <jamatos@lyx.org>
82 * output_docbook.C (makeCommand): merge two if's that tested the same condition.
84 2004-10-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
86 * sgml.C (escapeString): fix warning in a better way
88 2004-10-25 José Matos <jamatos@lyx.org>
90 * sgml.C (escapeString): import the require boosts header file for
91 tie, and avoid a signed unsigned comparison.
93 2004-10-25 José Matos <jamatos@lyx.org>
95 * sgml.h: add #include <string>
97 2004-10-25 José Matos <jamatos@lyx.org>
99 * sgml.[Ch] (escapeString): new function to escape all the string.
101 2004-10-24 José Matos <jamatos@lyx.org>
103 * paragraph.[Ch] (getFirstWord): new function to get the first
104 word. Useful for description.
105 (simpleDocBookOnePar): remove depth argument, add another that
106 says where to start the paragraph.
108 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
109 use the new functions to fix cleanly the support for descriptions.
111 2004-10-24 José Matos <jamatos@lyx.org>
113 * buffer.C (makeLinuxDocFile, makeDocBookFile):
114 * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
115 * output_linuxdoc.C (linuxdocParagraphs):
116 * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
117 add buffer as argument.
119 2004-10-24 José Matos <jamatos@lyx.org>
121 * output_docbook.C (makeEnvironment, searchEnvironment): place
122 CDATA inside paragraphs and fix scope for listitems.
124 2004-10-24 José Matos <jamatos@lyx.org>
126 * output_docbook.C: remove using statement for stack.
128 2004-10-23 José Matos <jamatos@lyx.org>
130 * buffer.C (makeDocBookFile): reorganize the comments about lyx.
131 * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
132 docbook. The new scheme is recursive and makes use of iterators, the
133 same as latex export works.
134 * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
135 directly with the paragraph contents. This code was moved up to
136 output_docbook.C (docbookParagraphs).
137 * sgml.C (openTag, closeTag): removed unneeded newlines.
138 (closeEnvTags) removed.
140 2003-10-23 André Pönitz <poenitz@gmx.net>
142 * undo.C (textUndoOrRedo):
143 * dociterator.C (asDocIterator): work around crash
145 * cursor.C (getStatus): replace ASSERT by more verbose error message
146 and manual correction of the problem. Should increase stability
147 while providing more sensible information.
149 2004-10-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
151 * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
153 * bufferlist.C (previous, next): new methods
156 * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
158 2004-10-18 Andreas Vox <vox@isp.uni-luebeck.de>
160 * buffer.C (makeDocBookFile): add dsssl stylesheet control
161 entities to preamble.
163 2004-10-18 Georg Baum <Georg.Baum@post.rwth-aachen.de>
165 * messages.C (Pimpl): strip off translation context information
167 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
169 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
170 the cursor is correct (bug 1694)
172 2004-10-13 José Matos <jamatos@lyx.org>
174 * output_docbook.C (docbookParagraphs): fix closing tags in the
177 2004-10-09 José Matos <jamatos@lyx.org>
179 * buffer.C: format up to 237.
180 * bufferparams.C (write): use tostr to convert booleans to strings.
182 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
184 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
186 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
188 * LaTeX.C: implement use of babel language in xindy.
190 2004-10-05 José Matos <jamatos@lyx.org>
192 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
193 Add new translators to help reading and writing the lyx file.
195 2004-10-05 José Matos <jamatos@lyx.org>
197 * ParagraphParameters.C (read):
198 * text.C (readParToken): replace nexToken by more appropriate lex
201 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
203 * LaTeX.C (runMakeIndex):
204 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
205 (usually 'makeindex') configurable.
207 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
208 with a variable rather than with a number.
210 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
212 * output_latex.C (TeXOnePar): make sure font setting is the first
213 thing that gets output (and the last at the end). Should fix bug
216 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
218 * pch.h: use proper signal include
220 * LaTeX.h: Use preferred calling of Boost.Signal
223 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
225 * pch.h: dont include <boost/function/function0.hpp>
227 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
229 * paragraph_pimpl.h: remove usage of ShareContainer
231 * paragraph_pimpl.C: remove initialization of ShareContainer.
233 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
237 * BufferView.C (putSelectionAt): change the semantics when
238 backwards == true: now, this just swaps cursor and anchor wrt the
241 * BufferView.h (putSelectionAt): add some documentation
243 * lyxfind.C (findBackwards): rewrite using while(). In particular,
244 make sure backwardChar is done at least once (to avoid getting
246 (findNextChange): use putSelectionAt in the forward direction
247 (operator()): use Paragraph::isWord
249 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
251 * Spacing.C (set): c_str fix
253 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
255 * lyx_cb.C (Reconfigure): quote the name of configure script in
256 case it contains spaces
258 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
262 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
263 (BOOST_LIBS): use top_buildir when looking for the file
265 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
267 * pch.h: do not use include boost/format.hpp, multiple symbols
268 will result (gcc bug)
271 2004-08-23 José Matos <jamatos@lyx.org>
273 * bufferparams.C (readToken): fix reading of the author field.
275 2004-08-20 José Matos <jamatos@lyx.org>
277 * lyxrc.C: remove support/translator.h inclusion since it is not used.
279 2004-08-20 José Matos <jamatos@lyx.org>
281 * lyxlex.[Ch] (findToken): remove function.
283 * ParagraphParameters.C (findToken):
284 * bufferparams.C (findToken): replace call for previous function
285 with local copy. This local function has one more argument, the
286 read string argument.
288 2004-08-16 José Matos <jamatos@lyx.org>
290 * ParagraphParameters.C (write):
291 * Spacing.C (writeFile):
292 * bufferparams.C (writeLaTeX):
293 * lyx_cb.C (Reconfigure):
294 * paragraph.C (write):
295 * tabular.C (write): remove unnecessary space at end of line.
298 2004-08-16 José Matos <jamatos@lyx.org>
300 * text.C (readParagraph): remove debug message.
302 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
304 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
307 * output_plaintext.C (asciiParagraph): set depth correctly
309 * outputparams.h: add member depth
311 * paragraph_funcs.C (ownerPar): remove.
313 * text2.C (setCounter): remove first_pit; comment out some
314 non-working code that uses ownerPar
316 * BufferView.C (getParentLanguage): remove. Not used anymore, and
319 2004-08-16 José Matos <jamatos@lyx.org>
321 * text.C (readParToken, readParagraph, read): report all unknown tokens.
322 For the same level of importance use the same chanel to report problems.
323 (read): add code to deal with \begin_body and \end_body.
326 2004-08-15 José Matos <jamatos@lyx.org>
328 * lyxlex.C (getString): fix comment, buffer::readBody is now
331 * tex-strings.C (string_papersize): Default -> default,
332 Custom -> custom, for consistency with other options.
334 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
338 * Makefile.am: support pch
340 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
342 * text.C (readParToken): remove the static LyXFont variable and
343 pass it as a parameter instead. This fixes a nasty bug where an
344 inset will be inserted with a bad font in some situations
345 (readParagraph): adapt
347 * text2.C (setCounter): reduce number of calls to pars_[pit]
349 * text.C (singleWidth): add an assert, fix a test
351 * rowpainter.C (paintText): reduce number of calls to singleWidth
353 * paragraph.C (isHfill):
356 2004-08-14 André Pönitz <poenitz@gmx.net>
361 * lyxtext.h (several functions): use a Paragraph & argument
364 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
366 * metricsinfo.h: add a new field ltr_pos to PainterInfo
368 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
370 * text.C (singleWidth): remove useless test
372 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
374 * tabular.h: remove bogus comments
376 * tabular.C (getDescentOfRow):
377 (isPartOfMultiColumn): add assertions
379 * lyxlength.C (inPixels): remove #warning
381 2004-08-14 André Pönitz <poenitz@gmx.net>
383 * paragraph.h: inline getChar()
385 * BufferView.h: remove unused declarations
387 2004-08-14 José Matos <jamatos@lyx.org>
389 * Buffer.[Ch] (readDocument): new name for old readBody.
390 * Buffer.C: new file format, new keywords: \begin_document,
391 \begin_header, \begin_body, \end_body.
393 * bufferparams.C (readToken): replace all calls to lex.nextToken
394 by lex.next(). Do the same to eatLine except where really needed.
396 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
397 line when writing to the lyx file.
399 * output_plaintext.C (asciiParagraph): fix Bibliography style
402 * text.C (read): fix end of file handling.
404 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
406 * MenuBackend.C (Menu::operator[]): new method to access
407 individual menu items
408 (Menu::hasFunc): new method. search for an item that corresponds
410 (MenuBackend::specialMenu): new method
411 (MenuBackend::expand): if a special menu has been set, skip
412 entries whose func() appears in this menu
414 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
416 * text3.C: use Debug::DEBUG a bit more
418 * text.C (leftMargin): try to simplify a tiny bit change var x to
419 l_margin. Dont output the wide margins always.
420 (rightMargin): no margin in inner texts
422 * rowpainter.h (nestMargin): new func
423 (changebarMargin): new func
424 (rightMargin): new func
426 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
430 * factory.C (createInset): modify setDrawFrame
432 * cursor.C: use Debug::DEBUG a bit more
434 2004-08-14 André Pönitz <poenitz@gmx.net>
437 * Makefile.am: new files to accomodate an 'external' (x,y)-position
438 cache for all insets in (at least partially) visible (top-level)
441 * BufferView_pimpl.C: reset external coord cache before every update.
442 This means the coord cache only contains valid entries.
444 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
447 * BufferView_pimpl.C (getInsetByCode): move function out of class
448 and change in to a template in anon namespace. Also fix to do what
451 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
454 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
456 (breakParagraph): rename par to par_offset and use a local
457 reference. Add code to keep the language over a rebreak.
458 (breakParagraphConservative): rename par to par_offset, use a
460 (mergeParagraph): ditto
462 (isFirstInSequence): ditto
463 (outerFont): rename pit to par_offset
465 * paragraph.C: ws change
470 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
472 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
475 * paragraph.C (simpleTeXOnePar): when we have a \item with
476 optional argument, enclose the argument with curly brackets (in
477 case it contains a closing square bracket)
481 * text3.C (checkInsetHit): constify
483 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
485 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
488 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
490 Fix toggling of collapsable insets with the mouse (bug 1558)
492 * lyxfunc.C (dispatch): adapt to LCursor changes
494 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
495 make sure that dispatch is not invoked twice
497 * cursor.C (needsUpdate): new method
498 (dispatch): return void
499 (result): new method, to access the DispatchResult of the cursor.
501 2004-08-13 José Matos <jamatos@lyx.org>
503 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
505 2004-08-13 André Pönitz <poenitz@gmx.net>
507 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
509 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
512 2004-08-12 André Pönitz <poenitz@gmx.net>
514 * text3.C: take out the 'cursor right' form insertInset and only
515 do it in those places when it is really needed. Fixes crash on
518 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
520 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
522 * BufferView_pimpl.C (setBuffer): initialize the current font of
523 the underlying LyXText
525 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
527 * kbsequence.C (print): use UI native formatting for menu
530 * text.C (insertChar): call Paragraph::insertChar with a font
533 * paragraph.C (insertInset, insertChar): the version that takes a
534 LyXFont argument is now a wrapper around the other one (the
535 opposite used to be true).
537 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
538 argument. Font setting is done in Paragraph now.
540 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
542 * outputparams.h: add new members intitle and lang.
544 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
545 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
547 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
549 * text3.C (dispatch): remove special handling of button 4 and 5,
550 it is now taken care of in the frontend code.
552 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
554 * Spacing.h: add <string> (STLPort compile fix)
556 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
558 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
560 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
562 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
565 * converter.C (showMessage): inherit from unary_function, make
568 * buffer.C (writeFile): initialize retval
570 * InsetList.h: rename private variable list to list_
571 * InsetList.[Ch]: adjust accordingly.
573 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
575 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
576 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
577 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
578 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
579 * ParagraphParameters.C, LaTeXFeatures.C: replace
580 "support/std_sstream.h" with <sstream>
582 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
584 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
585 * lyxsocket.C (LyXServerSocket): ditto
586 (serverCallback): ditto
588 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
590 * LaTeXFeatures.C: check release date when loading jurabib.
592 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
594 * lyxserver.C (startPipe): call register_socket_callback
595 (endPipe): call unregister_socket_callback
597 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
599 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
600 (LyXServerSocket): register the callback
601 (LyXServerSocket): unregister the callback
602 (fd): delete function
603 (serverCallback): improve error checking and setup the callbacks.
604 (dataCallback): change arg to fd.
605 (writeln): new func (copied fro the client socket) used for server
607 (LyXDataSocket): simplify
608 (~LyXDataSocket): close ann unregiser callback
609 (server): delete function
610 (fd): delete function
611 (readln): small changes, improve some std::string usage
612 (writeln): constify a bit
614 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
616 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
619 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
621 * BufferView_pimpl.C (setBuffer): set the layout combox value only
622 after it has been populated
624 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
626 * text2.C (insertInset): move cursor when inserting inset.
628 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
630 * kbmap.C (findbindings): a couple of new methods. returns a
631 container of kb_sequence objects. The real work is done by the
632 private recursive version
633 (printbindings): uses findbindings to print out a bracketed list
634 of bindings (renamed from findbinding).
636 * MenuBackend.C (binding): use kb_keymap::findbindings
638 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
640 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
642 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
644 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
646 * paragraph.C (isWord): return true on insets that report
649 * text.C (getWord): use Paragraph::isWord to decide what is in a
650 word and what is not; fix bug 1609.
652 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
654 * tex-strings.C: add "none" to string_paperpackages[], fixes
655 off-by-one-error in the paperpackage selection.
658 * tex-strings.[Ch]: char const * string[n]
659 -> char const * const string[]
661 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
663 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
664 command, return early.
666 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
668 * debug.h: add DEBUG to enum and fix size of ANY.
670 * debug.C: add support for Debug::DEBUG
671 (showTags): cast errorTags.level to unsigned int
673 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
674 (redoCurrentBuffer): ditto
675 (updateScrollbar): ditto
676 * cursor.C (dispatch): ditto
677 * text2.C (setLayout): ditto
679 (updateCounters): ditto
681 (deleteEmptyParagraphMechanism): ditto
683 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
685 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
686 annotations to cleanup the Makefile slightly.
688 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
690 * lyxrc.C: do not set user_email to a default value but use empty
691 instead. The entry used to be translated, which does not work
692 since at the point where lyxrc is constructed there is no
693 translation service available
695 * messages.C (getLocaleDir): remove and use directly
696 lyx_localedir() instead
698 2004-06-02 Angus Leeming <leeming@lyx.org>
700 Fix crash caused by dereferencing null pointer 'exportdata' in
701 OutputParams by creating a new ExportData variable on the heap,
702 storing it in a boost::shared_ptr.
703 The crash was triggered when generating an Instant Preview
704 of an external inset.
706 * Makefile.am: add outputparams.C
708 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
709 (c-tor): allocate memory to it.
711 * exporter.C (c-tor): associated changes.
713 2004-06-01 Angus Leeming <leeming@lyx.org>
715 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
716 contains data before calling isInset(0). (Bug 1513.)
718 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
720 * exporter.C (checkOverwrite): new method
721 * exporter.C (copyFile): new method
722 * exporter.C (Export): copy referenced files to the document dir
723 * exporter.[Ch]: new class ExportedFile
724 * exporter.[Ch]: new class ExportData. Contains currently the
725 names of referenced external files
726 * outputparams.h: add exportdata member.
728 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
730 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
733 2004-05-19 Angus Leeming <leeming@lyx.org>
738 * lyxfunc.C: small changes due to the introduction of namespace
739 lyx::frontend and the moving of namespace biblio to lyx::biblio.
741 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
743 * text3.C (dispatch): supress update when only moving the cursor
744 * cursor.C (selHandle): remove commented code
746 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
748 * paragraph.C (startTeXParParams): correct column count
749 * CutAndPaste.C (pasteSelection): remove const_cast
750 * output_docbook.C (docbookParagraphs): remove const_cast
751 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
752 const_cast and return ParagraphList::const_iterator
753 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
754 * output_plaintext.C (writeFileAscii): remove const_cast
755 * paragraph.[Ch] (simpleTeXOnePar): make const
756 * paragraph_funcs.C (outerPar): use const iterators
757 * paragraph_pimpl.C (validate): use const iterators
758 * text.C (setHeightOfRow): use const iterators
760 2004-05-17 Angus Leeming <leeming@lyx.org>
763 * LyXAction.C (init): new LFUN_INSET_REFRESH.
765 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
766 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
767 if the citation engine has changed.
769 2004-05-14 José Matos <jamatos@lyx.org>
771 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
772 if the textclass does not provide it. Have it different for sgml and
774 support the language of document.
775 * output_docbook.C (docbookParagraphs):
776 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
777 first anchor as the id of the paragraph, remove special case code.
778 * sgml.C (escapeChar): escape only < & >.
780 2004-05-14 Angus Leeming <leeming@lyx.org>
782 * bufferparams.h: move biblio::CiteEngine enum here to minimize
783 dependencies on src/frontends/controllers/biblio.h. Define a
784 CiteEngine_enum wrapper class to enable the enum to be forward
787 2004-05-12 Angus Leeming <leeming@lyx.org>
789 * buffer.C: up LYX_FORMAT to 234.
790 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
791 use_numerical_citations with a single biblio::CiteEngine cite_engine
793 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
795 2004-05-13 José Matos <jamatos@lyx.org>
798 * converter.C (Converter, readFlags): add xml member.
799 * outputparams.h: add XML flavor.
800 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
802 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
804 * lyxfunc.C (dispatch):
805 (getStatus): fix handling of LFUN_SEQUENCE
807 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
809 * debug.C (showLevel): do not forget the end-of-line marker
811 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
813 * kbmap.C (read): do not stop parsing a bind file when an error
816 2004-04-29 Angus Leeming <leeming@lyx.org>
821 * text2.C: wrap a bunch of #warning statements
822 inside #ifdef WITH_WARNINGS blocks.
824 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
826 * buffer.C: increment format to 233.
828 2004-04-28 Angus Leeming <leeming@lyx.org>
830 * BufferView_pimpl.C:
833 s/updateToolbar()/updateToolbars()/
834 s/Toolbar.h/Toolbars.h/
836 2004-04-28 Angus Leeming <leeming@lyx.org>
838 * BufferView.[Ch] (c-tor):
839 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
840 No longer passes these data to the WorkArea generator.
842 2004-04-28 Angus Leeming <leeming@lyx.org>
844 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
846 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
848 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
850 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
852 * output_latex.C (TeXEnvironment): make sure that there is a line
853 break before \end{foo} for the last paragraph of a document
854 (TeXOnePar): if the paragraph is at the end of the document (or
855 inset) and the language has to be reset, then make sure that the
856 line break is _before_ the language command, not after (fixes bug
857 1225); also make sure that the language reset command is the first
858 thing after the paragraph (to ensure proper nesting of
859 environments and thus fix bug 1404)
861 2004-04-21 John Levon <levon@movementarian.org>
864 * ToolbarBackend.C: make "name" be a programmatic name
865 and a gui_name field.
867 * lyxfunc.C: display the minibuffer on M-x
869 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
871 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
874 2004-04-19 Angus Leeming <leeming@lyx.org>
876 * BufferView_pimpl.C (setBuffer): changed preview interface.
878 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
881 2004-04-19 John Levon <levon@movementarian.org>
883 * BufferView_pimpl.C:
884 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
886 2004-04-05 Angus Leeming <leeming@lyx.org>
888 * text.C (redoParagraphs): add call to updateCounters(), thereby
889 fixing the missing "Figure #:" label from the caption of a
892 2004-04-13 Angus Leeming <leeming@lyx.org>
894 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
895 cursor is clicked out of an inset.
897 2004-04-13 Angus Leeming <leeming@lyx.org>
899 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
900 than an InsetOld one.
902 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
904 * format.[Ch]: add editor to Format
905 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
906 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
908 2004-04-08 André Pönitz <poenitz@gmx.net>
910 * metricsinfo.h: remove PainterInfo::width member
912 2004-04-08 Angus Leeming <leeming@lyx.org>
914 * lyx_sty.C (boldsymbol_def): modify so that it outputs
915 "\providecommand" rather than "\newcommand", thereby preventing
916 clashes with packages that define "\boldsymbol" themselves.
919 2004-04-08 Angus Leeming <leeming@lyx.org>
921 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
922 thereby squashing an unnecessary warning.
924 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
926 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
929 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
931 * BufferView.C (setCursor): call redoParagraph (some insets could
933 (putSelectionAt): remove the 'double update' trick
935 * BufferView_pimpl.C (fitCursor): call refreshPar
936 (workAreaDispatch): remove an uneeded update call
937 (dispatch): remove some manual update calls
939 * cursor.[Ch]: remove cached_y_, updatePos
940 (selHandle): set noUpdate when appropriate
942 * lyxfunc.C (dispatch): track if we need an update
944 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
946 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
947 (paintSelection): cheap optimization, do not call cursorX when not
949 (paintPars): change signature
952 (paintTextInset): adjust
956 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
958 * lengthcommon.C: compilation fix: remove explicit array size from
959 unit_name[] and friends
961 2004-04-05 Angus Leeming <leeming@lyx.org>
963 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
965 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
966 present only for the preferences dialog.
967 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
969 2004-04-05 Angus Leeming <leeming@lyx.org>
971 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
972 to enable the frontends to export changes to lyxrc correctly.
974 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
976 2004-04-07 André Pönitz <poenitz@gmx.net>
978 * cursor.[Ch] (selClear, adjust): remove math
980 * cursor_slice.C: more agressive assert
983 * BufferView_pimpl.C: rework mouse event dispatch
990 2004-04-05 André Pönitz <poenitz@gmx.net>
992 * cursor.[Ch] (valign, halign...): remove unneeded functions
994 2004-04-05 Angus Leeming <leeming@lyx.org>
996 * lyxlength.[Ch] (unit_name et al.): const-correct.
998 2004-04-05 Angus Leeming <leeming@lyx.org>
1000 * BufferView_pimpl.C:
1009 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
1011 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1013 * text3.C (getStatus): add LFUN_BEGINNINGBUF
1015 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1017 * lyxfind.C: add a couple of inTexted() tests + other small fixes
1018 * BufferView_pimpl.[Ch] (getStatus)
1019 * BufferView.[Ch] (getStatus): add
1020 * lyxfunc.C (getStatus): move lfuns handled in
1021 BufferView::dispatch to te function above
1022 * Cursor.C (setSelection): set selection() = true
1024 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
1026 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
1028 2004-03-31 Angus Leeming <leeming@lyx.org>
1030 * lyxfunc.C (dispatch): Fall through to the generic
1031 Dialogs::show("preamble").
1033 2004-03-31 Angus Leeming <leeming@lyx.org>
1035 * lyxfunc.C (dispatch): Fall through to the generic
1036 Dialogs::show("spellchecker").
1038 2004-03-31 Angus Leeming <leeming@lyx.org>
1040 * lyxfunc.C (getStatus, dispatch): changed invocation of the
1043 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1048 * insetiterator.[Ch]:
1053 * undo.[Ch]: s/DocumentIterator/DocIterator/g
1055 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
1057 * BufferView.C (setCursor, putSelectionAt): call edit to open the
1058 insets where we are putting the cursor.
1060 2004-03-31 Angus Leeming <leeming@lyx.org>
1063 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
1065 * lyxrc.[Ch] (read, write): overloaded member functions taking
1066 a std::[io]stream arguments.
1068 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
1070 2004-03-31 Angus Leeming <leeming@lyx.org>
1072 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
1073 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
1075 * lyxtextclass.C (load): if the text class couldn't be loaded, then
1076 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
1078 2004-03-31 Angus Leeming <leeming@lyx.org>
1080 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
1081 the LFUN_ALL_INSETS_TOGGLE code.
1083 2004-03-30 Angus Leeming <leeming@lyx.org>
1085 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
1086 has died. Fall through to the generic Dialogs::show("document").
1088 2004-03-30 Angus Leeming <leeming@lyx.org>
1091 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
1092 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
1094 * lyxfunc.C (getStatus, dispatch): define the actions for these
1095 lfuns. Little more than a cut and pste job from ControlDocument.C
1097 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
1099 2004-03-30 Angus Leeming <leeming@lyx.org>
1102 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
1103 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
1105 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
1106 open/closed state of ollapsable insets. Usage:
1108 all-inset-toggle <state> <name>, where
1109 <state> == "open" || "closed" || "toggle" and
1110 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
1112 * lyxtext.h, text2.C (toggleInset): removed.
1114 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
1115 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
1116 now passes LFUN_INSET_TOGGLE to the found inset.
1118 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
1119 is now invoked as "all-insets-toggle toggle branch".
1121 2004-03-30 Angus Leeming <leeming@lyx.org>
1125 * pariterator.[Ch]: added/corrected header blurb.
1127 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
1129 * dociterator.[Ch]: add an inset_ member
1130 (backwardPos): implemented
1131 (backwardPos, forwardPos): use inset_ when the stack is empty.
1132 (doc_iterator_begin, doc_iterator_end): implemented
1133 * pariterator.[Ch]: adjust, add begin, end
1134 * insetiterator.[Ch]: adjust, add begin, end
1138 * BufferView_pimpl.C:
1139 * CutAndPaste.C: adjust
1141 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1143 * buffer.C: increment file format to 232.
1144 * LaTeXFeatures.C: add bibtopic package.
1145 * bufferparams.[Ch]: param \use_bibtopic.
1147 * lyxrc.[Ch]: add lyxrc bibtex_command
1148 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
1150 * buffer.C: increment file format to 231.
1152 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1154 * dociterator.C: implement forwardPar
1155 * iterators.[Ch]: remove, replaced by
1156 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
1158 * BufferView_pimpl.C:
1161 * bufferview_funcs.C:
1167 * Makefile.am: adjust
1169 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1171 * CutAndPaste.C (pasteSelection): fix 2 crashes
1172 (eraseSelection): fix a crash
1173 * paragraph_funcs.C: remove a warning
1175 2004-03-28 Angus Leeming <leeming@lyx.org>
1178 * LyXAction.C (init): new LFUN_PRINT.
1180 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1182 2004-03-27 Angus Leeming <leeming@lyx.org>
1185 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1187 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1189 2004-03-27 Angus Leeming <leeming@lyx.org>
1191 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1192 insetlist always contains non-null pointers to insets.
1194 2004-03-26 Angus Leeming <leeming@lyx.org>
1196 * src/BufferView_pimpl.C:
1197 * src/CutAndPaste.C:
1200 * src/output_plaintext.C:
1201 * src/outputparams.h:
1202 * src/paragraph_funcs.C:
1206 * src/frontends/controllers/ControlErrorList.C:
1207 * src/frontends/gtk/FileDialogPrivate.C:
1208 * src/frontends/gtk/GPainter.C:
1209 * src/frontends/gtk/GToolbar.C:
1210 * src/frontends/qt2/QRef.C:
1211 * src/mathed/math_scriptinset.C: squash compiler warnings.
1213 2004-03-26 Angus Leeming <leeming@lyx.org>
1215 * ispell.C (LaunchIspell::start):
1216 * lyx_cb.C (AutoSaveBuffer::start):
1217 invoke run(DontWait) rather than runNonBlocking().
1219 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1221 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1223 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1225 * kbsequence.C (print): adjust
1227 * kbmap.C (printKeySym): rename and change signature
1228 (printKey): use LyXKeySym::print()
1230 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1232 * undo.C: add using std::advance to compile for stlport
1234 2004-03-24 Angus Leeming <leeming@lyx.org>
1236 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1237 it leads to a crash when no buffer is present.
1239 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1240 Martin Vermeer <martin.vermeer@hut.fi>
1242 * lyxfunc.C (dispatch):
1243 * bufferparams.C (readToken): use the new LColor::setColor
1245 * LColor.[Ch] (setColor): new version that takes two strings as
1246 argument and creates a new color entry if necessary
1248 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1250 * buffer.C (makeLaTeXFile): if the main latex file that is
1251 processed is usually a subdocument of some master, then pretend
1252 for a while that it is actually the master
1254 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1256 * buffer.C (getLabelList):
1257 (getBibkeyList): use getMasterBuffer()
1258 (getMasterBuffer): new method. Returns the main document in the
1259 case where one is using included documents.
1261 2004-03-25 André Pönitz <poenitz@gmx.net>
1265 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1267 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1269 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1270 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1272 * ParameterStruct.h: merge with ParagraphParameters
1274 * lyxtext.h: remove LyXText::parOffset() and getPar()
1276 * text3.C: Remove all 'manual' update calls. We do now one per user
1277 interaction which is completely sufficient.
1281 * BufferView_pimpl.C:
1282 * FontIterator.[Ch]:
1284 * ParagraphParameters.[Ch]:
1289 * cursor_slice.[Ch]:
1296 * output_docbook.[Ch]:
1297 * output_latex.[Ch]:
1298 * output_linuxdoc.[Ch]:
1299 * output_plaintext.[Ch]:
1301 * paragraph_funcs.[Ch]:
1302 * paragraph_pimpl.[Ch]:
1310 * frontends/controllers/ControlDocument.C:
1311 * frontends/controllers/ControlErrorList.C:
1312 * frontends/controllers/ControlSpellchecker.C:
1315 * insets/insetbase.h:
1316 * insets/insetbibitem.C:
1317 * insets/insetbox.C:
1318 * insets/insetbranch.C:
1319 * insets/insetcaption.C:
1320 * insets/insetcharstyle.C:
1321 * insets/insetcharstyle.h:
1322 * insets/insetcollapsable.C:
1323 * insets/insetcollapsable.h:
1324 * insets/insetert.C:
1325 * insets/insetfloat.C:
1326 * insets/insetfoot.C:
1327 * insets/insetmarginal.C:
1328 * insets/insetnote.C:
1329 * insets/insetoptarg.C:
1330 * insets/insettabular.C:
1331 * insets/insettext.C:
1332 * insets/insettext.h:
1333 * insets/insetwrap.C:
1334 * mathed/math_mboxinset.C:
1335 * mathed/math_nestinset.C:
1336 * mathed/math_scriptinset.C:
1337 * mathed/math_scriptinset.h:
1340 2004-03-24 Angus Leeming <leeming@lyx.org>
1342 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1343 deal with any child processes that have finished but are waiting to
1344 communicate this fact to the rest of LyX.
1346 2004-03-24 Angus Leeming <leeming@lyx.org>
1348 64-bit compile fixes.
1350 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1351 (c-tor): pass lyx::pos_types rather than ints.
1353 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1356 * text.C (Delete): compile fix.
1357 (getPar): ensure that function declaration is the same as that in
1360 2004-03-23 Angus Leeming <leeming@lyx.org>
1362 * ispell.C (LaunchIspell):
1363 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1364 a boost::shred_ptr rather than a std::auto_ptr.
1366 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1368 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1369 handle LFUN_FILE_INSERT_*
1371 * lyxrc.C (setDefaults, getDescription, output, read):
1372 * lyxrc.h: remove ps_command
1374 2004-03-22 Angus Leeming <leeming@lyx.org>
1376 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1377 Ensure that error_handler is processed once only and that all data
1378 is saved before attempting to output any warning messages.
1380 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1382 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1384 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1386 2004-03-19 André Pönitz <poenitz@gmx.net>
1388 * cursor.[Ch] (reset): take main text inset as argument
1390 * BufferView: adjust
1391 * BufferView_pimpl.C: adjust
1393 * paragraph.[Ch]: fix completely broken operator=()
1395 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1397 * LColor.C (getFromLyXName): make sure that the color name is used
1400 2004-03-17 Angus Leeming <leeming@lyx.org>
1403 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1405 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1406 dialog and to kill a forked process.
1408 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1410 * text2.C (setCursorFromCoordinates): fix font problem
1412 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1414 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1415 bogus "rebuild cursor" code
1417 2004-03-11 André Pönitz <poenitz@gmx.net>
1419 * buffer.[Ch]: use InsetText instead of LyXText as container for
1422 * dociterator.[Ch]: drop the BufferView * member which is not needed
1423 anymore after the change to buffer.C
1425 * paragraph_funcs.C:
1429 * BufferView_pimpl.[Ch]:
1431 * cursor_slice.[Ch]: adjust
1433 * text3.C: fix bug in mathDispatch
1435 2004-03-08 André Pönitz <poenitz@gmx.net>
1437 * undo.[Ch]: use 'StableDocumentIterator' as base for
1440 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1443 * bufferparams.[Ch]: add jurabib support and param.
1445 * LaTeX.C: add FIXME/comment.
1447 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1449 * buffer.C: increment file format to 230.
1451 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1453 * cursor.C (dispatch): avoid infinite loops
1455 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1457 * rowpainter.C (paintSelection): fix x coordinates
1459 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1461 * text.C (rowBreakPoint): fix breaking before displayed insets
1463 2004-03-01 André Pönitz <poenitz@gmx.net>
1465 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1467 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1471 * BufferView_pimpl.C:
1479 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1485 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1486 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1488 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1490 * Bidi.[Ch] (computeTables): const correctness
1491 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1492 fill_hfill, fill_label_hfill and x from Row
1493 * lyxtext.h: prepareToPrint returns a RowMetrics
1494 * rowPainter.C: adjust
1495 * text.C (prepareToPrint): use width, not textWidth. adjust
1496 (redoParagraphInternal, cursorX): adjust
1497 * text2.C (getColumnNearX): adjust
1498 (init): put a default value to the top LyXText::width
1500 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1502 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1504 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1506 * lyxtext.h: add FontIterator class
1508 * text.C (FontIterator, operator*, operator->, operator++): add
1509 (rowBreakPoint, setRowWidth): adjust (fixing a
1512 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1514 * BufferView_pimpl.C (workAreaDispatch): allow also
1515 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1517 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1519 * text.C (rowBreakPoint): fix a bug showing with very large insets
1521 2004-02-25 André Pönitz <poenitz@gmx.net>
1524 * cursor.[Ch]: move some mathed specific code to mathed
1526 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1528 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1529 use_tempdir in preferences
1530 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1532 * lyx_main.C: ensure that tempdir is valid
1533 * lyxlex.h: correct typo
1534 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1535 * paragraph.[Ch] (isMultiLingual): make const
1536 * cursor.[Ch] (openable): make const
1538 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1540 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1542 2004-02-20 André Pönitz <poenitz@gmx.net>
1544 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1546 * cursor.[Ch]: prepare for localized getStatus()
1552 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1554 2004-02-20 André Pönitz <poenitz@gmx.net>
1556 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1558 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1560 * text2.C (setCursorFromCoordinates): switch to absolute coords
1562 (cursorDown): adjust
1563 * text3.C (dispatch): adjust
1565 2004-02-16 André Pönitz <poenitz@gmx.net>
1567 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1570 * cursor_slice.[Ch]: remove unneeded acessor function
1572 * lyxtext.h: rename rtl() to isRTL()
1580 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1582 * rowpainter.C (paintSelection): coord fix
1584 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1586 * Spacing.C: compile fix
1588 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1590 * cursor.C (dispatch): restore current_ before returning
1592 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1594 * text2.C (cursorUp, cursorDown): fix coords
1597 2004-02-12 André Pönitz <poenitz@gmx.net>
1602 * text3.C: add LCursor & parameter to most cursor movement functions
1603 remove usage of LyXText::cursorRow() and cursorPar()
1605 * cursor.[Ch]: add textRow() needed members
1608 * BufferView_pimpl.C:
1611 * BufferView_pimpl.C: adjust
1613 2004-02-11 André Pönitz <poenitz@gmx.net>
1617 * BufferView_pimpl.C: shift undo/redo handling
1619 * cursor.[Ch]: fix mathed crash
1622 * lyxtext.h: move selectionAsText to LCursor
1630 * rowpainter.C: fix excessive drawing
1632 2004-02-06 André Pönitz <poenitz@gmx.net>
1635 * BufferView_pimpl.[Ch]:
1636 * text3.C: move some text specific LFUN handling
1638 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1640 * text3.C (checkInsetHit): adjust coords
1641 * text2.C (getColumnNearX): adjust coords
1642 (edit): adjust coords
1643 * text.C (getRowNearY): add two asserts
1645 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1648 * format.C: add using std::distance to compile on gcc 2.95/stlport
1650 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1652 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1654 2004-02-04 André Pönitz <poenitz@gmx.net>
1656 * BufferView.[Ch] (insertInset):
1657 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1662 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1664 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1665 on the default clause of the switch
1666 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1667 wasn't catched by LCursor::dispatch
1669 2004-02-03 André Pönitz <poenitz@gmx.net>
1672 * cursor.[Ch]: some additional asserts
1674 * undo.[Ch]: remove LyXText dependency in interface
1678 * lyxtext.h (firstPar, lastPar): remove dead functions
1683 * paragraph.[Ch]: adjust
1685 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1687 * lyxfind.C (find): fix argument order in call to ::find
1689 2004-02-02 André Pönitz <poenitz@gmx.net>
1691 * cursor.[Ch]: remove direct access to anchor
1693 * text.C: remove findText() hack
1695 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1697 * iterators.[Ch] (lockPath): remove in favour of...
1698 * BufferView.[Ch] (setCursor): this addition
1699 * BufferView.C (putSelectionAt): adjust
1700 * undo.C (performUndoOrRedo): adjust
1701 * lyxfunc.C (dispatch): adjust
1703 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1705 * iterators.C (lockPath): add a missing slice
1706 * undo.C (performUndoOrRedo): remove redundant positioning code
1708 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1710 * vc-backend.C (scanMaster): ";" -> ';'
1712 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1714 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1715 std::binary_function
1717 * lyxtextclass.C (compare_name): rename to...
1718 (LayoutNamesEqual): ...this
1720 * lyxlex_pimpl.C (compare_tags): inherit from
1721 std::binary_function, put back into anon namespace
1723 * lyxfind.C (MatchString): inherig from std::binary_function
1724 (findChange): use empty() istead of !size()
1726 * format.C (FormatNamesEqual): new functor
1733 * converter.C (compare_Converter): rename to...
1734 (ConverterEqual): ...this, and fixup a bit.
1735 (getConverter): use it, and make function const
1736 (getNumber): use it, and make function const
1740 * bufferlist.C: add using boost::bind
1742 * MenuBackend.C (MenuNamesEqual): new functor
1743 (hasMenu): use it, and make function const
1744 (hasSubmenu): use nested bind to get rid of compare_memfun.
1746 2004-01-30 André Pönitz <poenitz@gmx.net>
1748 * BufferView_pimpl.C:
1751 * cursor_slice.[Ch]:
1754 * paragraph_funcs.C:
1755 * paragraph_funcs.h:
1759 * text3.C: move some of the edit(x,y) handling to the insets
1760 some coordinate changes.
1762 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1764 * text.C: add using statements for std::advance and std::distance
1766 * paragraph.C: add using statement for std::distance
1768 * lyxfind.C: add using statement for std::advance
1770 * cursor.C (region): remove std:: from swap
1771 (openable): use nucleus in stead of operator->
1773 * BufferView.C: add using statements for std::distance and std::swap
1775 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1777 * iterators.C: Remove the pimple, move the needed structures to
1778 the header file. Create accessor for the positions stack.
1779 (asPosIterator): remove function
1781 * PosIterator.C (PosIterator): move constructors to top of file
1782 (PosIterator): reimplement the constructor taking a ParIterator in
1784 (setFrom): new function
1785 (operator!=): inline it
1787 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1789 * lyxfind.C (replaceAll): use std::advance
1791 * iterators.h: inherit from std::iterator.
1793 * PosIterator.C (advance, distance): remove
1794 * PosIterator.h: interit from std::iterator.
1796 2004-01-26 André Pönitz <poenitz@gmx.net>
1799 * BufferView_pimpl.[Ch]:
1803 * bufferview_funcs.C:
1813 * output_linuxdoc.C:
1814 * output_plaintext.C:
1816 * paragraph_funcs.[Ch]:
1817 * paragraph_pimpl.[Ch]:
1823 * text3.C: more IU: dumps most of the rest of the mathcursor
1824 implementation into cursor.[Ch]; "globalize" a bit of it.
1826 2004-01-25 Angus Leeming <leeming@lyx.org>
1828 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1830 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1832 * LaTeXFeatures.h: add nice_ and nice() const
1833 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1835 2004-01-20 André Pönitz <poenitz@gmx.net>
1838 * BufferView_pimpl.C:
1840 * bufferview_funcs.C:
1842 * cursor_slice.[Ch]:
1853 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1854 LCursor and mathcursor parts to LCursor and InsetBase.
1856 2004-01-15 André Pönitz <poenitz@gmx.net>
1858 * cursor_slice.[Ch]: add a few covienience functions
1860 * funcrequest.[Ch]: remove BufferView * member
1862 * BufferView_pimpl.C:
1869 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1871 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1873 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1874 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1876 2004-01-13 André Pönitz <poenitz@gmx.net>
1879 * lyxtext.h: hide cursor and selection anchor behind accessor function
1882 * BufferView_pimpl.[Ch]:
1884 * bufferview_funcs.C:
1894 * cursor_slice.[Ch]: some integer type changes for inset unification
1896 * lyxcursor.[hC]: remove, it's CursorSlice now.
1899 * BufferView_pimpl.[Ch]:
1900 * bufferview_funcs.C:
1906 * textcursor.[Ch]: adjust
1908 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1910 * text2.C (undoSpan): add and use
1911 * text.C (breakParagraph): use undoSpan (fix bug 578)
1914 2004-01-08 Angus Leeming <leeming@lyx.org>
1916 * BufferView_pimpl.C (MenuInsertLyXFile):
1917 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1918 * lyxfunc.C (menuNew, open, doImport):
1919 FileFilterList change to the FileDialog open and save functions.
1921 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1923 * ShareContainer.h: make isEqual and isUnique adaptable
1925 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1927 2004-01-07 Angus Leeming <leeming@lyx.org>
1930 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1932 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1934 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1935 functions replacing find, replace and replaceAll.
1937 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1938 LFUN_WORDFIND(FORWARD|BACKWARD).
1940 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1942 * text.C (breakParagraph): remove an outdated #warning
1944 2004-01-07 André Pönitz <poenitz@gmx.net>
1946 * lyxfind.C: somewhat clearer logic
1948 * text.C: prevent crash in cursorX on unitialized row cache
1950 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1952 * lyxcursor.[Ch] (operator>): add
1953 * textcursor.C (selStart, selEnd): use std::min and std::max
1955 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1957 * Chktex.C: include boost/format.hpp
1959 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1961 * InsetList.C: replace functor MathcIt with adaptable functor
1963 (insetIterator): modify accordingly
1965 * BranchList.h: move the BranchNamesEqual functor here from...
1966 * BranchList.C: ... to here
1968 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1970 (add): replace a finding loop with std::find_if.
1972 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1974 * output_docbook.C: moving LatexParam functionality into
1977 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1979 * buffer.C: increment format to 229.
1981 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1984 * lyx_sty.[Ch]: remove minipageindent_def
1990 * text3.C: remove LFUN_INSET_MINIPAGE
1992 2003-12-28 Angus Leeming <leeming@lyx.org>
1994 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1996 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1998 * text2.C (setParagraph): fix off-by-one crash
2000 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
2002 * output_docbook.C: header stuff for AGU
2004 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
2006 * text2.C (redoCursor): remove
2009 * BufferView_pimpl.C: remove calls to redoCursor and
2010 setCursor(cursor.par(), cursor.pos()) all around
2012 2003-12-15 Angus Leeming <leeming@lyx.org>
2014 * buffer.C: up the format to 228.
2016 2003-12-15 André Pönitz <poenitz@gmx.net>
2018 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
2023 * BufferView_pimpl.C:
2032 2003-12-15 Angus Leeming <leeming@lyx.org>
2034 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
2035 than getFromGUIName to manipulate the color.
2037 2003-12-14 Angus Leeming <leeming@lyx.org>
2039 * BranchList.[Ch]: minimize the API.
2040 (Branch::getBranch, getColor): now return a 'const &'.
2041 (Branch::setSelected) now returns a bool set to true if the
2042 selection status changes.
2043 (BranchList::clear, size, getColor, setColor, setSelected,
2044 allBranches, allSelected, separator): removed.
2045 (BranchList::find): new functions, returning the Branch with
2047 (BranchList::add, remove): return a bool indicating that
2048 the operation was successful.
2050 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
2051 new InsetBranch::isBranchSlected member function.
2053 * LColor.[Ch]: mimimize the API.
2054 (fill): renamed as addColor and made private.
2055 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
2056 versions of these functions taking a string arg have been removed.
2058 * bufferparams.C (readToken):
2059 * lyxfunc.C (dispatch):
2060 * lyxrc.C (read): changes due to the altered BranchList and
2063 * factory.C (createInset, readInset): changes due to altered
2066 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
2069 * lyxfunc.C: remove insetminipage. "minipage-insert"
2070 now produces a frameless minipage box inset.
2072 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2074 * textcursor.[Ch] (selStart,selEnd): add new methods
2075 remove selection::start, end, use LyXCursor::operator<
2076 * lyxcursor.[Ch] (operator<): add
2077 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
2078 * BufferView.[Ch] (unsetXSel): add
2079 * text2.C (clearSelection): use unsetXSel,adjust
2082 * rowpainter.C: adjust
2083 * bufferview_funcs.C (put_selection_at): adjust
2085 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2087 * BufferView_pimpl.C: small coord. correction
2089 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
2091 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
2092 dragging over the splash screen.
2094 2003-12-11 Angus Leeming <leeming@lyx.org>
2096 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
2097 as it is now handled in LyXText::dispatch.
2099 * text3.C (doInsertInset): remove a level of nesting.
2101 2003-12-11 Angus Leeming <leeming@lyx.org>
2103 * factory.C (createInset): changes due to the changed interface to
2104 InsetCommandMailer::string2params.
2106 2003-12-10 Angus Leeming <leeming@lyx.org>
2108 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
2109 'dialog-show-new-inset <inset name>'
2111 2003-12-10 Angus Leeming <leeming@lyx.org>
2113 * buffer.C: up the format to 227.
2115 * factory.C: the box inset is now identified simply by 'Box'.
2117 2003-12-10 Angus Leeming <leeming@lyx.org>
2119 * buffer.C: up the format to 226.
2121 * factory.C: the note inset is now identified simply by 'Note'.
2123 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
2125 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
2126 when a pit is enough. Standarize a couple of loops.
2128 2003-12-05 Angus Leeming <leeming@lyx.org>
2130 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
2131 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
2132 data to the re-worked "log" dialog.
2134 2003-12-03 André Pönitz <poenitz@gmx.net>
2140 * paragraph_funcs.C:
2142 * text2.C: use Inset::getText instead of Inset::getParagraph
2144 2003-12-03 André Pönitz <poenitz@gmx.net>
2148 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
2149 InsetText::read() as LyXText::read()
2151 2003-12-02 Angus Leeming <leeming@lyx.org>
2153 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
2154 type. Add a comment in the implementation that the function uses
2155 the stream's bad() function rather than fail() as the std::streams
2158 2003-12-02 André Pönitz <poenitz@gmx.net>
2160 * lyxlex.[Ch]: make interface more similar to std::stream
2162 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
2164 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2166 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2168 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2170 * vspace.[Ch]: remove VSpace::NONE
2172 2003-12-01 André Pönitz <poenitz@gmx.net>
2175 * lyxtext.h: move ParagraphList member to LyXText
2176 rename LyXText::ownerParagraphs to LyXText::paragraph
2179 * bufferview_funcs.C:
2189 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2191 * undo.C: fix cursor positioning
2193 2003-12-01 John Levon <levon@movementarian.org>
2195 * BufferView_pimpl.C: fix a crash on exit with
2198 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2200 * BranchList.C: fix setSelected() method.
2202 2003-11-28 André Pönitz <poenitz@gmx.net>
2204 * ParagraphParameters.[Ch]:
2205 * ParameterStruct.h: remove space above/below from Paragraph to
2208 * BufferView_pimpl.C:
2214 * paragraph_funcs.C:
2220 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2222 * factory.C: Syntax change for CharStyles
2224 2003-11-28 André Pönitz <poenitz@gmx.net>
2229 * buffer.[Ch]: move LyXText member
2231 2003-11-28 André Pönitz <poenitz@gmx.net>
2233 * BufferView.[Ch]: make LyXText * text a private member
2235 * BufferView_pimpl.C:
2246 * output_plaintext.C: cleanup
2248 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2251 * lyxtextclass.[Ch]: parametrize SGML document header
2253 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2256 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2259 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2261 * text2.C (setFont): rework using PosIterator (no more recursive)
2262 (setCharFont): no more needed
2263 (setLayout): no more selection cursors fiddling (done by redoCursor)
2264 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2265 destroy remaining ones)
2267 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2269 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2271 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2274 * text3.C: adjust + re-allow multi par depth changes
2275 * textcursor.C: simplify a bit
2277 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2283 * src/output_docbook.C:
2284 * src/output_latex.C:
2289 * src/text2.C: Introducing a number of tags parametrizing various
2290 XML formats that we may want to support
2292 2003-11-25 André Pönitz <poenitz@gmx.net>
2294 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2296 * lyxtext.h (leftMargin/rightMargin): simplify interface
2303 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2305 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2306 master file to any child files. Fixes bug 546.
2308 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2310 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2312 2003-11-24 André Pönitz <poenitz@gmx.net>
2314 * rowpainter.C: simplification
2316 * text2.C (updateCounters): remove call to redoParagraph on
2317 changed labels as this is far too expensive.
2319 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2321 * converter.C (convert): fix a crash: this function gets
2322 called with buffer == 0 from importer code.
2324 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2326 * text3.C (cursorPrevious): make sure that we do not compare
2327 iterators form different containers.
2330 * rowpainter.C (paintSelection): make sure that we do not compare
2331 iterators from different containers.
2333 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2334 iterators from different ParagraphList containers.
2337 * text2.C (LyXText): change order of initialization slightly
2338 (operator=): new function. copy all variables except cache_par_
2339 (moveUp): make sure that we do not compare iterators from
2340 different ParagraphList constainers.
2343 * text.C (firstPar): new function
2344 (lastPar): new function
2345 (endPar): new function
2347 * lyxtext.h: move things around and group public functions, public
2348 variables, private functions, private variables
2350 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2352 * factory.C: change call to InsetERT constructor to avoid
2353 additional invocation of method status
2354 * text2.C (toggleInset): remove redundant update() call
2355 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2356 instead of a Bufferview pointer
2358 2003-11-21 André Pönitz <poenitz@gmx.net>
2360 * rowpainter.C: simplification
2362 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2364 * text3.C (dispatch): make possible to extend a word/row selection
2367 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2369 * lyxtext.h: x0_,y0_ -> xo_,yo_
2370 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2371 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2372 * rowpainter.C (paintRows): paint full paragraphs
2374 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2376 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2379 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2381 * lyxtext.h: add x0_, y0_
2382 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2383 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2385 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2387 * text2.C (setCursorIntern): move the x_target update here *
2388 * text3.C: change some bv() to true/false in calls to
2389 cursorUp/Down/Right/Left
2390 * cursor.C: use helper function.
2392 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2394 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2395 * paragraph_funcs.[Ch]: correct comment
2396 * rowpainter.C: do not paint selections away from bv->cursor()
2397 Fix a long standing selection painting bug.
2398 * text3.C: generalize mouse-selection code to LyXTexts other that
2400 * textcursor.C: do not use y coords if we can use par offsets
2402 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2404 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2405 cursor position after e.g. inset insert)
2407 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2409 * lyxfind.C (replace): adjust to locking removal + some
2412 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2414 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2417 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2420 * output_docbook.C: XML sanitation: new layout
2421 parameters InnerTag and CommandDepth
2423 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2425 * BufferView_pimpl.C:
2427 * text3.C: Fix the insertion and modification of button-style
2430 2003-11-13 André Pönitz <poenitz@gmx.net>
2432 * InsetList.[Ch]: remove deleteLyXText
2434 * paragraph.[Ch]: cache beginOfBody position
2439 * text3.C: remove superfluous update() calls
2443 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2445 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2446 * BufferView.C (fitLockedInsetCursor): remove
2447 * cursor.[Ch] (getDim): add
2448 * text.C (getRowNearY): add faster version
2449 * text3.C: remove some update calls
2451 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2463 * text3.C: The Character Style /XML short element patch.
2465 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2468 * factory.C: Small step to solving 'unable to insert some insets'
2471 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2473 * cursor.[Ch] (updatePos): new function for updating the y
2474 position of the tip inset
2475 * bufferview_funcs.C (put_selection_at):
2476 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2478 2003-11-11 André Pönitz <poenitz@gmx.net>
2480 * text.C: remove big comment on invalid Paragraph pointers as it is
2483 2003-11-11 André Pönitz <poenitz@gmx.net>
2485 * text_funcs.[Ch]: merge with ...
2493 * Makefile.am: remove text_funcs.[Ch]
2495 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2497 * cursor.C (getPos): return absolute cached y coord
2499 * BufferView_pimpl.C (fitCursor): new simplistic code
2500 (workAreaDispatch): add a fitCursor call
2502 2003-11-10 André Pönitz <poenitz@gmx.net>
2505 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2507 2003-11-10 André Pönitz <poenitz@gmx.net>
2509 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2510 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2511 indicate that the cursor needs to leave an inset
2513 * lyxtext.h: remove inset locking
2515 * cursor.[Ch]: re-implement functionality provided by inset locking
2518 * BufferView_pimpl.[Ch]:
2520 * bufferview_funcs.[Ch]:
2532 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2534 * PosIterator.[Ch]: replace the stack with a vector, add inset
2536 * iterators.[C]: adjust
2538 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2540 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2542 * paragraph_funcs.C (readParToken): put the correct id in the
2543 error item, not the id of the top paragraph
2545 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2547 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2548 * bufferview_funcs.C (put_selection_at): use the above
2550 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2552 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2554 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2556 * output_linuxdoc.h:
2557 * output_plaintext.h:
2559 * output_docbook.h: add #include statements
2561 2003-11-05 José Matos <jamatos@lyx.org>
2563 * output_docbook.[Ch]:
2564 * output_latex.[Ch]:
2565 * output_linuxdoc.[Ch]:
2566 * output_plaintext.[Ch]: New files for output formats.
2567 * output.[Ch]: New file for helper functions.
2570 * paragraph_funcs.[Ch]: output functions moved to new files.
2572 * outputparams.h: rename of latexrunparams.h
2580 * paragraph_funcs.[Ch]:
2581 * paragraph_pimpl.[Ch]:
2582 * tabular.[Ch]: rename ascii to plaintext
2583 and LatexRunParams to OutputParams.
2585 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2587 * iterators.[Ch] (text): require bv argument
2588 * undo.C (recordUndo):
2589 * lyxfunc.C (dispatch):
2590 * bufferview_funcs.C (put_selection_at): adjust
2592 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2594 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2596 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2598 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2601 2003-11-04 André Pönitz <poenitz@gmx.net>
2603 * cursor.[Ch]: restructure
2606 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2608 * iterators.[Ch] (asCursor): remove
2610 * lfuns.h: remove LFUN_INSET_EDIT
2616 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2618 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2620 * lyxfind.[Ch]: complete overhaul
2621 * BufferView_pimpl.C:
2623 * paragraph.[Ch] (insert): add
2625 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2629 * text.C: remove dead spellcheck code
2631 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2633 * dispatchresult.h: add a val setter
2635 * cursor.C (dispatch): use a tempvar for data_[i]
2637 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2639 * PosIterator.[Ch]: compile fix
2641 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2643 * text.C (cursorPar): deactivate the cursor cache
2645 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2647 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2649 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2651 * text3.C (dispatch): adjust for new DisptchResult semantics.
2653 * lyxfunc.C (dispatch): handle update when return from
2654 Cursor::dispatch, adjust for new DispatchResult semantics.
2656 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2657 DispatchResult(true) mean to not update. Add class functions for
2658 setting dispatched and update, as well as reading.
2660 * cursor.C (dispatch): don't handle update here
2662 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2664 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2665 * trans_mgr.C: adjust
2667 * paragraph_funcs.C (readParToken): exception safety
2669 * lyxvc.h: store the vcs pointer in a scoped_ptr
2672 * lyxsocket.C (serverCallback): exception safety
2674 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2676 * ispell.C (clone): make it return a auto_ptr
2678 * factory.C (createInset): exception safety
2679 (readInset): exception safety
2681 * bufferlist.C (newBuffer): exception safety
2683 * Thesaurus.C (Thesaurus): use initialization for aik_
2685 * MenuBackend.C (expandToc): exception safety.
2687 2003-11-03 André Pönitz <poenitz@gmx.net>
2691 * bufferview_funcs.C: remove getInsetFromId()
2694 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2700 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2702 * PosIterator.C (distance, advance): new
2703 * bufferview_funcs.[Ch] (put_selection_at): new
2704 * iterators.[Ch] (lockPath): new
2706 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2708 * iterators.[Ch] (asPosIterator): added
2709 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2710 * PosIterator.[Ch]: added
2712 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2716 * cursor.C (dispatch):
2717 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2719 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2720 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2721 contructor, add a class function dispatched. Remove operator>=
2723 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2725 * debug.C: only use the default constructor for debugstream
2728 * main.C (main): include debug.h and setup the lyxerr streambuf
2731 2003-10-31 José Matos <jamatos@lyx.org>
2733 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2735 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2736 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2737 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2738 * paragraph_pimpl.C (simpleTeXSpecialC):
2739 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2740 add LatexRunParams argument.
2742 * exporter.C (Export): change call accordingly.
2744 * latexrunparams.h: add new member to take care of the other backends.
2745 2003-10-30 José Matos <jamatos@lyx.org>
2747 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2748 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2749 factorise code for paragraph output.
2751 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2754 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2756 * text3.C (dispatch):
2757 * lyxfunc.C (dispatch):
2758 * cursor.C (dispatch):
2759 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2761 * dispatchresult.h: make the dispatch_result_t ctor explicit
2763 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2766 * buffer.C: small refactoring of docbook stuff
2768 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2770 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2773 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2775 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2776 operator dispatch_result_t, and operators for == != and >=
2778 * cursor.C (dispatch): adjust for operator dispatch_result_t
2779 removal. comment out call to update
2781 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2783 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2791 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2794 * dispatchresult.h: new file, DispatchResult broken out of
2797 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2799 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2801 * text.C (rowBreakPoint): put a hack inside #if 0
2803 2003-10-28 André Pönitz <poenitz@gmx.net>
2807 * paragraph_funcs.C:
2810 * text2.C: general cleanup (lots of small stuff)
2812 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2814 * text2.C (cursorEnd): simple fix to the "end key goes to one
2815 before the end on last row" bug
2817 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2819 * text.C (backspace): fix the "zombie characters"
2821 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2823 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2825 2003-10-27 André Pönitz <poenitz@gmx.net>
2827 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2829 * factory.C: handle new InsetPagebreak, InsetLine
2831 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2832 and move handling into new InsetPagebreak, InsetLine
2834 * BufferView_pimpl.C:
2836 * ParagraphParameters.C:
2837 * ParameterStruct.h:
2842 * paragraph_funcs.C:
2843 * paragraph_pimpl.C:
2849 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2852 * lyxrow_funcs.[Ch]:
2858 * text3.C: remove lastPos uses in favour of Row::endpos
2860 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2862 * undo.C (performUndoOrRedo): fix two crashes by setting a
2863 cursor by hand and reordering some calls. Use bv->lockInset instead
2864 of inset->edit because the latter loses cursor information
2866 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2868 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2870 (rowBreakPoint): fix width. change point to point + 1.
2871 Add a missing check.
2873 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2876 * lyxfunc.C: fix (at least partly) the problems
2877 with the Nav menu and headers inside branch insets
2880 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2882 * paragraph.C (getChar): add strong asserts
2884 * lyxrow_funcs.C (lastPos): remove hideous hack
2886 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2887 (fill): adjust to that (avoid an infinite loop)
2889 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2891 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2893 2003-10-23 André Pönitz <poenitz@gmx.net>
2895 * RowList_fwd.h: change list<> to vector<> to gain speed
2896 after suggestion from Alfredo
2898 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2900 * lyxtext.h: move the bidi stuff from here...
2903 * Bidi.[Ch]: ... to here
2905 2003-10-23 André Pönitz <poenitz@gmx.net>
2908 * text.C (isLastRow, isFirstRow): new functions
2910 * paragraph.h: new width cache member
2912 * rowpainter.C: replace RowList::iterator with Row & where possible
2914 * lyxfunc.C: replace several view()->text with a single call
2916 * toc.C: fix 'unused' warning
2918 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2920 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2921 when woring with stream::pos_type
2922 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2924 2003-10-22 André Pönitz <poenitz@gmx.net>
2927 * text.C: use Row & instead of RowList::iterator
2929 * lyxrow.h: rename end() to endpos()
2935 2003-10-22 Angus Leeming <leeming@lyx.org>
2937 * buffer.[Ch] (fully_loaded): new member function, returning true
2938 only when the file has been loaded fully.
2939 Used to prevent the premature generation of previews and by the
2940 citation inset to prevent computation of the natbib-style label.
2942 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2943 templates are all set up.
2945 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2947 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2949 * text.C: fixed an "oops" in the "is a bit silly"
2952 2003-10-21 André Pönitz <poenitz@gmx.net>
2954 * FuncStatus.[Ch]: small stuff, whitespace
2956 * lyxfont.[Ch]: operator<<() for debug reasons
2960 * lyxtext.h: whitespace, spelling
2962 * paragraph.C: naming of variables
2965 * text2.C: small stuff
2968 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2970 * text.C: (1) finish off the inset display() work;
2971 (2) fix the "is a bit silly" bug (accessing char
2974 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2976 * text.C: re-introduce display() for insets, fixing the
2977 various bugs (stretch of line above, math inset
2980 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2982 * text.C (rightMargin): remove spurious semicolon
2984 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2987 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2989 * text3.C: fix one crash due to wrong cursor def
2991 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2993 * vc-backend.C (scanMaster): make the regex static
2995 * LaTeX.C (scanAuxFile): make the regexs static
2997 * text3.C (doInsertInset, dispatch, dispatch):
2998 * text2.C (cursorUp, cursorDown):
2999 * text.C (selectNextWordToSpellcheck):
3000 * BufferView_pimpl.C (dispatch):
3001 * lyxfunc.C (dispatch): localDispatch -> dispatch
3003 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3005 * lyxsocket.C: include <cerrno>
3007 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
3009 * lyxfunc.C (dispatch): remove textcache stuff
3011 * bufferlist.C (release): remove textcache stuff
3014 * TextCache.C: delete file
3015 * TextCache.h: delete file
3017 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
3019 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
3020 delete of the bv_->text.
3021 (resizeCurrentBuffer): remove texcache stuff
3022 (workAreaResize): ditto
3024 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3026 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
3029 2003-10-16 André Pönitz <poenitz@gmx.net>
3036 * text3.C: speed up by storing y positions per paragraph plus per-row
3037 offset instead of having a 'full' y position in the row.
3039 2003-10-15 André Pönitz <poenitz@gmx.net>
3043 * undo.[Ch]: make undo aware of inner insets
3045 2003-10-14 Angus Leeming <leeming@lyx.org>
3047 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
3048 static member functions LyX::ref() and LyX::cref.
3049 (lastfiles): new accessor functions for the new lastfiles_ member var.
3050 (addLyXView, views_): add a new LyXView to the list of views_.
3051 (updateInset): loop over all LyXViews to call their own updateInset
3052 member function, returning a pointer to the Buffer owning the inset.
3054 * BufferView_pimpl.C (loadLyXFile):
3055 * MenuBackend.C (expandLastfiles):
3056 * bufferlist.C (MenuWrite, QuitLyX):
3057 lastfiles is no longer a global variable.
3058 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
3060 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
3061 static function. Access through LyX::cref().emergencyCleanup().
3063 2003-10-14 André Pönitz <poenitz@gmx.net>
3065 * iterators.[Ch]: new direct access to innermost LyXText and Inset
3067 * undo.[Ch]: restoring part of 'undo in insets'
3070 * undo_funcs.[Ch]: merge with undo.[Ch]
3072 * tabular.C: small cleansing stuff
3074 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
3076 * paragraph_funcs.C (readParToken): report unknown insets as error
3077 boxes. Use the outer paragraph as location (also for unknown
3080 * factory.C (readInset): do not abort on reading an unknown inset.
3081 Eat it and return 0.
3083 2003-10-13 Angus Leeming <leeming@lyx.org>
3085 * lyx_main.C (LyX): remove call to setDisplayTranslator().
3087 * lyxrc.C: displayTranslator is now a function,
3088 declared in GraphicsTypes.h.
3090 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3092 * format.C: new placeholder $$a to pass the socket address.
3094 * bufferlist.[Ch]: new function getBufferFromTmp.
3096 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
3097 files in the temporary dir.
3099 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
3101 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
3103 * Makefile.am: add lyxsocket.[Ch].
3105 * lyx_main.C (error_handler): handle SIGPIPE.
3107 2003-10-13 André Pönitz <poenitz@gmx.net>
3109 * BufferView_pimpl.C:
3114 * undo_funcs.[Ch]: use paroffset_type instead of
3115 ParagraphList::iterators to prevent multiple conversion
3116 (and get a more robust interface)
3118 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3120 * lyxfunc.C (dispatch): RESULT -> dispatch_result
3122 * text3.C (dispatch): ditto
3124 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3126 * LaTeX.C (handleFoundFile): move the static to smaller scope,
3127 move the onlyfile, use onlyfile instead of foundfile in a couple
3130 * DepTable.C (update): flush the error stream a bit more
3132 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
3134 * lyxserver.C (callback): adjust
3136 * lyxfunc.C (getStatus): add a missing brace in commented code
3137 (ensureBufferClean): reindent
3138 (dispatch): delete version taking a string
3140 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
3142 * LaTeX.C (deplog): move found file handlig from here...
3143 (handleFoundFile): .. to new function here.
3144 (deplog): make sure to discover several files mentioned on the
3147 2003-10-10 André Pönitz <poenitz@gmx.net>
3154 * text3.C: fix some of the tabular crashes
3156 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3158 * MenuBackend.C (binding): put debug message into Debug::KBMAP
3160 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
3162 2003-10-09 André Pönitz <poenitz@gmx.net>
3164 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3167 * BufferView_pimpl.C:
3168 * bufferview_funcs.C:
3179 * undo_funcs.C: adjust
3181 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3183 * text2.C (incrementItemDepth): new function, use a backtracking
3184 algorithm to discover the correct item depth.
3185 (resetEnumCounterIfNeeded): new function, use a backtracking
3186 algorithm to discover if counter reset is needed.
3187 (setCounter): use them. Simplify a bit. Add different labels for
3188 different item depths for itemize.
3190 * paragraph.C (Paragraph): remove initialization of enumdepth
3193 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3194 enumerate and itemize. Change the type of itemdepth to signed char.
3196 2003-10-08 André Pönitz <poenitz@gmx.net>
3198 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3203 * tabular.[Ch]: fix crash after 'row-insert'
3205 2003-10-08 Angus Leeming <leeming@lyx.org>
3207 Fix doxygen warnings.
3209 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3210 Remove CutAndPaste:: prefix from header file declaration.
3212 * LColor.h (fill): remove LColor:: prefix from declaration.
3214 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3215 use lyx::depth_type rather than Paragraph::depth_type so that
3216 header file and .C file match.
3218 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3220 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3221 * aspell.C: \file aspell_local.C -> \file aspell.C
3222 * gettext.C: \file gettext.C -> \file src/gettext.C
3223 * gettext.h: \file gettext.h -> \file src/gettext.h
3224 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3225 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3226 * text.C: \file text.C -> \file src/text.C
3228 * toc.C: move comment so that doxygen is not confused.
3230 2003-10-07 Angus Leeming <leeming@lyx.org>
3232 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3234 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3237 * aspell_local.h: add forgotten std::string's.
3239 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3246 * text3.C: The Box patch. Fancybox support, minipage, parbox
3248 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3254 * ParagraphParameters.h:
3264 * lyxtextclasslist.h:
3267 * paragraph_pimpl.C:
3268 * textcursor.h: add <string> and other small fixes to make Lars'
3269 std::string patch compile with STLport.
3271 2003-10-06 Angus Leeming <leeming@lyx.org>
3273 * LColor.h: Add missing #include <string>.
3275 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3277 * All most all file in all subdirs: Make <string> be the prefered
3278 way of getting to std::string, add using declarations.
3280 2003-10-06 André Pönitz <poenitz@gmx.net>
3282 * metricsinfo.C: initialize LyXFont before changing attribute.
3283 (fixes the 'math in \emph is upright' bug)
3285 2003-10-06 André Pönitz <poenitz@gmx.net>
3287 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3289 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3292 * paragraph_pimpl.C: Small fixes to build using STLport
3294 2003-10-02 André Pönitz <poenitz@gmx.net>
3297 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3299 2003-10-01 André Pönitz <poenitz@gmx.net>
3301 * factory.C: assert early
3303 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3305 * lyx_main.C: remove the global debug object
3307 * debug.h: adjust for new debugstream
3309 * debug.C: adjust for new debugstream and keep the global debug
3312 2003-09-22 Angus Leeming <leeming@lyx.org>
3314 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3315 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3316 an incomplete class LyXFont.
3318 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3320 * factory.C: bug fix in branches
3322 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3324 * lyxfunc.C (processKeySym): adjust
3326 (dispatch): change arg name from ev to func, adjust
3327 (sendDispatchMessage): ditto
3329 * lyx_main.C (defaultKeyBindings): adjust keybindings
3330 (deadKeyBindings): ditto
3332 * kbsequence.C (addkey): return a FuncRequest
3334 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3336 * kbmap.C (bind): take a FuncRequest as arg, adjust
3339 (defkey): change to take a FuncRequest as arg, adjust
3340 (findbinding): take a FuncRequest as arg, adjust.
3342 * funcrequest.h (operator=): added
3344 * funcrequest.C (FuncRequest): default kb_action changed from
3345 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3347 * buffer.C (dispatch): simplify
3348 (dispatch): adjust to take a FuncRequest as arg, adjust
3350 * boost.C (assertion_failed): change assertion message slightly
3352 * ToolbarBackend.C (read): simplify
3354 * MenuBackend.C (binding): adjust call to findbinding, add a
3355 message if no binding is found.
3357 (expandToc): correct by adding a empty FuncRequest
3359 * LyXAction.C: include <boost/assert.hpp>
3360 (isPseudoAction): delete function
3361 (LookupFunc): change name to...
3362 (lookupFunc): this. change return type to FuncRequest.
3363 (getActionName): take kb_action as arg, simplify
3364 (funcHasFlag): add an assert, simplify.
3366 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3368 * toc.C (action): return a FuncRequest, simplify
3370 * lyxfunc.C (processKeySym): adjust
3371 (getStatus): delete version that takes an int.
3373 (dispatch): delete version that takes action as int
3375 (sendDispatchMessage): simplify and adjust
3377 * funcrequest.C (getArg): take unsigned int as arg
3379 * ToolbarBackend.C (read): adjust
3380 (add): delete version that takes func as a string.
3381 (getIton): take a FuncRequest as arg
3383 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3386 * MenuBackend.C (MenuItem): add a new construct that only takes a
3387 Kind, simplify the constructor use for submenus.
3389 (expandLastfiles): adjust
3390 (expandDocuments): adjust
3391 (expandFormats): adjust
3392 (expandFloatListInsert): adjust
3393 (expandFloatInsert): adjust
3394 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3396 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3397 Remove class variables lyx_pseudo_map and lyx_arg_map
3399 * LyXAction.C (searchActionArg): delete function
3400 (getPseudoAction): delete function
3401 (retrieveActionArg): delete function
3402 (LookupFunc): make it return kb_action, simplify.
3403 (getActionName): simplify
3405 * factory.C (createInset): fix new bug
3407 2003-09-19 Angus Leeming <leeming@lyx.org>
3409 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3410 masterFilename_ parameter in the include inset.
3412 * factory.C (createInset): changes due to the changes to InsetInclude.
3414 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3416 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3418 2003-09-18 Angus Leeming <leeming@lyx.org>
3421 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3422 Inset::fillWithBibKeys.
3423 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3425 2003-09-18 Angus Leeming <leeming@lyx.org>
3427 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3429 (ctor): pass and store a 'Buffer const &'
3430 (buffer): new member function.
3432 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3433 '*this' to the LaTeXFeatures ctor.
3435 2003-09-18 Angus Leeming <leeming@lyx.org>
3441 * text.C: rename EnumLColor as LColor_color.
3443 2003-09-18 Angus Leeming <leeming@lyx.org>
3445 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3446 remove #include "insets/insetbase.h" from cursor.h.
3448 2003-09-18 Angus Leeming <leeming@lyx.org>
3450 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3451 InsetOld_code to remove #include "inset.h".
3453 * iterators.C: add #include "insets/inset.h"
3455 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3457 * BufferView.C: remove more locking stuff that apparently doesn't
3458 do anything sensible.
3460 2003-09-16 André Pönitz <poenitz@gmx.net>
3463 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3466 2003-09-16 Angus Leeming <leeming@lyx.org>
3468 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3470 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3473 * paragraph.h: remove #include "lyxfont.h". Forward declare
3476 2003-09-16 Angus Leeming <leeming@lyx.org>
3478 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3479 of support/textutils.h.
3480 (isWord): move the contents of support/textutils.h's IsWordChar here.
3486 * text2.C: add #include "paragraph.h".
3489 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3491 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3497 * LaTeX.C: use namespace alias for lyx::support::os
3499 2003-09-16 Angus Leeming <leeming@lyx.org>
3502 * bufferview_funcs.C:
3505 * paragraph_pimpl.C:
3507 * text.C: add #include "LColor.h".
3509 2003-09-16 Angus Leeming <leeming@lyx.org>
3511 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3512 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3514 Store the FontBits::color variable as an int rather than as an
3515 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3518 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3519 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3520 string calls together.
3522 * lyxrc.C: add #include "LColor.h".
3524 2003-09-15 Angus Leeming <leeming@lyx.org>
3526 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3529 2003-09-15 Angus Leeming <leeming@lyx.org>
3531 * LColor.h: add an EnumLColor wrapper for LColor::color.
3533 * lyxfont.[Ch] (color, setColor, realColor):
3534 * lyxtext.h, text.C (backgroundColor):
3535 pass EnumLColor args to/from the functions, rather than LColor::color
3539 * lyxtext.h: forward declare EnumLColor.
3541 * lyx_main.C: add #include "LColor.h".
3543 2003-09-15 Angus Leeming <leeming@lyx.org>
3545 * .cvsignore: add lyx-gtk.
3547 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3552 * ParagraphParameters.C
3556 * bufferview_funcs.C
3566 * vc-backend.C: remove usage of STRCONV
3568 2003-09-15 Angus Leeming <leeming@lyx.org>
3570 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3571 explicitly define the color passed to the painter.
3573 2003-09-15 Angus Leeming <leeming@lyx.org>
3575 * bufferparams.C (BufferParams): reorder member initializers to avoid
3578 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3580 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3581 * text.C (updateRowPositions): remove an unusual nop
3583 2003-09-12 André Pönitz <poenitz@gmx.net>
3585 * BufferView_pimpl.C:
3594 * Counters.[Ch]: finish the 'automatic counters' job
3596 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3598 * aspell.C: include <boost/assert.cpp> (compile fix)
3600 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3602 * boost.C (assertion_failed): use lyx::support::abort instead of
3605 2003-09-10 Angus Leeming <leeming@lyx.org>
3607 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3608 with their _fwd progeny.
3610 2003-09-09 Angus Leeming <leeming@lyx.org>
3612 134 files throughtout the source tree: replace 'using namespace abc;'
3613 directives with the appropriate 'using abc::xyz;' declarations.
3615 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3617 * boost.C (emergencyCleanup): moved here from LAssert.c
3618 (assertion_failed): new function, called by BOOST_ASSERT
3620 * several files: change Assert to BOOST_ASSERT
3622 2003-09-09 Angus Leeming <leeming@lyx.org>
3624 * buffer.[Ch]: Add an Impl class and move Buffer's member
3625 variables into it. As a result move several header files out of
3628 Add header files to lots of .C files all over the tree as a result.
3630 2003-09-09 Angus Leeming <leeming@lyx.org>
3632 * buffer.[Ch]: make Buffer's member variables private. Add
3635 Lots of changes all over the tree as a result.
3637 2003-09-08 Angus Leeming <leeming@lyx.org>
3639 * graph.C: #include <config.h>.
3641 2003-09-08 Angus Leeming <leeming@lyx.org>
3645 * BufferView_pimpl.C:
3674 * toc.C: remove redundant using directives.
3676 2003-09-07 Angus Leeming <leeming@lyx.org>
3678 * LaTeXFeatures.h: remove #include "support/types.h".
3679 * ToolbarBackend.h: remove #include <algorithm>.
3680 * changes.h: remove #include <ctime>.
3681 * debug.h: remove #include <iosfwd>.
3682 * graph.h: remove #include "support/std_string.h".
3683 * lyx_main.h: remove #include <csignal>.
3684 * lyxlex_pimpl.h: remove #include <fstream>.
3685 * sgml.h: remove #include <algorithm>, <utility>.
3686 * toc.h: remove #include "support/std_ostream.h".
3687 Add #include <iosfwd>.
3689 2003-09-07 Angus Leeming <leeming@lyx.org>
3691 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3693 * converter.h: forward declare LatexRunParams.
3694 * encoding.h: remove #include "lyxrc.h".
3695 * lyxtext.h: remove #include "LColor.h".
3696 * lyxtextclass.h: remove #include "support/types.h".
3697 * trans.h: remove #include "tex-accent.h".
3698 * trans_mgr.h: remove #include "tex-accent.h".
3699 * insets/inset.h: remove #include "support/types.h", <vector>.
3700 * insets/insetcollapsable.h: remove #include "LColor.h".
3701 * insets/insetinclude.h: remove #include "dimension.h".
3702 * insets/insetlatexaccent.h: remove #include "dimension.h".
3703 * insets/insetoptarg.h:: remove #include "insettext.h".
3704 * insets/insettext.h: remove #include "dimension.h",
3705 <boost/shared_ptr.hpp>
3707 * insets/renderers.h: add #include "dimension.h".
3708 * insets/updatableinset.h: add #include "support/types.h".
3710 * many .C files: Associated changes.
3712 2003-09-06 Angus Leeming <leeming@lyx.org>
3714 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3715 one, inside testInvariant.
3717 * PrinterParams.C: new file.
3718 * PrinterParams.[Ch]: move the function bodies out of line.
3720 2003-09-06 Angus Leeming <leeming@lyx.org>
3722 * ParagraphParameters.h: forward declare ParameterStruct rather than
3723 including its header file.
3724 (depth): moved out-of-line.
3726 2003-09-06 Angus Leeming <leeming@lyx.org>
3728 * BufferView_pimpl.h:
3731 * lyxfunc.h: forward declare LyXKeySym rather than
3732 #include "frontends/LyXKeySym.h".
3734 * BufferView_pimpl.C:
3737 * lyxfunc.C: associated changes.
3739 2003-09-06 Angus Leeming <leeming@lyx.org>
3741 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3742 As a result, can remove the #include "insets/inset.h" from BufferView.h
3744 2003-09-06 Angus Leeming <leeming@lyx.org>
3746 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3747 As a result, can remove the #include "insets/inset.h" from BufferView.h
3749 2003-09-06 Angus Leeming <leeming@lyx.org>
3755 * bufferview_funcs.C:
3756 * BufferView_pimpl.C:
3761 * ParagraphParameters.C:
3766 * frontends/controllers/ControlDocument.C:
3767 * insets/insetcaption.C: rearrange the #includes into some sort of
3770 * buffer.h: remove #includes ErrorList.h, undo.h
3772 2003-09-06 Angus Leeming <leeming@lyx.org>
3774 * support/types.h: add a 'depth_type' typedef, used to store the
3775 nesting depth of a paragraph.
3778 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3779 defining explicitly.
3782 * paragraph_funcs.h:
3783 * ParagraphParameters.h:
3784 * sgml.h: use lyx::depth_type rather than Paragraph or
3785 ParameterStruct's depth_type.
3788 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3791 * BufferView_pimpl.C:
3793 * ParagraphParameters.C:
3796 * bufferview_funcs.C:
3803 * frontends/LyXView.C:
3804 * frontends/controllers/ControlDocument.C:
3805 * frontends/controllers/ControlErrorList.C:
3806 * insets/insetbibitem.C:
3807 * insets/insetbranch.C:
3808 * insets/insetcaption.C:
3809 * insets/insetcollapsable.C:
3810 * insets/insetenv.C:
3811 * insets/insetert.C:
3812 * insets/insetfloat.C:
3813 * insets/insetfoot.C:
3814 * insets/insetfootlike.C:
3815 * insets/insetnewline.C:
3816 * insets/insetquotes.C:
3817 * insets/insettabular.C:
3818 * insets/insettext.C:
3819 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3821 * frontends/controllers/ControlChanges.C: #include "changes.h".
3823 2003-09-06 Angus Leeming <leeming@lyx.org>
3825 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3826 than #including paragraph.h.
3829 * RowList.h: deleted. Superfluous.
3839 * insets/insettext.h: use ParagraphList_fwd.h rather than
3842 * paragraph.h: don't forward declare ParagraphList.
3845 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3846 rather than ParagraphList.h. paragraph.h is still needed for the
3847 Paragraph::depth_type parameters.
3849 * textcursor.h: enable it to compile stand-alone in light of the
3852 * bufferview_funcs.C:
3864 * frontends/controllers/ControlParagraph.C:
3865 * frontends/controllers/ControlTabular.C:
3866 * insets/insetmarginal.C:
3867 * insets/insetminipage.C:
3868 * insets/insetnote.C:
3869 * insets/insetoptarg.C: add header files needed to compile again.
3871 2003-09-06 Angus Leeming <leeming@lyx.org>
3873 * RowList_fwd.h: new file, forward-declaring Row rather than
3874 #including lyxrow.h.
3879 * insets/insettext.h: use it instead of RowList.h
3881 * bufferview_funcs.C:
3888 * text3.C: #include "RowList.h".
3890 2003-09-05 Angus Leeming <leeming@lyx.org>
3892 * factory.C (createInset):
3893 * vspace.C (c-tor): replace sscanf call with an istringstream.
3894 * ispell.C: re-add missing HP/UX headers.
3895 * lyxserver.C: re-add missing os2 headers.
3897 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3906 * text3.C: re-add missing system headers, needed for 2.95.2.
3908 2003-09-05 Angus Leeming <leeming@lyx.org>
3910 Changes most place everywhere due to the removal of using directives
3911 from support/std_sstream.h.
3913 2003-09-05 Angus Leeming <leeming@lyx.org>
3915 Replace LString.h with support/std_string.h,
3916 Lsstream.h with support/std_sstream.h,
3917 support/LIstream.h with support/std_istream.h,
3918 support/LOstream.h with support/std_ostream.h.
3920 Changes resulting throughout the tree.
3922 2003-09-05 Angus Leeming <leeming@lyx.org>
3924 * sgml.h: ensure that the header file can be compiled stand-alone.
3925 * *.C: strip out redundant #includes. (320 in total.)
3927 2003-09-04 Angus Leeming <leeming@lyx.org>
3929 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3930 here (from getPackages).
3932 * debug.[Ch]: add a new EXTERNAL tag.
3934 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3936 * text2.C (cursorEnd): simplify
3938 (getColumnNearX): adjust
3940 * text.C (computeBidiTables): adjust
3943 * rowpainter.C (paintChars): adjust
3944 (paintSelection): adjust
3945 (paintChangeBar): adjust
3948 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3950 (numberOfSeparators): adjust
3952 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3958 * text3.C: Restricts the mouse click functionality
3959 of insets like bibtex, include, toc and floatlist to the visible
3960 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3961 up the dialogs. Cursor has to be in front of the inset (i.e.
3962 start of row) for this to function.
3964 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3966 * bufferview_funcs.C (currentState): output row information
3968 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3970 * bufferview_funcs.C (currentState): output paragraph position
3972 2003-09-04 Angus Leeming <leeming@lyx.org>
3974 * FloatList.h: move out #include "Floating.h".
3975 * LaTeX.h: move out #include "DepTable.h".
3976 * LyXAction.h: move out #include "funcrequest.h".
3977 * buffer.h: move out #include "author.h", "iterators.h".
3978 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3979 * lyx_main.h: move out #include "errorlist.h".
3980 * lyxfunc.h: move out #include "FuncStatus.h".
3981 * lyxtext: move out #include "lyxcursor.h".
3982 * paragraph_pimpl.h: move out #include "counters.h".
3984 2003-09-03 Angus Leeming <leeming@lyx.org>
3986 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3987 preamble_snippets list, enabling us to add snippets to the preamble
3988 only if the snippet was not there already.
3990 2003-09-04 Angus Leeming <leeming@lyx.org>
3992 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3994 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3996 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3999 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
4001 * BranchList.C: point fix, earlier forgotten
4003 2003-09-02 Angus Leeming <leeming@lyx.org>
4005 * box.C (contains): renamed from 'contained' after a fantastic
4008 2003-09-02 John Levon <levon@movementarian.org>
4014 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
4016 2003-09-02 John Levon <levon@movementarian.org>
4018 * text2.C: simplification of cursorEnd(), including partial
4021 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4023 * buffer.C (readFile): add a space
4025 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
4027 * BufferView_pimpl.C (update): remove bogus fitCursor() call
4029 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
4031 * buffer.C (readFile): new function, take a filename and a
4032 ParagraphList::iterator
4034 (readFile): adjust, make it private. don't use setStream, make
4035 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
4036 always contain the filename.
4038 * BufferView.C (insertLyXFile): simplify and make it work for
4041 2003-08-30 John Levon <levon@movementarian.org>
4043 * Makefile.am: fix dist (from Kayvan)
4045 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4047 * most files: change to use const Buffer refs
4049 2003-08-27 André Pönitz <poenitz@gmx.net>
4051 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
4052 on top of ownerPar().
4054 2003-08-27 John Levon <levon@movementarian.org>
4056 * funcrequest.C: properly initialise POD members
4058 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4060 * lyxtext.h (top_y): move top_y from here
4065 * BufferView_pimpl.[Ch]: to here
4066 * frontends/screen.C:
4067 * insets/insettabular.C:
4068 * insets/insettext.C: adjust
4069 * rowpainter.[Ch] (paintRows): remove LyXText & argument
4071 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
4074 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
4076 2003-08-26 André Pönitz <poenitz@gmx.net>
4078 * paragraph_func.[Ch] (outerPar): new function
4081 * paragraph_funcs.C:
4082 * paragraph_funcs.h:
4083 * paragraph_pimpl.C:
4084 * text2.C: remove Inset::par_owner
4086 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
4091 * text2.C: eliminates the needFullRow/display() stuff
4092 altogether, putting the logic in metrics/draw in the insets.
4094 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
4096 * text2.C (redoParagraphInternal, redoParagraphs):
4097 * text.C (redoParagraph): add a call to updateRowPositions at the
4098 end of each 'metrics-like' call. Remove all others.
4099 (getRow): remove the 'y-computing' version.
4100 (getRowNearY): do not compute nor return the real y. Solve the
4101 'y < 0' problem and simplify.
4103 2003-08-22 Angus Leeming <leeming@lyx.org>
4105 * *.[Ch]: clean-up of licence and author blurbs.
4106 Also move config.h out of a few .h files and into a few .C files.
4108 2003-08-22 André Pönitz <poenitz@gmx.net>
4110 * lyxrow.[Ch]: add x_ and *fill_ members
4115 * text2.C: adjust/remove prepareToPrint() calls
4117 2003-08-22 André Pönitz <poenitz@gmx.net>
4119 * lyxrow.[Ch]: add end_ member
4121 * lyxrow_funcs.C: use LyXRow::end_
4123 * lyxtext.h (singleWidth): add LyXFont parameter
4126 * text2.C: adjust LyXText::singleWidth() calls
4128 * text.C (redoParagraph): simplify row breaking logic
4131 2003-08-19 André Pönitz <poenitz@gmx.net>
4133 * funcrequest.C: initialize button_ member
4136 * rowpainter.[Ch]: interface consolidation
4138 2003-08-18 André Pönitz <poenitz@gmx.net>
4141 * BufferView_pimpl.C:
4143 * paragraph_funcs.C:
4145 * text3.C: remove LyXScreen::draw() and fitCursor calls
4147 * BranchList.h: remove spurious semicolons
4149 * MenuBackend.C: fix branchlist related crash
4151 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
4159 * bufferparams.[Ch]:
4163 * text3.C: implements the 'branch inset'
4164 idea. This allows the output of various versions of a document
4165 from a single source version, selectively outputing or suppressing
4166 output of parts of the text.
4167 This implementation contains a 'branch list editor' in a separate
4168 tab of the document settings dialog. Branches are user definable
4169 and have a "display colour" to distinguish them on-screen.
4171 ColorHandler was somewhat cleaned up.
4172 (1) make possible a dynamically growing LColor list by allowing
4173 the graphic context cache to grow along (vector);
4174 (2) eliminate an IMHO unnecessary step in colour allocation.
4176 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4178 * BufferView_pimpl.C: compile fix
4180 2003-08-15 André Pönitz <poenitz@gmx.net>
4182 * rowpainter.C: remove extra metrics calls
4184 * lyxtext.h: merge the two constructors into a single one,
4185 pass reference to owner's par list
4187 * BufferView_pimpl.C:
4191 2003-08-15 André Pönitz <poenitz@gmx.net>
4193 * lyxrow_funcs.[Ch]:
4196 * paragraph_funcs.C:
4201 * text_funcs.C: split LyXText::rowlist_ into individual
4202 Paragraph::rows_ chunks
4205 * BufferView_pimpl.[Ch]:
4208 * text3.C: remove toggleSelection()
4210 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4212 * bufferlist.C: beautify two alerts (shorter text of buttons)
4213 * buffer.C: Remove redundant ' ' from message
4215 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4216 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4217 rename VALIGN_CENTER to VALIGN_MIDDLE
4219 2003-08-11 André Pönitz <poenitz@gmx.net>
4221 * lyxtext.h (getPar):
4222 * text.C: new function
4224 2003-08-11 André Pönitz <poenitz@gmx.net>
4227 * tracer.[Ch]: remove unneeded files
4229 * InsetList.[Ch]: remove resizeInsetsLyXText()
4234 * text3.C: merge insertParagraphs() and appendParagraph()
4235 remove breakAgain(), update()
4237 * BufferView_pimpl.[Ch]:
4238 * bufferview_funcs.[Ch]:
4242 * tabular.C: adjust after text & InsetList changes.
4244 2003-08-08 André Pönitz <poenitz@gmx.net>
4246 * text.C (insertChar, backspace): replace rowlist fiddling
4247 with rebreak of full par
4250 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4251 checkParagraph, updateInset): removed
4253 2003-08-07 André Pönitz <poenitz@gmx.net>
4256 * text3.C: merge some LFUN handlers, remove dead code
4258 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4260 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4262 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4264 * text2.C (DEPM): fix part of bug 1255 and 1256
4266 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4268 * BufferView_pimpl.C (workAreaDispatch): change to use
4269 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4270 that are no mouse related.
4272 2003-08-05 André Pönitz <poenitz@gmx.net>
4275 * BufferView_pimpl.[Ch]:
4276 * bufferview_funcs.C:
4278 * text3.C: rip out "deep update"
4280 * textcursor.[Ch] (last_sel_cursor): remove unused member
4282 2003-08-04 André Pönitz <poenitz@gmx.net>
4285 * BufferView_pimpl.[Ch]:
4286 * ParagraphParameters.C:
4287 * bufferview_funcs.C:
4293 * text3.C: replace "complicated" BufferView::update(...) calls with
4296 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4298 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4300 * Makefile.am (lyx_SOURCES): add paper.h
4302 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4304 * Makefile.am: move things around so that both lyx-qt and
4305 lyx-xforms can be built (according to --with-frontend). Then lyx
4306 is a symbolic link to lyx-[firstfrontend]
4308 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4310 * Always use std::endl with lyxerr
4312 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4314 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4316 2003-08-01 André Pönitz <poenitz@gmx.net>
4319 * BufferView_pimpl.[Ch]:
4321 * text3.C: merge BufferView::repaint() and BufferView::update()
4323 2003-08-01 José Matos <jamatos@lyx.org>
4325 * buffer.[Ch]: file_format is no longer a buffer data element.
4327 2003-08-01 André Pönitz <poenitz@gmx.net>
4332 * text2.C: make redoParagraph more independent of current cursor
4334 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4336 * text2.C: remove unneeded members
4338 2003-07-30 André Pönitz <poenitz@gmx.net>
4340 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4342 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4343 create a single function...
4345 * paragraph_funcs.C (moveItem): ... here.
4348 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4350 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4352 * LColor.[Ch]: Add comment and greyedout logical colors.
4354 2003-07-30 André Pönitz <poenitz@gmx.net>
4356 * tabular.C: don't use Assert too heavily. This crashes where it
4359 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4361 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4362 is disabled (bug 1232)
4364 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4366 * factory.C: limited 'arg' scope
4368 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4370 * factory.C: fixed Note submenu issues
4372 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4374 * factory.C: submenu for Note/Comment/Greyedout
4376 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4379 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4381 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4384 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4385 greyedout. Patch provided by Jürgen Spitzmüller.
4387 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4389 * kbmap.C (read): fix error message when reading bind files
4391 2003-07-29 Angus Leeming <leeming@lyx.org>
4393 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4394 certainly does not do what it purports to do. I am doing it, and
4395 us, a favour by killing it.
4397 2003-07-28 José Matos <jamatos@lyx.org>
4399 * buffer.C (readBody, do_writeFile):
4400 * paragraph.C(readParagraph): \end_document replaces \the_end.
4402 2003-07-29 André Pönitz <poenitz@gmx.net>
4405 * BufferView_pimpl.[Ch]:
4409 * textcursor.[Ch]: remove toggleToggle & Co
4411 2003-07-28 José Matos <jamatos@fep.up.pt>
4413 * buffer.C (readParagraph):
4414 * params_func (readParToken, readParagraph):
4415 * paragraph.C (write): \layout -> \begin_layout.
4417 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4419 * lyxlex_pimpl.C (setFile): clean up slightly.
4421 * bufferparams.h: add compressed var
4423 * buffer_funcs.C (readFile): adjust for LyXLex change
4424 (newFile): ditto + simplify
4426 * buffer.C (writeFile): handle writing of compressed files
4428 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4429 Check if the file is compressed and set a bufferparm if so.
4431 * Makefile.am (lyx_LDADD): remove explicit -lz
4433 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4435 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4436 makeDocBookFile): put the real LyX version in the first line of
4440 * version.C.in: remove lyx_docversion
4442 * tabular.C (write_attribute): add a template-based version to
4443 write enums properly
4445 2003-07-28 André Pönitz <poenitz@gmx.net>
4450 * text3.C: use doubles again for x-coordinates. They are needed.
4452 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4454 * messages.C (getLocaleDir): use lyx_localedir()
4456 * lyxlex_pimpl.C (setFile): compress stuff
4458 * buffer.C (writeFile): add some compression stuff
4459 (do_writeFile): new func, dont call expliti close... will this
4462 * Makefile.am (lyx_LDADD): add -lz
4464 2003-07-28 José Matos <jamatos@fep.up.pt>
4466 * buffer.C: increment file format.
4467 * paragraph_funcs (readParagraph, readParToken):
4468 * paragraph.C (readParagraph): add \end_layout.
4470 2003-07-27 Angus Leeming <leeming@lyx.org>
4472 * Makefile.am: remove special casing for configure-time setting of
4473 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4475 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4476 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4478 2003-07-26 André Pönitz <poenitz@gmx.net>
4480 * paragraph_func.[Ch]:
4481 * paragraph.C (realizeFont): inline it whereever it is used
4486 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4489 2003-07-26 André Pönitz <poenitz@gmx.net>
4493 * text2.C: get rid of LyXText::need_break_row
4495 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4497 * toc.[Ch]: put namespace toc inside namespace lyx
4499 * MenuBackend.C (expandToc2): adjust for lyx::toc
4502 * lyxfunc.C (dispatch): adjust for lyx::find
4504 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4505 lyx::find instead. Reorganize a bit.
4506 (LyXReplace): rename to replace
4507 (LyXFind): rename to find
4509 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4512 2003-07-26 André Pönitz <poenitz@gmx.net>
4514 * text.C (setHeightOfRow): restrict scope of temporary variable
4516 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4517 code (never has been used?)
4519 2003-07-27 Asger Alstrup <alstrup@local>
4521 * text.C (fill): Optimise algorithm to exploit that we can reuse
4522 the LyXFont for many characters.
4523 (setHeightOfRow): Same thing.
4524 (rowBreakPoint): Same thing.
4526 2003-07-26 Asger Alstrup <alstrup@local>
4528 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4530 * text.C (singleWidth): Spurious font copying in hot-spot
4531 singleWidth avoided. Reorder tests for arabic for efficiency.
4533 * text.C (fill): handle empty paragraphs better.
4535 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4538 * encoding.h: add includes
4540 * lyxrc.C: remove reading of bind files
4542 * lyx_main.C (init): setup bindings and menus only if we have a
4545 * kbmap.C (read): new method. Do the actual reading of bind
4548 * converter.C (dvipdfm_options):
4551 (output): adapt PAPER_* enums.
4553 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4555 * bufferparams.h: remove paper-related enums from there
4557 * paper.h: New file. A trivial header file to hold paper-related
4558 enums. It should later expand to contain many paper-related
4561 * lyxrc.C: declare extern displayTranslator
4563 2003-07-27 José Matos <jamatos@fep.up.pt>
4565 * tabular.[Ch] (linuxdoc): add support for tables and figures
4568 2003-07-27 José Matos <jamatos@fep.up.pt>
4570 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4571 consistency in both functions.
4572 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4574 2003-07-26 Asger Alstrup <alstrup@local>
4576 * rowpainter.C (paintRows): Change algorithm to work directly on
4577 the insets rather than asking every character in the document
4578 whether its an inset.
4580 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4582 * buffer.C (openFileWrite): factorize some code
4584 2003-07-26 Angus Leeming <leeming@lyx.org>
4587 * lyx_main.[Ch]: replace occurances of system_tempdir with
4590 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4592 * rename Inset to InsetOld
4594 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4596 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4597 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4598 which I think is a bit clearer. EDIT is gone, since it was
4599 premature optimisation, and broken for mathed anyway.
4600 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4601 with cursor positioning in insets as well (math insets still do not
4602 work, but that's a different story anyway.) It mysteriously
4603 crashes sometimes with undo in the first paragraph, but I'm fairly
4604 confident that this is a compiler bug.
4606 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4608 * paragraph.C (Paragraph): adjust for new clone return type
4610 (copyIntoMinibuffer): ditto
4612 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4614 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4615 by not having a special case, and always doing a full rebreak of
4616 the document after undo.
4618 2003-07-23 Angus Leeming <leeming@lyx.org>
4620 * factory.C (createInset): InsetExternal::setParams now takes a
4623 2003-07-23 Angus Leeming <leeming@lyx.org>
4625 * factory.C (createInset): changed interface to the external and
4626 graphics mailers' string2params functions.
4628 2003-07-23 Angus Leeming <leeming@lyx.org>
4630 * factory.C (createInset): pass a
4631 Buffer const * parameter to InsetExternalMailer's string2params.
4633 2003-07-22 John Levon <levon@movementarian.org>
4635 * Thesaurus.h: include the right aiksaurus header
4637 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4639 * MenuBackend.C (expand): check menu shortcuts unconditionally
4641 2003-07-21 Angus Leeming <leeming@lyx.org>
4643 * factory.C (createInset): pass a
4644 buffer_path parameter to InsetGraphicsMailer's string2params.
4646 2003-07-21 Angus Leeming <leeming@lyx.org>
4648 * BufferView_pimpl.C (buffer):
4651 * lyxfunc.C (dispatch):
4652 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4653 rather than the grfx shortcut.
4655 2003-07-21 André Pönitz <poenitz@gmx.net>
4657 * rowpainter.C: remove unused variables
4660 * tabular_funcs.h: move to tabular.C
4661 * Makefile.am: adjust
4663 * tabular.[Ch]: basic optical cleaning
4665 * author.h: pass references, not values
4667 2003-07-18 André Pönitz <poenitz@gmx.net>
4675 * text3.C: two-phase drawing for InsetText and InsetTabular
4676 some float -> int changes.
4678 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4680 * lyx_main.C: fix the fix
4682 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4684 * lyx_main.C: fix a crash in batch mode if no files specified
4687 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4689 * format.[Ch] (papersize): moved to BufferParams
4690 * converter.[Ch] (dvips_options): moved to BufferParams
4691 (dvipdfm_options): moved to anon namespace
4692 * bufferparams.[Ch]: added above functions.
4694 2003-07-17 André Pönitz <poenitz@gmx.net>
4698 * text2.C: don't call inset->update() anymore
4700 * metricsinfo.[Ch]: add convenience constructor
4702 2003-07-16 André Pönitz <poenitz@gmx.net>
4707 * text2.C: replace the LyXCursor::irow_ member with
4708 on-demand computation of the value
4710 2003-07-16 John Levon <levon@movementarian.org>
4712 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4714 2003-07-15 André Pönitz <poenitz@gmx.net>
4717 * text2.C: remove no more needed refresh_row
4719 2003-07-15 André Pönitz <poenitz@gmx.net>
4724 * text3.C: refresh_status tristate -> need_update bool
4726 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4728 * lyxtext.h (init): remove reinit argument (act as if always true)
4729 * text2.C: adjust to that
4731 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4733 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4734 * text3.C: use it to delete selections in some cases
4735 (bugs 441, 673, 702, 954).
4737 2003-07-14 André Pönitz <poenitz@gmx.net>
4739 * rowpainter.[Ch]: reduce interface
4741 2003-07-14 André Pönitz <poenitz@gmx.net>
4743 * BufferView_pimpl.C:
4744 * text2.C: adjust after removing unused BufferView * argument
4746 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4748 * text2.C (init): fix a crash fired on resize
4750 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4752 * buffer.[Ch]: added new closing signal
4753 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4754 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4755 BufferView::Pimpl via the closing the signal
4757 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4759 * buffer.[Ch]: take out all bv-related from buffer
4761 * BufferView_pimpl.[Ch]: connect to new signals
4762 * CutAndPaste.C: removed useless asserts
4763 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4766 * lyxfunc.C: moved view-related funciontality from vc here
4767 * paragraph.C: removed outdated comments
4770 2003-07-10 André Pönitz <poenitz@gmx.net>
4772 * BufferView_pimpl.C:
4776 * text2.C: remove InsetText::InnerCache, clean up consequences
4778 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4780 * ispell.C: fix two typos in error messages
4782 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4784 * Extend Note inset to other forms of annotation like Comment
4785 and Greyedout. Right button click gives dialog.
4787 Files modified or added (+):
4791 * ControlNote.[Ch] +
4793 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4794 frontends/controllers
4798 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4800 * aspell.C: add missing namespace lyx::support
4802 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4804 * BufferView.[Ch] (newFile): Add
4805 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4806 * LaTeX.[Ch] (message): added this signal and use it
4807 * buffer.[Ch] (busy, message): added these signals and use them
4808 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4812 * importer.C: use buffer signals instead of direct bv calling
4813 * lyx_cb.[Ch] (ShowMessage): removed
4816 * paragraph_funcs.C:
4817 * text2.C: use buffer signals
4819 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4821 * introduce namespace lyx::graphics
4823 2003-07-02 André Pönitz <poenitz@gmx.net>
4825 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4827 2003-07-01 André Pönitz <poenitz@gmx.net>
4834 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4835 text*.C to text_func.C
4837 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4839 * introduce namespace lyx::support
4841 2003-06-30 André Pönitz <poenitz@gmx.net>
4846 * text.C: re-enable --with-included-string
4848 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4850 * textcursor.C: add <config.h>
4852 * text.C (getWord): remove const from word_location arg
4854 * lyxvc.C (getLogFile): fix const type order
4856 * lyxtext.h: remove const from word_location arg, add arg name
4858 * lyxlayout.h: currect type on labeltype.
4860 * importer.C: correct \file
4862 * converter.C (intToFormat): use std:: on ret val, ws changes
4864 * bufferlist.h: correct \file
4866 * buffer.C (makeLinuxDocFile): fix const type order
4867 (makeDocBookFile): ditto
4868 (fillWithBibKeys): use std:: on stdlib args.
4870 * CutAndPaste.C: fix authors.
4871 (availableSelections): use std:: on return vector
4873 2003-06-27 André Pönitz <poenitz@gmx.net>
4875 * BufferView_pimpl.C:
4876 * bufferview_funcs.C:
4884 * text3.C: remove LyXCursor::row_ member
4887 * text.C: rename fullRebreak() to partialRebreak() and implement
4888 a fullRebreak() that really bereks fully
4890 * textcursor.h: new struct for cursor-related data
4892 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4894 * lyx_main.C (LyX): get full path of document loaded on the
4897 2003-06-26 André Pönitz <poenitz@gmx.net>
4899 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4900 remove unused/broken operator>,<,>=.
4902 * text.C: remove only use of broken operator<= in an Assert().
4904 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4906 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4907 moved errorlist_.clear to showErrorList
4909 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4911 * converter.C (scanLog, runLaTeX):
4912 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4913 move the bv->showErrorList call to the callers
4914 * lyxfunc.C: i.e. here...
4916 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4917 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4918 namespace, the second to...
4919 * buffer_funcs (BufferFormat, parseErrors): added
4920 * errorlist.C (ErrorList(TeXErrors const &)): removed
4922 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4924 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4926 2003-06-24 "Garst R. Reese" <reese@isn.net>
4930 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4932 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4934 * version.C.in: change docversion to 1.4
4936 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4938 * buffer.C: fix a bug just introduced
4940 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4942 * buffer.[Ch]: added the parseError signal and use it, removed
4944 * BufferView.[Ch] (addError): moved to ...
4945 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4946 to the Buffer::parseError signal to catch (guess what) parse errors
4947 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4949 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4951 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4952 ability to create a buffer and to return an existing one from
4953 the list. Moved these functions to...
4954 * buffer_funcs.[Ch]: added
4955 * BufferView.[Ch] (loadLyXFile): added
4956 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4957 job removed from bufferlist::loadLyXFile.
4958 * buffer.C (setReadOnly): make it work without view
4959 (i.e added an if (users))
4961 2003-06-19 Angus Leeming <leeming@lyx.org>
4964 * LyXAction.C (init):
4965 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4966 with LFUN_DIALOG_SHOW <name> <data>.
4968 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4970 * CutAndPaste.C (availableSelections): small compilation fix for
4971 ancient (gcc 2.9x) compilers
4973 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4975 * text3.C (cursorNext): add tmp var
4977 * text2.C (updateCounters): for function calling out of for clause
4978 (replaceSelectionWithString): ditto
4979 (insertStringAsParagraphs): ditto
4980 (getColumnNearX): add tmp var
4981 (setCursorFromCoordinates): add tmp var
4982 (cursorDownParagraph): add tmp var
4983 (deleteEmptyParagraphMechanism): add tmp var
4985 * text.C (insertChar): add tmp var
4987 * rowpainter.C (paintDepthBar): add tmp var
4989 * CutAndPaste.C (availableSelections): potentially check all
4990 paragraphs in a cut to fill the shown strings.
4992 2003-06-18 André Pönitz <poenitz@gmx.net>
4994 * kbmap.[Ch]: use vector<> instead of list<>
4996 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4998 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4999 pasteSelection with index
5001 * text2.C (pasteSelection): modify, call pasteSelection with index
5003 * paragraph.C (asString): reimplement version with no interval to
5004 call the one with interval.
5006 * lyxtext.h: add index arg to pasteSelection
5008 * MenuBackend.C (MenuItem): handle PasteRecent
5009 (Menu::read::Menutags): add md_pasterecent
5011 (expandPasteRecent): new function
5014 * MenuBackend.h: add PasteRecent to MenuItem::Kind
5016 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
5018 (availableSelections): new function
5020 2003-06-17 Angus Leeming <leeming@lyx.org>
5022 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
5024 2003-06-17 Angus Leeming <leeming@lyx.org>
5027 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
5029 * lyxfunc.C (dispatch): invoke it.
5031 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5033 * iterators.C (operator++, ParPosition): reintroduce some
5034 const_cast for the benefit of older compilers.
5036 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5038 * text3.C (dispatch): do not modify clipboard when doing
5039 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
5040 LFUN_DELETE_SKIP on a selection selection
5042 2003-06-16 André Pönitz <poenitz@gmx.net>
5048 * tabular.[Ch]: IU of clone() and getLabelList();
5050 2003-06-13 André Pönitz <poenitz@gmx.net>
5052 * tabular.h: compactification
5054 2003-06-12 André Pönitz <poenitz@gmx.net>
5058 * tabular_funcs.h: some renaming plus whitespace
5060 2003-06-12 André Pönitz <poenitz@gmx.net>
5063 * BufferView_pimpl.C:
5069 * toc.C: Return a Paragraph & for ParIterator::operator*()
5071 2003-06-11 John Levon <levon@movementarian.org>
5075 * ToolbarBackend.C: add "Toolbars" section and
5078 2003-06-10 Angus Leeming <leeming@lyx.org>
5081 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
5083 * lyxfunc.C (dispatch): invoke it.
5085 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
5087 * main.C: protect <ios> with HAVE_IOS
5088 (main): protect sync_with_stdio with HAVE_IOS
5090 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
5092 * text2.C (cutSelection): adjust
5093 (pasteSelection): adjust
5095 * messages.C: handle get of empty string
5097 * main.C (main): use sync_with_stdio(false)
5099 * lyxfunc.C (dispatch): adjust
5101 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
5102 (WriteAs): remove unneeded BufferView arg.
5104 * bufferparams.h: use correct types on papersize, papersize2 and
5107 * bufferparams.C (readToken): adjust for type
5108 (writeLaTeX): add missing cases to switch.
5110 * bufferlist.C (quitWriteBuffer): adjust
5113 * buffer.C (asciiParagraph): remove some commented code.
5115 * CutAndPaste.C: remove current_view extern variable.
5116 (cutSelection): add BufferParams arg.
5117 (eraseSelection): add BufferParams arg.
5118 (pasteSelection): add Buffer const & arg
5120 2003-06-07 John Levon <levon@movementarian.org>
5123 * paragraph_funcs.C:
5124 * paragraph_pimpl.C:
5128 * paragraph.C: allow InsetERT to freely space lines,
5129 and some consolidation of code
5131 2003-06-06 José Matos <jamatos@fep.up.pt>
5133 * buffer.C (makeDocBookFile): fix bug #821
5135 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
5137 * BufferView_pimpl.C (dispatch): use Dialogs::visible
5139 2003-06-04 Angus Leeming <leeming@lyx.org>
5141 * buffer.C: bump format to 224.
5143 2003-06-05 André Pönitz <poenitz@gmx.net>
5145 * text2.C (redoParagraphs): remove two const_cast<>
5147 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
5149 * ParagraphList.h: remove last remnants of NO_STD_LIST
5151 2003-06-03 Angus Leeming <leeming@lyx.org>
5153 * factory.C (createInset): small change to the way InsetExternal's params
5156 2003-06-04 André Pönitz <poenitz@gmx.net>
5158 * buffer.h: use Undo directly instead of shared_ptr<Undo>
5160 * paragraph_pimpl.h:
5161 * paragraph.[Ch]: some Inset -> UpdatableInset changes
5163 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
5165 * undo_funcs.C: make some simple cases of undo work again
5167 2003-06-03 John Levon <levon@movementarian.org>
5169 * ispell.C: HPUX doesn't have sys/select.h
5172 2003-06-03 John Levon <levon@movementarian.org>
5174 * CutAndPaste.C: update tabular and include inset
5179 * paragraph.C: remove owningBuffer(), don't pass Buffer
5182 * factory.C: insetGraphicsParams changed
5184 2003-06-02 John Levon <levon@movementarian.org>
5190 * text3.C: remove insetparent
5192 2003-06-02 John Levon <levon@movementarian.org>
5195 * buffer.C: fix inset_iterator.end(), move out of line
5198 2003-06-01 John Levon <levon@movementarian.org>
5200 * text3.C: use a proper cut/paste when doing inset
5201 insert (from Jürgen Spitzmüller)
5203 2003-06-01 John Levon <levon@movementarian.org>
5205 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5207 2003-05-30 André Pönitz <poenitz@gmx.net>
5209 * rowpainter.C: unify second drawing phase
5211 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5213 * trans_mgr.C: remove one case of current_view
5215 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5217 * paragraph_funcs.h: remove paragraph.h include
5219 * paragraph.h: delete NO_STD_LIST stuff
5221 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5223 * buffer.h: remove paragraph.h include
5225 * ParagraphList.C: delete file
5227 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5229 * toc.C (getTocList): adjust
5231 * paragraph_pimpl.C (validate): adjust
5233 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5235 * paragraph.C (Paragraph): adjust
5236 (getPositionOfInset): use const_iterator, adjust
5237 (bibitem): use const_iterator, adjust
5238 (setInsetOwner): adjust
5240 * iterators.C (operator++): adjust
5242 * InsetList.[Ch]: Replace selfmade iterator with standard
5243 vector::iterator also introduce const_iterator. Remove getPos,
5244 getInset and setInset from InsetTable. Adjust accordingly.
5246 * BufferView.C (lockInset): adjust
5247 (ChangeInsets): adjust
5249 * tabular.[Ch]: delete commented same_id functions
5251 2003-05-28 John Levon <levon@movementarian.org>
5253 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5255 2003-05-28 André Pönitz <poenitz@gmx.net>
5257 * metricsinfo.[Ch]: remove 'fullredraw' member
5259 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5261 * lyxtextclass.C (operator): remove caching.
5263 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5267 * text2.C (cursorBottom): adjust
5268 (setCounter): use ParagraphList::find, adjust
5270 * text.C (workWidth): use ParagraphList::find, adjust
5272 * lyxcursor.C (LyXCursor): adjust
5274 * buffer.C (inset_iterator): adjust
5276 * ParagraphList.h: make iterator(value_type) private, make
5277 ParagraphList a friend of iterator.
5279 * ParagraphList.C (find): new function
5281 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5283 2003-05-27 André Pönitz <poenitz@gmx.net>
5285 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5287 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5289 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5291 2003-05-26 John Levon <levon@movementarian.org>
5293 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5295 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5297 * remove same_id from function signatures, adjust.
5299 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5301 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5303 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5305 * paragraph.C (Paragraph): get rid of same_ids parameter
5307 * ParagraphList.C (insert): adjust
5310 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5312 * paragraph_funcs.C (breakParagraph): adjust
5313 (breakParagraphConservative): adjust
5315 * buffer.C (readParagraph): adjust
5317 * ParagraphList.C (insert): take a reference instead of a pointer
5320 * paragraph.[Ch] (id): new function
5322 * bufferlist.C (newFile): adjust
5324 * ParagraphList.C (ParagraphList): adjust
5326 (push_back): take a reference instead of a pointer.
5328 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5330 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5333 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5334 set else use old code.
5336 * ParagraphList.C: remove all NO_NEXT code and only compile this
5337 code of NO_STD_LIST is set.
5339 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5341 * BufferView_pimpl.C:
5351 * graphics/GraphicsConverter.C:
5352 * graphics/PreviewLoader.C: header adjustment
5354 2003-05-23 Angus Leeming <leeming@lyx.org>
5356 * LaTeXFeatures.[Ch] (useBabel): new method.
5357 * bufferparams.C (writeLaTeX): use it.
5359 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5361 * ParagraphList.h (set): remove unused function.
5363 2003-05-23 André Pönitz <poenitz@gmx.net>
5366 * BufferView_pimpl.C:
5370 * undo_funcs.C: setUndo reworked
5372 * iterators.[Ch]: add access to topmost ParagraphList
5374 * lyxtext.[Ch] (workWidth): add a const
5376 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5378 * texrow.[Ch] (increasePos): remove function
5379 * exporter.C (export): removed unused var and outdated comment
5381 2003-05-23 Angus Leeming <leeming@lyx.org>
5383 * latexrunparams.h: rename fragile as moving_arg.
5384 * paragraph.C (simpleTeXOnePar): ditto.
5385 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5387 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5389 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5391 (textUndoOrRedo): comment out a currently unused var.
5393 * paragraph.h (NO_NEXT): enable NO_NEXT
5395 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5397 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5399 * exporter.C (Export): adjust for removeAutoInsets removal.
5401 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5403 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5405 * BufferView.[Ch] (removeAutoInsets): delete function
5407 2003-05-22 Angus Leeming <leeming@lyx.org>
5409 * latexrunparams.h: add a free_spacing variable.
5411 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5412 to pass moving_arg, as the data is stored in runparams.fragile.
5414 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5415 to Inset::latexOptional or to simpleTeXOnePar.
5417 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5418 free_spacing arg to Inset::latexOptional.
5420 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5423 2003-05-22 Angus Leeming <leeming@lyx.org>
5425 * latexrunparams.h: add fragile and use_babel variables.
5427 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5428 * buffer.C (makeLaTeXFile): store this returned value in
5429 runparams.use_babel, thus passing it to the inset::latex methods.
5431 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5432 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5434 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5435 longer has a fragile arg, as it is stored in runparams.fragile.
5437 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5438 moving_arg parameter as the data is stored in runparams.fragile.
5440 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5441 a fragile parameter as the data is stored in runparams.fragile.
5443 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5445 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5447 2003-05-22 Angus Leeming <leeming@lyx.org>
5449 * latexrunparams.h: add a 'bool nice' which defaults to false.
5451 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5452 now encapsulated within runparams.
5454 * bufferlist.C (updateIncludedTeXfiles):
5455 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5457 2003-05-22 Angus Leeming <leeming@lyx.org>
5459 * latexrunparams.h: new file containing struct LatexRunParams.
5460 * Makefile.am: add new file.
5462 * LaTeX.[Ch] (c-tor, run):
5463 * buffer.[Ch] (makeLaTeXFile):
5464 * bufferlist.[Ch] (updateIncludedTeXfiles):
5465 * converter.C (convert, scanLog):
5466 * converter.[Ch] (runLaTeX):
5467 * exporter.C (Export):
5468 * paragraph.[Ch] (simpleTeXOnePar):
5469 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5470 * paragraph_funcs.[Ch] (latexParagraphs):
5471 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5472 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5473 pass around a LatexRunParams parameter.
5475 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5477 * paragraph.[Ch]: remove unused constructor
5479 * ParagraphList.C (erase): new function, taking two iterators
5481 2003-05-22 André Pönitz <poenitz@gmx.net>
5483 * undo_funcs.C: remove duplicated code
5485 * iterator.[Ch]: operator=
5487 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5489 * tabular.C (SetMultiColumn): ws changes
5491 * rowpainter.C (paintFirst): get rid of a ->previous
5493 * lyx_cb.C (getPossibleLabel): parlist simplification
5495 * BufferView.C (ChangeInsets): simplify slightly.
5497 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5499 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5500 * lfuns.h: new LFUN_SPACE
5501 * lyxfunc.C: protected space has a new lfun
5502 * paragraph_funcs.C: read new space insets
5504 * factory.C: handle new space insets
5506 2003-05-22 André Pönitz <poenitz@gmx.net>
5509 * BufferView_pimpl.C:
5512 * undo_funcs.C: return a ParIterator from getParFromID.
5514 * iterators.[Ch]: add two const's
5516 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5518 * toc.C (getTocList): adjust
5520 * iterators.[Ch]: rework for parlist
5522 * buffer.C (par_iterator_begin): adjust
5523 (par_iterator_end): adjust
5525 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5527 * BufferView.C (removeAutoInsets): adjust
5528 (ChangeInsets): adjust
5530 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5532 * text.C (top_y): fix bug 1110
5534 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5536 * errorlist.[Ch]: added
5539 * BufferView_pimpl.C:
5540 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5543 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5545 * Makefile.am: ensure that lyx is relinked upon changes to the
5546 various "convenience" libs.
5548 2003-05-20 Angus Leeming <leeming@lyx.org>
5550 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5551 files are compiled in alphabetical order again.
5553 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5555 2003-05-19 Angus Leeming <leeming@lyx.org>
5557 * gettext.[Ch]: remove "char const * _(char const *)".
5559 2003-05-19 André Pönitz <poenitz@gmx.net>
5561 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5570 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5572 2003-05-19 André Pönitz <poenitz@gmx.net>
5576 * lyxtextclass.[Ch]:
5578 * paragraph_funcs.[Ch]:
5580 * text3.C: more insetenv work
5582 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5584 * ParagraphParameters.C (params2string): small bug fixed
5586 2003-05-16 André Pönitz <poenitz@gmx.net>
5589 * bufferview_funcs.C: patch from Kornel Benko to prevent
5590 crash when _(...) is called twice in a statement
5592 2003-05-16 André Pönitz <poenitz@gmx.net>
5599 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5601 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5603 * lyx_main.C (init): remove spurious static_cast
5605 2003-05-14 André Pönitz <poenitz@gmx.net>
5607 * BufferView.C: fix format string
5609 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5611 * BufferView.[Ch] (insertErrors): removed
5612 * BufferView.[Ch] (showErrorList): added
5613 * buffer.C (runChkTeX):
5614 * converter.C (scanLog): call showErrorList instead of inserterrors
5616 2003-05-13 André Pönitz <poenitz@gmx.net>
5618 * BufferView_pimpl.C:
5620 * bufferview_func.C:
5627 * tabular_funcs.h: tostr() from its own header
5629 * ParagraphParameters.C:
5634 * text3.C: STRCONV()
5636 2003-05-12 André Pönitz <poenitz@gmx.net>
5639 * BufferView_pimpl.C:
5643 * ParagraphParameters.C:
5647 * bufferview_funcs.C:
5660 * paragraph_funcs.C:
5664 * text3.C: boost::format -> bformat all over the place
5667 2003-05-09 André Pönitz <poenitz@gmx.net>
5669 * LColor.[Ch]: Pimpl the #include <map> away
5671 2003-05-09 John Levon <levon@movementarian.org>
5673 * bufferlist.C: never remove emergency saves
5675 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5677 * Makefile.am: better lib building
5679 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5681 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5683 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5684 (simpleTeXSpecialChars): adjust
5685 (simpleTeXSpecialChars): adjust
5686 * paragraph.C (simpleTeXOnePar): adjust
5687 * buffer.C (makeLaTeXFile): adjust
5689 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5691 * text2.C (changeDepth): parlist cleanup
5692 (getColumnNearX): ditto
5694 * rowpainter.C (getLabelFont): parlist cleanup
5696 * bufferlist.C (newFile): parlist cleanup
5698 * CutAndPaste.C (eraseSelection): parlist cleanup
5700 * BufferView_pimpl.C (trackChanges): parlist cleanup
5703 * BufferView.C (lockInset): parlist cleanup.
5704 (ChangeInsets): ditto
5706 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5708 * CutAndPaste.h: Update file header.
5710 * CutAndPaste.C: Update file header.
5711 Store the parts cut out of the Document in a limited_stack.
5712 (copySelection): adjust
5713 (pasteSelection): new function, takes the index in the limited stack.
5714 (nrOfParagraphs): adjust
5715 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5716 simplify error inset insertion.
5717 (checkPastePossible): adjust
5719 2003-05-06 John Levon <levon@movementarian.org>
5721 * text2.C: don't cast wrap inset to float
5723 2003-05-05 André Pönitz <poenitz@gmx.net>
5726 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5728 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5729 few naked Paragraph *.
5731 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5733 * bufferparams.C: Output warning if a document with missing
5734 TeX document class is loaded
5735 * exporter.C: Disable TeX exports if the document class is missing
5738 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5739 isTeXClassAvailable()
5741 2003-05-03 John Levon <levon@movementarian.org>
5744 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5745 explicit cursor show/hide
5747 * BufferView_pimpl.h:
5748 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5749 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5751 * lyxfunc.C: hide cursor before dispatching.
5756 * text3.C: remove explicit cursor hides
5758 2003-05-02 André Pönitz <poenitz@gmx.net>
5760 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5763 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5766 * text2.C: tiny whitespace
5768 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5770 * undo_funcs.C: almost only ws changes.
5772 * ParagraphList.C (splice): just return if pl is empty.
5774 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5776 * ParagraphList.C (splice): new function.
5778 * CutAndPaste.C (pasteSelection): use it
5780 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5782 * CutAndPaste.C (pasteSelection): remove the last next and
5783 previous from this file.
5785 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5787 * CutAndPaste.C (pasteSelection): more clean up, user proper
5788 ParagraphList functions for pasteing.
5790 * ParagraphList.C (insert): new function, three arg insert
5792 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5794 * ParagraphList.C (insert): new function, three arg insert
5796 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5799 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5801 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5803 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5805 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5807 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5809 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5810 (copySelection): clean up a bit.
5811 (pasteSelection): use make_pair
5813 * ParagraphList.C (ParagraphList): implement copy constructor
5814 (operator=): implement, base on copy constructor.
5817 * paragraph.C (erase): return a bool
5819 * paragraph_pimpl.C (erasePos): remove function, move contents...
5820 (erase): ... here. Return a bool.
5821 (erase): call erase instead of erasePos.
5823 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5825 * ParagraphList.h: define PitPosPair
5826 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5827 ParagraphList, fix a bug on pasting multiple pars
5828 * text2.C: change interface to C&P
5830 2003-04-30 André Pönitz <poenitz@gmx.net>
5832 * undo_func.C: revert part of yesterday's patch 2
5834 2003-04-30 John Levon <levon@movementarian.org>
5836 * LColor.C: s/tabular/table/
5838 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5840 * text3.C (dispatch): do not convert iterator -> pointer
5841 * undo_funcs.C (setCursorParUndo): ditto
5842 * text_funcs.C (transposeChars): ditto
5844 * text2.C (setLayout): ws changes only
5846 * text.C (breakParagraph): do not convert iterator -> pointer
5848 (acceptChange): ditto
5849 (rejectChange): ditto
5854 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5857 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5859 * text3.C (gotoInset): YABG (yet another bad getChar)
5861 2003-04-29 André Pönitz <poenitz@gmx.net>
5863 * paragraph.h: make operator= private unimplemented as long as
5866 * ParagraphList.C: whitespace
5869 * paragraph_pimpl.[Ch]:
5870 * paragraph_funcs.C:
5872 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5875 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5877 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5879 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5880 * paragraph.[Ch] (erase):
5881 * paragraph_pimpl.[Ch] (erase): change return type and value
5882 * text2.C (cutSelection): some rework
5884 2003-04-28 John Levon <levon@movementarian.org>
5886 * bufferlist.C: changes for unsaved changes dialog
5888 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5890 * bufferlist.C (newFile): set language (messages_) for new
5893 * buffer.C (readFile): ws changes only.
5895 2003-04-28 André Pönitz <poenitz@gmx.net>
5900 * BufferView_pimpl.C:
5901 * BufferView.C: getParFromID related ParagraphList::iterator changes
5903 2003-04-28 André Pönitz <poenitz@gmx.net>
5905 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5908 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5910 * messages.C: remove one more localedir class variable.
5912 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5914 * messages.C (getLocaleDir): singleton generation function
5916 (Messages): add a default constructor.
5918 * main.C (main): do not setup localedir here, do not call
5921 * gettext.C (_): use it.
5922 (gettext_init): delete funciton
5924 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5926 * gettext.C (getLyXMessages): new singleton generating function.
5928 * buffer.C (updateDocLang): adjust
5930 * Makefile.am (messages.o): add target
5931 (main.o): remove target
5933 2003-04-27 John Levon <levon@movementarian.org>
5938 * lyxvc.C: specify cancel button in Alert::prompt
5940 2003-04-26 John Levon <levon@movementarian.org>
5945 * LyXAction.C: add LFUN_INSET_SETTINGS
5947 * lyxfunc.C: don't enable tabular-feature when there's
5948 just any locking inset
5950 2003-04-26 John Levon <levon@movementarian.org>
5952 * bufferlist.C: re-add Cancel to buffer close question
5954 * lyxfunc.C: fix import UI a bit
5956 2003-04-25 John Levon <levon@movementarian.org>
5958 * gettext.C: remove the broken asserts for now
5960 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5962 * messages.C: make case where setlocale cannot comply work better.
5964 * buffer.C (updateDocLang): new function
5965 (changeLanguage): use it
5968 * text2.C (setCounter): use B_ a bit.
5970 * lyxlayout.C (Read): be sure to trim the label strings.
5972 * messages.C (Messages): fix typo in comment
5974 * buffer.C (readFile): set message_ after file is loaded.
5975 (makeDocBookFile): remove double return
5976 (changeLanguage): reset message_ upon language change.
5977 (B_): new func, use this to get translated buffer strings.
5979 * main.C: add myself and Jean Marc as authors.
5981 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5983 * messages.[hC]: pimplify Messages, and three different pimpls to be
5984 used in different circumstances.
5986 * gettext.[Ch]: change for use with new message code.
5988 2003-04-24 André Pönitz <poenitz@gmx.net>
5990 * factory.C: support for eqref
5992 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5994 * messages.[Ch]: add missing char
5996 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5998 * messages.[Ch]: New files
6000 2003-04-18 John Levon <levon@movementarian.org>
6004 * BufferView_pimpl.C:
6008 * text2.C: remove layout-copy/paste (bug 778)
6010 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6012 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
6014 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
6016 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
6017 if they succeed. Act accordingly.
6019 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6021 * text2.C (setCharFont): adjust
6022 (setCounter): adjust
6023 (insertStringAsLines): adjust
6025 * text.C (leftMargin): adjust
6026 (setHeightOfRow): adjust
6028 * rowpainter.C (paintFirst): adjust
6031 * paragraph_funcs.C (depthHook): ParagraphList::iterators
6033 (isFirstInSequence): ditto
6034 (getEndLabel): ditto
6037 * paragraph.C (getParLanguage): comment out some hard stuff.
6039 * buffer.C (insertStringAsLines): take a ParagraphList as arg
6041 (simpleDocBookOnePar): ditto
6042 (makeDocBookFile): use ParagraphList::iterator
6044 * CutAndPaste.C (pasteSelection): adjust
6046 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6048 * text2.C (getFont): adjust
6049 (getLayoutFont): adjust
6050 (getLabelFont): adjust
6052 * paragraph_funcs.C (TeXOnePar): adjust
6054 * buffer.C (simpleLinuxDocOnePar): adjust
6055 (simpleDocBookOnePar): adjust
6057 * CutAndPaste.C (pasteSelection): adjust
6059 * BufferView.C (getEncoding): adjust
6061 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
6063 2003-04-16 John Levon <levon@movementarian.org>
6065 * lyxfind.C: use parlist stuff for search/changes
6067 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
6069 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
6071 * text2.C (deleteEmptyParagraphMechanism): adjust
6073 * text2.[Ch] (ownerParagraph): delete func (both of them
6075 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6077 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
6079 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6081 * ParagraphList.C: prepare for NO_NEXT
6083 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6085 * text2.C (getFont): adjust
6086 (getLayoutFont): adjust
6087 (getLabelFont): adjust
6089 * paragraph.C (getFont): adjust
6090 (getLabelFont): adjust
6091 (getLayoutFont): adjust
6093 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
6095 2003-04-15 John Levon <levon@movementarian.org>
6099 * lyx_main.C: handle Include in .ui files
6101 2003-04-15 John Levon <levon@movementarian.org>
6103 * MenuBackend.C: make the doc files length shorter
6106 * ToolbarBackend.C: handle toolbar placement flags,
6109 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6111 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
6114 * paragraph_funcs.C (TeXOnePar): adjust
6116 * paragraph.C (getLabelFont): add outerfont arg, adjust
6117 (getLayoutFont): ditto
6118 (simpleTeXOnePar): adjust
6120 * paragraph_pimpl.C (realizeFont): delete func
6122 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
6124 * text2.C (beforeFullRowInset): added a bad getchar check, removed
6125 row argument, constify cur argument.
6127 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
6129 * text2.C (getFont): adjust
6130 (getLayoutFont): adjust
6131 (getLabelFont): adjust
6133 * paragraph_funcs.C (TeXOnePar): adjust
6134 (outerFont): new func...
6135 (realizeFont): ...moved out from here, changed this to facilitate
6138 * paragraph.C (getFont): take outerfont as arg, adjust
6139 (simpleTeXOnePar): add outerfont arg, adjust
6141 * buffer.C (simpleLinuxDocOnePar): adjust
6142 (simpleDocBookOnePar): adjust
6144 * CutAndPaste.C (pasteSelection): adjust
6146 * BufferView.C (getEncoding): adjust
6148 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6150 * text2.C (setCharFont): adjust
6151 (setCounter): adjust
6153 * text.C (leftMargin): adjust
6154 (setHeightOfRow): adjust
6156 * rowpainter.C (paintFirst): adjust
6159 * paragraph_pimpl.C (realizeFont): adjust
6161 * paragraph.C (isFirstInSequence): move from here...
6162 * paragraph_funcs.C (isFirstInSequence): ...to here
6164 * paragraph.C (outerHook): move from here...
6165 * paragraph_funcs.C (outerHook): ...to here
6167 * paragraph.C (depthHook): move from here...
6168 * paragraph_funcs.C (depthHook): ...to here
6170 * paragraph.C (getEndLabel): move from here...
6171 * paragraph_funcs.C (getEndLabel): ...to here
6173 * text2.C (realizeFont): move from here...
6174 * paragraph_funcs.C (realizeFont): ...to here
6176 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6178 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6180 2003-04-14 Angus Leeming <leeming@lyx.org>
6182 * LColor.[Ch]: scrap LColor mathcursor.
6184 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6186 * lyxlex.[Ch] (text): delete function
6187 * trans.C (Load): adjust
6188 * paragraph_funcs.C (readParToken): adjust
6190 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6192 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6193 vector<char> instead of a char[].
6195 * lyxlex_pimpl.C (getString): adjust
6197 (lex): use getString
6201 * lyxlex.C (text): use pimpl_->getString()
6205 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6207 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6208 (makeFontEntriesLayoutSpecific): temp var for par.size()
6209 (setLayout): temp var for ownerParagraphs().end()
6210 (fullRebreak): temp var for rows().end()
6211 (selectionAsString): temp var for boost::next(startpit), realize
6212 that the while really is a regular for loop.
6213 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6214 setCursor in one place.
6215 (setParagraph): temp vr for ownerParagraphs().end()
6216 (updateCounters): make the while loop a for loop
6217 (cutSelection): temp var for ownerParagraphs().end()
6218 (updateInset): make the do {} while() a regular for loop
6219 (getCursorX): use temp vars
6220 (setCurrentFont): use temp vars
6221 (getColumnNearX): use temp vars
6223 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6225 * text.C (transformChar): use temp var for getChar
6226 (computeBidiTables): use temp var for row->par()
6227 (fill): move temp vars for row->par() and pit->layout() earlier in
6229 (labelFill): use temp var for row->par()
6230 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6231 asc and desc, realize that pit never changes and that firstpit is
6232 just a duplicate and not needed. Exchange rit->par() with pit in a
6234 (breakAgain): use a temp var for boost::next(rit)
6235 (breakAgainOneRow): ditto
6236 (breakParagraph): use a temp var for rows().begin()
6237 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6238 (cursorRightOneWord): use temp var for cursor.par() and
6239 cursor.pos(), remove usage of tmpcursor.
6240 (cursorLeftOneWord): use temp var for cursor.par() and
6241 cursor.pos() only set cur at end of function.
6243 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6245 * text.C, text2.C: exchange all usage of Paragraph::next with
6246 boost::next(ParagraphList::iterator)
6248 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6250 * text2.C (cursorTop): simplify implementation
6251 (cursorBottom): ditto
6252 (setParagraph): use ParagraphList::iterator
6253 (setCurrentFont): adjust
6254 (getColumnNearX): adjust
6255 (cursorRight): adjust
6256 (cursorLeft): remove usage of Paragraph::previous
6257 (cursorUpParagraph): ditto
6258 (deleteEmptyParagraphMechanism): slight cleanup
6260 * text.C (isBoundary): take a Paragraph const & instead of a
6262 (addressBreakPoint): ditto
6263 (leftMargin): remove usage of Paragraph::previous.
6264 (setHeightOfRow): ditto
6265 (cursorLeftOneWord): ditto
6266 (selectNextWordToSpellcheck): ditto
6269 (breakParagraph): remove one usage of Paragraph::next
6270 (redoParagraph): ditto
6271 (acceptChange): ditto
6272 (insertChar): adjust
6273 (rowBreakPoint): adjust
6275 * bufferview_funcs.C (toggleAndShow): adjust
6277 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6279 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6280 methods to access it.
6282 * text.C: Added updateRowPositions to compute all row positions.
6283 Make top_y and getRowNearY() to use the cached y position
6285 2003-04-11 John Levon <levon@movementarian.org>
6287 * text.C (rowBreakPoint): reintroduce the labelEnd
6288 checks, code copied from the row fill stuff. Deep voodoo.
6290 * text.C (fill): add a comment and debugging for the
6293 2003-04-11 John Levon <levon@movementarian.org>
6295 * text.C: make sure fullrow insets get wrapped to the next line,
6296 even when they're in a manual label
6298 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6300 * text2.C (insertParagraph): make it take ParagraphList::iterator
6302 (setLayout): make it return ParagraphList::iterator
6303 (redoParagraphs): ditto
6305 (checkParagraph): ditto
6307 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6309 * text2.C: adjust several funcs.
6310 (realizeFont): take a ParagraphList::iterator as arg.
6311 (getLayoutFont): ditto
6312 (getLabelFont): ditto
6313 (setCharFont): ditto
6315 * text.C: adjust several funcs.
6317 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6319 * text.C (selectNextWordToSpellcheck): don't accidentally
6322 2003-04-10 John Levon <levon@movementarian.org>
6324 * ToolbarBackend.C (getIcon): special handling for
6327 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6329 * text2.C (cursorRight): a getChar assert fixed
6331 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6333 * text2.C (getFont): change to take a ParagraphList::iterator
6334 instead of Paragraph*
6335 Adjust several functions.
6337 * text.C (transformChar): change to take a ParagraphList::iterator
6338 instead of Paragraph*
6339 (singleWidth): ditto
6340 Adjust several functions.
6342 * rowpainter.C: adjust several functions
6343 * rowpainter.h:store a ParagraphList::iterator and not a
6347 2003-04-09 John Levon <levon@movementarian.org>
6352 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6353 and the "help" bits as well
6355 2003-04-09 John Levon <levon@movementarian.org>
6358 * ToolbarBackend.C: allow multiple toolbars
6360 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6362 * undo_funcs.C (setCursorParUndo): adjust
6364 * text_funcs.C (transposeChars): adjust
6366 * text3.C (gotoNextInset): adjust
6369 * text2.C (setLayout): adjust
6370 (changeDepth): adjust
6372 (redoParagraphs): adjust
6373 (selectionAsString): adjust
6374 (setParagraph): adjust
6375 (insertInset): adjust
6376 (cutSelection): adjust
6377 (copySelection): adjust
6378 (pasteSelection): adjust
6379 (insertStringAsLines): adjust
6380 (updateInset): adjust
6381 (setCursor): change to take a ParagraphList::iterator parameter
6382 (setCursorIntern): change to take a ParagraphList::iterator parameter
6383 (setCurrentFont): adjust
6384 (cursorLeft): adjust
6385 (cursorRight): adjust
6386 (deleteEmptyParagraphMechanism): adjust
6388 * text.C (breakParagraph): adjust
6389 (insertChar): adjust
6390 (acceptChange): adjust
6391 (rejectChange): adjust
6392 (selectNextWordToSpellcheck): adjust
6393 (changeCase): adjust
6397 * lyxfind.C (SearchForward): adjust
6398 (SearchBackward): adjust
6399 (nextChange): adjust
6401 * lyxcursor.C (par): adjust
6403 * lyxcursor.h: store a ParagraphList::iterator instead of a
6406 * lyx_cb.C (getPossibleLabel): adjust
6408 * bufferview_funcs.C (toggleAndShow): adjust
6410 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6413 * BufferView.C (removeAutoInsets): adjust
6414 (lockedInsetStoreUndo): adjust
6416 2003-04-09 John Levon <levon@movementarian.org>
6418 * ToolbarBackend.C: try icon without argument
6419 if with argument fails
6421 2003-04-08 John Levon <levon@movementarian.org>
6424 * ToolbarBackend.C: add getIcon(), handle tooltip,
6425 and change from "Icon" to "Item".
6427 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6429 * BufferView.C (lockInset): another bad getchar crunched
6431 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6433 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6436 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6438 * lyxfind.C (searchForward, searchBackwards): bug 782
6440 2003-04-07 John Levon <levon@movementarian.org>
6442 * paragraph.C: remove dead comment
6444 * text.C: remove troublesome depth-fiddling code
6445 in leftMargin() and rightMargin() (bug 1017)
6447 * text.C: fix breaking of rows in nested lists
6450 * text2.C (updateCounters): fix up depth values
6453 2003-04-07 John Levon <levon@movementarian.org>
6455 * BufferView_pimpl.C: clear message when doc finishes resizing,
6456 and after a mouse event
6458 * lyxfunc.C: clear message after exiting inset
6460 2003-04-07 John Levon <levon@movementarian.org>
6462 * bufferview_funcs.C: show math status not outside
6463 status in the statusbar
6465 2003-04-07 John Levon <levon@movementarian.org>
6467 * lyxfunc.C: note status changed after a depth change
6469 2003-04-04 Angus Leeming <leeming@lyx.org>
6471 * LaTeX.h: move AuxInfo operator==, != out of line.
6472 Remove LaTeX virtual destructor; nothing derives from it.
6473 Move operator()() out of public area and rename it startscript().
6474 Change protected for private.
6476 2003-04-04 Angus Leeming <leeming@lyx.org>
6479 * text2.C: remove unneeded #includes.
6481 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6483 * text2.C (dEPM): fix the heigth of the next row
6485 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6487 * text.C: squashed an invalid getChar requester + some ws changes
6489 2003-04-03 John Levon <levon@movementarian.org>
6491 * bufferview_funcs.h:
6492 * bufferview_funcs.C:
6495 * text2.C: make getStatus work for the env depth lfuns
6497 2003-04-03 John Levon <levon@movementarian.org>
6499 * bufferview_funcs.h:
6500 * bufferview_funcs.C:
6503 * text2.C: parlistize decDepth(), by merging it with incDepth()
6505 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6507 * lyxrow.h: store a ParagraphList::iterator instead of a
6508 Paragraph* and adjust other class functions to suit.
6510 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6513 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6515 * text2.C (setCursor): do not anchor to cursor row for the time being
6517 2003-04-02 John Levon <levon@movementarian.org>
6524 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6526 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6528 * paragraph.h: make ParagraphList and ParagraphList::iterator
6529 friends of Paragraph.
6531 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6533 * ParagraphList.C: Use the private next_ and previous_ from
6536 2003-04-01 John Levon <levon@movementarian.org>
6540 * Makefile.am: rename, remove defaults gunk
6543 * MenuBackend.C: remove defaults gunk
6546 * Languages.C: remove defaults gunk
6549 * lyx_main.C: error out if files couldn't be found.
6551 2003-04-02 John Levon <levon@movementarian.org>
6553 * text2.C: make incDepth() use parlist
6555 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6557 * undo_funcs.C (firstUndoParagraph): adjust
6559 * text3.C (gotoInset): adjust
6560 (dispatch): adjust, and rewrite loop.
6562 * text2.C (init): adjust, and rewrite loop.
6563 (redoParagraphs): adjust
6564 (updateInset): adjust, and rewrite loop.
6565 (deleteEmptyParagraphMechanism): adjust
6567 * tabular.C (LyXTabular): adjust
6568 (SetMultiColumn): adjust
6571 * lyxtext.[Ch] (ownerParagraph): delete function
6572 (ownerParagraphs): new function returns a ParagraphList.
6574 * BufferView.C (removeAutoInsets): adjust
6575 (insertErrors): adjust
6576 (setCursorFromRow): adjust
6578 2003-04-01 Angus Leeming <leeming@lyx.org>
6580 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6583 2003-04-02 John Levon <levon@movementarian.org>
6589 * text_funcs.C: make transposeChars a free function
6591 * lyxrow_funcs.C: remove wrong comment
6593 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6596 * rowpainter.C: adjust
6601 * lyxrow_funcs. [Ch]: new files
6603 * lyxrow.[Ch]: remove next and previous pointers
6604 (next,previous): remove accessor functions
6605 (isParEnd): move to lyxrow_funcs
6606 (lastPos): move to lyxrow_funcs
6607 (nextRowIsAllInset): move to lyxrow_funcs
6608 (lastPrintablePos): move to lyxrow_funcs
6609 (numberOfSeparators): move to lyxrow_funcs
6610 (numberOfHfills): move to lyxrow_funcs
6611 (numberOfLabelHfills): move to lyxrow_funcs
6612 (hfillExpansion): move to lyxrow_funcs
6616 * bufferview_funcs.C (toggleAndShow): adjust
6618 * RowList.h: Remove class RowList from file leave just a
6621 * RowList.C: delete file
6623 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6626 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6628 * text3.C (cursorPrevious): adjust
6629 (cursorNext): adjust
6632 * text2.C (redoHeightOfParagraph): adjust
6633 (redoDrawingOfParagraph): adjust
6636 * text.C (breakParagraph): adjust
6637 (insertChar): adjust
6640 * rowpainter.C (RowPainter): adjust
6641 (leftMargin): simplify and adjust
6642 (most rowpainter functions): adjust.
6644 * rowpainter.h: store the row as RowList::iterator not as Row*
6646 * lyxcursor.C (row): taka RowList::iterator as arg
6649 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6652 2003-04-01 Angus Leeming <leeming@lyx.org>
6654 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6655 stuff like bool Bool.
6657 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6659 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6662 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6664 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6667 * lyxtext.h (rows): drop one version and leve a const variant that
6668 returns a RowList::iterator.
6670 2003-03-31 Angus Leeming <leeming@lyx.org>
6672 * text.C (fill): ensure that the signature is the same as that in the
6675 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6677 * text2.C (redoParagraphs): adjust
6678 (updateCounters): adjust
6679 (checkParagraph): adjust
6680 (getColumnNearX): adjust and reformat a bit.
6682 * text.C (top_y): adjust
6684 (leftMargin): adjust
6685 (prepareToPrint): adjust
6687 (getRowNearY): adjust
6689 * lyxtext.h: make rowlist_ mutable.
6691 * RowList.h: add const_iterator
6692 * RowList.C: adjust for RowList::const_iterator.
6694 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6697 2003-03-31 John Levon <levon@movementarian.org>
6700 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6702 * lyx_main.C: set default fonts from using lyx_gui funcs
6704 * exporter.C: pdf_mode moved from lyxrc
6707 * lyxfunc.C: changes from above
6709 2003-03-31 John Levon <levon@movementarian.org>
6711 * lyx_main.C: fix to the last fix
6713 2003-03-31 John Levon <levon@movementarian.org>
6715 * bufferlist.C: "Load original" -> "Load Original"
6721 * format.C: more Alert cleanups
6723 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6725 * text2.C (removeParagraph): make it take a RowList::iterator as
6727 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6728 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6730 * text.C (anchor_row): make it take a RowList::iterator as arg,
6732 (computeBidiTables): make it take a const reference to Row instead
6733 of Row pointer, adjust.
6734 (leftMargin): make it take a RowList::iterator as arg, adjust.
6735 (rowBreakPoint): adjust
6736 (breakAgainOneRow): make it take a RowList::iterator as arg,
6738 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6740 * bufferview_funcs.C (toggleAndShow): adjust
6742 2003-03-30 John Levon <levon@movementarian.org>
6746 * boost-inst.C: moved to support
6748 * several files: changes as a result
6750 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6752 * text2.C (LyXText): adjust.
6754 (removeRow): make it take a RowList::iterator as arg, adjust.
6755 (fullRebreak): adjust
6756 (deleteEmptyParagraphMechanism): adjust
6757 (clearPaint): adjust
6760 * text.C (top_y): adjust
6761 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6762 (breakAgain): make it take a RowList::iterator as arg, adjust.
6763 (breakParagraph): adjust
6764 (insertChar): adjust
6767 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6768 need_break_row, and refresh_row.
6770 * text3.C (dispatch): adjust
6772 * text2.C (checkParagraph): adjust
6774 (setCursorFromCoordinates): adjust
6776 * text.C (top_y): adjust
6778 (getRow): make it return a RowList::iterator, adjust
6779 (getRowNearY): make it return a RowList::iterator, adjust
6781 * text2.C (init): adjust
6782 (insertRow): remove function
6783 (insertParagraph): adjust
6784 (redoParagraphs): adjust
6785 (fullRebreak): adjust
6786 (updateCounters): adjust
6788 * text.C (top_y): rewrite to use RowList iterators.
6790 (setHeightOfRow): rewrite to sue RowList iterators.
6791 (appendParagraph): adjust
6792 (breakAgain): adjust
6793 (breakAgainOneRow): adjust
6794 (breakParagraph): adjust
6796 (getRowNearY): adjust, and remove commented code.
6798 * lyxtext.h (firstRow): delete function
6799 (lastRow): delete function
6800 (rows): new function (const and non-const versions.)
6801 (insertRow): delete function
6803 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6805 2003-03-29 John Levon <levon@movementarian.org>
6807 * BufferView_pimpl.C: always update scrollbar top
6808 because pasting text when we're anchored could mean we
6809 miss an update altogether
6811 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6813 * text2.C (init): use rowlist_.end() and not 0.
6814 (insertRow): change to take a RowList::iterator as arg, adjust
6816 (insertParagraph): change to take a RowList::iterator as arg,
6818 (redoParagraphs): remove some debug msgs.
6820 * text.C (appendParagraph): change to take a RowList::iterator
6821 arg, adjust for this.
6822 (breakAgain): add an assert
6823 (breakAgainOneRow): ditto
6825 2003-03-29 John Levon <levon@movementarian.org>
6827 * text2.C: do not clear selection after inc/decDepth
6830 2003-03-29 John Levon <levon@movementarian.org>
6833 * buffer.C: fix broken strerrors according to Lars
6835 2003-03-29 John Levon <levon@movementarian.org>
6837 * converters.C: more Alert cleanups
6839 2003-03-29 John Levon <levon@movementarian.org>
6841 * bufferview_funcs.C: remove pointless Alert
6843 * buffer.C: fix confusing error message when
6844 a template is chmoded 000
6846 2003-03-29 John Levon <levon@movementarian.org>
6850 * BufferView_pimpl.C: Alert fixes
6854 * tabular-old.C: remove unused table compat reading
6856 2003-03-29 John Levon <levon@movementarian.org>
6861 * lyx_cb.C: more Alert cleanups
6863 * lyxfunc.C: don't allow chktex if not latex document
6865 2003-03-29 John Levon <levon@movementarian.org>
6869 * buffer.C: warnings pushed down from support/,
6872 2003-03-29 John Levon <levon@movementarian.org>
6874 * lyxfunc.C: safety check for C-r (revert)
6876 2003-03-29 John Levon <levon@movementarian.org>
6879 * bufferlist.C: several UI fixes using Alert::prompt.
6880 Fix the pointless looping quit code. Fix stupid revert
6885 * lyx_cb.C: use Alert::prompt
6887 * lyx_main.C: remove a silly question
6889 * lyxfunc.C: remove a couple of silly questions,
6892 2003-03-28 John Levon <levon@movementarian.org>
6894 * text2.C: fix bug 974 (End on empty par)
6896 2003-03-28 John Levon <levon@movementarian.org>
6898 * BufferView_pimpl.C:
6900 * lfuns.h: remove do-nothing math greek lfuns
6902 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6904 * lyxgluelength.h (isValidGlueLength): add default arg on
6905 parameter 2. Remove default arg from friend in class.
6907 * lyxlength.h (isValidLength): add default arg on parameter 2.
6908 Remove default arg from friend in class.
6910 * text2.C (LyXText): adjust, initialize refresh_row.
6914 (insertParagraph): adjst
6915 (redoParagraphs): adjust
6916 (fullRebreak): adjust
6917 (updateCounters): adjust
6918 (deleteEmptyParagraphMechanism): first attempt at fixing a
6921 * text.C (top_y): adjust
6922 (setHeightOfRow): adjust
6924 (getRowNearY): adjust
6926 * lyxtext.h: include RowList.h
6927 (~LyXText): not needed anymore, deleted.
6928 (firstRow): modify for RowList
6929 (lastRow): new function
6930 Delete firstrow and lastrow class variables, add a Rowlist
6931 rowlist_ class variable.
6933 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6936 * RowList.C (insert): fix case where it == begin().
6938 2003-03-26 Angus Leeming <leeming@lyx.org>
6940 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6941 the thesaurus dialog.
6943 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6945 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6947 * RowList.[Ch]: new files
6949 * ParagraphList.C (erase): handle the case where it == begin
6952 2003-03-25 John Levon <levon@movementarian.org>
6956 * aspell.C: add new aspell support
6959 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6962 2003-03-25 Angus Leeming <leeming@lyx.org>
6965 * LyXAction.C (init): new LFUN_INSET_INSERT.
6967 * BufferView_pimpl.C (dispatch): split out part of the
6968 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6970 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6973 2003-03-25 Angus Leeming <leeming@lyx.org>
6975 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6977 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6980 * text3.C: remove useless row->height(0)
6982 2003-03-25 John Levon <levon@movementarian.org>
6986 * text3.C: rename the refreshing stuff to better names
6988 2003-03-24 John Levon <levon@movementarian.org>
6990 * BufferView_pimpl.h:
6991 * BufferView_pimpl.C: update layout choice on a mouse
6994 2003-03-23 John Levon <levon@movementarian.org>
6996 * Makefile.am: fix commandtags.h reference
6998 2003-03-22 John Levon <levon@movementarian.org>
7000 * BufferView_pimpl.C:
7005 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
7007 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
7010 * text.C: take the rtl methods out of line
7012 2003-03-21 André Pönitz <poenitz@gmx.net>
7014 * metricsinfo.[Ch]: new files containing structures to be passed around
7015 during the two-phase-drawing...
7017 2003-03-21 André Pönitz <poenitz@gmx.net>
7019 * lyxtextclass.C: read 'environment' tag.
7021 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
7023 * text2.C (removeRow): fix bug 964
7025 2003-03-20 John Levon <levon@movementarian.org>
7029 * text2.C: paint cleanups. Inset::update() dropped font
7032 2003-03-19 John Levon <levon@movementarian.org>
7034 * lyxfunc.C: only fitcursor/markDirty if available()
7036 2003-03-19 John Levon <levon@movementarian.org>
7038 * commandtags.h: rename to ...
7040 * lfuns.h: ... this, and renumber / cleanup
7042 2003-03-19 John Levon <levon@movementarian.org>
7044 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
7045 fit the cursor after an lfun
7049 * BufferView_pimpl.h:
7050 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
7052 * LyXAction.C: layout-character should have ReadOnly
7054 * ParagraphParameters.C:
7056 * bufferview_funcs.C:
7063 * undo_funcs.C: changes from above
7065 2003-03-18 John Levon <levon@movementarian.org>
7067 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
7068 remove it from update()
7070 * lyxfunc.C: update layout choice after an lfun
7072 * text3.C: remove extra updateLayoutChoice()s
7074 2003-03-18 John Levon <levon@movementarian.org>
7076 * text.C: top_y change means full repaint, fix
7077 a drawing bug with cursor movement
7079 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7083 * text2.C: anchor row on setCursor
7085 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
7087 * lyxtext.h: remove almost all mutable keywords
7090 * text3.C: remove const keywords accordingly
7092 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7094 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
7096 (TeXEnvironment): ditto
7099 2003-03-17 John Levon <levon@movementarian.org>
7101 * text.C (rowBreakPoint): remove attempt to fix displayed
7102 math insets inside a manual label
7104 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
7106 * lyxtext.h: remove BufferView* as first arg from almost all class
7108 * other files: adjust.
7110 2003-03-17 John Levon <levon@movementarian.org>
7114 * text2.C: more paint cleanups
7116 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
7119 * rowpainter.C: remove "smart" background painting code
7121 2003-03-16 John Levon <levon@movementarian.org>
7126 * text3.C: add helper functions for setting refresh_row/y
7128 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
7130 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
7131 newline inset which *can* get inserted in the pass_thru layouts.
7132 This is primarily for literate documents.
7134 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
7136 * buffer.C: increment LYX_FORMAT to 223
7138 2003-03-14 André Pönitz <poenitz@gmx.net>
7140 * textclass.h: prepare for environment handling, ws changes
7141 * lyxlayout.C: read latexheader and latexfooter tags
7143 2003-03-14 John Levon <levon@movementarian.org>
7145 * text2.C: rewrite ::status() a bit
7147 2003-03-13 John Levon <levon@movementarian.org>
7149 * lyxtext.h: add some docs
7151 2003-03-13 John Levon <levon@movementarian.org>
7156 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
7158 2003-03-13 John Levon <levon@movementarian.org>
7160 * text3.C: fix appendix redrawing
7162 2003-03-13 John Levon <levon@movementarian.org>
7164 * text.C (setHeightOfRow):
7166 * rowpainter.C: make appendix mark have the text
7167 "Appendix" so the user knows what it is
7170 * LColor.C: s/appendixline/appendix/ from above
7172 2003-03-13 John Levon <levon@movementarian.org>
7174 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7176 * text.C: fix a getChar(pos) bug properly
7178 2003-03-13 Angus Leeming <leeming@lyx.org>
7181 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7182 Probably only temporary. Let's see how things pan out.
7184 * BufferView.C (unlockInset):
7185 * BufferView_pimpl.C (fitCursor):
7186 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7188 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7189 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7191 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7192 new functions that convert ParagraphParameters to and from a string.
7194 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7195 BufferView::Pimpl's dispatch.
7196 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7198 2003-03-13 André Pönitz <poenitz@gmx.net>
7202 * factory.C: make it aware of InsetEnv
7204 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7206 * text2.C (setCursor): never ask for one past last
7207 (setCursor): add some debugging messages.
7209 * text.C (singleWidth): never ask for one past last
7210 (singleWidth): ditto
7212 (rightMargin): ditto
7213 (rowBreakPoint): ditto
7214 (setHeightOfRow): ditto
7215 (prepareToPrint): ditto
7217 * rowpainter.C (paintBackground): never ask for one past last
7218 (paintText): never ask for one past last
7220 * paragraph_pimpl.C (getChar): make the assert stricter, never
7221 allow the one past last pos to be taken
7223 * paragraph.C (getChar): ws changes only
7225 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7226 (numberOfSeparators): ditto
7227 (numberOfHfills): ditto
7229 2003-03-12 John Levon <levon@movementarian.org>
7235 * paragraph_funcs.C: fix per-buffer authorlists
7237 2003-03-12 John Levon <levon@movementarian.org>
7239 * text.C: fix newline in right address
7241 2003-03-12 Angus Leeming <leeming@lyx.org>
7243 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7244 duplicate those in LyXFunc::dispatch.
7248 * ToolbarDefaults.C:
7249 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7250 Add LFUN_FONTFREE_UPDATE.
7252 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7253 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7255 * bufferview_func.[Ch]: several new functions to facilliate
7256 transfer of data to and from the character dialog.
7258 2003-03-12 John Levon <levon@movementarian.org>
7263 * paragraph_funcs.C:
7264 * paragraph_pimpl.C:
7268 * text3.C: remove META_NEWLINE in favour of an inset
7271 * rowpainter.C: remove paintNewline (done by inset)
7273 2003-03-12 John Levon <levon@movementarian.org>
7275 * paragraph_pimpl.C: complain about bad getChar()s
7276 for a while at least
7278 2003-03-12 John Levon <levon@movementarian.org>
7281 * buffer.C: move paragraph read into a separate function,
7282 a little renaming to reflect that.
7285 * bufferparams.C: remove the author_ids map, not necessary now
7288 * factory.C: moved Buffer::readInset to here
7290 * paragraph_funcs.h:
7291 * paragraph_funcs.C: readParagraph free function moved from
7294 * tabular.C: name change
7296 2003-03-12 John Levon <levon@movementarian.org>
7299 * ParagraphParameters.C: move par params input to
7302 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7303 behave like a normal read from the stream wrt reading
7304 a line vs. a \\token
7306 2003-03-12 John Levon <levon@movementarian.org>
7309 * ParagraphParameters.h:
7310 * ParagraphParameters.C: move output code to a
7313 2003-03-12 John Levon <levon@movementarian.org>
7315 * BufferView.C (insertLyXFile):
7318 * tabular.C: use a parlist iterator for creating the
7321 2003-03-12 John Levon <levon@movementarian.org>
7323 * buffer.C: make current_change static local not
7326 2003-03-12 John Levon <levon@movementarian.org>
7328 * buffer.C: fix insertStringAsLines for change tracking
7330 2003-03-12 John Levon <levon@movementarian.org>
7337 * bufferparams.C: move author list into params. Rename some
7338 functions. Move the header reading into a separate token
7339 loop. Move the header token reading into BufferParams.
7341 2003-03-12 John Levon <levon@movementarian.org>
7343 * changes.C: put debug inside lyxerr.debugging() checks
7345 2003-03-11 André Pönitz <poenitz@gmx.net>
7347 * factory.C: make it aware of InsetHFill
7349 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7351 * buffer.C (latexParagraphs): move function from here...
7352 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7355 2003-03-10 Angus Leeming <leeming@lyx.org>
7357 * LyXAction.C (init): fix bug in poplating array with multiple entries
7358 with the same LFUN (spotted by JMarc).
7360 2003-03-10 John Levon <levon@movementarian.org>
7363 * text2.C: move getColumnNearX() near its
7366 2003-03-10 John Levon <levon@movementarian.org>
7368 * text.C: fix break before a minipage
7370 2003-03-10 John Levon <levon@movementarian.org>
7372 * text.C: fix the last commit
7374 2003-03-09 John Levon <levon@movementarian.org>
7378 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7379 bug 365 (don't break before insets unless needed). Don't
7380 return a value > last under any circumstances.
7382 2003-03-09 Angus Leeming <leeming@lyx.org>
7384 * BufferView_pimpl.C (trackChanges, dispatch): call
7385 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7387 2003-03-09 Angus Leeming <leeming@lyx.org>
7389 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7390 than Dialogs::showAboutlyx().
7392 2003-03-09 Angus Leeming <leeming@lyx.org>
7394 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7395 than Dialogs::showTabularCreate().
7397 2003-03-09 John Levon <levon@movementarian.org>
7401 * text2.C: 3rd arg to nextBreakPoint was always the same.
7404 2003-03-08 John Levon <levon@movementarian.org>
7411 * text2.C: Remove the "main" bit from the "main body"
7414 2003-03-08 John Levon <levon@movementarian.org>
7416 * text.C (leftMargin): The left margin of an empty
7417 manual label paragraph should not include the label width
7420 * text.C (prepareToPrint): don't attempt to measure hfills
7421 for empty manual label paragraphs - the answer should be 0
7423 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7425 * CutAndPaste.C: remove commented code and reindent.
7427 2003-03-08 John Levon <levon@movementarian.org>
7430 * lyxfunc.C: move reloadBuffer()
7433 * BufferView.C: to here
7435 * lyxvc.C: add comment
7438 * vc-backend.C: call bv->reload() to avoid
7439 getStatus() check on MENURELOAD
7441 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7443 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7444 to an old format .dep file.
7446 2003-03-07 Angus Leeming <leeming@lyx.org>
7448 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7449 when the LFUN_MOUSE_RELEASE should have been handled by
7450 inset->localDispatch.
7452 2003-03-07 Angus Leeming <leeming@lyx.org>
7454 * BufferView_pimpl.C (dispatch):
7455 * LyXAction.C (init):
7456 * ToolbarDefaults.C (init):
7458 * lyxfunc.C (getStatus):
7459 remove LFUN_INSET_GRAPHICS.
7461 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7463 2003-03-07 Angus Leeming <leeming@lyx.org>
7466 * LyXAction.C (init):
7467 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7469 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7472 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7474 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7475 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7477 2003-03-07 Angus Leeming <leeming@lyx.org>
7479 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7482 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7484 * ParagraphList.C (front): new function
7487 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7489 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7490 and top_row_offset_. removed var first_y.
7492 * text2.C (LyXText, removeRow):
7494 * BufferView_pimpl.C:
7495 use these methods instead of using first_y
7497 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7499 * text2.C (pasteSelection): adjust for checkPastePossible
7501 * CutAndPaste.C: remove Paragraph * buf and replace with
7502 ParagraphList paragraphs.
7503 (DeleteBuffer): delete
7504 (cutSelection): change the tc type to textclass_type
7505 (copySelection): change the tc type to textclass_type
7506 (copySelection): adjust for ParagraphList
7507 (pasteSelection): change the tc type to textclass_type
7508 (pasteSelection): adjust for Paragraphlist
7509 (nrOfParagraphs): simplify for ParagraphList
7510 (checkPastePossible): simplify for ParagraphList
7511 (checkPastePossible): remove unused arg
7513 * ParagraphList.C (insert): handle the case where there are no
7516 * CutAndPaste.h: make CutAndPaste a namespace.
7518 * text3.C (dispatch): adjust
7520 * text.C (breakParagraph): add a ParagraphList as arg
7522 * paragraph_funcs.C (breakParagraph): change to take a
7523 BufferParams and a ParagraphList as args.
7524 (breakParagraphConservative): ditto
7525 (mergeParagraph): ditto
7526 (TeXDeeper): add a ParagraphList arg
7527 (TeXEnvironment): ditto
7530 * buffer.C (readLyXformat2): adjust
7531 (insertStringAsLines): adjust
7532 (latexParagraphs): adjust
7534 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7535 (cutSelection): adjust
7536 (pasteSelection): adjust
7538 * BufferView_pimpl.C (insertInset): adjust
7540 2003-03-05 Angus Leeming <leeming@lyx.org>
7543 * LyXAction.C (init):
7544 * BufferView_pimpl.C (dispatch):
7545 * lyxfunc.C (getStatus):
7546 remove LFUN_CHILD_INSERT.
7548 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7550 2003-03-05 Angus Leeming <leeming@lyx.org>
7553 * LyXAction.C (init):
7554 * src/factory.C (createInset):
7555 * lyxfunc.C (getStatus):
7556 * text3.C (dispatch):
7557 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7559 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7561 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7563 * ParagraphList.C (insert): handle insert right before end()
7564 (erase): fix cases where it can be first or last paragraph.
7566 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7568 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7569 Paragraph::next and Paragraph::previous
7572 * text.C (breakParagraph): adjust
7574 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7575 BufferParams& as arg.
7576 (breakParagraph): use ParagraphList::insert
7577 (breakParagraphConservative): take a Buffer* instead of a
7578 BufferParams& as arg.
7579 (breakParagraphConservative): use ParagraphList::insert.
7581 * buffer.C (insertStringAsLines): un-const it
7582 (insertStringAsLines): adjust
7584 * ParagraphList.C (insert): new function
7586 * CutAndPaste.C (pasteSelection): adjust
7588 * text.C (backspace): adjust
7590 * tabular.C (SetMultiColumn): adjust
7592 * CutAndPaste.C (cutSelection): adjust
7593 (pasteSelection): adjust
7595 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7596 Buffer const * as arg
7598 * ParagraphList.C (erase): new function
7599 * paragraph_funcs.C (mergeParagraph): use it
7600 (mergeParagraph): make it take a Buffer* instead of a
7601 BufferParams* as arg
7603 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7605 (breakParagraphConservative): ditto
7607 * paragraph.h: remove the breakParagraph friend
7609 * paragraph.C (eraseIntern): new function
7610 (setChange): new function
7612 * paragraph_funcs.C (mergeParagraph): make it take a
7613 ParagraphList::iterator instead of a Paragraph *, adjust
7616 * paragraph.h: move an #endif so that the change tracking stuff
7617 also works in the NO_NEXT case.
7619 2003-03-04 Angus Leeming <leeming@lyx.org>
7622 * LyXAction.C: new LFUN_INSET_MODIFY.
7624 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7625 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7627 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7629 * several files: ws changes only
7631 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7632 (TeXEnvironment): ditto
7635 * buffer.C (makeLaTeXFile): adjust
7636 (latexParagraphs): make it take ParagraphList::iterator as args
7638 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7640 * buffer.C (latexParagraphs): adjust
7642 * paragraph.C (TeXOnePar): move function...
7643 (optArgInset): move function...
7644 (TeXEnvironment): move function...
7645 * paragraph_pimpl.C (TeXDeeper): move function...
7646 * paragraph_funcs.C: ...here
7648 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7650 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7652 * buffer.C (readInset): remove compability code for old Figure and
7655 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7657 * buffer.C: ws changes
7660 * BufferView_pimpl.C: ditto
7663 * bufferlist.h: ditto
7667 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7669 * converter.[Ch]: split into itself +
7672 * Makefile.am: += graph.[Ch] + format.[Ch]
7679 * lyxrc.C: added #include "format.h"
7681 2003-02-27 Angus Leeming <leeming@lyx.org>
7683 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7686 * factory.C (createInset): add "label" to the factory.
7688 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7689 string and do no more.
7691 2003-02-27 Angus Leeming <leeming@lyx.org>
7694 * LyXAction.C (init):
7695 * factory.C (createInset):
7696 * BufferView_pimpl.C (dispatch):
7697 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7699 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7701 * lyxfunc.C (dispatch):
7702 * text3.C (dispatch): pass name to params2string.
7704 2003-02-26 Angus Leeming <leeming@lyx.org>
7706 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7708 Rearrange the ~includes. Strip out the unnecessary ones.
7710 * factory.C (createInset): reformat.
7711 create new insets for the various LFUN_XYZ_APPLY lfuns.
7713 2003-02-26 John Levon <levon@movementarian.org>
7716 * lyxrow.C: add isParStart,isParEnd helpers
7718 * paragraph.h: make isInserted/DeletedText take refs
7720 * paragraph_funcs.h:
7721 * paragraph_funcs.C: remove #if 0'd code
7726 * text.C: use lyxrow helpers above.
7727 Move draw and paint routines to RowPainter.
7728 Make several methods use refs not pointers.
7729 Make backgroundColor() const.
7730 Add markChangeInDraw(), isInInset().
7731 Merge changeRegionCase into changeCase.
7732 Make workWidth() shouldn't-happen code into an Assert.
7735 * rowpainter.C: new class for painting a row.
7738 * vspace.C: make inPixels take a ref
7740 2003-02-26 Angus Leeming <leeming@lyx.org>
7742 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7745 2003-02-25 John Levon <levon@movementarian.org>
7747 * ispell.C: give the forked command a more accurate name
7749 2003-02-22 John Levon <levon@movementarian.org>
7752 * toc.C: make TocItem store an id not a Paragraph *
7755 2003-02-21 Angus Leeming <leeming@lyx.org>
7757 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7758 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7759 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7760 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7761 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7762 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7764 * BufferView_pimpl.C (dispatch):
7765 * LyXAction.C (init):
7766 * factory.C (createInset):
7767 * lyxfunc.C (getStatus, dispatch):
7768 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7770 2003-02-21 Angus Leeming <leeming@lyx.org>
7772 * BufferView_pimpl.C (MenuInsertLyXFile):
7773 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7774 * lyxfunc.C (menuNew, open, doImport):
7775 no longer pass a LyXView & to fileDlg.
7777 2003-02-21 Angus Leeming <leeming@lyx.org>
7779 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7780 * LyXAction.C: change, BIBKEY to BIBITEM.
7781 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7782 Change InsetBibKey to InsetBibitem.
7783 Change BIBKEY_CODE to BIBITEM_CODE.
7784 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7785 * factory.C: replace insetbib.h with insetbibitem.h.
7786 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7787 * paragraph.C: replace insetbib.h with insetbibitem.h.
7788 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7789 Change bibkey() to bibitem().
7790 * text.C: remove insetbib.h.
7791 * text2.C: replace insetbib.h with insetbibitem.h.
7792 change bibkey() to bibitem().
7793 * text3.C: remove insetbib.h.
7794 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7796 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7798 * lyxrc.C (output): enclose user email in quotes (in case there are
7801 2003-02-18 John Levon <levon@movementarian.org>
7803 * buffer.h: add std::
7805 2003-02-17 John Levon <levon@movementarian.org>
7811 * pspell.C: reworking. Especially in ispell, a large
7812 number of clean ups and bug fixes.
7814 * lyxfunc.C: fix revert to behave sensibly
7816 2003-02-17 André Pönitz <poenitz@gmx.net>
7819 * commandtags.h: new LFUN_INSERT_BIBKEY
7829 * paragraph_func.C: remove special bibkey handling
7831 2003-02-17 John Levon <levon@movementarian.org>
7833 * text.C (Delete): fix case where delete at the end of
7834 the very first paragraph would not merge the pars
7836 2003-02-17 John Levon <levon@movementarian.org>
7838 * lyxrow.C: fix lastPrintablePos()
7840 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7842 * bufferparams.C (writeLaTeX): add a std:here
7844 * buffer.C: and remove a using directive there
7846 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7848 * buffer.C (makeLaTeXFile): move the code that generates the
7851 * bufferparams.C (writeLaTeX): ... in this new method
7853 * LaTeXFeatures.C (getEncodingSet): make const
7854 (getLanguages): make const
7856 * MenuBackend.C (binding): returns the binding associated to this
7858 (add): sets the status of each item by calling getStatus. Adds
7860 (read): add support for OptSubMenu
7861 (expand): remove extra separator at the end of expanded menu
7863 2003-02-15 John Levon <levon@movementarian.org>
7866 * BufferView_pimpl.C:
7868 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7869 inset code that had no actual effect. Remove unneeded status
7872 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7874 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7877 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7879 * text.C (drawLengthMarker): also draw an arrow marker for
7880 symbolic lengths (medskip...)
7882 2003-02-14 John Levon <levon@movementarian.org>
7885 * tabular.C: better method names
7887 2003-02-14 John Levon <levon@movementarian.org>
7889 * BufferView_pimpl.C:
7894 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7895 it's a more accurate name. Remove some pointless uses.
7897 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7899 * text2.C (LyXText): change order of initilizers to shut off
7902 2003-02-14 John Levon <levon@movementarian.org>
7904 * buffer.C: use ParIterator for getParFromID()
7908 * paragraph_pimpl.h:
7909 * paragraph_pimpl.C: remove unused getParFromID()
7911 2003-02-14 John Levon <levon@movementarian.org>
7913 * buffer.C: remove some very old #if 0'd parse code
7915 2003-02-13 John Levon <levon@movementarian.org>
7919 * text2.C: move hfillExpansion(), numberOfSeparators(),
7920 rowLast(), rowLastPrintable(), numberofHfills(),
7921 numberOfLabelHfills() ...
7924 * lyxrow.C: ... to member functions here.
7929 * text.C: remove LyXText::beginningOfMainBody(), and call
7930 p->beginningOfMainBody() directly. Move the check for
7931 LABEL_MANUAL into the latter.
7938 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7944 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7945 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7947 2003-02-13 John Levon <levon@movementarian.org>
7949 * CutAndPaste.C: remove debug
7951 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7953 * paragraph.C (asString): remove two unused variables
7955 * lyxtextclass.C (readTitleType):
7957 (LyXTextClass): handle new members titletype_ and titlename_
7959 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7961 2003-02-09 John Levon <levon@movementarian.org>
7964 * buffer.C: replace hand-coded list with a map for the dep clean
7966 2003-02-08 John Levon <levon@movementarian.org>
7968 * LaTeX.C: consolidate code into showRunMessage() helper
7970 2003-02-08 John Levon <levon@movementarian.org>
7975 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7976 and pass the size in explicitly
7978 * BufferView_pimpl.h:
7979 * BufferView_pimpl.C:
7981 * BufferView.C: add getCurrentChange()
7983 * BufferView_pimpl.h:
7984 * BufferView_pimpl.C: handle change lfuns
7986 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7987 for changes. Mark pasted paragraphs as new.
7989 * support/lyxtime.h:
7990 * support/lyxtime.C:
7991 * DepTable.C: abstract time_t as lyx::time_type
7994 * LColor.C: add colours for new text, deleted text, changebars
7996 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7997 package use "usenames" option.
8001 * LyXAction.C: add change lfuns
8005 * author.C: author handling
8008 * buffer.C: add a per-buffer author list, with first entry as
8009 current author. Handle new .lyx tokens for change tracking. Output
8010 author list to .lyx file. Output dvipost stuff to .tex preamble.
8011 Bump lyx format to 222.
8014 * bufferlist.C: add setCurrentAuthor() to reset current author details
8018 * bufferparams.C: add param for tracking
8020 * bufferview_funcs.C: output change info in minibuffer
8024 * changes.C: add change-tracking structure
8027 * debug.C: add CHANGES debug flag
8030 * lyxfind.C: add code for finding the next change piece
8033 * lyxrc.C: add user_name and user_email
8036 * lyxrow.C: add a metric for the top of the text line
8039 * text.C: implement accept/rejectChange()
8042 * text.C: paint changebars. Paint new/deleted text in the chosen
8043 colours. Strike through deleted text.
8047 * paragraph_pimpl.h:
8048 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
8049 in the current change to the insert functions. Rework erase to
8050 mark text as deleted, adding an eraseIntern() and a range-based
8051 erase(). Implement per-paragraph change lookup and
8054 * paragraph_funcs.C: Fixup paste for change tracking.
8056 * tabular.C: mark added row/columns as new.
8058 * text.C: fix rowLast() to never return -1. Don't allow
8059 spellchecking of deleted text. Track transpose changes. Don't
8060 allow paragraph break or merge where appropriate.
8062 * text2.C: leave cursor at end of selection after a cut.
8064 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8066 * text.C (getLengthMarkerHeight):
8067 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
8068 visible on screen too.
8070 2003-02-07 John Levon <levon@movementarian.org>
8072 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
8074 2003-02-05 Angus Leeming <leeming@lyx.org>
8076 * lyxserver.C (read_ready): revert my patch of 11 September last year
8077 as it sends PC cpu through the roof. Presumably this means that
8078 the lyxserver will no longer run on an Alpha...
8080 2003-01-30 Angus Leeming <leeming@lyx.org>
8082 * factory.C (createInset): create an InsetCommandParam of type "index"
8083 and use it to 'do the right thing'.
8085 * text2.C (getStringToIndex): ensure that cursor position is always
8086 reset to the reset_cursor position.
8088 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8090 * lyxfunc.C (getStatus): "buffer-export custom" should never be
8093 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
8097 * lyxfunc.C: Output messages with identical spelling, punctuation,
8100 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
8102 * MenuBackend.C (expandFormats): List only viewable export formats
8105 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
8108 * lyxfunc.C (getStatus): Make sure that formats other than
8109 "fax" can also be disabled
8111 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8113 * text3.C (dispatch): put the lfuns that insert insets in 3
8114 groups, and call doInsertInset with appropriate arguments.
8115 (doInsertInset): new function, that creates an inset and inserts
8116 it according to some boolean parameters.
8118 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
8120 * buffer.C (readFile): remember to pass on 'par' when calling
8121 readFile recursively.
8123 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8125 * MenuBackend.C (expandFormats): add "..." to import formats.
8127 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
8129 * paragraph.C (asString): Remove XForms RTL hacks.
8131 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
8132 * buffer.C: fix typo
8134 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8136 * Makefile.am (LIBS): delete var
8137 (lyx_LDADD): add @LIBS@ here instead.
8139 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
8141 * Clarify the meaning of "wheel mouse jump"
8143 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8145 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
8148 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8150 * importer.C (Loaders): do not preallocate 3 elements in the
8151 vector, since one ends up with 6 elements otherwise
8153 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8155 * DepTable.C (write): write the file name as last element of the
8156 .dep file (because it may contain spaces)
8157 (read): read info in the right order
8159 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8161 * paragraph_pimpl.C (simpleTeXBlanks):
8162 (simpleTeXSpecialChars):
8163 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
8165 * tabular.C (latex): add some missing case statements. Reindent.
8167 * MenuBackend.C (expandToc): remove unused variable.
8169 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8178 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8181 2003-01-05 John Levon <levon@movementarian.org>
8184 * BufferView.C: add getEncoding()
8187 * kbsequence.C: do not store last keypress
8190 * lyxfunc.C: store last keypress here instead. Pass encoding
8193 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8195 * lyx_main.C (init): remove annoying error message when following
8196 symbolic links (bug #780)
8198 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8200 * text.C (insertChar):
8201 * lyxrc.C (getDescription): remove extra spaces
8203 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8205 * lyxrc.C (getDescription): remove extra spaces
8207 2002-12-20 John Levon <levon@movementarian.org>
8209 * text3.C: hack fix for page up/down across tall rows
8211 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8213 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8216 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8218 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8219 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8220 thesaurus is not compiled in
8222 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8224 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8226 2002-12-16 Angus Leeming <leeming@lyx.org>
8229 * lyx_main.C (init): remove override_x_deadkeys stuff.
8231 2002-12-12 John Levon <levon@movementarian.org>
8233 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8234 insert. Only remove shift modifier under strict
8237 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8239 * MenuBackend.C (expandToc): fix crash.
8241 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8243 * MenuBackend.C (expandToc): gettext on float names.
8245 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8247 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8248 implement bool empty() [bug 490]
8250 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8252 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8254 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8256 * several files: ws changes
8258 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8260 * text2.C (setCounter): clean up a bit, use boost.format.
8261 (updateCounters): initialize par upon declaration.
8263 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8264 if the layout exists. We do not just store the layout any more.
8265 (SwitchLayoutsBetweenClasses): use boost.format
8267 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8269 * converter.C (convert): if from and to files are the same, use a
8270 temporary files as intermediary
8272 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8275 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8277 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8279 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8281 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8283 * tabular.C (asciiPrintCell): use string(size, char) instead of
8286 * sgml.C (openTag): fix order of arguments to string constructor
8289 * lyxfunc.C (dispatch): use boost.format
8291 * lots of files: change "c" -> 'c'
8293 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8295 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8297 2002-11-25 Angus Leeming <leeming@lyx.org>
8299 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8301 * lyx_main.C (init): compile fix.
8303 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8305 * lyx_cb.C (start): boost.formatify
8306 do not include <iostream>
8308 * lengthcommon.C: ws only
8310 * boost-inst.C,BoostFormat.h: add more explict instantations
8312 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8314 * lots of files: handle USE_BOOST_FORMAT
8316 2002-11-21 John Levon <levon@movementarian.org>
8318 * pspell.C: fix compile
8320 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8322 * lyxfunc.C (dispatch): use boost::format
8326 * lyxfont.C (stateText): use boost::format
8328 * lyx_main.C (LyX): use boost::format
8330 (queryUserLyXDir): ditto
8333 (typedef boost::function): use the recommened syntax.
8335 * importer.C (Import): use boost::format
8337 * debug.C (showLevel): use boost::format
8339 * converter.C (view): use boost::format
8344 * bufferview_funcs.C (currentState): use boost::format
8346 * bufferlist.C (emergencyWrite): use boost::format
8348 * buffer.C (readLyXformat2): use boost::format
8349 (parseSingleLyXformat2Token): ditto
8351 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8353 * LaTeX.C (run): use boost::format
8355 * Chktex.C (scanLogFile): use boost::format
8357 * BufferView_pimpl.C (savePosition): use boost::format
8358 (restorePosition): ditto
8359 (MenuInsertLyXFile): ditto
8361 * BoostFormat.h: help file for explicit instation.
8363 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8365 * tabular.C (latex): Support for block alignment in fixed width
8368 2002-11-17 John Levon <levon@movementarian.org>
8370 * BufferView_pimpl.C:
8372 * lyxfunc.C: split filedialog into open/save
8374 2002-11-08 Juergen Vigna <jug@sad.it>
8376 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8377 by my last patch (hopefully).
8379 2002-11-08 John Levon <levon@movementarian.org>
8388 * toc.C: ParConstIterator, and use it (from Lars)
8390 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8392 * lyxtextclass.[Ch]: revise and add doxygen comments
8394 2002-11-07 John Levon <levon@movementarian.org>
8396 * text.C: fix progress value for spellchecker
8398 * toc.C: fix navigate menu for insetwrap inside minipage
8400 * paragraph_funcs.C: added FIXME for suspect code
8402 2002-11-07 John Levon <levon@movementarian.org>
8404 * BufferView_pimpl.C: fix redrawing of insets
8407 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8409 * text2.C (updateCounters): fix bug 668
8411 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8413 * text3.C (dispatch): Do not make the buffer dirty when moving the
8416 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8418 * vc-backend.C: STRCONV
8421 * text2.C (setCounter): STRCONV
8423 * paragraph.C (asString): STRCONV
8425 * lyxlength.C (asString): STRCONV
8426 (asLatexString): ditto
8428 * lyxgluelength.C (asString): STRCONV
8429 (asLatexString): ditto
8431 * lyxfunc.C (dispatch): STRCONV
8434 * lyxfont.C (stateText): STRCONV
8436 * importer.C (Import): STRCONV
8438 * counters.C (labelItem): STRCONV
8439 (numberLabel): ditto
8440 (numberLabel): remove unused ostringstream o
8445 * bufferview_funcs.C (currentState): STRCONV
8447 * buffer.C (readFile): STRCONV
8448 (asciiParagraph): ditto
8449 (makeLaTeXFile): ditto
8451 * Spacing.C (writeEnvirBegin): STRCONV
8453 * LaTeXFeatures.C (getLanguages): STRCONV
8454 (getPackages): ditto
8456 (getBabelOptions): ditto
8457 (getTClassPreamble): ditto
8458 (getLyXSGMLEntities): ditto
8459 (getIncludedFiles): ditto
8463 (scanAuxFile): ditto
8466 * LString.h: add the STRCONV macros
8468 * BufferView_pimpl.C (savePosition): STRCONV
8469 (restorePosition): ditto
8470 (MenuInsertLyXFile): ditto
8472 * vc-backend.C (scanMaster): change from submatch[...] to
8475 * funcrequest.C: include config.h
8477 * factory.C: include config.h
8479 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8481 * box.C: include config.h
8483 * LaTeX.C (scanAuxFile): change from submatch[...] to
8487 2002-10-25 Angus Leeming <leeming@lyx.org>
8489 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8491 * ispell.[Ch] (setError): new method.
8492 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8493 Use setError() insetead of goto END.
8495 * lyx_cb.C (AutoSave): move out child process into new class
8498 2002-10-30 John Levon <levon@movementarian.org>
8500 * text3.C: make start appendix undoable
8502 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8504 * lyxlength.C (inPixels): Fix returned value.
8506 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8509 2002-10-24 Angus Leeming <leeming@lyx.org>
8511 * lyxgluelength.h: no need to forward declare BufferParams
8512 or BufferView, so don't.
8514 2002-10-21 John Levon <levon@movementarian.org>
8516 * BufferView.C: menuUndo ->undo, redo
8518 * BufferView.h: document, remove dead, make some methods private
8520 * paragraph_funcs.h:
8521 * paragraph_funcs.C:
8522 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8527 * sgml.C: move sgml open/close tag into sgml.C
8529 * bufferview_funcs.h: unused prototype
8532 * lyxfunc.C: remove unused
8535 * text.C: remove unused
8537 2002-10-21 John Levon <levon@movementarian.org>
8541 * BufferView_pimpl.h:
8542 * BufferView_pimpl.C: fix mouse wheel handling based on
8543 patch from Darren Freeman
8545 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8547 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8549 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8551 * lyxlength.C (inPixels): Fix hanfling of negative length.
8552 Fix LyXLength::MU case.
8554 2002-10-16 John Levon <levon@movementarian.org>
8556 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8558 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8560 * converter.C (view): add support for $$i (file name) and $$p
8561 (file path) for the viewer command. If $$i is not specified, then
8562 it is appended to the command (for compatibility with old syntax)
8564 2002-10-14 Juergen Vigna <jug@sad.it>
8566 * undo_funcs.C (textHandleUndo): alter the order in which the
8567 new undopar is added to the LyXText, as we have to set first
8568 the right prev/next and then add it as otherwise the rebuild of
8569 LyXText is not correct. Also reset the cursor to the right paragraph,
8570 with this IMO we could remove the hack in "redoParagraphs()".
8572 2002-10-09 Angus Leeming <leeming@lyx.org>
8574 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8575 to turn off an optimisation if a new inset is to be inserted.
8577 2002-10-11 André Pönitz <poenitz@gmx.net>
8579 * lyxtext.h: make some functions public to allow access
8580 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8582 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8584 * text3.C (dispatch): when changing layout, avoid an infinite loop
8587 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8589 * lyxrc.C (read): treat a viewer or converter command of "none" as
8592 * MenuBackend.C (expandFormats): for an update, also allow the
8593 formats that are not viewable
8595 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8596 script if it is newer than the lyxrc.defaults in user directory
8598 2002-10-07 André Pönitz <poenitz@gmx.net>
8600 * text.C: Vitaly Lipatov's small i18n fix
8602 2002-09-25 Angus Leeming <leeming@lyx.org>
8604 * ispell.h: doxygen fix.
8606 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8608 * buffer.h (readFile): Add a new argument to the method, to allow
8609 reading of old-format templates.
8611 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8613 * toc.C (getTocList): Get TOC from InsetWrap.
8615 2002-09-16 John Levon <levon@movementarian.org>
8617 * lyxfunc.C: check tabular for cut/copy too
8619 2002-09-12 John Levon <levon@movementarian.org>
8624 * factory.C: add header
8626 * paragraph_funcs.h:
8627 * paragraph_funcs.C: cleanup
8629 2002-09-11 John Levon <levon@movementarian.org>
8631 * PrinterParams.h: odd/even default to true
8633 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8635 * PrinterParams.h: update printer parameters for new xforms dialog
8637 2002-09-11 Angus Leeming <leeming@lyx.org>
8639 * lyxserver.C (read_ready): re-write to make it more transparent
8640 and to make it work in coherent fashion under Tru64 Unix.
8642 2002-09-11 André Pönitz <poenitz@gmx.net>
8646 * text3.C: implement LFUN_WORDSEL
8648 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8650 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8651 make floatlist_ a boost::shared_ptr<FloatList>
8653 * lyxtextclass.C: include FloatList.h
8654 (LyXTextClass): initialize floatlist_
8655 (TextClassTags): add TC_NOFLOAT
8656 (Read): match "nofloat" to TC_NOFLOAT and use it.
8657 (readFloat): modify call to floatlist_
8661 * FloatList.[Ch] (FloatList): remove commented out float
8663 (erase): new function
8665 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8667 * MenuBackend.C (expandToc): fix crash when there is no document
8670 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8672 * many files: Add insetwrap.
8674 2002-09-09 John Levon <levon@movementarian.org>
8676 * text2.C: remove confusing and awkward depth wraparound
8678 2002-09-09 John Levon <levon@movementarian.org>
8680 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8683 * buffer.C: remove getIncludeonlyList()
8686 * lyxfunc.C: remove headers
8688 2002-09-09 Juergen Vigna <jug@sad.it>
8690 * text.C (getColumnNearX): fix form Michael this is most
8691 probably a cut&paste bug.
8693 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8695 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8697 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8698 references, ws changes.
8700 * text2.C (init): update counters after init
8701 (insertParagraph): no need to set counter on idividual paragraphs.
8702 (setCounter): access the counters object in the textclass object
8703 on in the buffer object.
8704 (updateCounters): ditto
8706 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8707 shared_ptr<Counters> to avoid loading counters.h in all
8709 (LyXTextClass): initialize ctrs_
8710 (TextClassTags): add TC_COUNTER, and ...
8711 (Read): use it here.
8712 (CounterTags): new tags
8713 (readCounter): new function
8714 (counters): new funtion
8715 (defaultLayoutName): return a const reference
8717 * counters.C (Counters): remove contructor
8718 (newCounter): remove a couple of unneeded statements.
8719 (newCounter): simplify a bit.
8720 (numberLabel): some small formatting changes.
8722 * buffer.[Ch]: remove all traces of counters, move the Counters
8723 object to the LyXTextClass.
8725 2002-09-06 Alain Castera <castera@in2p3.fr>
8727 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8728 package to set the horizontal alignment on fixed width columns.
8731 * lyx_sty.h: added tabularnewline macro def.
8733 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8735 2002-09-06 John Levon <levon@movementarian.org>
8737 * LyXAction.C: tooltips for sub/superscript
8739 * MenuBackend.C: a bit more verbose
8741 * lyxfunc.C: tiny clean
8743 * undo_funcs.C: document undo_frozen
8745 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8747 * counters.C (Counters): add missing algorithm counter.
8749 * text2.C (setCounter): lookup the counter with layouts latexname
8750 instead of by section number.
8751 (setCounter): use a hackish way to lookup the correct enum
8753 a float name->type change
8754 reset enum couners with counter name directly instead of depth value.
8756 * counters.C (Counters): remove the push_backs, change to use the
8757 float type not the float name.
8758 (labelItem): remove unused string, float name->type change
8760 * counters.h: don't include vector, loose the enums and sects vectors
8762 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8764 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8765 (Read): add float->TC_FLOAT to textclassTags
8766 (Read): and handle it in the switch
8767 (readFloat): new function
8769 * FloatList.C (FloatList): comment out the hardcoded float
8772 * lyxlayout.h: ws change.
8774 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8776 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8778 2002-09-03 Angus Leeming <leeming@lyx.org>
8780 * BufferView_pimpl.h: qualified name is not allowed in member
8781 declaration: WorkArea & Pimpl::workarea() const;
8783 * factory.C: added using std::endl directive.
8785 * text3.C: added using std::find and std::vector directives.
8787 2002-08-29 André Pönitz <poenitz@gmx.net>
8790 * text2.C: remove unused member number_of_rows
8793 * BufferView2.C: remove file, move contents to...
8794 * BufferView.C: ... here
8796 * BufferView_pimpl.C:
8797 * factory.C: move more inset creation to factory
8799 * vspace.C: avoid direct usage of LyXText, ws changes
8802 don't provide direct access to WorkArea, use two simple
8803 acessors haveSelction() and workHeight() instead
8806 2002-08-29 John Levon <levon@movementarian.org>
8808 * BufferView_pimpl.C (dispatch): do not continue when
8811 2002-08-28 André Pönitz <poenitz@gmx.net>
8813 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8816 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8818 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8820 * buffer.C: increment LYX_FORMAT to 221
8822 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8823 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8825 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8827 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8829 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8831 * factory.C (createInset): use LyXTextClass::floats
8833 * MenuBackend.C (expandFloatListInsert):
8834 (expandFloatInsert):
8837 * text2.C (setCounter):
8839 * LaTeXFeatures.C (useFloat):
8840 (getFloatDefinitions):
8842 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8844 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8845 floatlist_, with accessor floats().
8847 * FloatList.h: remove global FloatList
8849 2002-08-26 André Pönitz <poenitz@gmx.net>
8851 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8855 * BufferView_pimpl.C:
8856 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8858 2002-08-25 John Levon <levon@movementarian.org>
8860 * LyXAction.C: fix margin note description
8862 2002-08-24 John Levon <levon@movementarian.org>
8866 * bufferview_funcs.C:
8868 * undo_funcs.C: cleanups
8870 * lyxfunc.C: disable CUT/COPY when no selection
8872 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8874 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8875 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8877 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8878 Add backward compatibility to "mono", "gray" and "no".
8880 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8882 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8883 (and file_format >= 200).
8885 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8887 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8889 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8891 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8893 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8895 * BufferView_pimpl.C:
8902 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8903 inset and code to make it work with the paragraph code. The inset
8904 can be anywhere in the paragraph, but will only do the expected
8905 thing in LaTeX if the layout file contains the parameter line
8907 (or more generally, a nonzero value) for that layout.
8909 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8911 * paragraph.h: remove the declaration of undefined counters class
8914 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8916 * text2.C (setCounter): fixed enumeration mis-count as reported by
8917 Dr. Richard Hawkins.
8919 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8921 * paragraph_funcs.h: remove some unneeded includes
8923 * text.C (backspace): pasteParagraph now in global scipe
8925 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8926 (pasteSelection): ditto
8928 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8929 * paragraph_funcs.C (pasteParagraph): ... here
8931 2002-08-20 André Pönitz <poenitz@gmx.net>
8933 * commandtags.h: new LFUNs for swapping/copying table row/colums
8936 * lyxfunc.C: support for new lfuns
8938 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8941 * buffer.[Ch]: remove NO_COMPABILITY stuff
8943 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8945 * boost.C (throw_exception): new file, with helper function for
8946 boost compiled without exceptions.
8951 * ParameterStruct.h:
8952 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8954 * bufferlist.C (emergencyWriteAll): use boost bind
8956 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8958 * text.C: include paragraph_funcs.h
8959 (breakParagraph): breakParagraph is now in global scope
8961 * paragraph_funcs.[Ch]: new files
8963 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8966 * buffer.C: include paragraph_funcs.h
8967 (insertStringAsLines): breakParagraph is now in global scope
8969 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8972 * CutAndPaste.C: include paragraph_funcs.h
8973 (cutSelection): breakParagraphConservative is now in global scope
8974 (pasteSelection): ditto
8976 * buffer.h: declare oprator== and operator!= for
8977 Buffer::inset_iterator
8979 * bufferlist.C (emergencyWrite): don't use fmt(...)
8981 * text3.C: add using std::endl
8983 * BufferView.C (moveCursorUpdate): remove default arg
8985 2002-08-20 André Pönitz <poenitz@gmx.net>
8987 * buffer.[Ch]: move inline functions to .C
8990 * BufferView_pimpl.C:
8992 * buffer.[Ch]: use improved inset_iterator
8995 * paragraph.[Ch]: write one paragraph at a time
8997 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8999 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
9000 style if style is not specified.
9002 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9004 * text2.C (setCounter): when searching for right label for a
9005 caption, make sure to recurse to parent insets (so that a caption
9006 in a minipage in a figure float works) (bug #568)
9008 2002-08-20 André Pönitz <poenitz@gmx.net>
9010 * text3.C: new file for LyXText::dispatch() and helpers
9012 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
9014 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
9016 2002-08-19 André Pönitz <poenitz@gmx.net>
9019 * text.C: new LyXText::dispatch()
9021 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
9023 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
9025 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
9027 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
9030 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9032 * Makefile.am: use $(variables) instead of @substitutions@
9034 2002-08-15 André Pönitz <poenitz@gmx.net>
9037 * BufferView_pimpl.C: streamlining mathed <-> outer world
9041 * LyXAction.C: remove unused LFUN_MATH
9043 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9045 * paragraph.[Ch]: add some NO_NEXT ifdefs.
9047 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
9049 * paragraph.C (Paragraph): reformat a bit
9050 (cutIntoMinibuffer): use builtin InsetList function instad of
9054 * buffer.C: include boost/bind.hpp, add using std::for_each
9055 (writeFileAscii): use ParagraphList iterators
9056 (validate): use for_each for validate traversal of paragraphs
9057 (getBibkeyList): use ParagraphList iterators
9058 (resizeInsets): use for_each to resizeInsetsLyXText for all
9060 (getParFromID): use ParagraphList iterators
9062 * BufferView2.C (lockInset): use paragraph list and iterators
9064 2002-08-14 John Levon <levon@movementarian.org>
9066 * lyxserver.C: remove spurious xforms include
9068 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9070 * lyxfunc.C (getStatus): disable math-extern outside of math mode
9072 2002-08-13 André Pönitz <poenitz@gmx.net>
9075 * lyxfunc.C: further cleaning
9077 2002-08-13 André Pönitz <poenitz@gmx.net>
9079 * funcrequest.h: new constructor
9081 * funcrequest.C: move stuff here from .h
9084 * BufferView_pimpl.C:
9087 * lyxfunc.C: subsequent changes
9089 * lyxfunc.h: new view() member function
9091 * lyxfunc.C: subsequent changes
9093 2002-08-13 Angus Leeming <leeming@lyx.org>
9096 * BufferView_pimpl.C:
9104 changes due to the changed LyXView interface that now returns references
9105 to member variables not pointers.
9107 2002-08-13 Angus Leeming <leeming@lyx.org>
9109 * WordLangTuple (word, lang_code): return references to strings,
9114 * lyxtext.h: forward-declare WordLangTuple.
9119 * text.C: #include "WordLangTuple.h".
9122 * text.C: (selectNextWordToSpellcheck): constify return type.
9124 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
9130 * paragraph_pimpl.h:
9133 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
9135 Made updateCounter always count from start of buffer, and removed
9136 second argument (par).
9137 Reverted floats number display to '#'. Perhaps I'll try again when the
9138 code base is sanitized a bit.
9140 2002-08-12 Angus Leeming <leeming@lyx.org>
9142 * buffer.[Ch] (getLabelList): constify.
9144 2002-08-07 André Pönitz <poenitz@gmx.net>
9146 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
9148 * funcrequest.h: extension to keep mouse (x,y) position
9150 2002-08-12 Juergen Vigna <jug@sad.it>
9152 * BufferView2.C (insertErrors): forbid undo when inserting error
9155 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
9157 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
9159 * ParagraphList.[Ch]: new files
9161 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
9163 * BufferView2.C (lockInset): ParagraphList changes
9166 * bufferlist.C: ditto
9170 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9172 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9173 unused class variable counter_,
9175 * paragraph.[Ch] (getFirstCounter): delete unused function
9177 * counters.C: include LAssert.h
9178 (reset): add a new function with no arg, change other version to
9179 not have def. arg and to not allow empty arg.
9181 * text2.C (setCounter): remove empty arg from call to Counters::reset
9183 2002-08-11 John Levon <levon@movementarian.org>
9185 * Makefile.am: add WordLangTuple.h
9187 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9189 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9190 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9192 * insets/insettext.C: InsetList changes
9194 * graphics/GraphicsSupport.C (operator()): InsetList changes
9196 * toc.C (getTocList): InsetList changes
9198 * paragraph_pimpl.[Ch]: InsetList changes
9200 * paragraph.[Ch]: InsetList changes
9202 * buffer.C (inset_iterator): InsetList changes
9203 (setParagraph): ditto
9204 * buffer.h (inset_iterator): ditto
9205 * iterators.C (operator++): ditto
9206 * iterators.h: ditto
9208 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9210 * InsetList.[Ch]: new files, most InsetList handling moved out of
9213 * BufferView2.C (removeAutoInsets): InsetList changes
9215 (ChangeInsets): ditto
9217 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9219 * paragraph_pimpl.h (empty): new function
9221 * paragraph.[Ch] (empty): new function
9223 * other files: use the new Paragraph::empty function
9225 2002-08-09 John Levon <levon@movementarian.org>
9227 * lyxtext.h: remove unused refresh_height
9229 2002-08-09 John Levon <levon@movementarian.org>
9236 * paragraph.C: move sgml char escaping out of paragraph
9239 * paragraph.C: remove id setter
9243 * paragraph_pimpl.C: remove dead tex_code_break_column
9245 * bufferview_funcs.C: small cleanup
9247 * lyxfunc.C: remove dead proto
9249 * lyxtext.h: make some stuff private. Remove some dead stuff.
9251 * lyxgluelength.C: make as[LyX]String() readable
9253 2002-08-08 John Levon <levon@movementarian.org>
9258 * ToolbarDefaults.C:
9261 * toc.C: lyxaction cleanup
9263 2002-08-08 John Levon <levon@movementarian.org>
9265 * BufferView2.C: small cleanup
9268 * lyxfind.C: move unnecessary header into the .C
9270 2002-08-08 John Levon <levon@movementarian.org>
9272 * funcrequest.h: just tedious nonsense
9275 * lyx_main.C: cleanups
9278 * vspace.C: remove dead header lyx_main.h
9280 2002-08-07 Angus Leeming <leeming@lyx.org>
9283 * paragraph_pimpl.h:
9284 Forward declare class Counters in paragraph.h by moving the ctrs member
9285 variable into Paragraph::Pimpl.
9286 (counters): new method, returning a reference to pimpl_->ctrs.
9288 * text2.C: ensuing changes.
9290 2002-08-07 John Levon <levon@movementarian.org>
9292 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9294 * BufferView_pimpl.C: announce X selection on double/triple
9297 * lyx_main.C: use correct bool in batch dispatch
9299 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9301 2002-08-07 André Pönitz <poenitz@gmx.net>
9303 * funcrequest.h: new class to wrap a kb_action and its argument
9306 * BufferView_pimpl[Ch]:
9310 * lyxrc.C: subsequent changes
9313 2002-08-07 John Levon <levon@movementarian.org>
9315 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9316 document options change.
9318 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9323 * makefile.am: move counters functionality over from
9324 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9326 2002-08-06 John Levon <levon@movementarian.org>
9328 * WordLangTuple.h: new file for word + language code tuple
9339 * BufferView2.C: use WordLangTuple
9342 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9344 2002-08-06 John Levon <levon@movementarian.org>
9346 * lyx_main.C: fix cmdline batch handling
9348 2002-08-06 André Pönitz <poenitz@gmx.net>
9350 * lyxrc.C: set default for show_banner to true
9352 2002-08-06 John Levon <levon@movementarian.org>
9354 * pspell.C: fix a crash, and allow new aspell to work
9356 2002-08-06 John Levon <levon@movementarian.org>
9359 * kbmap.C: small cleanup
9362 * vspace.C: add const
9364 2002-08-05 John Levon <levon@movementarian.org>
9366 * LyXAction.C: back to tabular-insert
9368 2002-08-04 John Levon <levon@movementarian.org>
9371 * BufferView.C: cosmetic change
9373 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9383 * BufferView2.C: purge all "Lyx" not "LyX" strings
9386 * lyxcursor.C: attempt to add some documentation
9391 * ToolbarDefaults.C:
9392 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9393 merge with LFUN_TABULAR_INSERT
9400 * pspell.C: split up i/pspell implementations into separate
9401 files, many cleanups
9403 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9405 * text2.C: some cleanup
9407 * lyxfunc.C: don't check for isp_command == "none" any more, it
9408 didn't make any sense
9410 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9415 * makefile.am: move counters functionality over
9416 from text2.C/paragraph.[Ch] to counters.[Ch], and
9418 2002-08-02 John Levon <levon@movementarian.org>
9420 * buffer.C: s/lyxconvert/lyx2lyx/
9422 2002-08-02 Angus Leeming <leeming@lyx.org>
9424 * lyxlex.C: revert John's change as it breaks reading of the user
9427 2002-08-02 Angus Leeming <leeming@lyx.org>
9429 * importer.C (Import):
9430 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9431 changes due to LyXView::view() now returning a boost::shared_ptr.
9433 2002-08-02 John Levon <levon@movementarian.org>
9435 * lyxlex.C: small cleanup
9437 2002-08-02 John Levon <levon@movementarian.org>
9439 * text2.C (status): small cleanup, no logic change
9441 2002-08-01 John Levon <levon@movementarian.org>
9444 * buffer.C (writeFile): don't output alerts, caller
9448 * lyx_cb.C: from above
9450 * lyxfunc.C: allow to open non-existent files
9452 2002-07-31 John Levon <levon@movementarian.org>
9454 * lyxserver.C: don't let incidental errors get
9457 2002-07-30 John Levon <levon@movementarian.org>
9459 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9461 2002-07-30 John Levon <levon@movementarian.org>
9464 * lyxserver.C: remove I/O callback too
9466 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9468 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9471 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9473 * many files: strip,frontStrip -> trim,ltrim,rtrim
9475 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9477 * PrinterParams.h: remove extern containsOnly, and include
9478 support/lstrings.h instead.
9480 * LaTeX.C (scanAuxFile): modify because of strip changes
9482 * buffer.C (makeLaTeXFile): ditto
9483 * bufferparams.C (writeFile): ditt
9484 * lyxfont.C (stateText): ditto
9485 * lyxserver.C (read_ready): ditto
9486 * vc-backend.C (scanMaster): ditto
9488 * BufferView_pimpl.h: ws changes
9490 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9492 2002-07-26 André Pönitz <poenitz@gmx.net>
9494 * kb_sequence.C: remove unnedred usings
9496 2002-07-26 Juergen Vigna <jug@sad.it>
9498 * lyxfind.C (LyXReplace): we have to check better if the returned
9499 text is not of theLockingInset()->getLockingInset().
9501 2002-07-25 Juergen Vigna <jug@sad.it>
9503 * lyxfind.C (LyXReplace): don't replace if we don't get the
9506 * undo_funcs.C (createUndo): remove debugging code.
9508 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9510 * buffer.C (parseSingleLyXformat2Token): Use default placement
9511 when reading old floats.
9513 * FloatList.C (FloatList): Change the default placement of figure
9514 and tables to "tbp".
9516 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9518 * MenuBackend.C: using std::max
9520 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9522 * MenuBackend.C (expandToc):
9523 (expandToc2): code moved from xforms menu frontend. It is now
9524 generic and TOCs are transparent to menu frontends.
9526 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9528 * toc.C (getTocList): protect against buf=0
9530 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9531 Menu as first parameter. Now, this calls itself recursively to
9532 expand a whole tree (this will be useful for TOC handling)
9533 (expandFloatInsert): remove 'wide' version of floats
9535 * MenuBackend.h (submenuname): returns the name of the submenu.
9536 (submenu): returns the submenu itself, provided it has been
9537 created by MenuBackend::expand
9539 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9541 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9542 insets which have noFontChange == true. (bug #172)
9544 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9546 * BufferView_pimpl.C: add connection objects and use them...
9549 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9551 * MenuBackend.C (expandLastfiles):
9554 (expandFloatListInsert):
9555 (expandFloatInsert):
9556 (expand): split expand in parts
9558 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9560 * lyx_gui.C: use lyx_gui::exit()
9562 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9564 * LyXAction.C: show the failing pseudo action
9566 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9568 * buffer.C (readFile): Run the lyxconvert script in order to read
9571 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9575 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9577 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9581 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9583 2002-07-22 Herbert Voss <voss@lyx.org>
9586 * lyxlength.[Ch]: add support for the vertical lengths
9588 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9590 * toc.[Ch]: std:: fixes
9592 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9594 * lyxrc.C: do not include lyx_main.h
9596 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9602 * BufferView2.C: include "lyxlex.h"
9605 * bufferparams.h: do not #include "lyxlex.h"
9607 * lyxtextclasslist.C (Add): remove method
9608 (classlist): renamed to classlist_
9610 * paragraph_pimpl.C:
9614 * bufferview_funcs.C:
9619 * toc.C (getTocList): use BufferParams::getLyXTextClass
9621 * toc.C (getTocList): use InsetFloat::addToToc
9623 * toc.[Ch]: new files, containing helper functions to handle table
9626 * lyxfunc.C (dispatch): no need to remove spaces around command
9628 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9629 first command of the sequence; it is not very clever, but I do not
9630 have a better idea, actually
9632 * LyXAction.C (LookupFunc): make sure to remove space at the
9633 beginning and end of the command
9635 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9637 * MenuBackend.C (getMenubar): new method: return the menubar of
9639 (read): treat differently reading of menu and menubar (in
9640 particular, the menubar has no name now)
9641 (Menu::menubar): remove
9643 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9646 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9648 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9649 a bibitem inset in a RTL paragraph.
9651 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9653 * paragraph_pimpl.C: constify
9655 * BufferView_pimpl.C:
9657 * lyxfunc.C: fix dispatch in a nicer way
9659 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9661 * lyxfunc.C (dispatch):
9662 * BufferView_pimpl.C:
9663 * BufferView_pimpl.h:
9665 * BufferView.h: rename Dispatch() to dispatch()
9667 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9669 * lyxlayout.C (Read): honor DependsOn tag
9671 * lyxlayout.[Ch] (depends_on): new method
9673 * version.C.in: update lyx_docversion
9675 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9677 * paragraph.C (validate): remove from here...
9678 * paragraph_pimpl.C (validate): ... and move here
9679 (isTextAt): make it const
9681 * buffer.C (getLists): ws cleanup
9683 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9685 * language.C (read): Use iso8859-1 encoding in latex_lang
9686 (this prevents LyX from crashing when using iso10646-1 encoding).
9688 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9690 * text2.C (toggleInset): if cursor is inside an inset, close the
9691 inset and leave cursor _after_ it
9693 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9695 * lyxfunc.C: move minibuffer completion handling out of here
9697 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9699 * BufferView_pimpl.C:
9700 * LaTeX.C: fix dispatch calls
9702 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9704 * text.C (drawChars): Fix Arabic text rendering.
9706 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9710 * lyxfunc.C: remove message-push/pop
9714 * lyxfunc.C: rationalise some code by removing verboseDispatch
9715 in favour of a bool argument to dispatch()
9717 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9719 * lyx_main.C (init): make sure to read symlinks as absolute paths
9721 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9724 * lyxfunc.C: no need for commandshortcut to be a member
9726 2002-07-15 André Pönitz <poenitz@gmx.net>
9728 * converter.C: add support for $$s (scripts from lib/scripts dir)
9729 * lyx_main.C: white space
9731 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9735 * lyxrc.C: remove second exit confirmation
9737 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9742 * BufferView_pimpl.h:
9743 * BufferView_pimpl.C:
9744 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9746 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9748 * MenuBackend.C (expand): add numeric shortcuts to document menu
9750 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9752 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9754 * lyxfont.C (setLyXFamily):
9761 * buffer.C (asciiParagraph): use ascii_lowercase
9763 2002-07-15 Mike Fabian <mfabian@suse.de>
9765 * lyxlex_pimpl.C (search_kw):
9766 * lyxlex.C (getLongString):
9767 * converter.h (operator<):
9768 * converter.C (operator<):
9769 * buffer.C (parseSingleLyXformat2Token):
9771 * ToolbarDefaults.C (read):
9772 * MenuBackend.C (checkShortcuts):
9774 * LColor.C (getFromGUIName):
9775 (getFromLyXName): use the compare_ascii_no_case instead of
9776 compare_no_case, because in turkish, 'i' is not the lowercase
9777 version of 'I', and thus turkish locale breaks parsing of tags.
9779 2002-07-16 Angus Leeming <leeming@lyx.org>
9781 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9782 now takes a Buffer const & argument.
9784 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9786 * BufferView.C (resize): check there's a buffer to resize
9788 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9790 * lyxfunc.C: remove dead code
9793 * lyxserver.C: use lyx_guii::set_read_callback
9795 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9797 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9798 an inset in a RTL paragraph.
9800 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9802 * lyxfunc.C: repaint after a font size update
9804 2002-07-15 André Pönitz <poenitz@gmx.net>
9806 * lyxlength.C: inBP should be able to return negative values
9808 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9810 * lyxfunc.C: use lyx_gui::update_fonts()
9812 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9814 * lyxfunc.C: use lyx_gui::update_color()
9816 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9822 * lyxrc.C: remove file->new asks for name option, and let
9823 buffer-new take an argument
9825 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9827 * BufferView_pimpl.C: remove unneeded extra repaint()
9829 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9831 * LyXAction.C: allow command-sequence with NoBuffer
9833 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9835 2002-07-10 Angus Leeming <leeming@lyx.org>
9837 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9839 2002-07-09 Angus Leeming <leeming@lyx.org>
9841 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9843 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9845 * lengthcommon.h: whitespace
9847 * lyxfunc.C: update scrollbar after goto paragraph
9849 * lyxtext.h: factor out page break drawing, and fix it so
9850 page break/added space paints as selected nicely
9852 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9854 * BufferView_pimpl.C: add FIXMEs, clean up a little
9856 2002-07-09 André Pönitz <poenitz@gmx.net>
9858 * lyxfont.[Ch]: support for wasy symbols
9860 2002-07-08 André Pönitz <poenitz@gmx.net>
9862 * BufferView_pimpl.C: apply John's patch for #93.
9864 2002-07-05 Angus Leeming <leeming@lyx.org>
9866 * BufferView_pimpl.C (buffer): generate previews if desired.
9868 * LColor.h: add "preview" to the color enum.
9870 * LColor.C (LColor): add a corresponding entry to the items array.
9872 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9875 2002-07-05 Angus Leeming <leeming@lyx.org>
9877 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9878 The body of the code is now in the method that is passed an ostream &
9879 rather than a file name.
9880 Pass an additional only_preamble parameter, useful for the forthcoming
9883 2002-07-03 André Pönitz <poenitz@gmx.net>
9885 * lyxfunc.C: simplify getStatus() a bit for math stuff
9887 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9889 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9891 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9893 * text.C (changeRegionCase): do not change case of all the
9894 document when region ends at paragraph end (bug #461)
9896 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9898 * paragraph.C (startTeXParParams):
9899 (endTeXParParams): add \protect when necessary
9901 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9903 * BufferView_pimpl.C (workAreaExpose): remove warning
9905 2002-06-27 Angus Leeming <leeming@lyx.org>
9907 * Makefile.am: add lyxlayout_ptr_fwd.h.
9909 2002-06-26 André Pönitz <poenitz@gmx.net>
9911 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9913 2002-06-25 Angus Leeming <leeming@lyx.org>
9915 * lyxfunc.C (dispatch): Comment out the call to
9916 grfx::GCache::changeDisplay. The method no longer exists now that the
9917 pixmap generation part of the graphics loader has been moved into
9920 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9922 * text2.C: layout as layout
9924 * text.C: layout as layout
9926 * tabular.C (OldFormatRead): layout as layout
9928 * paragraph_pimpl.C (TeXDeeper): layout as layout
9929 (realizeFont): layout as layout
9931 * paragraph.C (writeFile): layout as layout
9932 (validate): layout as layout
9933 (getFont): layout as layout
9934 (getLabelFont): layout as layout
9935 (getLayoutFont): layout as layout
9936 (breakParagraph): layout as layout
9937 (stripLeadingSpaces): layout as layout
9938 (getEndLabel): layout as layout
9939 (getMaxDepthAfter): layout as layout
9940 (applyLayout): layout as layout
9941 (TeXOnePar): layout as layout
9942 (simpleTeXOnePar): layout as layout
9943 (TeXEnvironment): layout as layout
9944 (layout): layout as layout
9945 (layout): layout as layout
9947 * lyxtextclass.C (compare_name): new functor to work with
9948 shared_ptr, layout as layout
9949 (Read): layout as layout
9950 (hasLayout): layout as layout
9951 (operator): layout as layout
9952 (delete_layout): layout as layout
9953 (defaultLayout): layout as layout
9955 * lyxlayout_ptr_fwd.h: new file
9957 * lyxlayout.C (Read): layout as layout
9959 * lyx_cb.C (MenuInsertLabel): layout as layout
9961 * bufferlist.C (newFile): layout as layout
9963 * buffer.C (readLyXformat2): layout as layout
9964 (parseSingleLyXformat2Token): layout as layout
9965 (insertStringAsLines): layout as layout
9966 (asciiParagraph): layout as layout
9967 (latexParagraphs): layout as layout
9968 (makeLinuxDocFile): layout as layout
9969 (simpleLinuxDocOnePar): layout as layout
9970 (makeDocBookFile): layout as layout
9971 (simpleDocBookOnePar): layout as layout
9972 (getLists): layout as layout
9974 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9976 * CutAndPaste.C (cutSelection): layout as layout
9977 (pasteSelection): layout as layout
9978 (SwitchLayoutsBetweenClasses): layout as layout
9980 * BufferView_pimpl.C (Dispatch): layout as layout
9981 (smartQuote): layout as layout
9983 * BufferView2.C (unlockInset): layout as layout
9985 2002-06-24 André Pönitz <poenitz@gmx.net>
9987 * lyxfunc.C: fix #487
9989 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9993 * lyxfunc.C: remove display_shortcuts, show_banner
9995 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9997 * Buffer_pimpl.C: oops, update on resize
9999 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10006 * BufferView.C: use repaint()
10008 * BufferView_pimpl.h:
10009 * BufferView_pimpl.C: s/updateScreen()/repaint()/
10010 as it's a clearer description. Remove superfluous
10013 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
10015 * text.C: fix bug 488. Not ideal, but getting
10016 getWord() to work properly for the insets that
10017 matter is more difficult ...
10019 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10021 * BufferView_pimpl.C:
10024 * lyxfunc.C: remove the six million index lyxfuncs to just
10025 one, and DTRT (bug 458)
10027 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10031 * BufferView_pimpl.h:
10032 * BufferView_pimpl.C: clean up resize() stuff,
10033 and unnecessary updateScreen()s
10035 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
10039 * BufferView_pimpl.h:
10040 * BufferView_pimpl.C:
10043 * minibuffer.C: remove focus management of workarea,
10044 not needed. Use screen's greyOut()
10046 2002-06-17 Herbert Voss <voss@lyx.org>
10048 * converter.C: (convert) do not post a message, when converting
10049 fails, let the calling function decide what to do in this case
10051 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
10053 * lyxfunc.C: tidy up a little
10055 2002-06-16 <alstrup@diku.dk>
10057 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
10058 Got rid of FORMS_H_LOCATION include. Now we are
10061 2002-06-15 LyX Development team <lyx@rilke>
10063 * buffer.[Ch] (sgmlOpenTag):
10064 (sgmlCloseTag): Added support for avoiding pernicious mixed
10065 content. Return number of lines written.
10067 (makeLinuxDocFile):
10068 (makeDocBookFile): Fixed calls to sgml*Tag.
10069 Simple white space clean.
10071 (simpleDocBookOnePar): Simple white space clean.
10073 * tabular.[Ch] (docBook): Renamed to docbook and got another
10074 argument to related with the pernicious mixed content.
10076 (docbookRow): Fixed calls for docbook inset method.
10078 2002-06-15 Lyx Development team <larsbj@birdstep.com>
10080 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
10081 so it's X11 independent.
10085 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
10087 2002-06-15 Lyx Development team <lyx@electronia>
10089 * intl.h: Renamed getTrans to getTransManager.
10091 2002-06-14 Angus Leeming <leeming@lyx.org>
10093 * Makefile.am: nuke forgotten stl_string_fwd.h.
10095 2002-06-12 Angus Leeming <leeming@lyx.org>
10097 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
10099 2002-06-13 Angus Leeming <leeming@lyx.org>
10102 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
10104 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
10106 * kbmap.C (getiso): add support for cyrillic and greek
10108 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10112 * BufferView_pimpl.h:
10113 * BufferView_pimpl.C: move bogus scrolling logic
10116 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10119 * BufferView_pimpl.C: view->resize() change
10121 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10123 * BufferView_pimpl.C: topCursorVisible
10126 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10130 * lyx_gui.C: move to frontends/
10134 * lyx_main.C: changes from above
10136 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10143 * lyx_main.C: minor tidy
10145 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10147 * BufferView_pimpl.h:
10148 * BufferView_pimpl.C:
10150 * BufferView.C: make painter() const,
10153 * BufferView2.C: use screen() accessor
10156 * lyx_main.C: some minor cleanup
10158 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10160 * BufferView_pimpl.h:
10161 * BufferView_pimpl.C: remove enter/leaveView,
10164 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10169 * BufferView_pimpl.h:
10170 * BufferView_pimpl.C: only construct screen once,
10173 * lyxrc.C: remove pointless comment
10175 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10178 * BufferView.C: remove active() and belowMouse()
10180 * BufferView_pimpl.h:
10181 * BufferView_pimpl.C: use workarea() not workarea_,
10182 and make it use a scoped_ptr instead
10184 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10186 * lyx_gui.C: add debug message on BadWindow
10188 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10190 * sp_spell.C: fdopen is not part of the C++ standard.
10192 * paragraph.C (InsetIterator): use >= instead of ==
10194 2002-06-07 Angus Leeming <leeming@lyx.org>
10196 Fixes needed to compile with Compaq cxx 6.5.
10197 * BufferView_pimpl.C:
10204 * lyxtextclasslist.C:
10209 all c-library variables have been moved into namespace std. Wrap
10210 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10215 Add a using std::abs declaration.
10217 * kbmap.h (modifier_pair):
10218 * paragraph.h (InsetTable, InsetList):
10219 * lyxfont.h (FontBits):
10220 type definition made public.
10222 * bufferlist.C (emergencyWriteAll): the compiler complains that
10223 there is more than one possible lyx::class_fun template to choose from.
10224 I re-named the void specialisation as lyx::void_class_fun.
10226 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10228 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10229 the compiler is is unable to find tostr in write_attribute.
10231 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10233 * buffer.C (sgmlError): hide #warning
10235 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10237 * xtl/*: get rid of xtl, which is not in use anyway
10239 * LyXAction.C (init):
10240 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10241 were unimplemented xtl experimentation
10243 2002-06-04 André Pönitz <poenitz@gmx.net>
10245 * lyxfunc.C: disable array operation on simple formulae
10247 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10249 * converter.C: constify a bit
10251 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10253 * lyx_gui.C: check xforms version correctly
10255 2002-04-30 Herbert Voss <voss@lyx.org>
10257 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10260 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10262 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10263 attempt to register it with a VCS)
10265 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10267 * lyx_main.C (init): honor variables LYX_DIR_13x and
10270 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10274 * lyx_main.C: fix a crash on bad command line,
10275 and give a useful exit status on error
10277 * lyxfunc.C (doImport): allow -i lyx to work
10279 2002-03-30 André Pönitz <poenitz@gmx.net>
10281 * lyxfunc.C: mathed font changes
10283 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10298 * trans_mgr.h: srcdocs, and some minor cleanups
10300 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10302 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10303 call getFont all the time)
10305 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10307 * switch from SigC signals to boost::signals
10309 2002-05-29 André Pönitz <poenitz@gmx.net>
10311 * paragraph_pimpl.C (getChar): don't call size() too often...
10313 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10315 * paragraph_pimpl.C (insertChar): do not try to update tables when
10316 appending (pos == size())
10318 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10319 in order to reduce drastically the number of comparisons needed to
10320 parse a large document
10322 2002-05-29 André Pönitz <poenitz@gmx.net>
10328 * textclasslist.[Ch]:
10329 * sp_ispell.h: whitespace change
10331 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10333 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10334 lyxaction directly now.
10336 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10340 * lyxvc.C: remove unused headers
10342 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10349 * undo_funcs.C: some cleanups. Use shared_ptr
10350 and a template for the undo stacks.
10352 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10354 * BufferView_pimpl.h:
10355 * BufferView_pimpl.C:
10362 * text2.C: use key_state/mouse_state
10364 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10366 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10369 * chset.C: change include order
10370 (loadFile): use boost regex and get rid of LRegex and LSubstring
10372 * Makefile.am (BOOST_LIBS): new variable
10373 (lyx_LDADD): use it
10375 * LaTeX.C: change include order.
10376 (scanAuxFile): use boost regex and get rid of LRegex and
10380 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10385 * FontInfo.C: moved to frontends/xforms/
10388 * FontLoader.C: moved into frontends for GUIIzation
10393 * lyxfunc.C: changes from above
10395 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10397 * LColor.C: remove spurious X include
10399 * BufferView_pimpl.C:
10404 * text2.C: move font metrics to frontends/
10406 2002-05-24 Juergen Vigna <jug@sad.it>
10408 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10409 setting the undo_cursor.
10411 * ParagraphParameters.h: include local includes first.
10413 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10415 * BufferView_pimpl.C:
10416 * BufferView_pimpl.h:
10420 * screen.C: move WorkArea into frontends/
10426 * BufferView2.C: move LyXScreen into frontends/
10430 * lyx_gui.C: move lyxlookup into frontends/xforms/
10432 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10435 * BufferView_pimpl.C:
10445 * bufferview_funcs.C:
10458 * vc-backend.C: move LyX/XFormsView into frontends/
10460 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10472 * text2.C: move Painter to frontends/
10474 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10476 * buffer.C: comment out some some code that depend upon lyx_format
10479 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10480 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10482 * buffer.h (NO_COMPABILITY): turn off compability
10484 * ColorHandler.C: include scoped_array.hpp
10486 * font.C: Use more specific smart_ptr header.
10489 * ShareContainer.h: ditto
10490 * lyx_main.h: ditto
10492 * FontInfo.h: ditto
10493 * BufferView_pimpl.h: ditto
10494 * ColorHandler.h: ditto
10496 * kbmap.C (defkey): change call to shared_ptr::reset
10498 2002-05-21 Juergen Vigna <jug@sad.it>
10500 * buffer.C (insertErtContents): fix to insert ert asis if it is
10501 non empty. Skip it completely if it contains only whitespaces.
10503 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10505 * BufferView_pimpl.C:
10506 * BufferView2.C: clear selection on paste (bug 393)
10508 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10510 * DepTable.C: include ctime
10512 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10514 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10516 2002-05-14 Juergen Vigna <jug@sad.it>
10518 * text.C (breakParagraph): fixed function to honor the keepempty
10519 layout in the right maner and also to permit the right breaking
10520 algorithm on empty or non empyt keepempty paragraphs.
10522 * paragraph.C (breakParagraph): we have to check also if the par
10523 is really empty (!size()) for isempty otherwise we do the wrong
10526 2002-05-10 Juergen Vigna <jug@sad.it>
10528 * buffer.[Ch] : The following are only changes to the ert
10529 compatibility read reading old LaTeX layout and font stuff and
10530 convert it to ERTInsets.
10532 * buffer.h: added isErtInset().
10534 * buffer.C (struct ErtComp): add a fromlayout bool to check
10535 if we're inside a LaTeX layout.
10536 (isErtInset): new helper function.
10537 (insertErtContents): look for other ert insets before this one
10538 and insert the contents there, so that we don't have subsequent
10539 ERT insets with nothing between them. This way we create only one
10540 inset with multiple paragraphs. Also check if we don't insert only
10541 spaces ' ' as they are ignored anyway afterwards in the .tex file
10542 so if we have only spaces we will ignore this latex part in the
10544 (parseSingleLyXformat2Token \\layout): better compatibility when
10545 reading layout-latex stuff.
10546 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10548 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10549 stuff after reading the inset only get the information back from
10552 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10554 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10556 * LaTeXFeatures.C (getBabelOptions): New method.
10558 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10560 * BufferView_pimpl.C (Dispatch): work around missing argument for
10563 2002-05-08 Juergen Vigna <jug@sad.it>
10565 * text.C (leftMargin): handle paragraph leftindent.
10567 * paragraph.C (writeFile): write the new \\leftindent tag.
10568 (validate): handle leftindent code.
10569 (TeXEnvironment): handle paragraphleftindent code again.
10571 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10573 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10574 for paragrap_extra indent code and new token \\leftindent.
10575 (latexParagraphs): handle the leftindent as environment.
10577 * ParameterStruct.h: added leftindent support.
10579 * ParagraphParameters.C (leftIndent): added support functions for
10580 the paragraph left indent.
10582 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10585 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10587 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10590 * text.C (computeBidiTables): No bidi in insetERT.
10592 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10595 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10597 * version.C.in: pre 5
10599 2002-05-02 José Matos <jamatos@fep.up.pt>
10600 * buffer.C (makeDocBookFile): white space changes, add newline to
10602 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10604 * tabular.C (docBook): fix typo.
10606 2002-05-03 Juergen Vigna <jug@sad.it>
10608 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10609 change in LyXText as we can not be sure it was not freed.
10610 (drawOneRow): remove unused code.
10612 * text.C (drawInset): redo the calculation of the need_break_row as
10613 it could have a row which was already freed.
10614 (draw): look at the return value of drawInset and return false if
10615 it also returned false.
10616 (paintRowText): look at the return value of draw and return false if
10617 it also returned false.
10619 * lyxtext.h: added bool return type to drawInset() and draw() so that
10620 if we have a change in the row so that the rowbreak has to be redone
10621 we abort drawing as it will be called again.
10623 2002-05-02 Juergen Vigna <jug@sad.it>
10625 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10626 a change in the maintext also if we're inside an inset.
10627 (Dispatch): set the cursor again after a break line and after the
10628 screen has been updated as it could be we're in a different row.
10630 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10631 to set the cursor behind the pargraph with > size().
10632 (setCursor): check also for the same paragraph when checking where
10633 to put the cursor if we have a NFR inset.
10635 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10636 parts of layout read further up as it still was in the wrong
10639 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10641 * screen.C (drawFromTo): change sine fullRebreak always return
10644 * buffer.C (parseSingleLyXformat2Token): reindent some
10646 * BufferView_pimpl.C (update): change since fullRebreak always
10648 (Dispatch): git rid of the last hardcoded "Standard"s.
10650 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10652 * text2.[Ch] (fullRebreak): make it return void now that we always
10655 2002-04-30 Juergen Vigna <jug@sad.it>
10657 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10658 ert compatibility check for "latex" layout.
10660 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10662 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10663 minipages: use col% instead of p%, and also use the current font.
10664 (makeLaTeXFile): Fix use babel condition.
10665 (parseSingleLyXformat2Token): Correct font when reading old floats.
10667 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10669 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10670 inserting list of floats.
10672 2002-04-25 Herbert Voss <voss@lyx.org>
10674 * MenuBackend.C (expand): don't add the graphics extensions to the
10677 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10679 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10680 non-existing layout, do not complain if it was the default layout
10681 of the original class (bug #342)
10683 2002-04-24 Juergen Vigna <jug@sad.it>
10685 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10686 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10688 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10690 * buffer.C (getBibkeyList): If using \bibliography, return the
10691 option field with the reference itself. Enables us to provide natbib
10692 support when using \bibliography.
10694 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10696 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10698 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10699 natbib is provided by the LaTeX class.
10701 2002-04-23 Juergen Vigna <jug@sad.it>
10703 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10706 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10708 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10710 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10712 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10713 ensuremath around textordmasculine, textordfeminine and
10716 2002-04-19 Juergen Vigna <jug@sad.it>
10718 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10719 reinitializing the buffer otherwise row-dimensions may be wrong.
10720 (update): reset also the selection cursors if they do exits otherwise
10721 their x/y positions may be wrong.
10723 * text2.C (cursorDown): don't enter the inset if we came from a row
10724 above and are one row over the inset.
10726 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10727 really leaving an inset.
10729 2002-04-18 Juergen Vigna <jug@sad.it>
10731 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10732 of the selected paragraph does not have the selected layout also if
10735 * text2.C (setLayout): fixed bug which did not change last selected
10738 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10739 changed the read and substituted \\end_float with \\end_inset!
10741 * BufferView_pimpl.C (cursorPrevious):
10742 (cursorNext): fixed to make it work with rows heigher than the work
10743 area without moving the cursor only the draw of the row.
10744 (workAreaMotionNotify): fix jumping over high rows.
10746 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10748 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10751 2002-04-16 Juergen Vigna <jug@sad.it>
10753 * text2.C (setCursor): set also the irow().
10754 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10756 (cursorDown): support for locking an inset if the x_fix value goes
10757 inside it. That way I can transverse insets too with cursor up/down.
10759 * lyxrow.h: added irow helper function same as other (i) functions.
10761 * BufferView_pimpl.C (cursorPrevious):
10762 (cursorNext): fixed for insets!
10764 2002-04-15 Juergen Vigna <jug@sad.it>
10766 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10767 position otherwise it is wrong in some cases.
10769 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10770 inside the inset before the call.
10772 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10774 * buffer.[Ch] (getBibkeyList): make it const.
10776 2002-04-12 Juergen Vigna <jug@sad.it>
10778 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10780 * text2.C (getCursorX): new helper function
10781 (setCursor): compute also ix_
10782 (setCursorFromCoordinates): set also ix.
10784 * lyxcursor.h: added ix_ and helper functions.
10786 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10788 * buffer.C (insertStringAsLines): dont break paragraph if the this
10789 paragraph is inside an inset which does not permit it!
10791 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10792 also with no chars on this paragraph.
10793 (paintRowText): only paint stuff if it's inside the workarea!
10795 * paragraph.C (breakParagraph): honor keepempty flag and break the
10796 paragraph always below not above.
10798 * BufferView2.C (unlockInset): update the paragraph layout on inset
10799 unlock as we changed paragraph in such a case.
10801 * lyxfind.C (LyXFind): clear the former selection if not found!
10803 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10804 again called in insertChar().
10806 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10807 an inset which uses the whole row!
10808 (rightMargin): ditto.
10809 (insertChar): force a rebreak if we inserted an inset!
10811 2002-03-28 Herbert Voss <voss@lyx.org>
10813 * lyxlength.[Ch]: add inBP() to get the right PS-point
10814 units (BigPoint). With inPixels we have rounding errors
10816 2002-04-11 Juergen Vigna <jug@sad.it>
10818 * text2.C (setCursorFromCoordinates): set iy to the right value.
10819 (setCursor): add check if row->previous exists!
10821 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10822 an old float_type as this was the case in the old code!
10824 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10826 * BufferView2.C (showLockedInsetCursor): use iy
10827 (fitLockedInsetCursor): ditto
10829 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10830 locked insets as there we have the right value now.
10832 * lyxcursor.C: added iy_ variable and iy functions to set to the
10833 baseline of cursor-y of the locked inset.
10835 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10836 (setCursor): fixed for insets which need a full row.
10838 * text.C (rowLastPrintable): don't ignore the last space when before
10839 an inset which needs a full row.
10840 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10841 as last character of a row when before a inset which needs a full row.
10843 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10845 * version.C.in: update date
10847 * text2.C (fullRebreak): try to always return true and see what
10850 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10852 * MenuBackend.C (expand): use Floating::listName
10854 * FloatList.C (FloatList): add listName argument to the built-in
10857 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10858 text associated with the float.
10860 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10862 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10864 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10866 * ShareContainer.h: add a couple of missing typenames.
10868 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10870 * lyxrc.C (getDescription): use _() correctly rather than N_().
10872 2002-03-28 Herbert Voss <voss@lyx.org>
10874 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10875 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10877 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10879 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10880 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10882 2002-03-29 Juergen Vigna <jug@sad.it>
10884 * lyxfunc.C (dispatch): add a missing fitCursor call.
10886 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10887 it was scrolled by a cursor move, so return the bool status.
10889 * BufferView.C (fitCursor): return the bool flag also to the outside
10890 world as this is needed.
10892 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10894 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10895 call the edit() as it is not needed (and wrong) IMO.
10896 (workAreaButtonPress): set the screen_first variable before evt.
10897 unlock the inset as this may change screen_first and then we have
10898 a wrong y position for the click!
10900 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10902 * MenuBackend.C (expand): another translation that I missed
10904 2002-03-28 Juergen Vigna <jug@sad.it>
10906 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10908 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10910 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10912 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10914 * MenuBackend.C (expand): fix export/view/update when there is no
10917 2002-03-27 Herbert Voss <voss@lyx.org>
10919 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10922 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10924 * bufferview_funcs.C (currentState): only show paragraph number
10925 for is DEVEL_VERSION is set.
10927 * lyxfunc.C (dispatch): put warning in INFO channel
10929 * MenuBackend.C (expand): translate the name of floats
10931 * FloatList.C (FloatList): mark the float names for translation
10933 * converter.C (convert): use LibScriptSearch
10935 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10937 * MenuBackend.C (defaults): fix default menu (we might as well get
10940 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10942 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10945 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10947 * lyxvc.C: reorder includes.
10949 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10951 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10954 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10956 * CutAndPaste.C: change layouts earlier on paste
10957 to avoid crashing when calling getFont()
10959 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10961 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10964 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10966 * WorkArea.C: remove 'Pending' debug message.
10968 * most files: ws cleanup
10970 * buffer.[Ch]: ws changes
10972 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10974 2002-03-21 Juergen Vigna <jug@sad.it>
10976 * tabular.C (SetMultiColumn): collapse also the contents of the
10977 cells and set the last border right. Added a Buffer const * param.
10979 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10981 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10984 2002-03-19 Juergen Vigna <jug@sad.it>
10986 * text2.C (clearSelection): reset also xsel_cache.
10988 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10989 where it needs to be called (John tells us to do so too :)
10990 (selectionLost): reset sel_cache.
10992 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10994 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10996 * text2.C (setCursorIntern): put debuging code in INSETS channel
10998 2002-03-19 André Pönitz <poenitz@gmx.net>
11000 * lyxfunc.C: tiny whitespace change
11002 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11004 * ToolbarDefaults.C (init):
11005 * LyXAction.C (init):
11007 * BufferView_pimpl.C (Dispatch):
11008 * lyxfunc.C (dispatch): remove LFUN_DEPTH
11010 2002-03-19 Allan Rae <rae@lyx.org>
11012 * exporter.C (Export): removeAutoInsets before doing anything else.
11013 While I've just introduced a dependency on BufferView this really is
11014 the best place to clean the buffer otherwise you need to cleanup in
11015 a dozen places before calling export or cleanup in a dozen functions
11018 * converter.C (runLaTeX):
11019 (scanLog): Better handling of removeAutoInsets and screen updates.
11021 * lyxfunc.C (dispatch): small whitespace changes
11023 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
11025 * WorkArea.C (C_WorkAreaEvent): return a value.
11026 (event_cb): return 1 if we handled the event, 0 otherwise.
11028 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
11030 2002-03-18 Juergen Vigna <jug@sad.it>
11032 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
11033 (GetAdditionalWidth): ditto.
11034 (RightLine): ditto.
11037 * BufferView2.C (copy): use getLyXText() so that we do it inside an
11038 inset if we're there actually (probably not used right now but this
11039 is the direction to go for unifying code).
11040 (paste): disable code to clear the selection.
11042 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
11043 inside an InsetText and move the check further up as it is in the
11046 * text2.C (pasteSelection): set a selection over the pasted text.
11048 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
11050 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
11051 and libgraphics to build on Cygwin.
11053 2002-03-15 Juergen Vigna <jug@sad.it>
11055 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
11056 inserting an Inset into the paragraph. I know this is not the best
11057 fix but we already use current_view in CutAndPaste so we will remove
11058 all of it's using at the same time.
11060 * buffer.C (sgmlError): deactivated function till it is rewritten in
11061 the right mode, now it can create problems.
11063 * paragraph.C (isLineSeparator): check if getInset returns != 0,
11064 before accessing it.
11066 2002-03-14 Juergen Vigna <jug@sad.it>
11068 * undo_funcs.C (textHandleUndo): do the right thing when updating
11069 the inset after the undo/redo.
11071 * text2.C (setCursor): just some testcode for #44 not ready yet.
11073 * undo_funcs.C (textHandleUndo): set the next() and previous()
11074 pointers of the paragraph to 0 before deleting otherwise we have
11075 problems with the Paragraph::[destructor].
11077 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
11078 on a paragraph insertion.
11080 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11082 * buffer.C (asciiParagraph): use += operator for char append to
11085 * paragraph.C (getFontSettings): compare >= not just >
11086 (highestFontInRange): ditto
11089 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11091 * paragraph.C: change several algorithm to be more appripriate for
11092 the problem domain. This is lookip in FontList and in the InsetList.
11094 2002-03-13 André Pönitz <poenitz@gmx.net>
11097 * LyXAction.C: remove unused LFUN_MATH_MACROARG
11099 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
11104 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
11106 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11108 * Painter.C (display): anon helper function, adjust code for this
11110 (pixmap): remove function.
11112 * Painter.h: remove private display variable.
11114 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
11116 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
11118 * WorkArea.[Ch]: remove figinset_canvas cruft.
11120 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
11122 * lyxtextclass.C (operator): add one item cache optimization.
11124 * bufferlist.h: doxy changes
11126 * bufferlist.C: ws changes
11128 * DepTable.[Ch] (ext_exist): place const in the right spot.
11130 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
11132 (workAreaExpose): call resizeInsets when the with BufferView changes.
11133 (Dispatch): adjust for protectedBlank removal
11134 (specialChar): call updateInset if the insert went ok.
11136 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
11137 specialChar instead.
11139 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
11141 * BufferView.h: doxy change
11143 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
11145 * lyxtextclass.C (operator[]): remove non-const version
11146 (defaultLayout): remove non-const version
11148 2002-03-12 Juergen Vigna <jug@sad.it>
11150 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
11151 did resize the LyXText too.
11153 * buffer.C (readLyXformat2): set layout information on newly allocated
11156 * tabular.C (OldFormatRead): set layout information on the paragraph.
11158 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11160 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
11162 2002-03-11 Juergen Vigna <jug@sad.it>
11164 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11166 (resizeCurrentBuffer): force also the insets to resize themselfes.
11167 (moveCursorUpdate): fixed up for InsetText.
11169 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11172 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11173 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11174 value of Dialogs::tooltipsEnabled().
11175 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11177 2002-03-08 Juergen Vigna <jug@sad.it>
11179 * BufferView_pimpl.C (updateInset): update inset inside inset also
11180 if it isn't inside theLockingInset().
11182 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11184 * buffer.C (asciiParagraph): redo some of the word and line length
11186 (getLists): look for Caption instead of caption.
11188 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11190 * buffer.C (Buffer): initialize niceFile to true
11192 (makeLinuxDocFile):
11193 (makeDocBookFile): make sure niceFile is true on exit
11195 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11197 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11199 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11201 * LyXSendto.C: remove.
11202 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11203 * lyx_gui.C: remove now-redundant comment.
11204 * ColorHandler.h: remove forward declaration of class WorkArea.
11205 * lyxfunc.C: remove #include "WorkArea.h".
11207 2002-03-07 Juergen Vigna <jug@sad.it>
11209 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11210 got moved away with the DEPM and also set the inset_owner always
11211 right which before could have been omitted.
11213 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11215 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11216 wanted layout is not found.
11218 2002-03-07 Juergen Vigna <jug@sad.it>
11220 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11222 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11224 * paragraph.C (breakParagraph): use default layout not layout of
11226 (Paragraph): clear ParagraphParameters.
11228 2002-03-06 Juergen Vigna <jug@sad.it>
11230 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11231 otherwise it would not be a valid lenght. Fixed a special case in
11232 the minipage compatibility read where we end the document with a
11235 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11236 was set as it could be 0 for InsetTexts first entry.
11238 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11240 * paragraph.C (writeFile): if layout is empty write out
11241 defaultLayoutName().
11243 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11244 file without named layout we set layout to defaultLayoutName().
11246 2002-03-06 Juergen Vigna <jug@sad.it>
11248 * CutAndPaste.C (copySelection): set layout for new paragraph.
11250 * text.C (prepareToPrint): leave ERT inset left aligned
11251 (leftMargin): don't indent paragraphs inside ERT insets
11253 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11255 * paragraph.C (breakParagraph): dont call clear do the work manually
11257 * paragraph.[Ch] (clear): remove function
11259 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11261 * paragraph.C (Paragraph): dont call clear, the work has already
11264 * lyxtextclass.C (operator): assert if n is empty
11266 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11267 work manually instead.
11269 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11271 * BufferView_pimpl.C: protect selectionLost against text == 0
11273 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11275 * text.C (breakParagraph): fix a setting layout to '0' problem.
11277 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11279 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11280 final location of file, for the included files, and graphics.
11282 2002-03-05 Juergen Vigna <jug@sad.it>
11284 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11286 2002-03-04 Juergen Vigna <jug@sad.it>
11288 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11290 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11291 last column of multicolumn cells.
11292 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11294 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11296 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11297 file if it doesn't go to a temporary file.
11299 * buffer.C (sgmlOpenTag):
11300 (sgmlCloseTag): remove extra newline insertion.
11302 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11304 * text.C (getRowNearY): comment out debug msg
11306 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11308 * text2.C: first -> first_y
11310 * text.C (getRowNearY): add some attemts at a possible
11311 optimization, not working.
11313 * tabular.[Ch]: add BufferParams to several function so that newly
11314 created paragraph can be initialized to he default layotu for the
11317 * tabular-old.C (ReadOld): add buf->params to call of Init
11319 * screen.C: rename text->first to text->first_y
11321 * paragraph.C (breakParagraph): always set layout in the broken
11324 * lyxtextclass.C (Read): remove lowercase
11327 (delete_layout): ditto
11329 * lyxtext.h: rename first -> first_y
11331 * lyxlayout.C (Read): remove lowercase
11334 (obsoleted_by): ditto
11336 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11338 * buffer.C (insertErtContents): add params are to InsetERT
11339 (parseSingleLyXformat2Token): add code to check if a paragraphs
11340 layout really exist.
11341 (parseSingleLyXformat2Token): add params to several inset
11343 (asciiParagraph): remove lowercase, do the layout comparisons with
11346 * BufferView_pimpl.C (cursorNext): first -> first_y
11347 (resizeCurrentBuffer): first -> first_y
11348 (updateScrollbar): first -> first_y
11349 (scrollCB): first -> first_y
11350 (workAreaMotionNotify): first -> first_y
11351 (workAreaButtonPress): first -> first_y
11352 (checkInsetHit): first -> first_y
11353 (cursorPrevious): first -> first_y
11354 (cursorNext): first -> first_y
11355 (Dispatch): add buffer_->params to severl inset contructors
11357 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11359 * lyxlayout.C (Read): remove some debug info that I forgot.
11361 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11362 clean up the code slightly.
11363 (makeLinuxDocFile): ditto
11364 (makeDocBookFile): ditto
11366 * text2.C: layout as string
11368 * text.C: layout as string
11370 * paragraph_pimpl.C: layout as string
11372 * paragraph.[Ch]: layout as string
11374 * lyxtextclasslist.[Ch]: layout as string
11376 * lyxtextclass.[Ch]: layout as string
11378 * lyxtext.h: layout as string
11380 * lyxlayout.[Ch]: layout as string
11382 * lyx_cb.C: layout as string
11384 * bufferview_funcs.C: layout as string
11386 * bufferparams.C: layout as string
11388 * buffer.C: layout as string
11390 * LyXView.[Ch]: layout as string
11392 * LaTeXFeatures.[Ch]: layout as string
11394 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11396 * BufferView_pimpl.C: change current_layout to string, remove
11401 (workAreaButtonRelease): layout as string
11403 * BufferView2.C (unlockInset): adjust
11405 * vspace.C (asLatexCommand): use an explict temp variable.
11407 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11409 * Makefile.am: use FRONTEND_*
11411 2002-03-01 Juergen Vigna <jug@sad.it>
11413 * tabular.C (SetWidthOfMulticolCell): changed to something better
11414 I hope but still work in progress.
11415 (recalculateMulticolumnsOfColumn): renamed function from
11416 recalculateMulticolCells as it is more appropriate now.
11417 (SetWidthOfCell): calculate multicols better.
11419 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11421 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11423 * lyxfunc.C (processKeySym): print sequence also if it is
11424 `deleted' (complete)
11426 * kbsequence.C (print): print sequence even if it is deleted
11427 (complete would be a better word, actually).
11429 * lyxfunc.C (dispatch): print complete options after a prefix key
11431 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11433 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11435 * text2.C (setCharFont): eliminate setCharFont code duplication.
11437 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11439 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11440 LFUN_TABULAR_FEATURE (bug #177)
11442 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11444 * Makefile.am: remove figure.h
11446 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11448 * Bufferview_pimpl.C:
11460 * text2.C: remove #include "lyx_gui_misc.h".
11462 * LaTeX.C: added #include <cstdio>
11464 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11466 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11467 that the paragraph following this one can have.
11469 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11471 * vspace.C (asLatexCommand): fix bogus gcc warning
11473 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11475 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11477 * text2.C (setLayout): get rid of redundant code
11479 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11481 * text2.C (incDepth): make sure depth cannot be increased beyond
11484 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11486 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11487 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11489 * PainterBase.h (image):
11490 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11491 a LyXImage const *.
11493 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11497 * BufferView_pimpl.C:
11498 * BufferView_pimpl.h:
11518 * sp_spell.C: remove fig inset, and the crap house of
11519 cards that follows it
11521 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11526 * os2_errortable.h:
11527 * nt_defines.h: move .h into support/
11529 * vms_defines.h: remove
11531 * WorkArea.C: add space in debug output
11535 * buffer.C: add WITH_WARNINGS
11539 * bufferlist.C: s/retrive/retrieve/, add docs
11548 * chset.C: add docs
11550 * lyxgui.C: add ID to X error handler
11552 * lyxtestclass.c: fix typo
11554 2002-02-26 Juergen Vigna <jug@sad.it>
11556 * tabular_funcs.C (write_attribute): changed so that some default
11557 attributes are not written at all.
11558 (getTokenValue): set default values before trying to read the
11559 value so we have the return value always set as default if we don't
11560 find the token we search for.
11562 * tabular.C (Write): write bools as bools not as strings!
11564 2002-02-22 Juergen Vigna <jug@sad.it>
11566 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11567 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11569 * text.C (leftMargin): don't add an indent for paragraphs inside
11570 tabular cells (fix #208).
11572 2002-02-21 José Matos <jamatos@fep.up.pt>
11574 * tabular.C (docBook): fixed support for long tables.
11576 2002-02-20 Juergen Vigna <jug@sad.it>
11578 * text2.C (getFont): get the drawing font of the Inset if this
11579 paragraph is inside an inset (only important for InsetERT for now).
11581 * buffer.C (insertErtContents): use new lanugage params in ERT
11584 * CutAndPaste.C: commenting out seemingly uneeded code.
11586 2002-02-19 Allan Rae <rae@lyx.org>
11588 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11589 Iterators might be simple to use but they also get invalidated.
11590 (removeAutoInsets): renamed saved cursor tracking variables and added
11591 some comments to clarify what everything does.
11593 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11600 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11601 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11604 * vc-backend.h: remove #include "support/syscall.h"
11608 * converter.C: rearrange #includes in Lars' approved fashion.
11610 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11611 forward declare class Timeout in the header file.
11613 * XFormsView.C: changes due to the above.
11615 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11616 similar to LyXView.
11618 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11619 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11621 2002-02-18 José Matos <jamatos@fep.up.pt>
11623 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11626 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11628 * a lot of small ws changes
11629 * add a lot of using std::XXX
11630 * use std construcs some places where approp.
11631 * use some exisint stuff from lyxfunctional where approp.
11632 * Make file changes to use partial linking (lets test this now...)
11634 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11638 remove #include "support/syscontr.h" as it's redundant. Always has been.
11646 change Systemcalls::System to Systemcalls::Wait and
11647 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11648 No change of functionality, just reflects the stripped down Systemcalls
11651 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11653 * debug.[Ch]: add a GRAPHICS type to the enum.
11655 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11657 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11659 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11662 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11664 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11665 match the changes below.
11667 * text2.C (toggleInset): if there is not editable inset at cursor
11668 position, try to see if cursor is _inside_ a collapsable inset
11671 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11673 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11674 document menu has a nice checkbox
11676 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11678 * lyxlength.C (asLatexString): change PW to output as percent of
11681 * lengthcommon.C: change '%' to 't%'
11683 * lyxfunc.C (dispatch): a few comments from Martin
11685 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11689 * BufferView_pimpl.h:
11690 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11693 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11695 * vspace.C (inPixels): fix compiler warning
11697 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11699 * lyxfunc.C (getStatus): fix status message for disabled commands.
11701 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11703 * BufferView_pimpl.C: fix crash on close buffer
11704 during selection (#227)
11706 2002-01-27 Herbert Voss <voss@lyx.org>
11708 * buffer.C: link old Figure to new graphic inset
11710 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11712 * FontLoader.C (getFontinfo): Change the latex font names in order
11713 to match the names of type1inst.
11715 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11717 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11719 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11720 (extchanged): ditto
11722 (remove_files_with_extension): ditto
11723 (remove_file): ditto
11726 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11727 document is smaller than the work area height. Do not initialize
11728 static variables to 0.
11730 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11732 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11734 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11735 LFUN_LAYOUT_PARAGRAPHS.
11737 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11738 tabular. It is possible to provide a possible cell, which will
11739 typically be the actcell from the corresponding insettabular
11741 * lyxfunc.C (getStatus): small cleanup; disable
11742 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11745 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11747 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11749 * paragraph.C (startTeXParParams):
11750 (endTeXParParams): new methods. The LaTeX code to
11751 start/end paragraph formatting
11752 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11753 empty (fixes bug #200)
11755 * vspace.C (inPixels): adapt to the change below
11756 (inPixels): [later] more cleanups (remove unused variables)
11758 * lyxlength.C (inPixels): change to use a width and a height as
11761 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11763 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11764 Replaced with \paperwidth
11766 * DepTable.C (insert): add std:: qualifier
11768 2002-01-18 Allan Rae <rae@lyx.org>
11770 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11773 * text.C (drawInset): Turned out I didn't know enough about how
11774 rebreaking worked. This fixes most of the redraw problems. I see
11775 an occasional cursor trail when a line is broken now and the cursor
11776 placement can seem out by a few pixels also after a rebreak.
11778 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11780 * buffer.C (parseSingleLyXformat2Token): update because minipage
11781 width is now a LyXLength
11783 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11785 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11788 2002-01-17 Juergen Vigna <jug@sad.it>
11790 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11792 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11793 is set correctly and the inset is updated correctly.
11795 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11797 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11798 the beginning of the loop.
11800 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11802 * lyxrc.C: improve help for use_scalable_fonts
11804 2002-01-17 Allan Rae <rae@lyx.org>
11806 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11808 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11810 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11811 make sure to set their inset_owner to the right value (bug #171)
11813 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11816 * DepTable.C: Implement mtime checking to reduce time spent doing
11819 2002-01-16 Juergen Vigna <jug@sad.it>
11821 * tabular.C (GetAdditionalHeight): one of error fixed.
11823 * lyxrc.C (output): small fix in writing use_pspell.
11825 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11827 * sp_base.h: #include LString.h
11829 2002-01-16 Allan Rae <rae@lyx.org>
11831 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11832 Can someone check this please?
11834 * text.C (drawInset): It was possible that p.row would be removed by
11835 breakAgainOneRow upsetting a few other settings. There may be another
11836 small tweak possible by setting need_break_row = 0 when p.row has been
11837 removed but I don't know enough about the logic here.
11839 2002-01-15 Allan Rae <rae@lyx.org>
11841 * text.C (insertChar): removed conditional truism.
11843 * BufferView2.C (removeAutoInsets): More tweaks.
11844 cur_par_prev could be a stray pointer. Check for trailing empty line
11845 in case last line was cur_par and only had an error inset on it.
11847 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11849 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11852 * vc-backend.C (most methods):
11853 * exporter.C (Export):
11854 * converter.C (convert):
11856 * LyXSendto.C (SendtoApplyCB):
11857 * lyxfunc.C (dispatch):
11861 * lyx_cb.C (AutoSave):
11863 * BufferView_pimpl.C (MenuInsertLyXFile):
11864 * buffer.C (runChktex): use Buffer::filePath().
11866 * buffer.h: rename filename to filename_; rename filepath to
11867 filepath_ and make it private
11868 (filePath): new method
11870 * buffer.C (writeFile): use fileName()
11873 * lyx_main.C (init): fix starting of LyX when the binary is a
11874 link from so,ewhere else.
11876 * minibuffer.C: include <cctype> for isprint
11878 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11880 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11881 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11882 name clash with InsetCollapsable's width function.
11884 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11886 * lastfiles.C: include <iterator>
11888 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11890 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11893 * buffer.C (makeLaTeXFile): ditto.
11894 Also make loop operation more transparent.
11896 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11898 * ToolbarDefaults.C: remove trailing comma closing namespace.
11900 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11902 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11905 * trans.C (Load): comment out unused variable, allowed.
11907 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11909 * minibuffer.[Ch] (append_char): new method to recieve input from the
11910 drop-down completion browser. If a key was pressed, then recieve this
11911 char and append it to the existing string.
11912 (peek_event): modify the positioning data passed to the completion
11913 browser so that it can be placed above the minibuffer rather than below.
11914 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11916 * LyXAction.C (init): alloe error-next for readonly documents.
11918 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11921 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11923 * bufferlist.C (readFile): create the buffer _after_ checking that
11926 * lyxfunc.C (verboseDispatch): fix handling of arguments
11928 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11930 * lyxrc.C: use string::erase() instead of initializing to "".
11933 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11935 * BufferView_pimpl.h:
11936 * BufferView_pimpl.C:
11939 * text2.C: tell X when we have made a selection for copying
11941 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11943 * BufferView_pimpl.C (MenuInsertLyXFile):
11944 * lyxfunc.C (menuNew):
11946 (doImport): add shortcuts to directory buttons
11948 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11951 * lyxfunc.C (setStatusMessage):
11952 (getStatusMessage): new methods
11953 (getStatus):use setStatusMessage instead of setErrorMessage
11954 (dispatch): when function is disabled, set error message here
11955 [instead of in getStatus previously]
11957 * BufferView_pimpl.C (workAreaButtonRelease): update
11958 toolbar/menubar here too.
11960 2002-01-13 Allan Rae <rae@lyx.org>
11962 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11963 Now seems indestructible. Remaining task is to audit all other
11964 code affected by deleteEmptyParagraphMechanism. One small quirk
11965 left is that an empty document with an error in the preamble can
11966 be made to report an error but no error box appears. I don't know
11968 (removeAutoInsets): Improved comments.
11970 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11973 * Thesaurus.C: update for Aiksaurus 0.14
11975 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11977 * text2.C (firstParagraph): removed member function, all uses
11978 replaces with ownerParagraph
11979 (redoParagraphs): here
11980 (updateInset): here
11981 (toggleAppendix): here
11982 * BufferView2.C (insertErrors): here
11983 (setCursorFromRow): here
11985 2002-01-13 Allan Rae <rae@lyx.org>
11987 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11988 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11989 There is still a way to segfault this although you may have to do this
11990 multiple times: Have an InsetERT with an unknown command in it.
11991 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11992 <down-arrow>, <Enter> again, View->DVI, BANG!
11994 * text2.C (setCursor):
11995 (deleteEmptyParagraphMechanism):
11996 * lyxtext.h (setCursor):
11997 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11998 Making use of the return value may help fix other bugs.
12000 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12002 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
12004 * LyXView.C (updateMenubar): call MenuBar::update here
12005 (updateToolbar): but not here
12006 (showState): do not update toolbar/menubar
12008 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
12009 should need to care about that.
12011 * lyxfunc.C (verboseDispatch): simplify a bit
12012 (getStatus): have a version which takes a pseudoaction, and
12013 another which requires a (kb_action,string).
12015 * LyXAction.C (retrieveActionArg): make it work also when action
12016 is not a pseudo-action.
12017 (getActionName): simplify a bit
12020 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12022 * lyxfunc.C (verboseDispatch): new families of methods with
12023 several ways to specify a command and a bool to indicate whether
12024 the command name and shortcut should be displayed in minibuffer
12025 (eventually, we could extend that to a finer bitmask like
12026 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
12027 (dispatch): the pristine dispatch command which just, well,
12028 dispatchs! Note it still sets its result to minibuffer; I'm not
12031 * lyxfunc.h: remove setHintMessage
12033 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
12035 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12037 * BufferView_pimpl.C (specialChar): delete new inset if we have
12038 not been able to insert it.
12040 * kbmap.C: revert to using int instead of kb_action, since all we
12041 are dealing with is pseudo-actions.
12043 * LyXAction.C (searchActionArg): change to return int instead of
12044 kb_action, since the result is a pseudoaction.
12046 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
12048 * buffer.C (insertErtContents): Fix (partially) the font bug.
12050 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
12052 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
12053 as the other one is broken on my machine!
12055 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
12058 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
12060 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
12062 * lyxrc.[Ch]: change names and descriptions of popup font variables to
12063 reflect their actual use. Provide compatibility code for older lyxrc
12066 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
12068 change names of popup font variables in line with the changes to lyxrc.C
12070 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12072 * buffer.C (asciiParagraph): avoid outputing a word twice after
12075 * lyxrc.C (getDescription): document that document_path and
12076 template_path can be empty.
12078 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12080 * LaTeXFeatures.C (getMacros):
12081 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
12083 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
12085 * LaTeXFeatures.C (useFloat): require "float" here instead of in
12087 (getPackages): rename feature "floats" to "float". Use an array to
12088 iterate over 'simple' features (i.e. just a \usepackage). Add
12089 handling of "amsmath" (renamed from "amsstyle").
12091 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
12093 * LaTeXFeatures.C (require): Prevent duplicate entries in the
12096 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
12098 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
12099 FuncStaus::FuncStatus & FuncStaus::some_method().
12101 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
12103 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
12104 of the func_satus stuff. Edited and massaged in various ways by
12107 * lyxfunc.C (getStatus): use FuncStatus
12109 2002-01-08 Juergen Vigna <jug@sad.it>
12111 * text.C (nextBreakPoint): use function Inset::isChar().
12113 * paragraph.C (TeXOnePar): use function
12114 Inset::forceDefaultParagraphs.
12116 * buffer.C (latexParagraphs): use function
12117 Inset::forceDefaultParagraphs.
12119 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12121 * lyx_gui.C (init): set the style of the menu popups to
12122 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
12124 2002-01-07 Juergen Vigna <jug@sad.it>
12126 * text.C (setHeightOfRow): small fix
12127 (prepareToPrint): don't look at alignment if we don't have the place
12130 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12132 * box.C: New file. Move the Box methods and functions out of box.h,
12133 following Lars' suggestion.
12135 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
12137 * box.h: #include "support/LOstream.h", needed for inlined function.
12140 * lyxtextclasslist.C: added some using std declarations.
12142 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
12144 * box.h: make signed dimensions to allow insets wider than
12145 the screen (bug #162)
12147 * BufferView_pimpl.C: add some insetHit debug
12149 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
12151 * vc-backend.C: add FIXME
12153 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12155 * lyxfunc.C (getStatus): enable code for showing math font status
12158 2002-01-07 Juergen Vigna <jug@sad.it>
12160 * text.C (nextBreakPoint): removed debug output not needed anymore.
12162 2002-01-06 Juergen Vigna <jug@sad.it>
12164 * text.C (nextBreakPoint): fixed up this function we had this bug
12165 since ever but now hopefully we break row better.
12166 (insertChar): we have to check if an inset is the next char as it
12167 could now happen that a large inset is causing a break.
12169 2002-01-05 Juergen Vigna <jug@sad.it>
12171 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12172 if it doesn't like to be drawed.
12174 2002-01-04 Juergen Vigna <jug@sad.it>
12176 * BufferView2.C (lockInset): forgot to set a cursor.
12178 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12180 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12182 * FormMathsPanel.C:
12185 * form_maths_panel.C:
12186 * form_maths_panel.h:
12187 * form_maths_panel.fd: implemented sub- and super- buttons in math
12190 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12191 (or ^ space) to be used as in TeX (req'd by André).
12193 * lyxfunc.C: Allow ^ and _ again to be used both as
12194 super/subscript (mathed) and as themselves (in text).
12196 2002-01-03 Allan Rae <rae@lyx.org>
12198 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12199 "LyX" or the filename of the current buffer if it has one. This is a
12200 modified form of John Levon's patch.
12202 * XFormsView.C (setWindowTitle): also set icon title.
12204 * LyXView.h (setWindowTitle): signature changed.
12205 * XFormsView.h (setWindowTitle): ditto.
12207 2002-01-02 Juergen Vigna <jug@sad.it>
12209 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12211 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12213 * screen.C (topCursorVisible): introduce a temp var for
12214 text->cursor.row(), handle the case where this row is null. (kindo
12217 * text2.C (setCursor): add a couple of asserts.
12219 * paragraph.h (inset_iterator): add -> operator
12221 * paragraph.[Ch] (autoDeleteInsets): remove member function
12223 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12224 cursor pos correctly and handle inset deletion by itself.
12225 (insertErrors): move iterator declaration out of for expression
12227 * lyxtextclass.C: add <algorithm>
12229 * Makefile.am: added the new files to sources, removed layout.C
12231 * layout.C: removed file
12233 * layout.h: remove LYX_DUMMY_LAYOUT
12235 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12239 * lyxtextclass.[Ch]:
12240 * lyxtextclasslist.[Ch]: new files
12242 * include order changes to a lot of files, also changes because of
12245 2001-12-27 Juergen Vigna <jug@sad.it>
12247 * buffer.C (asciiParagraph): more fixes.
12249 * tabular.C (ascii): make ascii export support export of only the
12250 data separated by a column-delimiter.
12251 (ascii): better support for ascii export.
12253 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12255 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12257 * tabular_funcs.C: use a "using std::getline" instead of the
12258 previous fix from Angus (necessary for cxx + lyxstring)
12260 2001-12-24 Juergen Vigna <jug@sad.it>
12262 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12264 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12265 problems. First check a minipage also if we have some ert-contents
12266 (not only on par->size(), second set the right depth of the paragraph
12267 on the relink to the root-paragraph-list!
12269 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12270 which then did not anymore update the main paragraphs on undo/redo!
12272 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12274 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12275 code. Support all font-changing funcs (even those which are not in
12276 menu currently). Support for reporting font settings in
12277 mathed (disabled until Andre provides a function on mathed's side).
12279 * func_status.h (toggle): small helper function to set toggle
12282 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12284 * tabular_funcs.C: getline -> std::getline
12286 2001-12-21 Juergen Vigna <jug@sad.it>
12288 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12289 accessed and could be 0 (I couldn't generate this but it seems
12292 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12294 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12295 * tabular_funcs.h: here and include iosfwd
12297 2001-12-20 Juergen Vigna <jug@sad.it>
12299 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12300 inside inset but undo_par was.
12302 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12304 * Thesaurus.C: always include <config.h> in sources.
12308 * box.h: do not include <config.h> in header files
12310 * text.C (paintLastRow): remove unused variable
12312 * text.C (transformChar):
12314 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12316 * Painter.C (text):
12317 * font.C (width): rewrite to use uppercase() instead of
12320 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12322 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12324 * lyxfind.C: clean up of find failure position change
12326 2001-12-20 Juergen Vigna <jug@sad.it>
12328 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12330 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12331 (TeXRow): added to LaTeX a single tabular row.
12332 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12333 (Latex): simplified and finally good LT-h/f support.
12334 (various_functions): just small adaptions for LT-h/f support.
12336 * tabular_funcs.[hC]: added and moved here all not classfunctions
12339 2001-12-19 Juergen Vigna <jug@sad.it>
12341 * tabular.[Ch]: better support for longtabular options (not finished
12344 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12346 * text.C (paintLastRow): use the label font instead of the font of
12347 the last character to compute the size of *_BOX. This makes more
12348 sense and avoids a crash with empty paragraphs.
12349 Use Painter::rectangle to draw EMPTY_BOX.
12351 2001-12-19 Juergen Vigna <jug@sad.it>
12353 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12354 the paragraphs if the replaced paragraph is not the first one!
12355 Tried to delete not used paragraphs but does not work yet so for
12356 now it's inside #ifdef's and by default off!
12358 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12360 * MenuBackend.C: include "lyx_main.h" instead of declaring
12361 lastfiles (actually was declared as LastFiles* instead of a
12364 2001-12-17 Juergen Vigna <jug@sad.it>
12366 * tabular.C (AppendColumn): applied John's fix
12368 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12372 * BufferView_pimpl.h:
12373 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12376 * box.h: new start of class for above
12378 * lyxfunc.C: ignore space-only minibuffer dispatches.
12379 Show the command name when it doesn't exist
12381 * minibuffer.C: don't add empty lines to the history
12383 * minibuffer.C: add a space on dropdown completion
12385 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12387 * text.C: fix line above/below drawing in insets
12389 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12391 * lyxlength.C (LyXLength): Initialize private variables.
12393 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12395 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12396 when inserting error insets.
12398 2001-12-13 Juergen Vigna <jug@sad.it>
12400 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12401 actually sometimes the before-paragraph.
12402 (setUndo): don't clear the redostack if we're not actually undoing!
12404 2001-12-06 Juergen Vigna <jug@sad.it>
12406 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12407 and fixed redoing of main paragraph, so we can use it now ;)
12409 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12411 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12413 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12416 2001-12-13 André Pönitz <poenitz@gmx.net>
12419 * undo_func.C: minor cleanup
12421 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12423 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12424 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12425 font in urw-fonts package which is marked as -urw-fontspecific and
12426 does not work (incidentally, changing the encoding in the
12427 fonts.dir of this package to -adobe-fontspecific fixes the
12430 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12431 is a crash when undoing first paragraph (Juergen, please take a
12432 look). THis does not mean the undo fix is wrong, just that it
12435 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12436 the (Paragraph*) version when needed instead of duplicating the
12439 * text.C (workWidth): use Inset::parOwner to find out where the
12440 inset has been inserted. This is a huge performance gain for large
12441 documents with lots of insets. If Inset::parOwner is not set, fall
12442 back on the brute force method
12444 * paragraph_pimpl.C (insertInset):
12445 * paragraph.C (Paragraph):
12446 (cutIntoMinibuffer): set parOwner of insets when
12447 inserting/removing them
12449 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12451 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12457 * mathed/formulabase.C:
12458 * mathed/math_cursor.[Ch]:
12459 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12462 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12464 * lyxlength.[Ch] (operator!=): new function
12466 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12468 * text.C (workWidth): use Inset::parOwner to find out where the
12469 inset has been inserted. This is a huge performance gain for large
12470 documents with lots of insets. If Inset::parOwner is not set, fall
12471 back on the brute force method
12473 * paragraph_pimpl.C (insertInset):
12474 * paragraph.C (Paragraph):
12475 (cutIntoMinibuffer): set parOwner of insets when
12476 inserting/removing them
12478 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12480 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12482 * tabular-old.C (getTokenValue):
12483 * tabular.C (getTokenValue):
12484 (write_attribute): new versions for LyXLength
12485 (everywhere): adjust the use of widths
12487 * tabular.h: change the type of widths from string to LyXLength
12489 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12491 * paragraph.C: fixed missing line number count when exporting
12492 Environments to LaTeX file
12494 * buffer.C: added informational message for checking line numbers.
12496 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12498 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12499 paragraph, do the 'double space' part, but not the 'empty
12502 * text.C (workWidth): small optimization
12503 (getLengthMarkerHeight): use minimal size for negative lengths.
12505 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12507 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12509 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12511 2001-12-11 André Pönitz <poenitz@gmx.net>
12514 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12516 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12518 * text2.C: keep selection on a setFont()
12520 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12522 * lyx_cb.C: another bv->text misuse, from insert label
12524 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12527 * kbsequence.C: re-instate nmodifier mask
12529 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12531 * lyx_main.h: make lyxGUI private.
12533 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12535 * lyxfind.C: place the cursor correctly on failed search
12537 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12539 * text.C (getLengthMarkerHeight): for small heights, the arrows
12540 are not always on top/bottom of the text
12541 (drawLengthMarker): smaller arrows; take the left margin in
12542 account; draw also vfills.
12544 (paintLastRow): remove special code for vfill and standard spaces,
12545 since everything is handled in drawLengthMarker now.
12547 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12549 * buffer.C (insertErtContents): try to handle font and language
12550 interaction a bit better.g
12552 * ColorHandler.C (updateColor): change the hash to cover the whole
12553 LColor enum, ws cleanup
12554 (getGCLinepars): ditto
12555 (getGCLinepars): only lookup in the linecache once.
12557 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12559 * iterators.C (operator++): Make the iterator more robust
12561 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12563 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12565 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12568 * text.C: better added space drawing
12570 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12573 * BufferView2.C: fix layout combo update on inset unlock
12575 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12577 * Makefile.am: don't compile unused files
12579 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12583 * LyXAction.C: remove old LFUN_LAYOUTNO
12585 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12587 * paragraph_pimpl.h:
12588 * paragraph_pimpl.C: isTextAt() doesn't need font param
12590 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12593 * lyxlex.C: little cleanup
12595 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12597 * BufferView_pimpl.C: fix insertAscii for insets
12599 2001-12-05 Juergen Vigna <jug@sad.it>
12601 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12602 set the right font on the "multi" paragraph paste!
12604 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12610 * lyxlength.C: remove out-commented code.
12612 * BufferView_pimpl:
12626 * vc-backend.C: change "while(" to "while ("
12628 * lyxlength.[Ch]: add zero function to check if length is zero or
12630 * lyxgluelength.C: use it
12632 2001-12-05 Allan Rae <rae@lyx.org>
12634 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12635 Works for 2.95.3, from what I understand of Garst's reports this should
12636 work for other g++ versions. We're screwed if the abs(int) definition
12637 changed between bugfix releases of gcc.
12639 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12641 * text.C: fix chapter label offset !
12643 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12646 * text.C: fix hfill at end of line, clean up
12648 2001-12-04 Juergen Vigna <jug@sad.it>
12650 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12651 that we force an update of the inset and it's owners if neccessary.
12653 2001-12-03 Juergen Vigna <jug@sad.it>
12655 * text.C (rowLast): simplified code
12657 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12659 * lyxfunc.C: fix show options on timeout
12661 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12663 * screen.C (topCursorVisible): scroll half a page when the cursor
12664 reached top of bottom of screen
12666 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12668 * minibuffer.C: deactivate on loss of focus
12670 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12672 * vspace.[Ch] (operator!=): add operator.
12674 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12676 * BufferView_pimpl.C: refuse to open an inset when
12677 there's a selection.
12679 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12681 * BufferView_pimpl.C: allow to click on RHS of full row insets
12683 2001-11-30 Juergen Vigna <jug@sad.it>
12685 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12686 insets for undo reasons.
12688 2001-11-28 André Pönitz <poenitz@gmx.net>
12690 * vspace.[Ch]: cosmetical changes
12692 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12702 * kbsequence.C: part re-write of old kb code
12705 * WorkArea.C: remove Lgb_bug_find_hack
12707 2001-11-30 José Matos <jamatos@fep.up.pt>
12709 * buffer.C (makeDocBookFile): add a comment to point a hack.
12710 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12711 Fixed a double write of labels.
12713 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12716 * LaTeX.h Fixed bug in LaTeX class where it would not
12717 re-run latex if no depfiles were changed, but the .dvi was removed.
12719 2001-11-28 André Pönitz <poenitz@gmx.net>
12721 * all the files from the change on 2001/11/26:
12722 use lyx::layout_type instead of LyXTextClass::size_type
12723 use lyx::textclass_type instead of LyXTextClassList::size_type
12725 2001-11-29 Juergen Vigna <jug@sad.it>
12727 * text.C: added support for paragraph::isFreeSpacing()
12729 * buffer.C: same as above
12731 * paragraph.h: inserted isFreeSpacing() function to enable
12732 FreeSpacing inside InsetERT.
12734 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12735 of the paragraph's in the cut/copy buffer to 0!
12737 * text2.C (removeRow): remove the assert as it can!
12739 * lyxtext.h: added helper function firstRow returning firstrow and
12740 made firstrow private again.
12742 * BufferView2.C (lockInset): don't relock if we're already locked!
12744 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12745 the only paragraph.
12746 (removeRow): added Assert::(firstrow)
12748 * debug.C: forgot to add INSETTEXT here.
12750 2001-11-28 Juergen Vigna <jug@sad.it>
12752 * sp_spell.C (initialize): changed error text to more general
12753 spellchecker command use (not only ispell!)
12755 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12757 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12759 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12761 * vspace.C: initialise lyxgluelength on failure
12763 2001-11-28 Allan Rae <rae@lyx.org>
12765 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12766 declaration & definition that looks like a function declaration.
12768 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12770 * BufferView2.C (copy):
12771 (copyEnvironment): do not clear the selection when doing a copy.
12773 * text.C (paintFirstRow): compilation fix
12775 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12777 * tabular.C (Latex): correct line count when writing latex.
12779 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12781 * paragraph_pimpl.h:
12782 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12785 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12789 * LColor.C: change vfillline->added_space
12791 * text.C: add markers and text for added space
12793 * vspace.C: fix comment
12795 2001-11-28 André Pönitz <poenitz@gmx.net>
12797 * paragraph.C: whitespace changes
12798 * all the other files from the change on 2001/11/26:
12799 change *::pos_type into lyx::pos_type
12801 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12803 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12804 language of the document when inserting error insets.
12806 2001-11-26 André Pönitz <poenitz@gmx.net>
12808 * BufferView_pimpl.[Ch]:
12816 * paragraph_pimpl.[Ch]:
12819 * text2.C: reduce header dependencies, introduce type for positions
12821 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12823 * <various>: change to use Alert.h
12825 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12827 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12828 when encountering an unknown token.
12829 (readLyXformat2): Show an error message if there were unknown tokens.
12831 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12834 * BufferView_pimpl.C:
12838 * text2.C: use par->isInset()
12840 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12842 * paragraph_pimpl.h:
12843 * paragraph_pimpl.C: cleanup
12845 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12847 * text2.C (removeRow):
12848 * text.C (setHeightOfRow): remove useless (and costly) call to
12851 2001-11-20 Allan Rae <rae@lyx.org>
12853 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12854 Now need Inset*::checkInsertChar() to return true for appropriate
12855 cases so that the characters in the minibuffer will actually be
12858 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12860 * text.C: change the order of the includes.
12861 (workWidth): initialize it at once.
12862 (workWidth): make maxw unsigned
12863 (setHeightOfRow): remove unused variable (inset)
12864 (selectSelectedWord): remove unused variable (inset)
12865 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12867 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12869 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12870 server is not running.
12872 (closeConnection): add debug info when server is disabled.
12874 * ColorHandler.C (getGCForeground): send debug message to GUI
12877 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12879 * kbmap.C (bind): modify because return conventions of
12880 kb_sequence::parse have changed.
12882 * kbsequence.C (parse): only ignore spaces and not any stupid
12883 control character. This avoids tests like s[i] <= ' ', which are
12884 guaranteed to fail with 8bit characters and signed chars.
12885 Change return code to string::npos when there have been no error
12886 (0 was a bad idea when error is at first character)
12888 2001-11-14 José Matos <jamatos@fep.up.pt>
12891 * buffer.C (simpleDocBookOnePar): removed unused argument.
12893 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12895 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12896 insets which are part of a word. Paragraph::isLetter takes care of
12897 that now. Use Paragraph::isInset to identify insets.
12898 (selectSelectedWord): do not test for hyphenation break.
12900 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12901 that protected spaces are considered as spaces.
12903 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12906 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12909 * lyxserver.C: fix it. and small cleanup.
12911 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12913 * BufferView_pimpl.C: use inline helpers
12916 * LaTeXFeatures.C: fix typos
12919 * Spacing.C: move spacing_string into class
12921 * ToolbarDefaults.C: move stuff into namespace anon
12923 * layout.h: update enum
12925 * lyxfunc.C: use better debug
12927 * minibuffer.h: fix typo
12931 * WorkArea.C: add and use Debug::WORKAREA
12935 * text2.C: code re-organisation, inline helpers
12937 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12939 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12940 std::vector.empty().
12942 2001-11-09 Allan Rae <rae@lyx.org>
12944 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12945 '\n's after tables. Tabular and ERT inset work now makes this no
12948 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12951 * minibuffer.C: fix crash, improve drop-down completion
12953 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12956 * lyxserver.C: invalidate fd's when doing endPipe()
12958 2001-11-08 José Matos <jamatos@fep.up.pt>
12960 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12961 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12964 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12966 2001-11-07 José Matos <jamatos@fep.up.pt>
12969 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12972 * buffer.C (sgmlOpenTag):
12973 * buffer.C (sgmlCloseTag): removed debug info.
12975 * buffer.h (sgmlOpenTag):
12976 * buffer.h (sgmlCloseTag): made public.
12978 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12980 * buffer.C (saveParamsAsDefaults):
12981 * lyx_cb.C (MenuLayoutSave): remove
12983 * LyXAction.C (init):
12985 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12987 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12989 * buffer.C (setPaperStuff): removed from here...
12991 * bufferparams.C (setPaperStuff): ... and moved there.
12993 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12997 * XFormsView.C: add support for drop-down completion
12999 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
13001 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
13004 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13006 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
13009 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
13011 * lyx_main.C: change ref to known bugs
13013 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
13015 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
13016 to work around older babel problems.
13018 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
13020 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
13022 2001-10-24 Juergen Vigna <jug@sad.it>
13024 * tabular-old.C (ReadOld): below variable changes reflected.
13026 * tabular.[Ch]: added ltType struct for longtable header/footer
13027 defines and changed all instances where they are used. Added
13028 future support for double top/bottom rows.
13030 2001-10-24 José Matos <jamatos@fep.up.pt>
13032 * buffer.h (docbookHandleCaption):
13033 * buffer.C (docbookHandleCaption): removed unused function.
13034 (makeDocBookFile): moved docbook supported version to v4.1.
13036 2001-10-24 José Matos <jamatos@fep.up.pt>
13039 * tabular.C (docbookRow): new function to export docbook code of a row.
13040 (DocBook): now honors the longtable flags.
13042 2001-10-23 José Matos <jamatos@fep.up.pt>
13045 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
13046 of the lyx defined sgml entities used in a docbook/linuxdoc document.
13048 * buffer.C (makeLinuxDocFile):
13049 (makeDocBookFile): reworked the preamble, more clean, and with
13050 support for lyx defined entities. Changed the document declaration
13051 to be more XML friendly.
13053 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
13054 if we need to output XML that should be done with a filter.
13056 2001-10-22 Juergen Vigna <jug@sad.it>
13058 * sp_pspell.h (class PSpell): add alive function needed in the
13059 controller to see if the spellchecker could be started.
13061 2001-10-22 Juergen Vigna <jug@sad.it>
13063 * buffer.C (insertStringAsLines): modify the font for inserting
13064 chars in certain conditions by calling checkInsertChar(font).
13066 2001-10-19 Juergen Vigna <jug@sad.it>
13068 * text.C (workWidth): use getRow instead of wrong algorithm.
13069 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
13071 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
13076 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
13078 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13080 * text.C (workWidth): do not search for the exact row when
13081 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
13082 optimization for big documents.
13084 2001-10-18 Juergen Vigna <jug@sad.it>
13086 * text.C (workWidth): new function with added Inset * parameter.
13088 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13090 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
13092 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
13093 change return type of getColumnNearX.
13096 * text.C (changeRegionCase): use uppercase/lowercase instead of
13099 (rightMargin): simplify code by factoring out the uses of
13104 (appendParagraph): use Paragraph::size_type
13106 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13108 * vspace.C (asLatexString): add a missing break
13110 2001-10-15 Herbert Voss <voss@perce.de>
13112 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
13114 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13116 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
13119 2001-10-10 André Pönitz <poenitz@gmx.net>
13121 * lyxfunc.C: removed greek_kb_flag.
13123 2001-10-10 Herbert Voss <voss@perce.de>
13125 * lyx_main.C: delete global string help_lyxdir.
13127 2001-10-09 Herbert Voss <voss@perce.de>
13129 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
13131 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
13133 * lyx_main.C: added global string help_lyxdir.
13135 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
13137 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
13139 * lyxrc.C (set_font_norm_type): support iso8859-4
13141 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
13143 * LaTeX.C (deplog): add another regex for MikTeX
13145 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
13147 * lyxrc.C (set_font_norm_type): support iso8859-3
13149 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13151 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
13153 * LaTeXFeatures.C: remove special case of french and index
13155 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
13156 before \begin{document}). This solves several incompatibilities.
13158 2001-10-03 Garst Reese <reese@isn.net>
13160 * lyx_cb.C: change CheckTex error msg.
13162 2001-10-03 José Matos <jamatos@fep.up.pt>
13164 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13166 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13168 * .cvsignore: update
13170 * lyx_main.C (commandLineVersionInfo): use new style version info.
13172 * buffer.C (writeFile):
13174 (makeLinuxDocFile):
13175 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13177 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13179 * version.h: update to use stuff in version.C
13181 * version.C.in: new file. Contains version information determined
13182 at compile time. This is a merging of version.h and
13185 2001-10-03 Juergen Vigna <jug@sad.it>
13187 * BufferView_pimpl.C (update): don't change "dirty" status in
13190 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13192 * WorkArea.C (c-tor): re-position version string slightly.
13194 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13196 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13197 revert to previous code.
13199 WorkArea.[Ch]: (show, destroySplash): methods removed.
13201 WorkArea.C: rework code so that it's an amalgam of the codes before and
13202 after the splash screen was moved to WorkArea.
13204 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13207 * vspace.C (inPixels):
13210 * buffer.C (insertStringAsLines):
13211 (asciiParagraph): fix types to be large enough
13213 * lyxlex_pimpl.h: change member status from short to int
13215 * layout.h: fix type of endlabeltype
13218 * kbsequence.C (parse): change return type to string::size_type
13220 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13223 * Bullet.C (bulletSize):
13224 (bulletEntry): do not use short ints as parameters
13226 * BufferView2.C (insertLyXFile): change a char to an int.
13228 * WorkArea.C (WorkArea): remove unneeded floats in computation
13230 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13232 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13234 * paragraph.C (asString): Do not ignore newline/hfill chars when
13235 copying to the clipboard.
13237 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13239 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13240 after a multi-line inset.
13242 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13244 * paragraph.C (validate): Set NeedLyXFootnoteCode
13246 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13248 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13249 and decrease-error to decrease.
13251 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13253 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13254 it more readable (should be equivalent)
13256 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13258 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13260 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13262 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13263 of a cursor (row, etc.) after a character has been deleted
13264 (deleteEmptyParagraphMechanism): call the method above on _all_
13265 cursors held by the LyXText when a double space has been
13268 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13270 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13272 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13274 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13275 background. Use greyOut() and the new show() methods to toggle between
13276 the foreground and background. Add code to remove the splash after
13277 its initial showing.
13279 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13280 (create_forms): no longer call Dialogs::showSplash.
13282 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13284 * .cvsignore: add version_info.h
13286 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13288 * version_info.h.in: new file
13290 * Makefile.am: add version_info.h.in
13292 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13293 version_info.h instead of VERSION_INFO
13295 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13297 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13298 The ERT inset now returns string().
13300 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13302 * lyxtext.h, text.C (selectNextWord): renamed as
13303 selectNextWordToSpellcheck.
13305 * text.C (selectNextWordToSpellcheck): Modified to not select
13306 words inside an ERT inset.
13308 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13310 * lyx_cb.C (MenuLayoutSave): change a bit the question
13312 * sp_base.h: include <sys/types.h>
13314 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13316 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13318 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13320 * several files: fix typos in user-visible strings
13322 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13324 * text2.C (pasteSelection): do not set the selection, since it
13325 will be cleared later. Actually, the intent was to fix the way the
13326 selection was set, but I figured rmoving the code was just as good.
13328 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13330 * FontLoader.C (available): Check if font is available without
13333 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13335 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13337 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13339 * lyxrc.[Ch]: added display_graphics variable and associated code.
13341 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13343 * bufferparams.C (hasClassDefaults): new method. Returns true if
13344 the buffer parameters correspond to known class defaults
13346 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13348 * XFormsView.C (show): set minimum size to the main window.
13350 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13352 * text2.C (copySelection):
13354 * lyxfind.C (LyXReplace):
13355 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13356 LyXText::selectionAsString.
13358 * paragraph.C (asString): add "label" argument to the second form
13360 * text2.C (selectionAsString): add "label" argument and pass it to
13361 Paragraph::asString.
13363 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13365 * lyx_main.C (commandLineHelp): remove version information
13367 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13369 * lyx_main.C: add -version commandline option
13371 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13373 * paragraph.h: make the optional constructor arg required instead.
13374 some modifications to other files because of this.
13376 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13378 * lyxserver.C (C_LyXComm_callback): make it static
13380 * lyx_main.C (error_handler): make it static
13382 * lyx_gui.C (LyX_XErrHandler): make it static
13384 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13386 * WorkArea.C: make the extern "C" methods static.
13388 * Makefile.am (lyx_LDADD): simplify
13390 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13392 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13393 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13395 * LyXAction.C (init):
13396 * lyxfunc.C (dispatch): associated code removal.
13398 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13400 * lyxfont.h (isSymbolFont): shut off warning
13402 * text.C (setHeightOfRow):
13403 (getVisibleRow): fix crash with empty paragraphs which have a
13406 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13408 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13411 2001-09-04 José Matos <jamatos@fep.up.pt>
13414 * tabular.C (docbook): rename docBook method to docbook.
13416 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13418 * Makefile.am: add dependencies to main.o.
13420 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13422 * FontLoader.C (available): Return false if !lyxrc.use_gui
13424 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13426 * FontInfo.C (query):
13427 * converter.C (view):
13428 * importer.C (Import):
13429 * exporter.C (Export): Can not -> cannot.
13431 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13433 * BufferView_pimpl.C: allow to create index inset even if
13436 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13438 * buffer.C (getLists): replace boost::tie code with an explicit pair
13439 as boost::tie can break some compilers.
13441 * iterators.h: Added a std:: declaration to the return type of
13444 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13446 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13449 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13451 * iterators.[Ch]: New files. Provide paragraph iterators.
13453 * buffer.C (changeLanguage): Use paragraph iterators.
13454 (isMultiLingual): ditto
13456 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13458 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13460 * FontLoader.C: Support for cmr font.
13462 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13464 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13465 (available): New method.
13467 * FontInfo.C (getFontname): Use scalable fonts even when
13468 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13471 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13473 * converter.C (Formats::view): reverted! Incorrect fix.
13475 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13477 * converter.C (Formats::view): only output the -paper option
13478 if the dvi viewer is xdvi, thereby fixing bug #233429.
13480 2001-08-23 Herbert Voss <voss@perce>
13482 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13484 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13486 * Spacing.h (Spacing): Set space to Default on in the default
13489 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13491 * vc-backend.h (RCS::versionString): add RCS to version
13492 (CVS::versionString): add CVS to version
13494 * vc-backend.C (scanMaster): do not add CVS to version.
13495 (scanMaster): do not add RCS to version
13497 * lyxvc.C (versionString): new method
13499 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13501 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13503 * Spacing.C (set): initialize fval
13505 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13507 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13510 2001-08-16 Juergen Vigna <jug@sad.it>
13512 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13514 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13516 * BufferView_pimpl.C:
13519 * text2.C: setParagraph takes linespacing now
13521 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13523 * LyxAction.C: add internal LFUN_CITATION_INSERT
13525 * LyXView.C: actually apply fix
13527 * bufferlist.C: fix open non-existent file
13529 * lyxfind.C: fix indentation
13531 * lyxfunc.C: remove unneeded assert, fix typo
13533 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13535 * MenuBackend.C: use "Floatname List"
13537 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13539 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13540 when converting LaTeX layout to insetERT.
13541 Generate a non-collapsed float when reading old float
13543 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13545 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13548 2001-08-13 Juergen Vigna <jug@sad.it>
13550 * text.C (fill): return 0 instead of 20 as this seems to be the more
13553 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13555 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13558 2001-08-13 Juergen Vigna <jug@sad.it>
13560 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13562 (SearchBackward): comment out the unlocking of the inset_owner this
13563 should not be needed!
13565 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13567 * Many files: Remove inherit_language, and add latex_language
13569 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13570 collapsible insets.
13572 2001-08-10 Juergen Vigna <jug@sad.it>
13574 * text.C (prepareToPrint): fixed hfill-width in draw!
13576 * BufferView2.C (selectLastWord): save the selection cursor as this
13577 now is cleared in the function LyXText::clearSelection!
13579 2001-08-08 Juergen Vigna <jug@sad.it>
13581 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13582 BACKSPACE type functions.
13584 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13585 is only cutted from the document but not put in the cut-buffer, where
13586 still the old stuff should be.
13588 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13590 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13592 * tabular.C (SetWidthOfCell): fixed special case where the width
13594 (LeftLine): handle '|' in align_special.
13596 (LeftAlreadyDrawed): ditto
13597 (SetWidthOfCell): ditto
13599 2001-08-07 Juergen Vigna <jug@sad.it>
13601 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13603 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13605 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13606 * lyxlex.[hC]: ditto
13608 2001-08-06 Juergen Vigna <jug@sad.it>
13610 * text.C (getVisibleRow): fix up row clearing a bit.
13612 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13614 * minibuffer.C: make sure the X server sees the changes in the input.
13616 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13618 * paragraph.C (getFont): split into...
13619 (getLabelFont): this
13620 (getLayoutFont): and this
13621 * paragraph_pimpl.C (realizeFont): calling this
13623 * text2.C (getFont): split into...
13624 (getLayoutFont): this
13625 (getLabelFont): and this
13626 (realizeFont): all three calling this
13628 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13631 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13633 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13635 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13637 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13638 layouts from the Quote inset insertion.
13640 2001-08-03 Juergen Vigna <jug@sad.it>
13642 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13644 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13645 only if status not is already CHANGED_IN_DRAW (second level).
13647 * text.C (draw): don't set the need_break_row when inside an
13650 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13652 * buffer.C (parseSingleLyXformat2Token): handle more latex
13655 * bufferview_funcs.[hC]: change function names to
13656 begin with small char, adjust other files.
13658 2001-08-02 André Pönitz <poenitz@gmx.net>
13661 BufferView_pimpl.C: remove broken special code for math-greek
13663 2001-08-02 Juergen Vigna <jug@sad.it>
13665 * BufferView_pimpl.C (update): redone this function so that we
13666 update the text again if there was a CHANGE_IN_DRAW.
13668 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13669 (drawFromTo): added a new internal bool which is used by draw() and
13671 (general): some cursor drawing problems fixed.
13673 2001-08-01 Juergen Vigna <jug@sad.it>
13675 * lyxfind.C (LyXFind): fixed
13676 (SearchForward): ditto
13677 (SearchBackward): ditto
13679 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13680 spurius drawing of the cursor in the main area.
13682 * text2.C (status): small fix which could lead to a segfault!
13683 (clearSelection): remove unneeded BufferView param.
13685 2001-08-01 André Pönitz <poenitz@gmx.net>
13687 * lyxfunc.C: small change due to changed mathed interface
13689 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13691 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13693 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13695 * lyxfunc.c: fail gracefully if file doesn't exist
13700 * BufferView_pimpl.C: IsDirWriteable() proto changed
13702 * LyXView.C: fix updateWindowTitle() to store the last title
13704 2001-07-31 Juergen Vigna <jug@sad.it>
13706 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13707 the font (wrong since using of Paragraph::highestFontInRange).
13709 * paragraph.C (highestFontInRange): added a default_size parameter.
13711 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13712 (setHeightOfRow): reformat
13714 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13716 * converter.[hC] + affected files: move to (inital-char)lowercase
13719 * ParagraphParameters.C (ParagraphParameters): remove commented code
13721 * PainterBase.[Ch]: remove commented code
13723 * LaTeXFeatures.h: add "bool floats" for float.sty
13725 * LaTeXFeatures.C (LaTeXFeatures): init floats
13726 (require): handle float
13727 (getPackages): do it with floats
13729 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13731 * BufferView_pimpl.C (Dispatch): improve handling of
13732 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13734 * commandtags.h: #include lyxfont.h here temporarily to avoid
13737 * bufferlist.h: include LString.h here.
13739 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13741 * text2.C (getStringToIndex): new method.
13743 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13745 * *: Reduced header file dependencies all over.
13747 2001-07-30 Baruch Even <baruch@lyx.org>
13749 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13751 2001-07-29 Baruch Even <baruch@lyx.org>
13753 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13755 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13757 * ParameterStruct.h (endif): add a default constructor to make
13758 sure that all variables is initialized.
13760 * ParagraphParameters.C (ParagraphParameters): adjust
13762 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13764 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13765 index; also, check that there is something to index, and that it
13766 does not span over several paragraphs.
13767 (doubleClick): use WHOLE_WORD_STRICT for double click.
13769 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13771 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13774 2001-07-26 Baruch Even <baruch@lyx.org>
13776 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13777 an InsetFig figure, backwards compatible reading of old figure code.
13779 2001-07-27 Juergen Vigna <jug@sad.it>
13781 * text2.C: font.realize function adaption.
13783 * text.C (draw): add a warnings lyxerr text if needed.
13785 * layout.C: font.realize function adaption.
13787 * language.C: add inherit_language and implement it's handlings
13789 * bufferview_funcs.C (StyleReset): remove language parameter from
13790 font creation (should be language_inherit now).
13792 * bufferparams.C (writeFile): handle ignore_language.
13794 * paragraph.C (getFontSettings): the language has to be resolved
13795 otherwise we have problems in LyXFont!
13797 * lyxfont.C (lyxWriteChanges): added document_language parameter
13798 (update): removed unneeded language parameter
13800 * paragraph.C (validate): fixed wrong output of color-package when
13801 using interface colors for certain fonts in certain environments,
13802 which should not seen as that on the final output.
13804 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13806 * BufferView_pimpl.C:
13811 * LyXAction.C: add thesaurus support
13814 * lyxfind.C: add "once" parameter, for thesaurus, to not
13815 move to the next match
13817 2001-07-26 Juergen Vigna <jug@sad.it>
13819 * lyxfont.C (realize): honor ignore_language too!
13822 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13824 * text.C (draw): one place more for ignore_language to not draw
13827 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13829 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13831 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13833 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13834 the minipage conversion problem.
13836 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13838 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13841 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13843 * BufferView.h: don't forward declare WorkArea
13845 * BufferView.C: don't include WorkArea.h
13847 2001-07-25 André Pönitz <poenitz@gmx.net>
13851 * lyxfunc.C: new LFUN 'math-space'
13853 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13855 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13857 * text2.C (toggleInset): call open/close
13859 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13861 * lyxfunc.C (dispatch): add debug for the disabled case
13863 * font.C (buttonText): make similar to rectText
13865 * buffer.C (readInset): comment out parsing of insetlist and
13868 * PainterBase.C (rectText): small correction
13870 * BufferView_pimpl.C: comment out insettheorem and insetlist
13871 * LyXAction.C: ditto
13872 * commandtags.h: ditto
13874 2001-07-24 Juergen Vigna <jug@sad.it>
13876 * text.C (draw): honor the ignore_language.
13878 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13880 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13882 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13885 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13887 * lyxtext.h: remove unused (and unimplemented) methods
13889 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13891 * text.C (getVisibleRow): honor background color
13894 * Painter.h: remove default color argument for fillRectangle
13896 * text.C (backgroundColor): new method
13898 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13900 * text.C (getVisibleRow): adjust
13902 * font.[Ch] (rectText): new method, metrics
13903 (buttonText): new method, metrics
13905 * PainterBase.[hC]: make rectText and buttonText always draw and take
13908 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13910 * ToolbarDefaults.C (read):
13911 * MenuBackend.C (read): allow escaping in all strings
13913 * BufferView_pimpl.C (insertAndEditInset): new method.
13914 (Dispatch): use insertAndEditInset whenever appropriate.
13916 * BufferView_pimpl.C (insertNote): removed
13918 * BufferView_pimpl.C (smartQuote): new method, moved from
13919 BufferView; if an insetquote cannot be inserted, insert a '"'
13922 * BufferView2.C: remove insertCorrectQuote();
13924 * lyxfunc.C (getStatus): Add support for all remaingin
13925 inset-insert lfuns.
13927 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13929 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13930 command (necessary to pass " as parameter of self-insert.
13932 * text.C (selectWordWhenUnderCursor):
13933 (selectWord): add word_location parameter
13934 (selectWordWhenUnderCursor): same + remove special code for word
13936 (selectNextWord): use kind() to guess type of insetspecialchar,
13939 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13940 (insertErtContents): create ert insets as collapsed.
13941 (readInset): better compatibility code for Info inset.
13943 2001-07-20 Juergen Vigna <jug@sad.it>
13945 * lyxfunc.C (dispatch): use always LyXFind now!
13947 * text2.C (init): add a reinit flag so that the LyXText can be
13948 reinited instead of deleted and reallocated (used in InsetText).
13950 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13956 2001-07-18 Juergen Vigna <jug@sad.it>
13958 * text.C (selectNextWord): handle insets inside inset by calling
13959 always the bv->text functions so that we can go up the_locking_inset!
13961 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13962 in strange locations when inside an inset!
13964 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13965 handling to include insets.
13967 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13969 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13971 * LyXAction.C (init):
13973 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13974 LIGATURE_BREAK, since the name is so stupid.
13976 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13978 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13981 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13983 * sp_form.[Ch]: remove.
13985 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13987 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13990 * src/buffer.C (readInset): ditto.
13992 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13994 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13995 menuSeparator(), endOfSentenceDot(), ldots() and
13996 hyphenationPoint(), which are therefore removed.
13997 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13999 * LyXAction.C (init):
14000 * commandtags.h: add LFUN_HYPHENATION_BREAK.
14002 * paragraph.C (getWord): removed.
14004 * BufferView_pimpl.C (Dispatch): use last word or selection for
14005 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
14007 * lyx_main.C (queryUserLyXDir): do not ask before creating
14008 user_dir, except if it has been named explicitely.
14010 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
14012 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
14013 a document of zero size.
14015 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
14017 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
14018 approriately in the c-tor and in require().
14019 (getPackages): output the appropriate LaTeX for natbib support.
14021 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
14022 variables "use_natbib" and "use_numerical_citations" when reading the
14024 (readInset): read the various natbib cite commands.
14025 (validate): white-space change.
14027 * bufferparams.[Ch]: new variables "bool use_natbib" and
14028 "bool use_numerical_citations".
14029 (writeFile): output them in the LyX file.
14031 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
14033 * lyxfunc.C (getStatus): add support for all the inset insertion
14036 * text2.C (insertInset):
14037 * paragraph.C (insetAllowed):
14038 * BufferView_pimpl.C (insertInset): update to take in account the
14039 renaming of insertInsetAllowed
14041 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
14043 * text2.C (getInset): new method. returns inset at cursor position.
14045 * BufferView_pimpl.C (Dispatch): changes because of this.
14047 * LyXAction.C (init): rename open-stuff to inset-toggle.
14049 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
14051 * text2.C (toggleInset): renamed from openStuff; use
14054 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
14056 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
14058 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
14060 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
14062 * buffer.C (readLyXformat2): Add filename to the error dialog
14064 2001-07-18 Juergen Vigna <jug@sad.it>
14066 * tabular.C (GetCellNumber): put an assert here instead of the check!
14068 2001-07-17 Juergen Vigna <jug@sad.it>
14070 * BufferView_pimpl.C (toggleSelection): adapted too.
14072 * text.C (selectNextWord): adapted for use with insets.
14073 (selectSelectedWord): ditto
14075 2001-07-17 Juergen Vigna <jug@sad.it>
14077 * sp_spell.C (PSpell): fix initialitation order.
14079 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14081 * paragraph.C: spacing
14083 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
14085 * sp_spell.C: repair language selection for pspell
14087 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14089 * lyxfunc.h: change more methods to begin with lower char.
14091 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
14093 * buffer.C (parseSingleLyXformat2Token): Generate error insets
14094 for unknown layouts.
14096 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
14098 * buffer.C (readLyXformat2): Generate an error dialog if there are
14101 2001-07-16 Juergen Vigna <jug@sad.it>
14103 * sp_spell.C: always compile ISpell part.
14105 * lyxrc.C: added use_pspell entry and it's handling.
14107 2001-07-13 Juergen Vigna <jug@sad.it>
14109 * sp_spell.C: removed double includes.
14111 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
14113 Consistent use of Lsstream.h:
14114 * Lsstream.h: added using std::stringstream for consistencies sake.
14116 * buffer.C: removed using std::stringstream
14118 * lyxfont.C (stateText):
14119 * paragraph.C (asString):
14120 * text.C (selectNextWord, selectSelectedWord):
14121 * text2.C (setCounter):
14122 * vspace.C (asString, asLatexString):
14123 std::ostringstream -> ostringstream.
14125 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14127 * LyXAction.C: add LFUN_HELP_ABOUTLYX
14128 * commandtags.h: add LFUN_HELP_ABOUTLYX
14129 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
14131 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
14133 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
14135 * lyx_gui_misc.C: remove spellchecker
14136 * lyxfunc.C: showSpellchecker
14138 * sp_ispell.h: added
14139 * sp_pspell.h: added
14140 * sp_spell.C: added
14141 * sp_form.[Ch]: removed
14142 * spellchecker.[Ch]: removed
14144 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
14146 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
14148 (simpleTeXSpecialChars): Simply print the input character without
14149 any special translation if pass_thru is set.
14151 * layout.h: Added bool pass_thru to layout class for being able to
14152 implement pass through of a paragraph for Literate Programming.
14154 * layout.C: add LT_PASS_THRU to LayoutTags enum.
14155 * layout.C (LyXLayout): set pass_thru to flase in constructor.
14156 * layout.C (Read): add "passthru" to list of layout tags and add
14157 code to set the pass_thru boolean when it is read.
14159 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
14161 * trans_decl.h: remove allowed from KmodInfo
14163 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
14164 remove allowed code
14167 * paragraph_pimpl.C (erase): use boost::prior
14169 * Painter.C (text): use data() instead of c_str() when length is
14171 * WorkArea.C (putClipboard): ditto
14172 * font.h (width): ditto
14174 * BufferView2.C: use it-> instead of (*it). for iterators
14176 * paragraph_pimpl.C: ditto
14177 * paragraph.C: ditto
14178 * minibuffer.C: ditto
14179 * language.C: ditto
14181 * encoding.C: ditto
14182 * counters.C: ditto
14183 * converter.C: ditto
14185 * Variables.C: ditto
14186 * TextCache.C: ditto
14187 * MenuBackend.C: ditto
14188 * LyXAction.C: ditto
14190 * FloatList.C: ditto
14191 * DepTable.C: ditto
14192 * ColorHandler.C (LyXColorHandler): ditto
14194 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14196 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14198 * text2.C (openStuff): reintroduce this method (which had been
14199 nuked in NEW_INSETS frenzy).
14201 * lyxfunc.C (Dispatch): when an action has not been handled, use
14202 its name in the error message, not its number.
14204 * paragraph.C (inInset): change method name to begin with lowercase.
14207 * text2.C: updates because of this.
14209 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14211 * ToolbarDefaults.C (add): add spaces in error message
14213 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14215 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14216 (readLyXformat2): rename return_par to first_par, use lyxlex's
14217 pushToken and remove the manual push handling.
14218 (parseSingleLyXformat2Token): add another ert comp. variable:
14219 in_tabular, rename return_par to first_par. handle newlines better
14221 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14223 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14225 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14227 * text2.C (getParFromID): removed
14229 * buffer.C (getParFromID): new method moved form lyxtext.
14230 * BufferView2.C (insertErrors): adjust
14231 (setCursorFromRow): adjust
14232 * BufferView_pimpl.C (restorePosition): adjust
14233 * lyxfunc.C (Dispatch): adjust
14234 * undo_funcs.C (textUndo): adjust
14236 (textHandleUndo): adjust
14237 (textHandleUndo): adjust
14239 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14241 * buffer.C: up' the LYX_FORMAT
14243 * lyxfont.h: turn NO_LATEX on as default
14245 * buffer.C (insertErtContents): new methods of tex style compability.
14246 (parseSingleLyXformat2Token): use it several places.
14247 * tabular.C (OldFormatRead): and here
14249 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14251 * text2.C: remove some commented code.
14254 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14255 * trans.C: changes because of the above.
14257 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14259 * text2.C (setCounter): Fix counters bug with bibliography layout.
14261 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14263 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14264 own member functions
14265 (simpleTeXSpecialChars): ditto
14267 2001-07-06 Juergen Vigna <jug@sad.it>
14269 * a lot of files: changed the access to LyXText::status and the
14270 call of undo-functions.
14272 * undo.[Ch]: added a inset_id to the undo informations.
14274 * undo_funcs.[Ch]: added and moved here all undo functions.
14276 * lyxtext.h: give the status enum a weight, made status_ a private
14277 variable and made accessor functions for it, removed the whole bunch
14278 of undo-functions as they are now in their own file, make some
14279 functions publically available. Added function ownerParagraph with
14282 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14283 made InInset() a const function, added getParFromID() function.
14285 * buffer.[Ch]: added const version for inset_iterator functions,
14286 added getInsetFromID() function.
14288 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14289 changed undo functions for new version.
14291 2001-07-05 Juergen Vigna <jug@sad.it>
14293 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14294 unknow mechanism does not call the proper constructor but only this
14295 one also if I request the other!?
14297 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14299 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14301 * text2.C (LyXText): use initialization lists.
14303 * lyxtext.h (Selection): initialize set_ and mark_
14304 (init): remove method
14306 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14308 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14310 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14312 * screen.[Ch]: change method names to begin with lowercase
14314 * BufferView_pimpl.C (updateScrollbar): simplify further and
14315 hopefully make it a bit faster.
14317 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14319 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14320 calling directly xforms functions.
14322 * Painter.C (Painter):
14323 * lyx_cb.C (MenuWrite):
14324 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14327 * lyx_gui.C: remove bogus guiruntime extern declaration.
14329 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14331 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14333 (redoDrawingOfParagraph): ditto
14334 (redoParagraphs): ditto
14335 (cutSelection): don't create a object for CutAndPaste use the
14336 static method directly
14337 (pasteSelection): ditto
14339 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14342 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14344 * modifications to some other files because of this.
14346 * Makefile.am (lyx_SOURCES): add XFormsView
14348 * XFormsView.[Ch]: new files
14350 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14351 the main window. Move the gui dependent stuff to XFormsView
14353 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14355 * tabular.C (GetCellInset): update cur_cell also in the row/col
14356 version of this function.
14358 * lyxfunc.C: no need to include figure_form.h here.
14364 * lyxvc.C: no need to include forms.h here.
14366 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14368 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14370 * lyxfunc.C (Dispatch):
14372 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14373 constructor argument.
14375 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14377 * paragraph.C (Paragraph): dont't clear, and just set layout.
14378 (makeSameLayout): use params's copy contructor.
14380 * ParagraphParameters.[Ch] (makeSame): delete method
14382 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14384 * Variables.[Ch]: fix indentation, rename set to isSet
14386 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14388 * lyxfunc.C (Dispatch): fix typo
14390 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14392 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14395 * bufferlist.C: include assert.h for emergencyWrite().
14397 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14399 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14400 give up at last (bug #425202) !
14402 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14408 * spellchecker.C: strip spellchecker options and bring up
14409 preferences tab instead
14411 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14413 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14414 the istringstream constructor
14416 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14418 * paragraph.C (getLayout): fix return value
14420 * paragraph.h: do not declare getLayout as inline.
14422 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14424 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14426 * lyxcursor.h (operator<): new func
14427 (operator>): new func
14428 (operator>=): new func
14429 (operator<=): new func
14431 * text.C (changeCase): use selection.start and selection.end
14432 (changeRegionCase): require from to be <= to. Require par to be a
14435 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14437 2001-06-27 Juergen Vigna <jug@sad.it>
14439 * text.C (cursorLeftOneWord): changed to return the cursor and added
14440 overlay with BufferView * parameter which calls this one.
14442 (selectWord): use new getWord function.
14443 (changeCase): renamed from changeWordCase as and extended to work
14444 also on selections.
14446 * lyxtext.h: added enum word_location
14448 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14449 changeCase as this operates now also on selections.
14451 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14453 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14455 * many files: send debug output to Debug::INFO instead of
14458 * converter.C (View):
14460 (Move): send debug output to Debug::FILES instead of console.
14462 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14464 * lyxfunc.C (getStatus): use func_status
14466 * func_status.h: new header, describing the results of
14467 LyXFunc::getStatus;
14469 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14472 2001-06-25 The LyX Project <jug@sad.it>
14474 * buffer.C (sgmlOpenTag):
14476 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14478 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14480 * text2.C: remove some dead code
14482 * tabular.C (GetCellInset): store the last cell checked (gotten)
14484 * tabular.h: add the helper for the speedup
14486 * lyxtext.h: remove some dead code
14488 2001-06-26 The LyX Project <Asger>
14490 * paragraph.C: Change export to LaTeX of alignment to
14491 \begin{center} and family for better roundtrip work with reLyX.
14493 * Tune the math drawing a bit.
14495 2001-06-25 The LyX Project <Asger>
14497 * LColor.C (LColor): New color for math background. New color
14500 2001-06-25 The LyX Project <jug@sad.it>
14502 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14504 * lyxfunc.C (Open):
14505 * bufferlist.C (newFile): do not restrict to files ending with
14508 * BufferView_pimpl.C (MenuInsertLyXFile):
14510 2001-06-24 The LyX Project <jug@sad.it>
14512 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14515 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14517 * lyxtext.h: rename most methods to begin with a small char.
14518 Lots of changes because of this.
14520 * paragraph.C (Paragraph): do not call fitToSize
14521 (erase): call Pimpl::erase
14522 (insertChar): call Pimpl::insertChar
14523 (insertInset): call Pipl::insertInset
14524 (breakParagraph): do not call fitToSize
14525 (breakParagraphConservative): do not call fitToSize
14526 (fitToSize): remove method
14528 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14530 2001-06-24 The LyX Project <Asger>
14532 * Fix Qt compilation^2
14534 2001-06-24 The LyX Project <jug@sad.it>
14536 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14537 depthHook(getDepth()-1).
14540 * ParagraphParameters.h:
14541 * ParameterStruct.h: change type of depth to unsigned int ==
14542 depth_type. Many adaptations to other files before of that.
14544 2001-06-24 The LyX Project <Asger>
14546 * Fix Qt compilation.
14548 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14550 * paragraph.h: renamed several methods to begin with small letter.
14551 several changes to many parts of the code because of this.
14553 2001-06-23 The LyX Project <jug@sad.it>
14555 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14556 rewritten to discard all double spaces when KeepEmpty is off
14557 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14558 to only handle newlines but not fiddle with spaces and friends.
14560 * lyxfunc.C (MenuNew): when doing 'new from template', use
14561 template_path as default directory
14563 2001-06-23 The LyX Project <Asger>
14565 * Clean-up of header file includes all over
14566 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14568 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14570 * paragraph.h: renamed from lyxparagraph.h
14572 2001-06-23 Asger <lyx@violet.home.sad.it>
14574 * Buffer.h: Removed Buffer::resize
14575 * BufferList.h: Removed BufferList::resize
14576 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14577 the document lazily when we change the width, or the font settings.
14579 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14581 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14583 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14585 * buffer.h: remove out of date comment
14587 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14590 * screen.C: fix "theoretical" GC leak
14592 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14594 * LaTeX.C (scanAuxFile):
14595 (deplog): remove trailing \r when reading stream (useful under
14598 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14600 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14601 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14602 and BufferView::theLockingInset(Inset*), so should use them and not
14603 access bv_->text->the_locking_inset directly.
14605 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14607 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14610 * tex-defs.h: remove old unused file
14612 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14614 * BufferView_pimpl.C: fix typo, remove minibuffer message
14615 when buffer has loaded
14617 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14619 * lyxfunc.C (Dispatch): use stringstream
14620 (MenuNew): use stringstream
14621 (Open): use stringstream
14623 * importer.C (Import): use stringstream
14625 * bufferview_funcs.C (CurrentState): use stringstream
14627 * LaTeX.C (run): use stringstream
14629 * BufferView_pimpl.C (savePosition): use stringstream
14630 (restorePosition): use stringstream
14631 (MenuInsertLyXFile): use stringstream
14633 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14646 * vspace.C: removed // -*- C++ -*- as first line.
14649 * version.h: added // -*- C++ -*- as first line.
14651 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14653 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14655 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14658 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14660 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14663 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14665 * gettext.C: include LString.h even when --disable-nls is on.
14667 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14669 * converter.h (Get): changed argument type from int to
14670 FormatList::size_type to avoid unnecessary conversion.
14672 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14675 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14677 * gettext.h: include LString.h even when --disable-nls is on.
14679 2001-06-07 Juergen Vigna <jug@sad.it>
14681 * text.C (BreakAgain): subst spaces with tabs.
14683 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14684 (resizeInsetsLyXText): set force on resizeLyXText.
14686 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14688 * gettext.h (gettext_init):
14689 (locale_init): use a real definition instead of a macro
14691 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14693 * Bufferview_pimpl.C:
14695 * LColor.C: further lcolor tidies
14697 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14699 * BufferView_pimpl.C (updateScrollbar): simplify.
14701 * BufferView2.C: don't include insets/insetinfo.h, change
14702 prototype for insertInset and call the Pimpl version. let
14703 updateInset call Pimpl version.
14705 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14706 gotoInset to BufferView::Pimpl
14708 2001-06-01 Juergen Vigna <jug@sad.it>
14710 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14711 inside a LockingInset (is the update needed at all?).
14713 2001-05-31 Juergen Vigna <jug@sad.it>
14715 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14716 here not the old one otherwise how should we compare it afterwards
14719 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14724 * FontInfo.C: bring C functions into global namespace when
14727 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14729 * LString.h: make sure config.h has been loaded before LString.h.
14731 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14732 (one for each char read by EatLine!).
14734 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14737 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14739 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14740 to the same as the par we break from
14742 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14744 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14746 * MenuBackend.C (expand): also create menu entries for wide
14747 versions of the floats.
14749 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14751 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14753 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14754 frontends/Makefile.am
14760 * tabular.C (getTokenValue): add std::
14762 * tabular-old.C (getTokenValue): add std::
14763 (getTokenValue): ditto
14764 (getTokenValue): ditto
14766 * screen.C (ToggleSelection): adjust
14768 * lyxtext.h: put selection cursors inside a Selection struct.
14770 * lyxfunc.C (moveCursorUpdate): adjust
14772 * lyxfont.C (latexWriteStartChanges): add std::
14774 * lyxfind.C: adjust
14776 * font.h: delete with(char const *, LyXFont const &)
14778 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14780 * FontInfo.C (getFontname): add std::
14782 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14783 (workAreaButtonPress): adjust
14784 (tripleClick): adjust
14786 (moveCursorUpdate): adjust
14789 * BufferView2.C (gotoInset): adjust
14791 2001-05-30 Juergen Vigna <jug@sad.it>
14793 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14794 to check pspell I add this as default as I now have new pspell
14795 libraries and they seem to use this.
14797 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14799 * text2.C (CutSelection): make the cursor valid before the call to
14802 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14804 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14805 relied on 0 terminated strings and other horrors. Bug found due to
14806 the new assert in lyxstring!
14808 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14811 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14813 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14816 * lyxfunc.C (processKeySym): change method of getting to the
14819 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14820 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14821 * BufferView_pimpl.[Ch]: here as private methods.
14823 2001-05-28 Juergen Vigna <jug@sad.it>
14825 * text.C (SetHeightOfRow): added the update() call again as it is
14826 needed to initialize inset dimensions!
14828 2001-05-16 Juergen Vigna <jug@sad.it>
14830 * text2.C (SetCharFont): Add new function with BufferView * and
14831 bool toggleall parameters for setting insets internal fonts.
14832 (SetFont): Freeze the undo as we may change fonts in Insets and
14833 all this change should be inside only one Undo!
14835 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14836 setting font's in insets as for them we have the SetFont function!
14838 2001-05-15 Juergen Vigna <jug@sad.it>
14840 * text2.C (ClearSelection): to be sure we REALLY don't have any
14843 * tabular.C (TeXCellPreamble): fixed the left border problem for
14846 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14848 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14851 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14853 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14854 LFUN_BREAKPARAGRAPH.
14856 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14857 help test to "internal only", similar for LFUN_INSERT_URL
14859 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14860 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14861 auto_region_delete and deadkeys.
14863 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14866 * LColor.C: remove some dead entries, tidy a little
14868 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14870 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14872 (Dispatch): implement LFUN_ESCAPE
14874 * commandtags.h: add LFUN_ESCAPE
14876 * LyXAction.C (init): add entry for LFUN_ESCAPE
14878 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14879 Remove commented code.
14880 (insertNote): moved here
14881 (open_new_inset): moved here
14883 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14886 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14888 * kbmap.C (findbinding): clean it up and make it work correctly.
14890 * lyx_main.C (init): do not pass argc and argv as parameters
14892 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14894 * buffer.C: fix path for OS/2 & Win32
14898 * lyx_main.C: Added os:: class.
14900 * os2_defines.h: update
14902 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14904 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14905 better by trying again with reduced state.
14907 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14909 * lyxrc.C (read): print error about invalid key sequence only when
14910 debugging (because not all latinX keysyms are known to some X
14913 * kbsequence.C (getiso): add a few std:: qualifiers
14914 (getiso): comment out extra return statement.
14916 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14918 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14920 (Dispatch): enhance the accent inset a bit. (not perfect)
14922 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14924 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14926 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14928 * bufferlist.C (emergencyWrite): fix assert() call
14930 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14932 * text.C (InsertChar): Added trivial patch to only send the "you
14933 can not do multiple spaces this way" message once during a
14936 2001-05-08 Baruch Even <baruch@lyx.org>
14938 * Makefile.am: Changed order of libraries to get LyX to link properly
14939 with the gnome frontend.
14941 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14943 * LaTeXFeatures.h: add a std:: qualifier
14945 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14947 * paragraph.C (String): use stringstream
14949 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14951 * paragraph.C (writeFile): remove footflag arg
14953 * buffer.C (makeLaTeXFile): use stringstream
14954 (latexParagraphs): remove footnot gurba
14956 * LaTeXFeatures.C (getPackages): use stringstream
14957 (getMacros): likewise
14958 (getTClassPreamble): likewise
14959 (getFloatDefinitions): new method
14961 * paragraph.C (writeFile): reindent
14964 * WorkArea.h: revert the xpos + etc changes.
14966 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14968 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14970 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14971 (pasteSelection): likewise
14972 * text2.C (CreateUndo): likewise
14974 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14976 * minibuffer.C (peek_event): temporarily reduce the functionality
14977 of the minibuffer (to allow args on lfuns)
14979 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14980 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14982 * buffer.C (readInset): add compability reading of old float
14983 lists, add reading of new style float list.
14984 (readInset): avoid reevaluation of inscmd.getCmdName()
14985 (getLists): reindent
14987 * MenuBackend.C (MenuItem): implement parsing of
14988 md_floatlistinsert and md_floatinsert.
14989 (expand::LastFiles): move initalizaton of iterators out of loop,
14990 avoid reevaluation.
14991 (expand::Documents): introduce typdedef vector<string> Strings,
14993 (expand::ExportFormats): introduce typedef vector<Format const *>
14994 Formats, and use it.
14995 (expand): implement FloatListInsert and FloatInsert.
14997 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14998 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14999 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
15001 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
15003 (Dispatch::LFUN_FLOAT_LIST): implement
15005 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
15007 * LaTeX.C (run): Fix problem with --export code.
15009 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15011 * BufferView.[Ch] (workarea): removed.
15012 (getClipboard) new method; wrapper for workarea()->getClipboard()
15014 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
15017 * WorkArea.h (width, height, xpos, ypos): These methods all
15018 returned the dimensions of the work_area sub-area of WorkArea,
15019 resulting in a position error if the WorkArea were resized. Now
15020 return the dimensions of the entire WorkArea.
15022 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
15024 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15026 * LaTeX.C (deplog): correct the syntax of regex reg1
15028 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
15030 * undo.C: remove !NEW_INSETS cruft
15032 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
15034 * text2.C: remove !NEW_INSETS cruft
15036 * text.C: remove !NEW_INSETS cruft
15038 * tabular.C: remove !NEW_INSETS cruft
15040 * spellchecker.C: remove !NEW_INSETS cruft
15042 * lyxtext.h: remove !NEW_INSETS cruft
15044 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
15046 * lyxfunc.C: remove !NEW_INSETS cruft
15048 * lyxfind.C: remove !NEW_INSETS cruft
15050 * lyx_cb.C: remove !NEW_INSETS cruft
15052 * figureForm.C: remove !NEW_INSETS cruft
15054 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
15056 * buffer.[Ch]: remove !NEW_INSETS cruft
15058 * ToolbarDefaults.C: remove !NEW_INSETS cruft
15060 * CutAndPaste.C: remove !NEW_INSETS cruft
15062 * BufferView_pimpl.C: remove !NEW_INSETS cruft
15064 * BufferView2.C: remove !NEW_INSETS cruft
15066 * BufferView.h: remove !NEW_INSETS cruft
15068 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15070 * Lsstream.h: include LString.h before the sstream headers to
15071 fix problem with gcc 2.95.3 and lyxstring
15073 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15075 * lyx_main.C: add using directives when needed for C functions
15076 declared in std:: namespace.
15078 2001-04-27 Juergen Vigna <jug@sad.it>
15080 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
15081 (SetHeightOfRow): comment out the update call should not be needed!
15083 2001-04-13 Juergen Vigna <jug@sad.it>
15085 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
15086 (LyXTabular): tried to minimize operator= operations (and realized
15087 hopfully Lars wish).
15089 2001-04-27 Juergen Vigna <jug@sad.it>
15091 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
15093 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
15095 * lyxfunc.C (Dispatch): hack to make listof algorithm work
15097 * buffer.C (readInset): hack to make listof algorithm work
15099 * BufferView_pimpl.C: hack to make listof algorithm work
15101 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
15103 * LyXAction.C: removed all !NEW_INSETS cruft
15104 (init): moved lfun_item in method
15106 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
15108 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
15110 * BufferView2.C (theLockingInset): white space.
15112 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
15114 * minibuffer.C: include <iostream>
15116 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
15118 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
15120 * commandtags.h: add LFUN_TRANSPOSE_CHARS
15122 * text.[Ch] (TransposeChars): new method
15124 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
15126 * call message directly through LyXView instead of through LyXFunc
15127 * BufferView2.C: adjust
15128 * BufferView_pimpl.C: adjust
15129 * FontLoader.C: adjust
15131 * bufferview_funcs.C: adjust
15132 * converter.C: adjust
15133 * figureForm.C: adjust
15134 * importer.C: adjust
15136 * lyx_gui_misc.C: adjust
15137 * lyxfunc.C: adjust
15140 + more files in subdirs
15142 * lyxparagraph.h (size): move up int file
15145 * adjust all uses of Assert to lyx::Assert.
15147 * BufferView2.C (ChangeCitationsIfUnique): adjust for
15148 lyxfunctional in namespace lyx
15149 * layout.C (hasLayout): ditto
15152 (delete_layout): ditto
15153 (NumberOfClass): ditto
15154 * converter.C (GetFormat): ditto
15159 * bufferlist.C (getFileNames): ditto
15160 (emergencyWriteAll): ditto
15163 * MenuBackend.C (hasSubmenu): ditto
15166 * BufferView_pimpl.C (getInsetByCode): ditto
15168 2001-04-18 Juergen Vigna <jug@sad.it>
15170 * vspace.C (asLatexString): fixed the 100% problem.
15172 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15174 * lyxfunc.C (Dispatch):
15176 * minibuffer.h: add a few std:: qualifiers
15178 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15180 * minibuffer.[Ch]: reimplement so that commands is initiated and
15181 run from lyxfunc, simplified som handling, and made the completion
15182 and history code for complete. wip.
15184 * lyxfunc.C (processKeySym): call message
15185 (miniDispatch): new temporary method
15186 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15187 (LFUN_MESSAGE): implement
15188 (LFUN_MESSAGE_PUSH): implement
15189 (LFUN_MESSAGE_POP): implement
15190 (initMiniBuffer): the initial/defualt minibuffer message.
15192 * lyxfont.[Ch]: inline some more getters
15194 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15196 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15198 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15199 (AutoSave): use LFUN_MESSAGE
15200 (Reconfigure): ditto
15202 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15204 * figureForm.C: use LFUN_MESSAGE
15206 * converter.C (runLaTeX): use LFUN_MESSAGE
15208 * bufferview_funcs.C: use LFUN_MESSAGE
15210 (changeDepth): ditto
15212 * bufferparams.h: use boost::
15214 * bufferlist.h: inherit privately from noncopyable
15216 * bufferlist.C (loadLyXFile): remove some commented code.
15218 * buffer.C (runChktex): use LFUN_MESSAGE
15220 * ShareContainer.h: inherit privately from noncopyable
15222 * ParagraphParameters.[hC] (depth): inline it.
15224 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15226 (message): new method
15227 (messagePush): ditto
15228 (messagePop): ditto
15229 (show): init minibuffer
15230 (showState): direct call
15232 * LaTeX.[Ch]: inherit privately from noncopyable
15233 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15234 instead of WriteStatus.
15236 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15238 * BufferView_pimpl.C (buffer): don't init minibuffer
15239 (workAreaButtonPress): use LFUN_MESSAGE
15240 (workAreaButtonRelease): ditto
15241 (savePosition): ditto
15242 (restorePosition): ditto
15243 (MenuInsertLyXFile): ditto
15244 (workAreaExpose): don't init minibuffer
15245 (update): remove commented code, simplify
15247 * BufferView2.C (openStuff): use LFUN_MESSAGE
15248 (toggleFloat): ditto
15251 (copyEnvironment): ditto
15252 (pasteEnvironment): ditto
15257 (updateInset): remove some commented code
15259 * lastfiles.h: inherit privately from noncopyable
15262 * lyx_main.h: ditto
15264 * lyxlex_pimpl.h: ditto
15266 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15267 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15268 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15270 * LyXAction.h: inherit privately from noncopyable, add methods
15271 func_begin, func_end, returning iterators to the func map.
15273 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15274 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15275 (func_begin): new method
15276 (func_end): new method
15278 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15280 (copySelection): ditto
15281 (pasteSelection): ditto
15283 * BufferView.C: whitespace change
15284 * BufferView.h: inherit privately from noncopyable
15286 2001-04-16 Allan Rae <rae@lyx.org>
15288 * tabular-old.C (l_getline):
15289 * spellchecker.C (sc_check_word):
15290 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15291 an unrecognised preprocessor directive. So ensure they're wrapped.
15293 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15295 * src/exporter.C (Export): Give an error message when path to file
15298 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15300 * LaTeX.C (deplog): Always check that foundfile exists.
15302 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15305 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15307 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15309 * tabular.[Ch] (getLabelList): implement new method
15311 * minibuffer.h: comment ouf setTiimer
15313 * minibuffer.C (ExecutingCB): constify res
15314 (peek_event): constify s
15315 (Set): constify ntext
15316 (Init): constify nicename
15318 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15320 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15321 (savePosition): use two params to Minibuffer::Set
15322 (restorePosition): ditto
15324 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15326 * lyx_main.C: include language.h
15328 * Makefile.am (lyx_main.o): add language.h
15330 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15336 * CutAndPaste.C: include gettext.h
15338 * lyxfont.h: remove old hack with ON and OFF.
15341 * lyxfont.h: do not include language.h...
15346 * bufferview_funcs.C:
15352 * paragraph.C: ... but do it here instead
15354 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15356 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15358 * tabular.C: small reformat
15360 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15363 (BreakParagraph): ditto
15364 (SetOnlyLayout): ditto
15367 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15370 * lastfiles.C: removed most using decl, add std:: where needed
15372 * buffer.C: ws changes
15374 * MenuBackend.C (class compare_format): put into anon namespace
15375 (expand): constify label, names, action, action2
15378 * text.C (SingleWidth): constify font
15379 (IsBoundary): constify rtl2
15380 (GetVisibleRow): constify ww
15382 * LaTeX.C (deplog): constify logfile
15384 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15386 (workAreaExpose): constify widthChange, heightChange
15388 * lyxrow.C (par): moved
15391 * lyxrow.h: as inlines here
15393 * lyxfont.h (shape): moved from lyxfont.C
15394 (emph): moved from lyxfont.C
15396 * lyxfont.C (LyXFont): use initialization list for all
15398 (shape): move to lyxfont.h as inline
15399 (emph): move to lyxfont.h as inline
15402 2001-04-04 Juergen Vigna <jug@sad.it>
15404 * vspace.C: had to include stdio.h for use of sscanf
15406 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15409 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15410 independent of xforms.
15412 2001-04-02 Juergen Vigna <jug@sad.it>
15414 * spellchecker.C: fixed namespace placing!
15416 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15418 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15419 the LyXParagraph * is 0.
15421 2001-03-29 Juergen Vigna <jug@sad.it>
15423 * vspace.C: added support for %, c%, p%, l%.
15424 (stringFromUnit): added helper function.
15425 (asLatexString): changed to give right results for the %-values.
15427 * buffer.C: convert the widthp in a width%.
15429 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15431 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15434 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15435 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15437 * lyx_cb.[Ch]: see above.
15439 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15443 * lyx.[Ch]: replaced by figure_form.[Ch].
15447 * lyxfunc.C: changed headers associated with above changes.
15449 2001-03-27 Juergen Vigna <jug@sad.it>
15451 * BufferView_pimpl.C: set the temporary cursor right!
15453 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15455 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15457 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15459 * LString.h: removed "using std::getline"!
15461 * BufferView_pimpl.C (Dispatch): changes due to changes in
15462 InsetInclude::Params.
15464 * buffer.C (tag_name): removed redundant break statements as they were
15465 producing lots of warnings with my compiler.
15467 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15469 * LString.h: add "using std::getline" when using the real <string>.
15471 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15473 * buffer.C: removed bitset usage.
15474 PAR_TAG moved to an anonymous name space.
15475 (tag_name): new funtion, also in the anonymous namespace.
15476 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15477 (makeDocBookFile): clean code. Completed transition from string arrays
15479 (SimpleDocBookOnePar): code clean.
15481 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15483 * tabular.C: add some comments.
15485 2001-03-22 Juergen Vigna <jug@sad.it>
15487 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15488 compatibility read a bit and fixed bug with minipage in different
15491 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15493 * buffer.C (pop_tag): removed.
15494 (push_tag): removed.
15495 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15496 array replaced with vector. Added support for CDATA sections.
15497 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15499 (makeDocBookFile): XML conformant declaration of CDATA section,
15500 fixed bug related to <emphasis> in the first paragraph char.
15501 (sgmlOpenTag): exclude empty tags.
15502 (sgmlCloseTag): ditto.
15504 * buffer.h (pop_tag): removed.
15505 (push_tag): removed.
15507 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15509 * language.h (Languages): added size_type and size().
15511 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15513 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15514 response on compability reading of minipages. One probliem is that
15515 the old usage of minipages was «flertydig»
15517 * several files here and in subdirs: don't use static at file
15518 scope use anon namespaces instead.
15520 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15522 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15523 LaTeX output. This is necessary for Literate document
15526 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15528 * buffer.C: insert hfill when needed.
15530 * tabular.C (l_getline): use string::erase, small whitespace change.
15532 * BufferView_pimpl.C: try the anon namespace.
15533 * WorkArea.C: ditto
15535 2001-03-16 Juergen Vigna <jug@sad.it>
15537 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15538 otherwise it won't open options-dialogs.
15540 * buffer.C: honor pextraWidth(p) on converting minipages.
15542 * tabular.C (l_getline): changed the functions to strip trailing \r.
15544 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15546 * BufferView_pimpl.C:
15547 * minibuffer..C: added "using SigC::slot" declaration.
15549 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15551 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15557 * paragraph.C: ditto
15559 * lyxtext.h: NO_PEXTRA
15561 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15563 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15564 * ParameterStruct.h: ditto
15565 * ParagraphParameters.h: ditto
15566 * lyxparagraph.h: ditto
15568 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15570 * buffer.C: add compability for minipage alignment.
15571 (latexParagraphs): remove unwanted pextra check.
15573 * several files: remove CXX_WORKING_NAMESPACES
15575 * buffer.C (pop_tag): tie is in namespace boost
15577 * BufferView.h: noncopyable is in namespace boost
15579 * lyx_main.h: ditto
15582 * lastfiles.h: ditto
15583 * bufferlist.h: ditto
15584 * ShareContainer.h: ditto
15586 * LyXAction.h: ditto
15589 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15591 * Merging changes from BRANCH_MVC back into HEAD.
15593 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15595 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15597 * BufferView_pimpl.C: change from intl.C
15601 * Makefile.am: move combox.*
15607 * intl.C: remove dialog (covered by prefs)
15609 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15611 * lyxfunc.C (Dispatch): removed redundant break statement.
15613 2001-03-14 Juergen Vigna <jug@sad.it>
15615 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15617 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15619 * buffer.C: add hack to fix compability reading of minipages.
15621 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15623 * buffer.C (getLists): Cleanup.
15625 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15627 * lyxfont.C (update): don't honor toggleall on font size.
15629 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15633 * Makefile.am: moved to frontends/xforms/
15637 * BufferView_pimpl.C: changes for moved mathpanel
15639 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15641 * gettext.h: fix gettext_init() in --disable-nls
15643 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15645 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15647 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15650 * lyx.h: strip external form
15652 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15654 * BufferView_pimpl.C: add comment, destroySplash()
15656 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15658 * BufferView_pimpl.C:
15662 * lyxfunc.C: use re-worked insetinclude
15664 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15666 * buffer.C: add using std::stringstream.
15668 * lyx_cb.C: readd using std::ios.
15670 * buffer.C: add using std::map.
15672 * BufferView_pimpl.C: add using std::vector.
15674 * ShareContainer.h: add std:: to swap.
15676 * buffer.h: add some typedefs
15677 * buffer.C (getLists): use them
15678 (getLists): renamed from getTocList.
15679 add a counter for the different float types and use it in the
15681 (getLists): use the same counter for the NEW_INSETS and the "non"
15684 * lyx_cb.h: remove unused items, includes, using etc.
15686 * ShareContainer.h: remove some commented code, add more comments
15687 and "documentation".
15689 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15691 * buffer.C (getTocList): make the list also when NEW_INSETS is
15694 * buffer.h: remove TocType
15696 * buffer.C (getTocList): change to return a map<string,
15697 vector<TocItem> >, implement for dynamic number of list.
15699 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15700 * text2.C (PasteSelection): adjust
15701 * CutAndPaste.C (pasteSelection): adjust
15703 * FloatList.C (FloatList): update from the new_insets branch.
15704 * Floating.[Ch]: ditto
15705 * LaTeXFeatures.C: ditto
15707 * lyxlex_pimpl.C: ditto
15709 * paragraph.C (Last): remove when NEW_INSETS is defined.
15711 * other file: changes because of the above.
15713 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15715 * lyxparagraph.h: rename next to next_, previous to previous_,
15716 make them private for NEW_INSETS. Rename Next() to next(),
15717 Previous() to previous().
15719 * other files: changes because of the above.
15721 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15724 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15727 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15729 * main.C (main): pass lyx_localedir to gettext_init().
15731 * gettext.h: remove locale_init and gettext_init macros
15733 * gettext.C (locale_init): new function
15734 (gettext_init): new function
15736 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15739 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15741 * Moved credits to frontends:
15742 * credits.[Ch]: removed
15743 * credits_form.[Ch]: removed
15744 * lyx_gui_misc.C: remove credits stuff
15747 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15749 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15751 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15752 unneeded destructor.
15754 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15755 a standalone pointer again.
15757 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15759 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15765 * ToolbarDefaults.C:
15774 * BufferView_pimpl.C: use new file dialog in GUII
15777 * lyx_cb.C: remove LayoutsCB to Toolbar
15779 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15781 * ShareContainer.h (get): add std:: qualifier
15783 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15785 * ShareContainer.h: define a proper ShareContainer::value_type
15786 type (and use typename to please compaq cxx)
15788 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15790 * lyxparagraph.h: move serveral local vars to
15791 ParameterStruct/ParagraphParameters., use ShareContainer in
15792 FontTable., make vars in FontTable private and add getter and
15795 * paragraph.C: changes because of the above.
15797 * lyxfont.h: remove copy constructor and copy assignment. (the
15798 default ones is ok), move number inside FontBits. move inlines to
15801 * lyxfont.C: add number to initializaton of statics, move several
15802 inlines here. constify several local vars. some whitespace
15803 cleanup. Dont hide outerscope variables.
15805 * Spacing.h: add two new constructors to match the set methods.
15807 * ShareContainer.h: new file, will perhaps be moved to support
15809 * ParameterStruct.h: new file
15811 * ParagraphParameters.h: new file
15813 * ParagraphParameters.C: new file
15815 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15816 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15818 * BufferView_pimpl.C: ParagraphParameter changes.
15819 * buffer.C: Likewise.
15820 * bufferview_funcs.C: Likewise.
15821 * text.C: Likewise.
15822 * text2.C: Likewise.
15824 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15826 * lyxfind.C (LyXReplace): do not redefine default argument in
15828 (IsStringInText): ditto
15829 (SearchForward): ditto
15830 (SearchBackward): ditto
15832 2001-03-06 Juergen Vigna <jug@sad.it>
15834 * lyxfind.C (IsStringInText): put parentes around expressions.
15836 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15838 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15840 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15842 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15844 * stl_string_fwd.h: add comment
15846 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15849 * tabular.C: remove unused DocBook methods
15855 killed DO_USE_DEFAULT_LANGUAGE
15857 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15859 * lyx_gui.C: do not include language.h.
15861 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15862 arguments in function implementation.
15864 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15866 * BufferView_pimpl.C: add <ctime>
15868 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15870 * BufferView_pimpl.C: add using std::find_if
15872 2001-02-27 José Matos <jamatos@fep.up.pt>
15874 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15877 2001-02-11 José Matos <jamatos@fep.up.pt>
15879 * buffer.C (makeDocBookFile): command styles now have a parameter as
15880 "title" by default.
15882 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15884 * layout_forms.[Ch]: removed
15885 * lyx_cb.[Ch]: out character
15886 * lyx_gui.C: out character
15887 * lyx_gui_misc.C: out character
15888 * bufferview_funcs.C: : out character,
15889 added toggleall as parameter in ToggleAndShow
15891 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15893 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15895 * text2.C (SetCurrentFont): Disable number property at boundary.
15897 2001-02-26 Juergen Vigna <jug@sad.it>
15899 * lyxfunc.C (getStatus): added a string argument override function so
15900 that this is correctly called from LyXFunc::Dispatch if it contains a
15901 do_not_use_argument which is used!
15902 (Dispatch): added check for "custom" export and call appropriate func.
15904 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15906 * lyxrc.C: Add language_command_local, language_use_babel and
15907 language_global_options.
15909 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15911 * buffer.C (makeLaTeXFile): Use language_use_babel and
15912 language_global_options.
15914 2001-02-23 Juergen Vigna <jug@sad.it>
15916 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15917 which works with LyXText and putted it inside BufferView. Here now we
15918 only call for that part the BufferView::Dispatch() function.
15920 * BufferView.C (Dispatch): added.
15922 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15923 functions which needs to use a LyXText over from LyXFunc.
15924 (MenuInsertLyXFile): added
15925 (getInsetByCode): added
15926 (moveCursorUpdate): added
15927 (static TEXT): added
15929 2001-02-22 Juergen Vigna <jug@sad.it>
15931 * BufferView_pimpl.C (update): call a status update to see if LyXText
15934 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15936 * vc-backend.C (revert): implement for CVS
15937 (getLog): implement for CVS
15939 2001-02-20 Juergen Vigna <jug@sad.it>
15941 * text2.C (ClearSelection): added BufferView param for inset_owner call
15943 * lyxfunc.C (TEXT): added this function and use it instead of
15944 directly owner->view()-text of getLyXText().
15946 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15948 * src/layout_forms.C: out preamble
15949 * src/layout_forms.h: out preamble
15950 * src/lyx_cb.C: out preamble
15951 * src/lyx_cb.h: out preamble
15952 * src/lyx_gui.C: out preamble
15953 * src/lyx_gui_misc.C: out preamble
15954 * src/lyxfunc.C: connect with guii preamble
15956 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15958 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15960 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15962 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15963 whether to run bibtex.
15965 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15967 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15969 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15971 * Makefile.am (lyx_SOURCES): removed bibforms.h
15973 * vspace.h: doxygen
15975 * text.C (GetVisibleRow): make several local vars const
15977 * tabular.C: small cleanup.
15979 * lyxserver.C (callback): use compare instead of strncmp
15981 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15982 inlines to after class or to paragraph.C
15984 * lyxfont.h: remove friend operator!=
15986 * converter.h: move friend bool operator< to non friend and after
15989 * combox.h: small cleanup
15991 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15992 to inlines after class def.
15994 * buffer.C (pop_tag): use string operations instead of strcmp
15996 * bmtable.c: doxygen, small cleanup
15998 * LaTeX.h: remove friend operator==
16000 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
16012 * BufferView_pimpl.C:
16013 * BufferView.[Ch]: remove cruft
16015 2001-02-14 Juergen Vigna <jug@sad.it>
16017 * lyxfunc.C: removed #if 0 unused code
16019 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
16021 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
16023 * text2.C (SetSelection): added a BufferView * parameter
16025 2001-02-13 Juergen Vigna <jug@sad.it>
16027 * lyxfunc.C (Dispatch): fixed protected blank problem.
16028 * BufferView2.C (protectedBlank): added LyxText * parameter.
16030 * tabular.C (AppendRow): forgot to set row_info of newly added row.
16031 (AppendColumn): same as above for column_info.
16033 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
16034 (moveCursorUpdate): use a LyXText param for support of InsetText.
16036 * BufferView_pimpl.C (doubleClick): added support for InsetText.
16037 (tripleClick): ditto
16039 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
16041 * BufferView_pimpl.C (update): added LyXText param to honor insets.
16043 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
16045 * text2.C (SetSelection): set correct update status if inset_owner
16046 (ToggleFree): ditto
16048 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
16050 * tabular.C: remove some commented code.
16052 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
16054 * BufferView_pimpl.C: call hideSplash()
16056 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
16059 * bibforms.h: remove
16062 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
16063 add LFUN_CHILD_CREATE
16065 * counters.h: fix tiny typo
16070 * lyx.C: move splash to frontends/xforms/
16072 * lyx_gui_misc.C: move Include and Bibform to frontends
16074 * lyxvc.h: clarify comment
16076 * vspace.C: tiny housekeeping
16078 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
16080 * text.C (PrepareToPrint): RTL Fix.
16082 * paragraph.C (GetUChar): New method.
16083 (String): Use GetUChar.
16085 * buffer.C (asciiParagraph): Use GetUChar.
16087 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
16089 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
16091 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
16094 * buffer.C: rename to getLogName(), handle
16095 build log / latex log nicely
16097 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16100 * MenuBackend.h: remove support for reference menuitem type.
16102 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
16104 * BufferView_pimpl.C: housekeeping
16105 * BufferView_pimpl.h:
16110 * minibuffer.h: move Timeout GUI-I
16112 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
16114 * lyxrc.C (read): Update converters data-structures.
16116 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
16118 * LaTeX.h (operator!=): add operator != for Aux_Info
16120 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
16122 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
16124 * LaTeXLog.C: deleted, useful code moved to Buffer
16127 * buffer.C: new function getLatexLogName()
16133 * lyxfunc.C: use frontends for LaTeX and VC logs
16135 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16137 * LaTeX.h: yet another std:: that Allan forgot.
16139 * Variables.C (set): renamed from isset(), because this clashes
16140 with some HP-UX macros (grr).
16142 2001-02-06 Allan Rae <rae@lyx.org>
16144 * LaTeX.h: Another bug fix. Missing std:: this time.
16146 2001-02-04 Allan Rae <rae@lyx.org>
16148 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
16149 floats problem. I've left it commented out because it's not quite
16150 correct. It should also test that the current object is a table or
16151 figure inset. But I haven't gotten around to figuring out how to do
16152 that. I *think* it'll be something like: "table" == inset.type()
16154 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
16157 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
16159 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
16160 all the citation/databases/styles in the auxilary file.
16161 (run): Rerun latex if there was a babel language error.
16163 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
16165 * text.C (Backspace): Preserve the font when changing newline char
16167 (BreakParagraph): If the cursor is before a space, delete the space.
16169 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16171 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16173 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16174 new argument (code).
16175 (ChangeCitationsIfUnique): New method.
16177 * paragraph.C (GetPositionOfInset): Handle bibkey.
16179 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16181 * BufferView_pimpl.h: change type of Position::par_pos to
16182 LyXParagraph::size_type.
16184 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16186 * BufferView_pimpl.C (savePosition, restorePosition): Write
16187 messages to minibuffer.
16189 2001-01-28 José Matos <jamatos@fep.up.pt>
16191 * buffer.C (makeDocBookFile): adds support for document language.
16192 A silly restriction on the name of LatexCommand types where removed.
16193 Added support for CDATA sections, allows to chars unescaped, used
16194 among others in code, to avoid escape < and >.
16196 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16198 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16199 saved positions instrad of a stack. Furthermore, a position is
16200 stored using paragraph id/paragraph position.
16202 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16203 Remove LFUN_REF_BACK.
16205 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16207 * converter.C (dvipdfm_options): New method.
16209 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16211 * vspace.C (isValidLength): Fix for empty input string.
16213 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16215 * LyXAction.C (init): change description of LFUN_FIGURE to
16218 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16220 * LaTeX.C: add using directive
16222 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16224 * MenuBackend.C (expand): Fix the sorting of the formats.
16226 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16228 * lyx_main.C: tiny error message fix
16230 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16232 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16233 calling fl_initialize(). This fixes the problem with ',' as
16234 decimal separator in text files.
16236 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16238 * trans.C (process): Fix the keymap bug.
16240 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16242 * LaTeX.C (scanAuxFiles): New method. Provides support for
16243 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16244 (scanLogFile) Scan for "run BibTeX" messages.
16246 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16247 OT1 font encoding. Also, load the aecompl package if the ae
16250 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16252 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16254 * texrow.C (increasePos): turn two error messages into debug
16257 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16259 * LaTeX.C (scanAux): Handle the \@input macro.
16260 (runBibTeX): Use scanAux().
16262 * language.C (latex_options_): New field.
16264 * LaTeXFeatures.C (getMacros): Add language macros.
16266 * buffer.C (makeLaTeXFile): Small fix.
16268 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16270 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16272 * text2.C: add a using directive.
16274 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16279 * lyxfunc.C: kill LyXBell.
16281 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16283 * text.C (IsBoundary): Remove the error message
16285 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16287 * lyxrc.C (setDefaults): Correct initialization value for
16290 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16292 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16295 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16296 and GotoNextNote().
16298 * src/LyXAction.C: Added reference-next.
16300 * text.C (InsertChar): Use contains instead of strchr.
16302 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16304 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16306 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16307 alignment commands (when needed).
16309 * text.C (InsertChar): Add ':' to number separator chars.