1 2004-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
3 * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
4 the cursor is correct (bug 1694)
6 2004-10-13 José Matos <jamatos@lyx.org>
8 * output_docbook.C (docbookParagraphs): fix closing tags in the
11 2004-10-09 José Matos <jamatos@lyx.org>
13 * buffer.C: format up to 237.
14 * bufferparams.C (write): use tostr to convert booleans to strings.
16 2004-10-08 Martin Vermeer <martin.vermeer@hut.fi>
18 * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
20 2004-10-07 Martin Vermeer <martin.vermeer@hut.fi>
22 * LaTeX.C: implement use of babel language in xindy.
24 2004-10-05 José Matos <jamatos@lyx.org>
26 * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
27 Add new translators to help reading and writing the lyx file.
29 2004-10-05 José Matos <jamatos@lyx.org>
31 * ParagraphParameters.C (read):
32 * text.C (readParToken): replace nexToken by more appropriate lex
35 2004-10-05 Hartmut Haase <hha4491@atomstromfrei.de>
37 * LaTeX.C (runMakeIndex):
38 * lyxrc.[Ch] (read, write, getDescription): make the indexing command
39 (usually 'makeindex') configurable.
41 * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
42 with a variable rather than with a number.
44 2004-09-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
46 * output_latex.C (TeXOnePar): make sure font setting is the first
47 thing that gets output (and the last at the end). Should fix bug
50 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
52 * pch.h: use proper signal include
54 * LaTeX.h: Use preferred calling of Boost.Signal
57 2004-09-26 Lars Gullik Bjonnes <larsbj@gullik.net>
59 * pch.h: dont include <boost/function/function0.hpp>
61 * Makefile.am (lyx_SOURCES): remove ShareContainer.h
63 * paragraph_pimpl.h: remove usage of ShareContainer
65 * paragraph_pimpl.C: remove initialization of ShareContainer.
67 2004-09-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
71 * BufferView.C (putSelectionAt): change the semantics when
72 backwards == true: now, this just swaps cursor and anchor wrt the
75 * BufferView.h (putSelectionAt): add some documentation
77 * lyxfind.C (findBackwards): rewrite using while(). In particular,
78 make sure backwardChar is done at least once (to avoid getting
80 (findNextChange): use putSelectionAt in the forward direction
81 (operator()): use Paragraph::isWord
83 2004-09-16 Lars Gullik Bjonnes <larsbj@gullik.net>
85 * Spacing.C (set): c_str fix
87 2004-09-09 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
89 * lyx_cb.C (Reconfigure): quote the name of configure script in
90 case it contains spaces
92 2004-09-04 Lars Gullik Bjonnes <larsbj@gullik.net>
96 * Makefile.am (SUBDIRS): change order of subdirs and add client dir
97 (BOOST_LIBS): use top_buildir when looking for the file
99 2004-08-30 Lars Gullik Bjonnes <larsbj@gullik.net>
101 * pch.h: do not use include boost/format.hpp, multiple symbols
102 will result (gcc bug)
105 2004-08-23 José Matos <jamatos@lyx.org>
107 * bufferparams.C (readToken): fix reading of the author field.
109 2004-08-20 José Matos <jamatos@lyx.org>
111 * lyxrc.C: remove support/translator.h inclusion since it is not used.
113 2004-08-20 José Matos <jamatos@lyx.org>
115 * lyxlex.[Ch] (findToken): remove function.
117 * ParagraphParameters.C (findToken):
118 * bufferparams.C (findToken): replace call for previous function
119 with local copy. This local function has one more argument, the
120 read string argument.
122 2004-08-16 José Matos <jamatos@lyx.org>
124 * ParagraphParameters.C (write):
125 * Spacing.C (writeFile):
126 * bufferparams.C (writeLaTeX):
127 * lyx_cb.C (Reconfigure):
128 * paragraph.C (write):
129 * tabular.C (write): remove unnecessary space at end of line.
132 2004-08-16 José Matos <jamatos@lyx.org>
134 * text.C (readParagraph): remove debug message.
136 2004-08-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
138 * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
141 * output_plaintext.C (asciiParagraph): set depth correctly
143 * outputparams.h: add member depth
145 * paragraph_funcs.C (ownerPar): remove.
147 * text2.C (setCounter): remove first_pit; comment out some
148 non-working code that uses ownerPar
150 * BufferView.C (getParentLanguage): remove. Not used anymore, and
153 2004-08-16 José Matos <jamatos@lyx.org>
155 * text.C (readParToken, readParagraph, read): report all unknown tokens.
156 For the same level of importance use the same chanel to report problems.
157 (read): add code to deal with \begin_body and \end_body.
160 2004-08-15 José Matos <jamatos@lyx.org>
162 * lyxlex.C (getString): fix comment, buffer::readBody is now
165 * tex-strings.C (string_papersize): Default -> default,
166 Custom -> custom, for consistency with other options.
168 2004-08-15 Lars Gullik Bjonnes <larsbj@gullik.net>
172 * Makefile.am: support pch
174 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
176 * text.C (readParToken): remove the static LyXFont variable and
177 pass it as a parameter instead. This fixes a nasty bug where an
178 inset will be inserted with a bad font in some situations
179 (readParagraph): adapt
181 * text2.C (setCounter): reduce number of calls to pars_[pit]
183 * text.C (singleWidth): add an assert, fix a test
185 * rowpainter.C (paintText): reduce number of calls to singleWidth
187 * paragraph.C (isHfill):
190 2004-08-14 André Pönitz <poenitz@gmx.net>
195 * lyxtext.h (several functions): use a Paragraph & argument
198 2004-08-15 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
200 * metricsinfo.h: add a new field ltr_pos to PainterInfo
202 * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
204 * text.C (singleWidth): remove useless test
206 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
208 * tabular.h: remove bogus comments
210 * tabular.C (getDescentOfRow):
211 (isPartOfMultiColumn): add assertions
213 * lyxlength.C (inPixels): remove #warning
215 2004-08-14 André Pönitz <poenitz@gmx.net>
217 * paragraph.h: inline getChar()
219 * BufferView.h: remove unused declarations
221 2004-08-14 José Matos <jamatos@lyx.org>
223 * Buffer.[Ch] (readDocument): new name for old readBody.
224 * Buffer.C: new file format, new keywords: \begin_document,
225 \begin_header, \begin_body, \end_body.
227 * bufferparams.C (readToken): replace all calls to lex.nextToken
228 by lex.next(). Do the same to eatLine except where really needed.
230 * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
231 line when writing to the lyx file.
233 * output_plaintext.C (asciiParagraph): fix Bibliography style
236 * text.C (read): fix end of file handling.
238 2004-08-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
240 * MenuBackend.C (Menu::operator[]): new method to access
241 individual menu items
242 (Menu::hasFunc): new method. search for an item that corresponds
244 (MenuBackend::specialMenu): new method
245 (MenuBackend::expand): if a special menu has been set, skip
246 entries whose func() appears in this menu
248 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
250 * text3.C: use Debug::DEBUG a bit more
252 * text.C (leftMargin): try to simplify a tiny bit change var x to
253 l_margin. Dont output the wide margins always.
254 (rightMargin): no margin in inner texts
256 * rowpainter.h (nestMargin): new func
257 (changebarMargin): new func
258 (rightMargin): new func
260 * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
264 * factory.C (createInset): modify setDrawFrame
266 * cursor.C: use Debug::DEBUG a bit more
268 2004-08-14 André Pönitz <poenitz@gmx.net>
271 * Makefile.am: new files to accomodate an 'external' (x,y)-position
272 cache for all insets in (at least partially) visible (top-level)
275 * BufferView_pimpl.C: reset external coord cache before every update.
276 This means the coord cache only contains valid entries.
278 2004-08-14 Lars Gullik Bjonnes <larsbj@lyx.org>
281 * BufferView_pimpl.C (getInsetByCode): move function out of class
282 and change in to a template in anon namespace. Also fix to do what
285 2004-08-13 Lars Gullik Bjonnes <larsbj@lyx.org>
288 * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
290 (breakParagraph): rename par to par_offset and use a local
291 reference. Add code to keep the language over a rebreak.
292 (breakParagraphConservative): rename par to par_offset, use a
294 (mergeParagraph): ditto
296 (isFirstInSequence): ditto
297 (outerFont): rename pit to par_offset
299 * paragraph.C: ws change
304 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
306 * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
309 * paragraph.C (simpleTeXOnePar): when we have a \item with
310 optional argument, enclose the argument with curly brackets (in
311 case it contains a closing square bracket)
315 * text3.C (checkInsetHit): constify
317 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
319 * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
322 2004-08-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
324 Fix toggling of collapsable insets with the mouse (bug 1558)
326 * lyxfunc.C (dispatch): adapt to LCursor changes
328 * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
329 make sure that dispatch is not invoked twice
331 * cursor.C (needsUpdate): new method
332 (dispatch): return void
333 (result): new method, to access the DispatchResult of the cursor.
335 2004-08-13 José Matos <jamatos@lyx.org>
337 * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
339 2004-08-13 André Pönitz <poenitz@gmx.net>
341 * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
343 * CutAndPaste.C (eraseSelection): fix cursor position after erasing
346 2004-08-12 André Pönitz <poenitz@gmx.net>
348 * text3.C: take out the 'cursor right' form insertInset and only
349 do it in those places when it is really needed. Fixes crash on
352 2004-08-08 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
354 * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
356 * BufferView_pimpl.C (setBuffer): initialize the current font of
357 the underlying LyXText
359 2004-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
361 * kbsequence.C (print): use UI native formatting for menu
364 * text.C (insertChar): call Paragraph::insertChar with a font
367 * paragraph.C (insertInset, insertChar): the version that takes a
368 LyXFont argument is now a wrapper around the other one (the
369 opposite used to be true).
371 * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
372 argument. Font setting is done in Paragraph now.
374 2004-08-04 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
376 * outputparams.h: add new members intitle and lang.
378 * paragraph.C (simpleTeXOnePar): initialize rp.lang and
379 rp.intitle. Actually use rp in call to simpleTeXSpecialChars
381 2004-08-01 Lars Gullik Bjonnes <larsbj@gullik.net>
383 * text3.C (dispatch): remove special handling of button 4 and 5,
384 it is now taken care of in the frontend code.
386 2004-07-25 Georg Baum <Georg.Baum@post.rwth-aachen.de>
388 * Spacing.h: add <string> (STLPort compile fix)
390 2004-08-02 Juergen Spitzmueller <j.spitzmueller@gmx.de>
392 * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
394 2004-07-25 Lars Gullik Bjonnes <larsbj@gullik.net>
396 * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
399 * converter.C (showMessage): inherit from unary_function, make
402 * buffer.C (writeFile): initialize retval
404 * InsetList.h: rename private variable list to list_
405 * InsetList.[Ch]: adjust accordingly.
407 2004-07-24 Lars Gullik Bjonnes <larsbj@gullik.net>
409 * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
410 * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
411 * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
412 * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
413 * ParagraphParameters.C, LaTeXFeatures.C: replace
414 "support/std_sstream.h" with <sstream>
416 2004-07-23 Lars Gullik Bjonnes <larsbj@gullik.net>
418 * lyxserver.C (startPipe): use this (pointer) not *this (reference)
419 * lyxsocket.C (LyXServerSocket): ditto
420 (serverCallback): ditto
422 2004-07-23 Juergen Spitzmueller <j.spitzmueller@gmx.de>
424 * LaTeXFeatures.C: check release date when loading jurabib.
426 2004-07-22 Lars Gullik Bjonnes <larsbj@gullik.net>
428 * lyxserver.C (startPipe): call register_socket_callback
429 (endPipe): call unregister_socket_callback
431 2004-07-21 Lars Gullik Bjonnes <larsbj@gullik.net>
433 * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
434 (LyXServerSocket): register the callback
435 (LyXServerSocket): unregister the callback
436 (fd): delete function
437 (serverCallback): improve error checking and setup the callbacks.
438 (dataCallback): change arg to fd.
439 (writeln): new func (copied fro the client socket) used for server
441 (LyXDataSocket): simplify
442 (~LyXDataSocket): close ann unregiser callback
443 (server): delete function
444 (fd): delete function
445 (readln): small changes, improve some std::string usage
446 (writeln): constify a bit
448 2004-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
450 * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
453 2004-07-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
455 * BufferView_pimpl.C (setBuffer): set the layout combox value only
456 after it has been populated
458 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
460 * text2.C (insertInset): move cursor when inserting inset.
462 2004-06-30 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
464 * kbmap.C (findbindings): a couple of new methods. returns a
465 container of kb_sequence objects. The real work is done by the
466 private recursive version
467 (printbindings): uses findbindings to print out a bracketed list
468 of bindings (renamed from findbinding).
470 * MenuBackend.C (binding): use kb_keymap::findbindings
472 * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
474 2004-07-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
476 * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
478 2004-06-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
480 * paragraph.C (isWord): return true on insets that report
483 * text.C (getWord): use Paragraph::isWord to decide what is in a
484 word and what is not; fix bug 1609.
486 2004-06-27 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
488 * tex-strings.C: add "none" to string_paperpackages[], fixes
489 off-by-one-error in the paperpackage selection.
492 * tex-strings.[Ch]: char const * string[n]
493 -> char const * const string[]
495 2004-06-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
497 * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
498 command, return early.
500 2004-06-18 Lars Gullik Bjonnes <larsbj@gullik.net>
502 * debug.h: add DEBUG to enum and fix size of ANY.
504 * debug.C: add support for Debug::DEBUG
505 (showTags): cast errorTags.level to unsigned int
507 * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
508 (redoCurrentBuffer): ditto
509 (updateScrollbar): ditto
510 * cursor.C (dispatch): ditto
511 * text2.C (setLayout): ditto
513 (updateCounters): ditto
515 (deleteEmptyParagraphMechanism): ditto
517 2004-06-09 Lars Gullik Bjonnes <larsbj@gullik.net>
519 * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
520 annotations to cleanup the Makefile slightly.
522 2004-05-10 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
524 * lyxrc.C: do not set user_email to a default value but use empty
525 instead. The entry used to be translated, which does not work
526 since at the point where lyxrc is constructed there is no
527 translation service available
529 * messages.C (getLocaleDir): remove and use directly
530 lyx_localedir() instead
532 2004-06-02 Angus Leeming <leeming@lyx.org>
534 Fix crash caused by dereferencing null pointer 'exportdata' in
535 OutputParams by creating a new ExportData variable on the heap,
536 storing it in a boost::shared_ptr.
537 The crash was triggered when generating an Instant Preview
538 of an external inset.
540 * Makefile.am: add outputparams.C
542 * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
543 (c-tor): allocate memory to it.
545 * exporter.C (c-tor): associated changes.
547 2004-06-01 Angus Leeming <leeming@lyx.org>
549 * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
550 contains data before calling isInset(0). (Bug 1513.)
552 2004-06-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
554 * exporter.C (checkOverwrite): new method
555 * exporter.C (copyFile): new method
556 * exporter.C (Export): copy referenced files to the document dir
557 * exporter.[Ch]: new class ExportedFile
558 * exporter.[Ch]: new class ExportData. Contains currently the
559 names of referenced external files
560 * outputparams.h: add exportdata member.
562 2004-05-28 Lars Gullik Bjonnes <larsbj@gullik.net>
564 * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
567 2004-05-19 Angus Leeming <leeming@lyx.org>
572 * lyxfunc.C: small changes due to the introduction of namespace
573 lyx::frontend and the moving of namespace biblio to lyx::biblio.
575 2004-05-18 Alfredo Braunstein <abraunst@lyx.org>
577 * text3.C (dispatch): supress update when only moving the cursor
578 * cursor.C (selHandle): remove commented code
580 2004-05-17 Georg Baum <Georg.Baum@post.rwth-aachen.de>
582 * paragraph.C (startTeXParParams): correct column count
583 * CutAndPaste.C (pasteSelection): remove const_cast
584 * output_docbook.C (docbookParagraphs): remove const_cast
585 * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
586 const_cast and return ParagraphList::const_iterator
587 * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
588 * output_plaintext.C (writeFileAscii): remove const_cast
589 * paragraph.[Ch] (simpleTeXOnePar): make const
590 * paragraph_funcs.C (outerPar): use const iterators
591 * paragraph_pimpl.C (validate): use const iterators
592 * text.C (setHeightOfRow): use const iterators
594 2004-05-17 Angus Leeming <leeming@lyx.org>
597 * LyXAction.C (init): new LFUN_INSET_REFRESH.
599 * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
600 over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
601 if the citation engine has changed.
603 2004-05-14 José Matos <jamatos@lyx.org>
605 * buffer.C (makeDocBookFile): add a default Formal Public Identifier
606 if the textclass does not provide it. Have it different for sgml and
608 support the language of document.
609 * output_docbook.C (docbookParagraphs):
610 * paragraph.[Ch] (getDocbookId): new function that gets the id of the
611 first anchor as the id of the paragraph, remove special case code.
612 * sgml.C (escapeChar): escape only < & >.
614 2004-05-14 Angus Leeming <leeming@lyx.org>
616 * bufferparams.h: move biblio::CiteEngine enum here to minimize
617 dependencies on src/frontends/controllers/biblio.h. Define a
618 CiteEngine_enum wrapper class to enable the enum to be forward
621 2004-05-12 Angus Leeming <leeming@lyx.org>
623 * buffer.C: up LYX_FORMAT to 234.
624 * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
625 use_numerical_citations with a single biblio::CiteEngine cite_engine
627 * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
629 2004-05-13 José Matos <jamatos@lyx.org>
632 * converter.C (Converter, readFlags): add xml member.
633 * outputparams.h: add XML flavor.
634 * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
636 2004-05-03 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
638 * lyxfunc.C (dispatch):
639 (getStatus): fix handling of LFUN_SEQUENCE
641 2004-04-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
643 * debug.C (showLevel): do not forget the end-of-line marker
645 2004-04-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
647 * kbmap.C (read): do not stop parsing a bind file when an error
650 2004-04-29 Angus Leeming <leeming@lyx.org>
655 * text2.C: wrap a bunch of #warning statements
656 inside #ifdef WITH_WARNINGS blocks.
658 2004-04-29 Georg Baum <Georg.Baum@post.rwth-aachen.de>
660 * buffer.C: increment format to 233.
662 2004-04-28 Angus Leeming <leeming@lyx.org>
664 * BufferView_pimpl.C:
667 s/updateToolbar()/updateToolbars()/
668 s/Toolbar.h/Toolbars.h/
670 2004-04-28 Angus Leeming <leeming@lyx.org>
672 * BufferView.[Ch] (c-tor):
673 * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
674 No longer passes these data to the WorkArea generator.
676 2004-04-28 Angus Leeming <leeming@lyx.org>
678 * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
680 2004-04-26 Georg Baum <Georg.Baum@post.rwth-aachen.de>
682 * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
684 2003-09-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
686 * output_latex.C (TeXEnvironment): make sure that there is a line
687 break before \end{foo} for the last paragraph of a document
688 (TeXOnePar): if the paragraph is at the end of the document (or
689 inset) and the language has to be reset, then make sure that the
690 line break is _before_ the language command, not after (fixes bug
691 1225); also make sure that the language reset command is the first
692 thing after the paragraph (to ensure proper nesting of
693 environments and thus fix bug 1404)
695 2004-04-21 John Levon <levon@movementarian.org>
698 * ToolbarBackend.C: make "name" be a programmatic name
699 and a gui_name field.
701 * lyxfunc.C: display the minibuffer on M-x
703 2004-04-18 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
705 * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
708 2004-04-19 Angus Leeming <leeming@lyx.org>
710 * BufferView_pimpl.C (setBuffer): changed preview interface.
712 * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
715 2004-04-19 John Levon <levon@movementarian.org>
717 * BufferView_pimpl.C:
718 * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
720 2004-04-05 Angus Leeming <leeming@lyx.org>
722 * text.C (redoParagraphs): add call to updateCounters(), thereby
723 fixing the missing "Figure #:" label from the caption of a
726 2004-04-13 Angus Leeming <leeming@lyx.org>
728 * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
729 cursor is clicked out of an inset.
731 2004-04-13 Angus Leeming <leeming@lyx.org>
733 * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
734 than an InsetOld one.
736 2004-04-12 Georg Baum <Georg.Baum@post.rwth-aachen.de>
738 * format.[Ch]: add editor to Format
739 * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
740 * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
742 2004-04-08 André Pönitz <poenitz@gmx.net>
744 * metricsinfo.h: remove PainterInfo::width member
746 2004-04-08 Angus Leeming <leeming@lyx.org>
748 * lyx_sty.C (boldsymbol_def): modify so that it outputs
749 "\providecommand" rather than "\newcommand", thereby preventing
750 clashes with packages that define "\boldsymbol" themselves.
753 2004-04-08 Angus Leeming <leeming@lyx.org>
755 * lyxrc.C (read): don't try to set the color of none, inherit, ignore
756 thereby squashing an unnecessary warning.
758 2004-04-01 Georg Baum <Georg.Baum@post.rwth-aachen.de>
760 * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
763 2004-04-07 Alfredo Braunstein <abraunst@lyx.org>
765 * BufferView.C (setCursor): call redoParagraph (some insets could
767 (putSelectionAt): remove the 'double update' trick
769 * BufferView_pimpl.C (fitCursor): call refreshPar
770 (workAreaDispatch): remove an uneeded update call
771 (dispatch): remove some manual update calls
773 * cursor.[Ch]: remove cached_y_, updatePos
774 (selHandle): set noUpdate when appropriate
776 * lyxfunc.C (dispatch): track if we need an update
778 * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
780 * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
781 (paintSelection): cheap optimization, do not call cursorX when not
783 (paintPars): change signature
786 (paintTextInset): adjust
790 2004-04-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
792 * lengthcommon.C: compilation fix: remove explicit array size from
793 unit_name[] and friends
795 2004-04-05 Angus Leeming <leeming@lyx.org>
797 * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
799 * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
800 present only for the preferences dialog.
801 (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
803 2004-04-05 Angus Leeming <leeming@lyx.org>
805 * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
806 to enable the frontends to export changes to lyxrc correctly.
808 * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
810 2004-04-07 André Pönitz <poenitz@gmx.net>
812 * cursor.[Ch] (selClear, adjust): remove math
814 * cursor_slice.C: more agressive assert
817 * BufferView_pimpl.C: rework mouse event dispatch
824 2004-04-05 André Pönitz <poenitz@gmx.net>
826 * cursor.[Ch] (valign, halign...): remove unneeded functions
828 2004-04-05 Angus Leeming <leeming@lyx.org>
830 * lyxlength.[Ch] (unit_name et al.): const-correct.
832 2004-04-05 Angus Leeming <leeming@lyx.org>
834 * BufferView_pimpl.C:
843 * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
845 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
847 * text3.C (getStatus): add LFUN_BEGINNINGBUF
849 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
851 * lyxfind.C: add a couple of inTexted() tests + other small fixes
852 * BufferView_pimpl.[Ch] (getStatus)
853 * BufferView.[Ch] (getStatus): add
854 * lyxfunc.C (getStatus): move lfuns handled in
855 BufferView::dispatch to te function above
856 * Cursor.C (setSelection): set selection() = true
858 2004-04-01 Alfredo Braunstein <abraunst@lyx.org>
860 * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
862 2004-03-31 Angus Leeming <leeming@lyx.org>
864 * lyxfunc.C (dispatch): Fall through to the generic
865 Dialogs::show("preamble").
867 2004-03-31 Angus Leeming <leeming@lyx.org>
869 * lyxfunc.C (dispatch): Fall through to the generic
870 Dialogs::show("spellchecker").
872 2004-03-31 Angus Leeming <leeming@lyx.org>
874 * lyxfunc.C (getStatus, dispatch): changed invocation of the
877 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
882 * insetiterator.[Ch]:
887 * undo.[Ch]: s/DocumentIterator/DocIterator/g
889 2004-03-31 Alfredo Braunstein <abraunst@lyx.org>
891 * BufferView.C (setCursor, putSelectionAt): call edit to open the
892 insets where we are putting the cursor.
894 2004-03-31 Angus Leeming <leeming@lyx.org>
897 * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
899 * lyxrc.[Ch] (read, write): overloaded member functions taking
900 a std::[io]stream arguments.
902 * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
904 2004-03-31 Angus Leeming <leeming@lyx.org>
906 * lyxfunc.C (loadTextclass): new helper function, invoked by two of
907 dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
909 * lyxtextclass.C (load): if the text class couldn't be loaded, then
910 don't overwrite 'loaded_ = false' with 'loaded_ = true' !
912 2004-03-31 Angus Leeming <leeming@lyx.org>
914 * lyxfunc.C (dispatch): remove the cursor-manipulation code from
915 the LFUN_ALL_INSETS_TOGGLE code.
917 2004-03-30 Angus Leeming <leeming@lyx.org>
919 * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
920 has died. Fall through to the generic Dialogs::show("document").
922 2004-03-30 Angus Leeming <leeming@lyx.org>
925 * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
926 LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
928 * lyxfunc.C (getStatus, dispatch): define the actions for these
929 lfuns. Little more than a cut and pste job from ControlDocument.C
931 * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
933 2004-03-30 Angus Leeming <leeming@lyx.org>
936 * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
937 LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
939 * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
940 open/closed state of ollapsable insets. Usage:
942 all-inset-toggle <state> <name>, where
943 <state> == "open" || "closed" || "toggle" and
944 <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
946 * lyxtext.h, text2.C (toggleInset): removed.
948 * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
949 LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
950 now passes LFUN_INSET_TOGGLE to the found inset.
952 * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
953 is now invoked as "all-insets-toggle toggle branch".
955 2004-03-30 Angus Leeming <leeming@lyx.org>
959 * pariterator.[Ch]: added/corrected header blurb.
961 2004-03-30 Alfredo Braunstein <abraunst@lyx.org>
963 * dociterator.[Ch]: add an inset_ member
964 (backwardPos): implemented
965 (backwardPos, forwardPos): use inset_ when the stack is empty.
966 (doc_iterator_begin, doc_iterator_end): implemented
967 * pariterator.[Ch]: adjust, add begin, end
968 * insetiterator.[Ch]: adjust, add begin, end
972 * BufferView_pimpl.C:
973 * CutAndPaste.C: adjust
975 2004-03-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
977 * buffer.C: increment file format to 232.
978 * LaTeXFeatures.C: add bibtopic package.
979 * bufferparams.[Ch]: param \use_bibtopic.
981 * lyxrc.[Ch]: add lyxrc bibtex_command
982 * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
984 * buffer.C: increment file format to 231.
986 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
988 * dociterator.C: implement forwardPar
989 * iterators.[Ch]: remove, replaced by
990 * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
992 * BufferView_pimpl.C:
995 * bufferview_funcs.C:
1001 * Makefile.am: adjust
1003 2004-03-28 Alfredo Braunstein <abraunst@lyx.org>
1005 * CutAndPaste.C (pasteSelection): fix 2 crashes
1006 (eraseSelection): fix a crash
1007 * paragraph_funcs.C: remove a warning
1009 2004-03-28 Angus Leeming <leeming@lyx.org>
1012 * LyXAction.C (init): new LFUN_PRINT.
1014 * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
1016 2004-03-27 Angus Leeming <leeming@lyx.org>
1019 * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
1021 * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
1023 2004-03-27 Angus Leeming <leeming@lyx.org>
1025 * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
1026 insetlist always contains non-null pointers to insets.
1028 2004-03-26 Angus Leeming <leeming@lyx.org>
1030 * src/BufferView_pimpl.C:
1031 * src/CutAndPaste.C:
1034 * src/output_plaintext.C:
1035 * src/outputparams.h:
1036 * src/paragraph_funcs.C:
1040 * src/frontends/controllers/ControlErrorList.C:
1041 * src/frontends/gtk/FileDialogPrivate.C:
1042 * src/frontends/gtk/GPainter.C:
1043 * src/frontends/gtk/GToolbar.C:
1044 * src/frontends/qt2/QRef.C:
1045 * src/mathed/math_scriptinset.C: squash compiler warnings.
1047 2004-03-26 Angus Leeming <leeming@lyx.org>
1049 * ispell.C (LaunchIspell::start):
1050 * lyx_cb.C (AutoSaveBuffer::start):
1051 invoke run(DontWait) rather than runNonBlocking().
1053 2004-03-26 Alfredo Braunstein <abraunst@lyx.org>
1055 * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
1057 2004-03-26 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1059 * kbsequence.C (print): adjust
1061 * kbmap.C (printKeySym): rename and change signature
1062 (printKey): use LyXKeySym::print()
1064 2004-03-26 Martin Vermeer <martin.vermeer@hut.fi>
1066 * undo.C: add using std::advance to compile for stlport
1068 2004-03-24 Angus Leeming <leeming@lyx.org>
1070 * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
1071 it leads to a crash when no buffer is present.
1073 2004-03-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1074 Martin Vermeer <martin.vermeer@hut.fi>
1076 * lyxfunc.C (dispatch):
1077 * bufferparams.C (readToken): use the new LColor::setColor
1079 * LColor.[Ch] (setColor): new version that takes two strings as
1080 argument and creates a new color entry if necessary
1082 2003-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1084 * buffer.C (makeLaTeXFile): if the main latex file that is
1085 processed is usually a subdocument of some master, then pretend
1086 for a while that it is actually the master
1088 2003-02-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
1090 * buffer.C (getLabelList):
1091 (getBibkeyList): use getMasterBuffer()
1092 (getMasterBuffer): new method. Returns the main document in the
1093 case where one is using included documents.
1095 2004-03-25 André Pönitz <poenitz@gmx.net>
1099 * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
1101 * ParagraphList_fwd.h: change ParagraphList to a std::vector
1103 * CutAndPaste.[Ch]: simpler interface by moving some stuff from
1104 text*.C over here. Rename namespace CutAndPaste to lyx::cap
1106 * ParameterStruct.h: merge with ParagraphParameters
1108 * lyxtext.h: remove LyXText::parOffset() and getPar()
1110 * text3.C: Remove all 'manual' update calls. We do now one per user
1111 interaction which is completely sufficient.
1115 * BufferView_pimpl.C:
1116 * FontIterator.[Ch]:
1118 * ParagraphParameters.[Ch]:
1123 * cursor_slice.[Ch]:
1130 * output_docbook.[Ch]:
1131 * output_latex.[Ch]:
1132 * output_linuxdoc.[Ch]:
1133 * output_plaintext.[Ch]:
1135 * paragraph_funcs.[Ch]:
1136 * paragraph_pimpl.[Ch]:
1144 * frontends/controllers/ControlDocument.C:
1145 * frontends/controllers/ControlErrorList.C:
1146 * frontends/controllers/ControlSpellchecker.C:
1149 * insets/insetbase.h:
1150 * insets/insetbibitem.C:
1151 * insets/insetbox.C:
1152 * insets/insetbranch.C:
1153 * insets/insetcaption.C:
1154 * insets/insetcharstyle.C:
1155 * insets/insetcharstyle.h:
1156 * insets/insetcollapsable.C:
1157 * insets/insetcollapsable.h:
1158 * insets/insetert.C:
1159 * insets/insetfloat.C:
1160 * insets/insetfoot.C:
1161 * insets/insetmarginal.C:
1162 * insets/insetnote.C:
1163 * insets/insetoptarg.C:
1164 * insets/insettabular.C:
1165 * insets/insettext.C:
1166 * insets/insettext.h:
1167 * insets/insetwrap.C:
1168 * mathed/math_mboxinset.C:
1169 * mathed/math_nestinset.C:
1170 * mathed/math_scriptinset.C:
1171 * mathed/math_scriptinset.h:
1174 2004-03-24 Angus Leeming <leeming@lyx.org>
1176 * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
1177 deal with any child processes that have finished but are waiting to
1178 communicate this fact to the rest of LyX.
1180 2004-03-24 Angus Leeming <leeming@lyx.org>
1182 64-bit compile fixes.
1184 * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
1185 (c-tor): pass lyx::pos_types rather than ints.
1187 * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
1190 * text.C (Delete): compile fix.
1191 (getPar): ensure that function declaration is the same as that in
1194 2004-03-23 Angus Leeming <leeming@lyx.org>
1196 * ispell.C (LaunchIspell):
1197 * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
1198 a boost::shred_ptr rather than a std::auto_ptr.
1200 2004-03-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1202 * lyxfunc.C (getStatus): handle read-only buffers correctly;
1203 handle LFUN_FILE_INSERT_*
1205 * lyxrc.C (setDefaults, getDescription, output, read):
1206 * lyxrc.h: remove ps_command
1208 2004-03-22 Angus Leeming <leeming@lyx.org>
1210 * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
1211 Ensure that error_handler is processed once only and that all data
1212 is saved before attempting to output any warning messages.
1214 * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
1216 2004-03-21 Alfredo Braunstein <abraunst@lyx.org>
1218 * tabular.C (TeXRow): crash fix (from Kayvan and André)
1220 2004-03-19 André Pönitz <poenitz@gmx.net>
1222 * cursor.[Ch] (reset): take main text inset as argument
1224 * BufferView: adjust
1225 * BufferView_pimpl.C: adjust
1227 * paragraph.[Ch]: fix completely broken operator=()
1229 2004-03-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1231 * LColor.C (getFromLyXName): make sure that the color name is used
1234 2004-03-17 Angus Leeming <leeming@lyx.org>
1237 * LyXAction.C (init): remove LFUN_FORKS_KILL.
1239 * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
1240 dialog and to kill a forked process.
1242 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1244 * text2.C (setCursorFromCoordinates): fix font problem
1246 2004-03-17 Alfredo Braunstein <abraunst@lyx.org>
1248 * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
1249 bogus "rebuild cursor" code
1251 2004-03-11 André Pönitz <poenitz@gmx.net>
1253 * buffer.[Ch]: use InsetText instead of LyXText as container for
1256 * dociterator.[Ch]: drop the BufferView * member which is not needed
1257 anymore after the change to buffer.C
1259 * paragraph_funcs.C:
1263 * BufferView_pimpl.[Ch]:
1265 * cursor_slice.[Ch]: adjust
1267 * text3.C: fix bug in mathDispatch
1269 2004-03-08 André Pönitz <poenitz@gmx.net>
1271 * undo.[Ch]: use 'StableDocumentIterator' as base for
1274 2004-03-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1277 * bufferparams.[Ch]: add jurabib support and param.
1279 * LaTeX.C: add FIXME/comment.
1281 2004-03-05 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1283 * buffer.C: increment file format to 230.
1285 2004-03-04 Alfredo Braunstein <abraunst@lyx.org>
1287 * cursor.C (dispatch): avoid infinite loops
1289 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1291 * rowpainter.C (paintSelection): fix x coordinates
1293 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1295 * text.C (rowBreakPoint): fix breaking before displayed insets
1297 2004-03-01 André Pönitz <poenitz@gmx.net>
1299 * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
1301 * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
1305 * BufferView_pimpl.C:
1313 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1319 * BufferView_pimpl.C: rename textwidth -> maxwidth,
1320 prepareToPrint -> computeRowMetrics and remove textWidth accessor.
1322 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1324 * Bidi.[Ch] (computeTables): const correctness
1325 * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
1326 fill_hfill, fill_label_hfill and x from Row
1327 * lyxtext.h: prepareToPrint returns a RowMetrics
1328 * rowPainter.C: adjust
1329 * text.C (prepareToPrint): use width, not textWidth. adjust
1330 (redoParagraphInternal, cursorX): adjust
1331 * text2.C (getColumnNearX): adjust
1332 (init): put a default value to the top LyXText::width
1334 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1336 * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
1338 2004-03-01 Alfredo Braunstein <abraunst@lyx.org>
1340 * lyxtext.h: add FontIterator class
1342 * text.C (FontIterator, operator*, operator->, operator++): add
1343 (rowBreakPoint, setRowWidth): adjust (fixing a
1346 2004-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
1348 * BufferView_pimpl.C (workAreaDispatch): allow also
1349 LFUN_FILE_OPEN, which is used by the drag-and-drop code.
1351 2004-02-27 Alfredo Braunstein <abraunst@lyx.org>
1353 * text.C (rowBreakPoint): fix a bug showing with very large insets
1355 2004-02-25 André Pönitz <poenitz@gmx.net>
1358 * cursor.[Ch]: move some mathed specific code to mathed
1360 2004-02-21 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1362 * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
1363 use_tempdir in preferences
1364 * buffer.C (readFile), lyxvc.C (getLogFile): check success of
1366 * lyx_main.C: ensure that tempdir is valid
1367 * lyxlex.h: correct typo
1368 * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
1369 * paragraph.[Ch] (isMultiLingual): make const
1370 * cursor.[Ch] (openable): make const
1372 2004-02-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1374 * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
1376 2004-02-20 André Pönitz <poenitz@gmx.net>
1378 * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
1380 * cursor.[Ch]: prepare for localized getStatus()
1386 * text3.C: streamlines the LyXText cursor movement handlers a bit.
1388 2004-02-20 André Pönitz <poenitz@gmx.net>
1390 * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
1392 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1394 * text2.C (setCursorFromCoordinates): switch to absolute coords
1396 (cursorDown): adjust
1397 * text3.C (dispatch): adjust
1399 2004-02-16 André Pönitz <poenitz@gmx.net>
1401 * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
1404 * cursor_slice.[Ch]: remove unneeded acessor function
1406 * lyxtext.h: rename rtl() to isRTL()
1414 2004-02-16 Alfredo Braunstein <abraunst@lyx.org>
1416 * rowpainter.C (paintSelection): coord fix
1418 2004-02-15 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1420 * Spacing.C: compile fix
1422 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1424 * cursor.C (dispatch): restore current_ before returning
1426 2004-02-13 Alfredo Braunstein <abraunst@lyx.org>
1428 * text2.C (cursorUp, cursorDown): fix coords
1431 2004-02-12 André Pönitz <poenitz@gmx.net>
1436 * text3.C: add LCursor & parameter to most cursor movement functions
1437 remove usage of LyXText::cursorRow() and cursorPar()
1439 * cursor.[Ch]: add textRow() needed members
1442 * BufferView_pimpl.C:
1445 * BufferView_pimpl.C: adjust
1447 2004-02-11 André Pönitz <poenitz@gmx.net>
1451 * BufferView_pimpl.C: shift undo/redo handling
1453 * cursor.[Ch]: fix mathed crash
1456 * lyxtext.h: move selectionAsText to LCursor
1464 * rowpainter.C: fix excessive drawing
1466 2004-02-06 André Pönitz <poenitz@gmx.net>
1469 * BufferView_pimpl.[Ch]:
1470 * text3.C: move some text specific LFUN handling
1472 2004-02-06 Alfredo Braunstein <abraunst@lyx.org>
1474 * text3.C (checkInsetHit): adjust coords
1475 * text2.C (getColumnNearX): adjust coords
1476 (edit): adjust coords
1477 * text.C (getRowNearY): add two asserts
1479 2004-02-06 Martin Vermeer <martin.vermeer@hut.fi>
1482 * format.C: add using std::distance to compile on gcc 2.95/stlport
1484 2004-02-04 Martin Vermeer <martin.vermeer@hut.fi>
1486 * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
1488 2004-02-04 André Pönitz <poenitz@gmx.net>
1490 * BufferView.[Ch] (insertInset):
1491 * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
1496 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1498 * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
1499 on the default clause of the switch
1500 * lyxfunc.C (dispatch): call BufferView::dispatch if the event
1501 wasn't catched by LCursor::dispatch
1503 2004-02-03 André Pönitz <poenitz@gmx.net>
1506 * cursor.[Ch]: some additional asserts
1508 * undo.[Ch]: remove LyXText dependency in interface
1512 * lyxtext.h (firstPar, lastPar): remove dead functions
1517 * paragraph.[Ch]: adjust
1519 2004-02-03 Alfredo Braunstein <abraunst@lyx.org>
1521 * lyxfind.C (find): fix argument order in call to ::find
1523 2004-02-02 André Pönitz <poenitz@gmx.net>
1525 * cursor.[Ch]: remove direct access to anchor
1527 * text.C: remove findText() hack
1529 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1531 * iterators.[Ch] (lockPath): remove in favour of...
1532 * BufferView.[Ch] (setCursor): this addition
1533 * BufferView.C (putSelectionAt): adjust
1534 * undo.C (performUndoOrRedo): adjust
1535 * lyxfunc.C (dispatch): adjust
1537 2004-02-02 Alfredo Braunstein <abraunst@lyx.org>
1539 * iterators.C (lockPath): add a missing slice
1540 * undo.C (performUndoOrRedo): remove redundant positioning code
1542 2004-02-01 Lars Gullik Bjonnes <larsbj@gullik.net>
1544 * vc-backend.C (scanMaster): ";" -> ';'
1546 2004-01-31 Lars Gullik Bjonnes <larsbj@gullik.net>
1548 * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
1549 std::binary_function
1551 * lyxtextclass.C (compare_name): rename to...
1552 (LayoutNamesEqual): ...this
1554 * lyxlex_pimpl.C (compare_tags): inherit from
1555 std::binary_function, put back into anon namespace
1557 * lyxfind.C (MatchString): inherig from std::binary_function
1558 (findChange): use empty() istead of !size()
1560 * format.C (FormatNamesEqual): new functor
1567 * converter.C (compare_Converter): rename to...
1568 (ConverterEqual): ...this, and fixup a bit.
1569 (getConverter): use it, and make function const
1570 (getNumber): use it, and make function const
1574 * bufferlist.C: add using boost::bind
1576 * MenuBackend.C (MenuNamesEqual): new functor
1577 (hasMenu): use it, and make function const
1578 (hasSubmenu): use nested bind to get rid of compare_memfun.
1580 2004-01-30 André Pönitz <poenitz@gmx.net>
1582 * BufferView_pimpl.C:
1585 * cursor_slice.[Ch]:
1588 * paragraph_funcs.C:
1589 * paragraph_funcs.h:
1593 * text3.C: move some of the edit(x,y) handling to the insets
1594 some coordinate changes.
1596 2004-01-28 Lars Gullik Bjonnes <larsbj@gullik.net>
1598 * text.C: add using statements for std::advance and std::distance
1600 * paragraph.C: add using statement for std::distance
1602 * lyxfind.C: add using statement for std::advance
1604 * cursor.C (region): remove std:: from swap
1605 (openable): use nucleus in stead of operator->
1607 * BufferView.C: add using statements for std::distance and std::swap
1609 2004-01-27 Lars Gullik Bjonnes <larsbj@gullik.net>
1611 * iterators.C: Remove the pimple, move the needed structures to
1612 the header file. Create accessor for the positions stack.
1613 (asPosIterator): remove function
1615 * PosIterator.C (PosIterator): move constructors to top of file
1616 (PosIterator): reimplement the constructor taking a ParIterator in
1618 (setFrom): new function
1619 (operator!=): inline it
1621 2004-01-26 Lars Gullik Bjonnes <larsbj@gullik.net>
1623 * lyxfind.C (replaceAll): use std::advance
1625 * iterators.h: inherit from std::iterator.
1627 * PosIterator.C (advance, distance): remove
1628 * PosIterator.h: interit from std::iterator.
1630 2004-01-26 André Pönitz <poenitz@gmx.net>
1633 * BufferView_pimpl.[Ch]:
1637 * bufferview_funcs.C:
1647 * output_linuxdoc.C:
1648 * output_plaintext.C:
1650 * paragraph_funcs.[Ch]:
1651 * paragraph_pimpl.[Ch]:
1657 * text3.C: more IU: dumps most of the rest of the mathcursor
1658 implementation into cursor.[Ch]; "globalize" a bit of it.
1660 2004-01-25 Angus Leeming <leeming@lyx.org>
1662 * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
1664 2004-01-19 Georg Baum <Georg.Baum@post.rwth-aachen.de>
1666 * LaTeXFeatures.h: add nice_ and nice() const
1667 * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
1669 2004-01-20 André Pönitz <poenitz@gmx.net>
1672 * BufferView_pimpl.C:
1674 * bufferview_funcs.C:
1676 * cursor_slice.[Ch]:
1687 * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
1688 LCursor and mathcursor parts to LCursor and InsetBase.
1690 2004-01-15 André Pönitz <poenitz@gmx.net>
1692 * cursor_slice.[Ch]: add a few covienience functions
1694 * funcrequest.[Ch]: remove BufferView * member
1696 * BufferView_pimpl.C:
1703 * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
1705 2004-01-14 Alfredo Braunstein <abraunst@lyx.org>
1707 * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
1708 * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
1710 2004-01-13 André Pönitz <poenitz@gmx.net>
1713 * lyxtext.h: hide cursor and selection anchor behind accessor function
1716 * BufferView_pimpl.[Ch]:
1718 * bufferview_funcs.C:
1728 * cursor_slice.[Ch]: some integer type changes for inset unification
1730 * lyxcursor.[hC]: remove, it's CursorSlice now.
1733 * BufferView_pimpl.[Ch]:
1734 * bufferview_funcs.C:
1740 * textcursor.[Ch]: adjust
1742 2004-01-08 Alfredo Braunstein <abraunst@lyx.org>
1744 * text2.C (undoSpan): add and use
1745 * text.C (breakParagraph): use undoSpan (fix bug 578)
1748 2004-01-08 Angus Leeming <leeming@lyx.org>
1750 * BufferView_pimpl.C (MenuInsertLyXFile):
1751 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
1752 * lyxfunc.C (menuNew, open, doImport):
1753 FileFilterList change to the FileDialog open and save functions.
1755 2004-01-07 Lars Gullik Bjonnes <larsbj@gullik.net>
1757 * ShareContainer.h: make isEqual and isUnique adaptable
1759 * CutAndPaste.C: make resetOwnerAndChanges adaptable
1761 2004-01-07 Angus Leeming <leeming@lyx.org>
1764 * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
1766 * BufferView_pimpl.C (dispatch): act on these LFUNs.
1768 * lyxfind.[Ch] (find2string, replace2string, find, replace): new
1769 functions replacing find, replace and replaceAll.
1771 * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
1772 LFUN_WORDFIND(FORWARD|BACKWARD).
1774 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1776 * text.C (breakParagraph): remove an outdated #warning
1778 2004-01-07 André Pönitz <poenitz@gmx.net>
1780 * lyxfind.C: somewhat clearer logic
1782 * text.C: prevent crash in cursorX on unitialized row cache
1784 2004-01-07 Alfredo Braunstein <abraunst@lyx.org>
1786 * lyxcursor.[Ch] (operator>): add
1787 * textcursor.C (selStart, selEnd): use std::min and std::max
1789 2004-01-06 Lars Gullik Bjonnes <larsbj@gullik.net>
1791 * Chktex.C: include boost/format.hpp
1793 2004-01-05 Lars Gullik Bjonnes <larsbj@gullik.net>
1795 * InsetList.C: replace functor MathcIt with adaptable functor
1797 (insetIterator): modify accordingly
1799 * BranchList.h: move the BranchNamesEqual functor here from...
1800 * BranchList.C: ... to here
1802 * BranchList.C: new BranchListEqual fuctor, use it. Remove
1804 (add): replace a finding loop with std::find_if.
1806 2003-12-31 Martin Vermeer <martin.vermeer@hut.fi>
1808 * output_docbook.C: moving LatexParam functionality into
1811 2003-12-29 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1813 * buffer.C: increment format to 229.
1815 2003-12-28 Michael Schmitt <michael.schmitt@teststep.org>
1818 * lyx_sty.[Ch]: remove minipageindent_def
1824 * text3.C: remove LFUN_INSET_MINIPAGE
1826 2003-12-28 Angus Leeming <leeming@lyx.org>
1828 * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
1830 2003-12-19 Alfredo Braunstein <abraunst@lyx.org>
1832 * text2.C (setParagraph): fix off-by-one crash
1834 2003-12-18 Martin Vermeer <martin.vermeer@hut.fi>
1836 * output_docbook.C: header stuff for AGU
1838 2003-12-17 Alfredo Braunstein <abraunst@lyx.org>
1840 * text2.C (redoCursor): remove
1843 * BufferView_pimpl.C: remove calls to redoCursor and
1844 setCursor(cursor.par(), cursor.pos()) all around
1846 2003-12-15 Angus Leeming <leeming@lyx.org>
1848 * buffer.C: up the format to 228.
1850 2003-12-15 André Pönitz <poenitz@gmx.net>
1852 * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
1857 * BufferView_pimpl.C:
1866 2003-12-15 Angus Leeming <leeming@lyx.org>
1868 * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
1869 than getFromGUIName to manipulate the color.
1871 2003-12-14 Angus Leeming <leeming@lyx.org>
1873 * BranchList.[Ch]: minimize the API.
1874 (Branch::getBranch, getColor): now return a 'const &'.
1875 (Branch::setSelected) now returns a bool set to true if the
1876 selection status changes.
1877 (BranchList::clear, size, getColor, setColor, setSelected,
1878 allBranches, allSelected, separator): removed.
1879 (BranchList::find): new functions, returning the Branch with
1881 (BranchList::add, remove): return a bool indicating that
1882 the operation was successful.
1884 * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
1885 new InsetBranch::isBranchSlected member function.
1887 * LColor.[Ch]: mimimize the API.
1888 (fill): renamed as addColor and made private.
1889 (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
1890 versions of these functions taking a string arg have been removed.
1892 * bufferparams.C (readToken):
1893 * lyxfunc.C (dispatch):
1894 * lyxrc.C (read): changes due to the altered BranchList and
1897 * factory.C (createInset, readInset): changes due to altered
1900 2003-12-14 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
1903 * lyxfunc.C: remove insetminipage. "minipage-insert"
1904 now produces a frameless minipage box inset.
1906 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1908 * textcursor.[Ch] (selStart,selEnd): add new methods
1909 remove selection::start, end, use LyXCursor::operator<
1910 * lyxcursor.[Ch] (operator<): add
1911 * BufferView_pimpl.[Ch]: add new struct xsel_cache_
1912 * BufferView.[Ch] (unsetXSel): add
1913 * text2.C (clearSelection): use unsetXSel,adjust
1916 * rowpainter.C: adjust
1917 * bufferview_funcs.C (put_selection_at): adjust
1919 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1921 * BufferView_pimpl.C: small coord. correction
1923 2003-12-12 Alfredo Braunstein <abraunst@lyx.org>
1925 * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
1926 dragging over the splash screen.
1928 2003-12-11 Angus Leeming <leeming@lyx.org>
1930 * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
1931 as it is now handled in LyXText::dispatch.
1933 * text3.C (doInsertInset): remove a level of nesting.
1935 2003-12-11 Angus Leeming <leeming@lyx.org>
1937 * factory.C (createInset): changes due to the changed interface to
1938 InsetCommandMailer::string2params.
1940 2003-12-10 Angus Leeming <leeming@lyx.org>
1942 * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
1943 'dialog-show-new-inset <inset name>'
1945 2003-12-10 Angus Leeming <leeming@lyx.org>
1947 * buffer.C: up the format to 227.
1949 * factory.C: the box inset is now identified simply by 'Box'.
1951 2003-12-10 Angus Leeming <leeming@lyx.org>
1953 * buffer.C: up the format to 226.
1955 * factory.C: the note inset is now identified simply by 'Note'.
1957 2003-12-08 Alfredo Braunstein <abraunst@libero.it>
1959 * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
1960 when a pit is enough. Standarize a couple of loops.
1962 2003-12-05 Angus Leeming <leeming@lyx.org>
1964 * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
1965 "vclog" explicitly, passing the appropriate "<logtype> <filename>"
1966 data to the re-worked "log" dialog.
1968 2003-12-03 André Pönitz <poenitz@gmx.net>
1974 * paragraph_funcs.C:
1976 * text2.C: use Inset::getText instead of Inset::getParagraph
1978 2003-12-03 André Pönitz <poenitz@gmx.net>
1982 * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
1983 InsetText::read() as LyXText::read()
1985 2003-12-02 Angus Leeming <leeming@lyx.org>
1987 * lyxlex.[Ch] (operator void const *): add the 'const' to the return
1988 type. Add a comment in the implementation that the function uses
1989 the stream's bad() function rather than fail() as the std::streams
1992 2003-12-02 André Pönitz <poenitz@gmx.net>
1994 * lyxlex.[Ch]: make interface more similar to std::stream
1996 * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
1998 2003-12-01 Martin Vermeer <martin.vermeer@hut.fi>
2000 * lyxtextclass.[Ch]: add latexparam to CharStyle inset
2002 2003-12-01 Michael Schmitt <michael.schmitt@teststep.org>
2004 * vspace.[Ch]: remove VSpace::NONE
2006 2003-12-01 André Pönitz <poenitz@gmx.net>
2009 * lyxtext.h: move ParagraphList member to LyXText
2010 rename LyXText::ownerParagraphs to LyXText::paragraph
2013 * bufferview_funcs.C:
2023 * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
2025 * undo.C: fix cursor positioning
2027 2003-12-01 John Levon <levon@movementarian.org>
2029 * BufferView_pimpl.C: fix a crash on exit with
2032 2003-11-30 Martin Vermeer <martin.vermeer@hut.fi>
2034 * BranchList.C: fix setSelected() method.
2036 2003-11-28 André Pönitz <poenitz@gmx.net>
2038 * ParagraphParameters.[Ch]:
2039 * ParameterStruct.h: remove space above/below from Paragraph to
2042 * BufferView_pimpl.C:
2048 * paragraph_funcs.C:
2054 2003-11-28 Martin Vermeer <martin.vermeer@hut.fi>
2056 * factory.C: Syntax change for CharStyles
2058 2003-11-28 André Pönitz <poenitz@gmx.net>
2063 * buffer.[Ch]: move LyXText member
2065 2003-11-28 André Pönitz <poenitz@gmx.net>
2067 * BufferView.[Ch]: make LyXText * text a private member
2069 * BufferView_pimpl.C:
2080 * output_plaintext.C: cleanup
2082 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2085 * lyxtextclass.[Ch]: parametrize SGML document header
2087 2003-11-27 Martin Vermeer <martin.vermeer@hut.fi>
2090 * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
2093 2003-11-27 Alfredo Braunstein <abraunst@lyx.org>
2095 * text2.C (setFont): rework using PosIterator (no more recursive)
2096 (setCharFont): no more needed
2097 (setLayout): no more selection cursors fiddling (done by redoCursor)
2098 * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
2099 destroy remaining ones)
2101 2003-11-26 Alfredo Braunstein <abraunst@lyx.org>
2103 * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
2105 * text2.C: same thing + updateCounters fix + redoCursor also adjusts
2108 * text3.C: adjust + re-allow multi par depth changes
2109 * textcursor.C: simplify a bit
2111 2003-11-25 Martin Vermeer <martin.vermeer@hut.fi>
2117 * src/output_docbook.C:
2118 * src/output_latex.C:
2123 * src/text2.C: Introducing a number of tags parametrizing various
2124 XML formats that we may want to support
2126 2003-11-25 André Pönitz <poenitz@gmx.net>
2128 * InsetList.[Ch] (begein, end): inline as suggested by profiler
2130 * lyxtext.h (leftMargin/rightMargin): simplify interface
2137 2003-11-24 Georg Baum <Georg.Baum@post.rwth-aachen.de>
2139 * lyxfunc.C (dispatch): propogate the bibtex databases from the
2140 master file to any child files. Fixes bug 546.
2142 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2144 * lyxfind.C (findNextChange): remove unneeded bv->text->init call
2146 2003-11-24 André Pönitz <poenitz@gmx.net>
2148 * rowpainter.C: simplification
2150 * text2.C (updateCounters): remove call to redoParagraph on
2151 changed labels as this is far too expensive.
2153 2003-11-24 Alfredo Braunstein <abraunst@lyx.org>
2155 * converter.C (convert): fix a crash: this function gets
2156 called with buffer == 0 from importer code.
2158 2003-11-22 Lars Gullik Bjonnes <larsbj@gullik.net>
2160 * text3.C (cursorPrevious): make sure that we do not compare
2161 iterators form different containers.
2164 * rowpainter.C (paintSelection): make sure that we do not compare
2165 iterators from different containers.
2167 * text3.C (dispatch): [PRIOR] make sure that we do not compare
2168 iterators from different ParagraphList containers.
2171 * text2.C (LyXText): change order of initialization slightly
2172 (operator=): new function. copy all variables except cache_par_
2173 (moveUp): make sure that we do not compare iterators from
2174 different ParagraphList constainers.
2177 * text.C (firstPar): new function
2178 (lastPar): new function
2179 (endPar): new function
2181 * lyxtext.h: move things around and group public functions, public
2182 variables, private functions, private variables
2184 2003-11-21 Michael Schmitt <michael.schmitt@teststep.org>
2186 * factory.C: change call to InsetERT constructor to avoid
2187 additional invocation of method status
2188 * text2.C (toggleInset): remove redundant update() call
2189 * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
2190 instead of a Bufferview pointer
2192 2003-11-21 André Pönitz <poenitz@gmx.net>
2194 * rowpainter.C: simplification
2196 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2198 * text3.C (dispatch): make possible to extend a word/row selection
2201 2003-11-21 Alfredo Braunstein <abraunst@lyx.org>
2203 * lyxtext.h: x0_,y0_ -> xo_,yo_
2204 * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
2205 * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
2206 * rowpainter.C (paintRows): paint full paragraphs
2208 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2210 * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
2213 2003-11-20 Alfredo Braunstein <abraunst@lyx.org>
2215 * lyxtext.h: add x0_, y0_
2216 * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
2217 * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
2219 2003-11-18 Alfredo Braunstein <abraunst@lyx.org>
2221 * text2.C (setCursorIntern): move the x_target update here *
2222 * text3.C: change some bv() to true/false in calls to
2223 cursorUp/Down/Right/Left
2224 * cursor.C: use helper function.
2226 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2228 * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
2229 * paragraph_funcs.[Ch]: correct comment
2230 * rowpainter.C: do not paint selections away from bv->cursor()
2231 Fix a long standing selection painting bug.
2232 * text3.C: generalize mouse-selection code to LyXTexts other that
2234 * textcursor.C: do not use y coords if we can use par offsets
2236 2003-11-17 Alfredo Braunstein <abraunst@lyx.org>
2238 * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
2239 cursor position after e.g. inset insert)
2241 2003-11-16 Alfredo Braunstein <abraunst@lyx.org>
2243 * lyxfind.C (replace): adjust to locking removal + some
2246 2003-11-14 Alfredo Braunstein <abraunst@lyx.org>
2248 * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
2251 2003-11-14 Martin Vermeer <martin.vermeer@hut.fi>
2254 * output_docbook.C: XML sanitation: new layout
2255 parameters InnerTag and CommandDepth
2257 2003-11-13 Martin Vermeer <martin.vermeer@hut.fi>
2259 * BufferView_pimpl.C:
2261 * text3.C: Fix the insertion and modification of button-style
2264 2003-11-13 André Pönitz <poenitz@gmx.net>
2266 * InsetList.[Ch]: remove deleteLyXText
2268 * paragraph.[Ch]: cache beginOfBody position
2273 * text3.C: remove superfluous update() calls
2277 2003-11-13 Alfredo Braunstein <abraunst@lyx.org>
2279 * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
2280 * BufferView.C (fitLockedInsetCursor): remove
2281 * cursor.[Ch] (getDim): add
2282 * text.C (getRowNearY): add faster version
2283 * text3.C: remove some update calls
2285 2003-11-12 Martin Vermeer <martin.vermeer@hut.fi>
2297 * text3.C: The Character Style /XML short element patch.
2299 2003-11-11 Martin Vermeer <martin.vermeer@hut.fi>
2302 * factory.C: Small step to solving 'unable to insert some insets'
2305 2003-11-11 Alfredo Braunstein <abraunst@lyx.org>
2307 * cursor.[Ch] (updatePos): new function for updating the y
2308 position of the tip inset
2309 * bufferview_funcs.C (put_selection_at):
2310 * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
2312 2003-11-11 André Pönitz <poenitz@gmx.net>
2314 * text.C: remove big comment on invalid Paragraph pointers as it is
2317 2003-11-11 André Pönitz <poenitz@gmx.net>
2319 * text_funcs.[Ch]: merge with ...
2327 * Makefile.am: remove text_funcs.[Ch]
2329 2003-11-11 Alfredo Braunstein <abraunst@libero.it>
2331 * cursor.C (getPos): return absolute cached y coord
2333 * BufferView_pimpl.C (fitCursor): new simplistic code
2334 (workAreaDispatch): add a fitCursor call
2336 2003-11-10 André Pönitz <poenitz@gmx.net>
2339 * BufferView_pimpl.[Ch]: merge update() and updateInset()
2341 2003-11-10 André Pönitz <poenitz@gmx.net>
2343 * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
2344 LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
2345 indicate that the cursor needs to leave an inset
2347 * lyxtext.h: remove inset locking
2349 * cursor.[Ch]: re-implement functionality provided by inset locking
2352 * BufferView_pimpl.[Ch]:
2354 * bufferview_funcs.[Ch]:
2366 2003-11-07 Alfredo Braunstein <abraunst@libero.it>
2368 * PosIterator.[Ch]: replace the stack with a vector, add inset
2370 * iterators.[C]: adjust
2372 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2374 * lyxfind.C (replaceAll): mark the buffer dirty if something was
2376 * paragraph_funcs.C (readParToken): put the correct id in the
2377 error item, not the id of the top paragraph
2379 2003-11-06 Alfredo Braunstein <abraunst@libero.it>
2381 * iterators.[Ch] (ParIterator): new PosIterator-based ctor
2382 * bufferview_funcs.C (put_selection_at): use the above
2384 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2386 * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
2388 2003-11-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2390 * output_linuxdoc.h:
2391 * output_plaintext.h:
2393 * output_docbook.h: add #include statements
2395 2003-11-05 José Matos <jamatos@lyx.org>
2397 * output_docbook.[Ch]:
2398 * output_latex.[Ch]:
2399 * output_linuxdoc.[Ch]:
2400 * output_plaintext.[Ch]: New files for output formats.
2401 * output.[Ch]: New file for helper functions.
2404 * paragraph_funcs.[Ch]: output functions moved to new files.
2406 * outputparams.h: rename of latexrunparams.h
2414 * paragraph_funcs.[Ch]:
2415 * paragraph_pimpl.[Ch]:
2416 * tabular.[Ch]: rename ascii to plaintext
2417 and LatexRunParams to OutputParams.
2419 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2421 * iterators.[Ch] (text): require bv argument
2422 * undo.C (recordUndo):
2423 * lyxfunc.C (dispatch):
2424 * bufferview_funcs.C (put_selection_at): adjust
2426 2003-11-05 João Luis M. Assirati <assirati@fma.if.usp.br>
2428 * lyxsocket.C: export variables XEDITOR and LYXSOCKET
2430 2003-11-05 Alfredo Braunstein <abraunst@libero.it>
2432 * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
2435 2003-11-04 André Pönitz <poenitz@gmx.net>
2437 * cursor.[Ch]: restructure
2440 * BufferView_pimpl.[Ch]: new LCursor cursor_ member
2442 * iterators.[Ch] (asCursor): remove
2444 * lfuns.h: remove LFUN_INSET_EDIT
2450 * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
2452 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2454 * lyxfind.[Ch]: complete overhaul
2455 * BufferView_pimpl.C:
2457 * paragraph.[Ch] (insert): add
2459 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2463 * text.C: remove dead spellcheck code
2465 2003-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
2467 * dispatchresult.h: add a val setter
2469 * cursor.C (dispatch): use a tempvar for data_[i]
2471 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2473 * PosIterator.[Ch]: compile fix
2475 2003-11-04 Alfredo Braunstein <abraunst@libero.it>
2477 * text.C (cursorPar): deactivate the cursor cache
2479 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2481 * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
2483 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2485 * text3.C (dispatch): adjust for new DisptchResult semantics.
2487 * lyxfunc.C (dispatch): handle update when return from
2488 Cursor::dispatch, adjust for new DispatchResult semantics.
2490 * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
2491 DispatchResult(true) mean to not update. Add class functions for
2492 setting dispatched and update, as well as reading.
2494 * cursor.C (dispatch): don't handle update here
2496 2003-11-03 Lars Gullik Bjønnes <larsbj@gullik.net>
2498 * trans_mgr.h: store t1_ and t2_ in scoped_ptr
2499 * trans_mgr.C: adjust
2501 * paragraph_funcs.C (readParToken): exception safety
2503 * lyxvc.h: store the vcs pointer in a scoped_ptr
2506 * lyxsocket.C (serverCallback): exception safety
2508 * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
2510 * ispell.C (clone): make it return a auto_ptr
2512 * factory.C (createInset): exception safety
2513 (readInset): exception safety
2515 * bufferlist.C (newBuffer): exception safety
2517 * Thesaurus.C (Thesaurus): use initialization for aik_
2519 * MenuBackend.C (expandToc): exception safety.
2521 2003-11-03 André Pönitz <poenitz@gmx.net>
2525 * bufferview_funcs.C: remove getInsetFromId()
2528 * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
2534 2003-11-03 Alfredo Braunstein <abraunst@libero.it>
2536 * PosIterator.C (distance, advance): new
2537 * bufferview_funcs.[Ch] (put_selection_at): new
2538 * iterators.[Ch] (lockPath): new
2540 2003-11-02 Alfredo Braunstein <abraunst@libero.it>
2542 * iterators.[Ch] (asPosIterator): added
2543 * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
2544 * PosIterator.[Ch]: added
2546 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2550 * cursor.C (dispatch):
2551 * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
2553 * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
2554 DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
2555 contructor, add a class function dispatched. Remove operator>=
2557 2003-11-01 Lars Gullik Bjønnes <larsbj@gullik.net>
2559 * debug.C: only use the default constructor for debugstream
2562 * main.C (main): include debug.h and setup the lyxerr streambuf
2565 2003-10-31 José Matos <jamatos@lyx.org>
2567 * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
2569 * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
2570 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
2571 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2572 * paragraph_pimpl.C (simpleTeXSpecialC):
2573 * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
2574 add LatexRunParams argument.
2576 * exporter.C (Export): change call accordingly.
2578 * latexrunparams.h: add new member to take care of the other backends.
2579 2003-10-30 José Matos <jamatos@lyx.org>
2581 * buffer.C (makeLinuxDocFile, makeDocBookFile):
2582 * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
2583 factorise code for paragraph output.
2585 * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
2588 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2590 * text3.C (dispatch):
2591 * lyxfunc.C (dispatch):
2592 * cursor.C (dispatch):
2593 * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
2595 * dispatchresult.h: make the dispatch_result_t ctor explicit
2597 2003-10-29 Martin Vermeer <martin.vermeer@hut.fi>
2600 * buffer.C: small refactoring of docbook stuff
2602 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2604 * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
2607 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2609 * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
2610 operator dispatch_result_t, and operators for == != and >=
2612 * cursor.C (dispatch): adjust for operator dispatch_result_t
2613 removal. comment out call to update
2615 * BufferView_pimpl.C (dispatch): dont implicit covert to bool
2617 2003-10-29 Lars Gullik Bjønnes <larsbj@gullik.net>
2625 * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
2628 * dispatchresult.h: new file, DispatchResult broken out of
2631 * Makefile.am (lyx_SOURCES): add dispatchresult.h
2633 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2635 * text.C (rowBreakPoint): put a hack inside #if 0
2637 2003-10-28 André Pönitz <poenitz@gmx.net>
2641 * paragraph_funcs.C:
2644 * text2.C: general cleanup (lots of small stuff)
2646 2003-10-28 Alfredo Braunstein <abraunst@libero.it>
2648 * text2.C (cursorEnd): simple fix to the "end key goes to one
2649 before the end on last row" bug
2651 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2653 * text.C (backspace): fix the "zombie characters"
2655 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2657 * lyxfunc.C (dispatch): small fix to toc navigation inside branches
2659 2003-10-27 André Pönitz <poenitz@gmx.net>
2661 * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
2663 * factory.C: handle new InsetPagebreak, InsetLine
2665 * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
2666 and move handling into new InsetPagebreak, InsetLine
2668 * BufferView_pimpl.C:
2670 * ParagraphParameters.C:
2671 * ParameterStruct.h:
2676 * paragraph_funcs.C:
2677 * paragraph_pimpl.C:
2683 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2686 * lyxrow_funcs.[Ch]:
2692 * text3.C: remove lastPos uses in favour of Row::endpos
2694 2003-10-27 Alfredo Braunstein <abraunst@libero.it>
2696 * undo.C (performUndoOrRedo): fix two crashes by setting a
2697 cursor by hand and reordering some calls. Use bv->lockInset instead
2698 of inset->edit because the latter loses cursor information
2700 2003-10-25 Alfredo Braunstein <abraunst@libero.it>
2702 * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
2704 (rowBreakPoint): fix width. change point to point + 1.
2705 Add a missing check.
2707 2003-10-25 Martin Vermeer <martin.vermeer@hut.fi>
2710 * lyxfunc.C: fix (at least partly) the problems
2711 with the Nav menu and headers inside branch insets
2714 2003-10-24 Alfredo Braunstein <abraunst@libero.it>
2716 * paragraph.C (getChar): add strong asserts
2718 * lyxrow_funcs.C (lastPos): remove hideous hack
2720 * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
2721 (fill): adjust to that (avoid an infinite loop)
2723 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2725 * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
2727 2003-10-23 André Pönitz <poenitz@gmx.net>
2729 * RowList_fwd.h: change list<> to vector<> to gain speed
2730 after suggestion from Alfredo
2732 2003-10-23 Alfredo Braunstein <abraunst@libero.it>
2734 * lyxtext.h: move the bidi stuff from here...
2737 * Bidi.[Ch]: ... to here
2739 2003-10-23 André Pönitz <poenitz@gmx.net>
2742 * text.C (isLastRow, isFirstRow): new functions
2744 * paragraph.h: new width cache member
2746 * rowpainter.C: replace RowList::iterator with Row & where possible
2748 * lyxfunc.C: replace several view()->text with a single call
2750 * toc.C: fix 'unused' warning
2752 2003-10-23 Lars Gullik Bjønnes <larsbj@gullik.net>
2754 * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
2755 when woring with stream::pos_type
2756 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
2758 2003-10-22 André Pönitz <poenitz@gmx.net>
2761 * text.C: use Row & instead of RowList::iterator
2763 * lyxrow.h: rename end() to endpos()
2769 2003-10-22 Angus Leeming <leeming@lyx.org>
2771 * buffer.[Ch] (fully_loaded): new member function, returning true
2772 only when the file has been loaded fully.
2773 Used to prevent the premature generation of previews and by the
2774 citation inset to prevent computation of the natbib-style label.
2776 * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
2777 templates are all set up.
2779 * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
2781 2003-10-22 Martin Vermeer <martin.vermeer@hut.fi>
2783 * text.C: fixed an "oops" in the "is a bit silly"
2786 2003-10-21 André Pönitz <poenitz@gmx.net>
2788 * FuncStatus.[Ch]: small stuff, whitespace
2790 * lyxfont.[Ch]: operator<<() for debug reasons
2794 * lyxtext.h: whitespace, spelling
2796 * paragraph.C: naming of variables
2799 * text2.C: small stuff
2802 2003-10-21 Martin Vermeer <martin.vermeer@hut.fi>
2804 * text.C: (1) finish off the inset display() work;
2805 (2) fix the "is a bit silly" bug (accessing char
2808 2003-10-20 Martin Vermeer <martin.vermeer@hut.fi>
2810 * text.C: re-introduce display() for insets, fixing the
2811 various bugs (stretch of line above, math inset
2814 2003-10-20 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2816 * text.C (rightMargin): remove spurious semicolon
2818 * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
2821 2003-10-18 Martin Vermeer <martin.vermeer@hut.fi>
2823 * text3.C: fix one crash due to wrong cursor def
2825 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2827 * vc-backend.C (scanMaster): make the regex static
2829 * LaTeX.C (scanAuxFile): make the regexs static
2831 * text3.C (doInsertInset, dispatch, dispatch):
2832 * text2.C (cursorUp, cursorDown):
2833 * text.C (selectNextWordToSpellcheck):
2834 * BufferView_pimpl.C (dispatch):
2835 * lyxfunc.C (dispatch): localDispatch -> dispatch
2837 2003-10-14 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
2839 * lyxsocket.C: include <cerrno>
2841 2003-10-17 Lars Gullik Bjønnes <larsbj@gullik.net>
2843 * lyxfunc.C (dispatch): remove textcache stuff
2845 * bufferlist.C (release): remove textcache stuff
2848 * TextCache.C: delete file
2849 * TextCache.h: delete file
2851 * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
2853 * BufferView_pimpl.C (buffer): remove textcache stuff, add a
2854 delete of the bv_->text.
2855 (resizeCurrentBuffer): remove texcache stuff
2856 (workAreaResize): ditto
2858 2003-10-16 Lars Gullik Bjønnes <larsbj@gullik.net>
2860 * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
2863 2003-10-16 André Pönitz <poenitz@gmx.net>
2870 * text3.C: speed up by storing y positions per paragraph plus per-row
2871 offset instead of having a 'full' y position in the row.
2873 2003-10-15 André Pönitz <poenitz@gmx.net>
2877 * undo.[Ch]: make undo aware of inner insets
2879 2003-10-14 Angus Leeming <leeming@lyx.org>
2881 * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
2882 static member functions LyX::ref() and LyX::cref.
2883 (lastfiles): new accessor functions for the new lastfiles_ member var.
2884 (addLyXView, views_): add a new LyXView to the list of views_.
2885 (updateInset): loop over all LyXViews to call their own updateInset
2886 member function, returning a pointer to the Buffer owning the inset.
2888 * BufferView_pimpl.C (loadLyXFile):
2889 * MenuBackend.C (expandLastfiles):
2890 * bufferlist.C (MenuWrite, QuitLyX):
2891 lastfiles is no longer a global variable.
2892 Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
2894 * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
2895 static function. Access through LyX::cref().emergencyCleanup().
2897 2003-10-14 André Pönitz <poenitz@gmx.net>
2899 * iterators.[Ch]: new direct access to innermost LyXText and Inset
2901 * undo.[Ch]: restoring part of 'undo in insets'
2904 * undo_funcs.[Ch]: merge with undo.[Ch]
2906 * tabular.C: small cleansing stuff
2908 2003-10-14 Alfredo Braunstein <abraunst@libero.it>
2910 * paragraph_funcs.C (readParToken): report unknown insets as error
2911 boxes. Use the outer paragraph as location (also for unknown
2914 * factory.C (readInset): do not abort on reading an unknown inset.
2915 Eat it and return 0.
2917 2003-10-13 Angus Leeming <leeming@lyx.org>
2919 * lyx_main.C (LyX): remove call to setDisplayTranslator().
2921 * lyxrc.C: displayTranslator is now a function,
2922 declared in GraphicsTypes.h.
2924 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2926 * format.C: new placeholder $$a to pass the socket address.
2928 * bufferlist.[Ch]: new function getBufferFromTmp.
2930 * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
2931 files in the temporary dir.
2933 2003-10-13 Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
2935 * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
2937 * Makefile.am: add lyxsocket.[Ch].
2939 * lyx_main.C (error_handler): handle SIGPIPE.
2941 2003-10-13 André Pönitz <poenitz@gmx.net>
2943 * BufferView_pimpl.C:
2948 * undo_funcs.[Ch]: use paroffset_type instead of
2949 ParagraphList::iterators to prevent multiple conversion
2950 (and get a more robust interface)
2952 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2954 * lyxfunc.C (dispatch): RESULT -> dispatch_result
2956 * text3.C (dispatch): ditto
2958 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2960 * LaTeX.C (handleFoundFile): move the static to smaller scope,
2961 move the onlyfile, use onlyfile instead of foundfile in a couple
2964 * DepTable.C (update): flush the error stream a bit more
2966 2003-10-13 Lars Gullik Bjønnes <larsbj@gullik.net>
2968 * lyxserver.C (callback): adjust
2970 * lyxfunc.C (getStatus): add a missing brace in commented code
2971 (ensureBufferClean): reindent
2972 (dispatch): delete version taking a string
2974 2003-10-11 Lars Gullik Bjønnes <larsbj@gullik.net>
2976 * LaTeX.C (deplog): move found file handlig from here...
2977 (handleFoundFile): .. to new function here.
2978 (deplog): make sure to discover several files mentioned on the
2981 2003-10-10 André Pönitz <poenitz@gmx.net>
2988 * text3.C: fix some of the tabular crashes
2990 2003-10-09 Lars Gullik Bjønnes <larsbj@lyx.org>
2992 * MenuBackend.C (binding): put debug message into Debug::KBMAP
2994 * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
2996 2003-10-09 André Pönitz <poenitz@gmx.net>
2998 * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
3001 * BufferView_pimpl.C:
3002 * bufferview_funcs.C:
3013 * undo_funcs.C: adjust
3015 2003-10-08 Lars Gullik Bjønnes <larsbj@gullik.net>
3017 * text2.C (incrementItemDepth): new function, use a backtracking
3018 algorithm to discover the correct item depth.
3019 (resetEnumCounterIfNeeded): new function, use a backtracking
3020 algorithm to discover if counter reset is needed.
3021 (setCounter): use them. Simplify a bit. Add different labels for
3022 different item depths for itemize.
3024 * paragraph.C (Paragraph): remove initialization of enumdepth
3027 * paragraph.h: get rid of enumdepth, and use itemdepth both for
3028 enumerate and itemize. Change the type of itemdepth to signed char.
3030 2003-10-08 André Pönitz <poenitz@gmx.net>
3032 * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
3037 * tabular.[Ch]: fix crash after 'row-insert'
3039 2003-10-08 Angus Leeming <leeming@lyx.org>
3041 Fix doxygen warnings.
3043 * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
3044 Remove CutAndPaste:: prefix from header file declaration.
3046 * LColor.h (fill): remove LColor:: prefix from declaration.
3048 * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
3049 use lyx::depth_type rather than Paragraph::depth_type so that
3050 header file and .C file match.
3052 * converter.h (intToFormat): remove Converters:: prefix from declaration.
3054 * Spacing.h: \file Spacing.h -> \file src/Spacing.h
3055 * aspell.C: \file aspell_local.C -> \file aspell.C
3056 * gettext.C: \file gettext.C -> \file src/gettext.C
3057 * gettext.h: \file gettext.h -> \file src/gettext.h
3058 * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
3059 * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
3060 * text.C: \file text.C -> \file src/text.C
3062 * toc.C: move comment so that doxygen is not confused.
3064 2003-10-07 Angus Leeming <leeming@lyx.org>
3066 * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
3068 2003-10-07 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
3071 * aspell_local.h: add forgotten std::string's.
3073 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3080 * text3.C: The Box patch. Fancybox support, minipage, parbox
3082 2003-10-07 Martin Vermeer <martin.vermeer@hut.fi>
3088 * ParagraphParameters.h:
3098 * lyxtextclasslist.h:
3101 * paragraph_pimpl.C:
3102 * textcursor.h: add <string> and other small fixes to make Lars'
3103 std::string patch compile with STLport.
3105 2003-10-06 Angus Leeming <leeming@lyx.org>
3107 * LColor.h: Add missing #include <string>.
3109 2003-10-06 Lars Gullik Bjønnes <larsbj@gullik.net>
3111 * All most all file in all subdirs: Make <string> be the prefered
3112 way of getting to std::string, add using declarations.
3114 2003-10-06 André Pönitz <poenitz@gmx.net>
3116 * metricsinfo.C: initialize LyXFont before changing attribute.
3117 (fixes the 'math in \emph is upright' bug)
3119 2003-10-06 André Pönitz <poenitz@gmx.net>
3121 * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
3123 2003-10-06 Martin Vermeer <martin.vermeer@hut.fi>
3126 * paragraph_pimpl.C: Small fixes to build using STLport
3128 2003-10-02 André Pönitz <poenitz@gmx.net>
3131 * text3.C: move handling of LFUN_DEPTH *; fix #1360
3133 2003-10-01 André Pönitz <poenitz@gmx.net>
3135 * factory.C: assert early
3137 2003-09-26 Lars Gullik Bjønnes <larsbj@gullik.net>
3139 * lyx_main.C: remove the global debug object
3141 * debug.h: adjust for new debugstream
3143 * debug.C: adjust for new debugstream and keep the global debug
3146 2003-09-22 Angus Leeming <leeming@lyx.org>
3148 * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
3149 of g++ which otherwise complain that the scoped_ptr destructor can't delete
3150 an incomplete class LyXFont.
3152 2003-09-22 Martin Vermeer <martin.vermeer@hut.fi>
3154 * factory.C: bug fix in branches
3156 2003-09-22 Lars Gullik Bjønnes <larsbj@gullik.net>
3158 * lyxfunc.C (processKeySym): adjust
3160 (dispatch): change arg name from ev to func, adjust
3161 (sendDispatchMessage): ditto
3163 * lyx_main.C (defaultKeyBindings): adjust keybindings
3164 (deadKeyBindings): ditto
3166 * kbsequence.C (addkey): return a FuncRequest
3168 * kbmap.h (kb_key): struct var FuncRequest instead of int action.
3170 * kbmap.C (bind): take a FuncRequest as arg, adjust
3173 (defkey): change to take a FuncRequest as arg, adjust
3174 (findbinding): take a FuncRequest as arg, adjust.
3176 * funcrequest.h (operator=): added
3178 * funcrequest.C (FuncRequest): default kb_action changed from
3179 LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
3181 * buffer.C (dispatch): simplify
3182 (dispatch): adjust to take a FuncRequest as arg, adjust
3184 * boost.C (assertion_failed): change assertion message slightly
3186 * ToolbarBackend.C (read): simplify
3188 * MenuBackend.C (binding): adjust call to findbinding, add a
3189 message if no binding is found.
3191 (expandToc): correct by adding a empty FuncRequest
3193 * LyXAction.C: include <boost/assert.hpp>
3194 (isPseudoAction): delete function
3195 (LookupFunc): change name to...
3196 (lookupFunc): this. change return type to FuncRequest.
3197 (getActionName): take kb_action as arg, simplify
3198 (funcHasFlag): add an assert, simplify.
3200 2003-09-21 Lars Gullik Bjønnes <larsbj@gullik.net>
3202 * toc.C (action): return a FuncRequest, simplify
3204 * lyxfunc.C (processKeySym): adjust
3205 (getStatus): delete version that takes an int.
3207 (dispatch): delete version that takes action as int
3209 (sendDispatchMessage): simplify and adjust
3211 * funcrequest.C (getArg): take unsigned int as arg
3213 * ToolbarBackend.C (read): adjust
3214 (add): delete version that takes func as a string.
3215 (getIton): take a FuncRequest as arg
3217 * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
3220 * MenuBackend.C (MenuItem): add a new construct that only takes a
3221 Kind, simplify the constructor use for submenus.
3223 (expandLastfiles): adjust
3224 (expandDocuments): adjust
3225 (expandFormats): adjust
3226 (expandFloatListInsert): adjust
3227 (expandFloatInsert): adjust
3228 (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
3230 * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
3231 Remove class variables lyx_pseudo_map and lyx_arg_map
3233 * LyXAction.C (searchActionArg): delete function
3234 (getPseudoAction): delete function
3235 (retrieveActionArg): delete function
3236 (LookupFunc): make it return kb_action, simplify.
3237 (getActionName): simplify
3239 * factory.C (createInset): fix new bug
3241 2003-09-19 Angus Leeming <leeming@lyx.org>
3243 * CutAndPaste.C (pasteSelection): remove fudge used to set the
3244 masterFilename_ parameter in the include inset.
3246 * factory.C (createInset): changes due to the changes to InsetInclude.
3248 2003-09-19 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3250 * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
3252 2003-09-18 Angus Leeming <leeming@lyx.org>
3255 * BufferView.C: pass the buffer when calling Inset::getLabelList,
3256 Inset::fillWithBibKeys.
3257 * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
3259 2003-09-18 Angus Leeming <leeming@lyx.org>
3261 * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
3263 (ctor): pass and store a 'Buffer const &'
3264 (buffer): new member function.
3266 * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
3267 '*this' to the LaTeXFeatures ctor.
3269 2003-09-18 Angus Leeming <leeming@lyx.org>
3275 * text.C: rename EnumLColor as LColor_color.
3277 2003-09-18 Angus Leeming <leeming@lyx.org>
3279 * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
3280 remove #include "insets/insetbase.h" from cursor.h.
3282 2003-09-18 Angus Leeming <leeming@lyx.org>
3284 * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
3285 InsetOld_code to remove #include "inset.h".
3287 * iterators.C: add #include "insets/inset.h"
3289 2003-09-16 Martin Vermeer <martin.vermeer@hut.fi>
3291 * BufferView.C: remove more locking stuff that apparently doesn't
3292 do anything sensible.
3294 2003-09-16 André Pönitz <poenitz@gmx.net>
3297 * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
3300 2003-09-16 Angus Leeming <leeming@lyx.org>
3302 * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
3304 * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
3307 * paragraph.h: remove #include "lyxfont.h". Forward declare
3310 2003-09-16 Angus Leeming <leeming@lyx.org>
3312 * paragraph.C (IsInsetChar): new function in namespace anon, moved out
3313 of support/textutils.h.
3314 (isWord): move the contents of support/textutils.h's IsWordChar here.
3320 * text2.C: add #include "paragraph.h".
3323 * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
3325 2003-09-16 Lars Gullik Bjønnes <larsbj@gullik.net>
3331 * LaTeX.C: use namespace alias for lyx::support::os
3333 2003-09-16 Angus Leeming <leeming@lyx.org>
3336 * bufferview_funcs.C:
3339 * paragraph_pimpl.C:
3341 * text.C: add #include "LColor.h".
3343 2003-09-16 Angus Leeming <leeming@lyx.org>
3345 * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
3346 setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
3348 Store the FontBits::color variable as an int rather than as an
3349 LColor::colorso that we can move LColor.h out of the lyxfont.h header
3352 * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
3353 LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
3354 string calls together.
3356 * lyxrc.C: add #include "LColor.h".
3358 2003-09-15 Angus Leeming <leeming@lyx.org>
3360 * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
3363 2003-09-15 Angus Leeming <leeming@lyx.org>
3365 * LColor.h: add an EnumLColor wrapper for LColor::color.
3367 * lyxfont.[Ch] (color, setColor, realColor):
3368 * lyxtext.h, text.C (backgroundColor):
3369 pass EnumLColor args to/from the functions, rather than LColor::color
3373 * lyxtext.h: forward declare EnumLColor.
3375 * lyx_main.C: add #include "LColor.h".
3377 2003-09-15 Angus Leeming <leeming@lyx.org>
3379 * .cvsignore: add lyx-gtk.
3381 2003-09-15 Lars Gullik Bjønnes <larsbj@gullik.net>
3386 * ParagraphParameters.C
3390 * bufferview_funcs.C
3400 * vc-backend.C: remove usage of STRCONV
3402 2003-09-15 Angus Leeming <leeming@lyx.org>
3404 * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
3405 explicitly define the color passed to the painter.
3407 2003-09-15 Angus Leeming <leeming@lyx.org>
3409 * bufferparams.C (BufferParams): reorder member initializers to avoid
3412 2003-09-15 Alfredo Braunstein <abraunst@libero.it>
3414 * CutAndPaste.C (pasteSelection): remove an outdated #warning
3415 * text.C (updateRowPositions): remove an unusual nop
3417 2003-09-12 André Pönitz <poenitz@gmx.net>
3419 * BufferView_pimpl.C:
3428 * Counters.[Ch]: finish the 'automatic counters' job
3430 2003-09-12 Juergen Spitzmueller <j.spitzmueller@gmx.de>
3432 * aspell.C: include <boost/assert.cpp> (compile fix)
3434 2003-09-10 Rob Lahaye <lahaye@snu.ac.kr>
3436 * boost.C (assertion_failed): use lyx::support::abort instead of
3439 2003-09-10 Angus Leeming <leeming@lyx.org>
3441 * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
3442 with their _fwd progeny.
3444 2003-09-09 Angus Leeming <leeming@lyx.org>
3446 134 files throughtout the source tree: replace 'using namespace abc;'
3447 directives with the appropriate 'using abc::xyz;' declarations.
3449 2003-09-09 Lars Gullik Bjønnes <larsbj@lyx.org>
3451 * boost.C (emergencyCleanup): moved here from LAssert.c
3452 (assertion_failed): new function, called by BOOST_ASSERT
3454 * several files: change Assert to BOOST_ASSERT
3456 2003-09-09 Angus Leeming <leeming@lyx.org>
3458 * buffer.[Ch]: Add an Impl class and move Buffer's member
3459 variables into it. As a result move several header files out of
3462 Add header files to lots of .C files all over the tree as a result.
3464 2003-09-09 Angus Leeming <leeming@lyx.org>
3466 * buffer.[Ch]: make Buffer's member variables private. Add
3469 Lots of changes all over the tree as a result.
3471 2003-09-08 Angus Leeming <leeming@lyx.org>
3473 * graph.C: #include <config.h>.
3475 2003-09-08 Angus Leeming <leeming@lyx.org>
3479 * BufferView_pimpl.C:
3508 * toc.C: remove redundant using directives.
3510 2003-09-07 Angus Leeming <leeming@lyx.org>
3512 * LaTeXFeatures.h: remove #include "support/types.h".
3513 * ToolbarBackend.h: remove #include <algorithm>.
3514 * changes.h: remove #include <ctime>.
3515 * debug.h: remove #include <iosfwd>.
3516 * graph.h: remove #include "support/std_string.h".
3517 * lyx_main.h: remove #include <csignal>.
3518 * lyxlex_pimpl.h: remove #include <fstream>.
3519 * sgml.h: remove #include <algorithm>, <utility>.
3520 * toc.h: remove #include "support/std_ostream.h".
3521 Add #include <iosfwd>.
3523 2003-09-07 Angus Leeming <leeming@lyx.org>
3525 * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
3527 * converter.h: forward declare LatexRunParams.
3528 * encoding.h: remove #include "lyxrc.h".
3529 * lyxtext.h: remove #include "LColor.h".
3530 * lyxtextclass.h: remove #include "support/types.h".
3531 * trans.h: remove #include "tex-accent.h".
3532 * trans_mgr.h: remove #include "tex-accent.h".
3533 * insets/inset.h: remove #include "support/types.h", <vector>.
3534 * insets/insetcollapsable.h: remove #include "LColor.h".
3535 * insets/insetinclude.h: remove #include "dimension.h".
3536 * insets/insetlatexaccent.h: remove #include "dimension.h".
3537 * insets/insetoptarg.h:: remove #include "insettext.h".
3538 * insets/insettext.h: remove #include "dimension.h",
3539 <boost/shared_ptr.hpp>
3541 * insets/renderers.h: add #include "dimension.h".
3542 * insets/updatableinset.h: add #include "support/types.h".
3544 * many .C files: Associated changes.
3546 2003-09-06 Angus Leeming <leeming@lyx.org>
3548 * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
3549 one, inside testInvariant.
3551 * PrinterParams.C: new file.
3552 * PrinterParams.[Ch]: move the function bodies out of line.
3554 2003-09-06 Angus Leeming <leeming@lyx.org>
3556 * ParagraphParameters.h: forward declare ParameterStruct rather than
3557 including its header file.
3558 (depth): moved out-of-line.
3560 2003-09-06 Angus Leeming <leeming@lyx.org>
3562 * BufferView_pimpl.h:
3565 * lyxfunc.h: forward declare LyXKeySym rather than
3566 #include "frontends/LyXKeySym.h".
3568 * BufferView_pimpl.C:
3571 * lyxfunc.C: associated changes.
3573 2003-09-06 Angus Leeming <leeming@lyx.org>
3575 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3576 As a result, can remove the #include "insets/inset.h" from BufferView.h
3578 2003-09-06 Angus Leeming <leeming@lyx.org>
3580 * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
3581 As a result, can remove the #include "insets/inset.h" from BufferView.h
3583 2003-09-06 Angus Leeming <leeming@lyx.org>
3589 * bufferview_funcs.C:
3590 * BufferView_pimpl.C:
3595 * ParagraphParameters.C:
3600 * frontends/controllers/ControlDocument.C:
3601 * insets/insetcaption.C: rearrange the #includes into some sort of
3604 * buffer.h: remove #includes ErrorList.h, undo.h
3606 2003-09-06 Angus Leeming <leeming@lyx.org>
3608 * support/types.h: add a 'depth_type' typedef, used to store the
3609 nesting depth of a paragraph.
3612 * ParameterStruct.h: use this lyx::depth_type typedef rather than
3613 defining explicitly.
3616 * paragraph_funcs.h:
3617 * ParagraphParameters.h:
3618 * sgml.h: use lyx::depth_type rather than Paragraph or
3619 ParameterStruct's depth_type.
3622 * paragraph_funcs.h: no need to #include paragraph.h anymore.
3625 * BufferView_pimpl.C:
3627 * ParagraphParameters.C:
3630 * bufferview_funcs.C:
3637 * frontends/LyXView.C:
3638 * frontends/controllers/ControlDocument.C:
3639 * frontends/controllers/ControlErrorList.C:
3640 * insets/insetbibitem.C:
3641 * insets/insetbranch.C:
3642 * insets/insetcaption.C:
3643 * insets/insetcollapsable.C:
3644 * insets/insetenv.C:
3645 * insets/insetert.C:
3646 * insets/insetfloat.C:
3647 * insets/insetfoot.C:
3648 * insets/insetfootlike.C:
3649 * insets/insetnewline.C:
3650 * insets/insetquotes.C:
3651 * insets/insettabular.C:
3652 * insets/insettext.C:
3653 * insets/insetwrap.C: must now explicitly #include "paragraph.h".
3655 * frontends/controllers/ControlChanges.C: #include "changes.h".
3657 2003-09-06 Angus Leeming <leeming@lyx.org>
3659 * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
3660 than #including paragraph.h.
3663 * RowList.h: deleted. Superfluous.
3673 * insets/insettext.h: use ParagraphList_fwd.h rather than
3676 * paragraph.h: don't forward declare ParagraphList.
3679 * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
3680 rather than ParagraphList.h. paragraph.h is still needed for the
3681 Paragraph::depth_type parameters.
3683 * textcursor.h: enable it to compile stand-alone in light of the
3686 * bufferview_funcs.C:
3698 * frontends/controllers/ControlParagraph.C:
3699 * frontends/controllers/ControlTabular.C:
3700 * insets/insetmarginal.C:
3701 * insets/insetminipage.C:
3702 * insets/insetnote.C:
3703 * insets/insetoptarg.C: add header files needed to compile again.
3705 2003-09-06 Angus Leeming <leeming@lyx.org>
3707 * RowList_fwd.h: new file, forward-declaring Row rather than
3708 #including lyxrow.h.
3713 * insets/insettext.h: use it instead of RowList.h
3715 * bufferview_funcs.C:
3722 * text3.C: #include "RowList.h".
3724 2003-09-05 Angus Leeming <leeming@lyx.org>
3726 * factory.C (createInset):
3727 * vspace.C (c-tor): replace sscanf call with an istringstream.
3728 * ispell.C: re-add missing HP/UX headers.
3729 * lyxserver.C: re-add missing os2 headers.
3731 2003-09-05 Martin Vermeer <martin.vermeer@hut.fi>
3740 * text3.C: re-add missing system headers, needed for 2.95.2.
3742 2003-09-05 Angus Leeming <leeming@lyx.org>
3744 Changes most place everywhere due to the removal of using directives
3745 from support/std_sstream.h.
3747 2003-09-05 Angus Leeming <leeming@lyx.org>
3749 Replace LString.h with support/std_string.h,
3750 Lsstream.h with support/std_sstream.h,
3751 support/LIstream.h with support/std_istream.h,
3752 support/LOstream.h with support/std_ostream.h.
3754 Changes resulting throughout the tree.
3756 2003-09-05 Angus Leeming <leeming@lyx.org>
3758 * sgml.h: ensure that the header file can be compiled stand-alone.
3759 * *.C: strip out redundant #includes. (320 in total.)
3761 2003-09-04 Angus Leeming <leeming@lyx.org>
3763 * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
3764 here (from getPackages).
3766 * debug.[Ch]: add a new EXTERNAL tag.
3768 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3770 * text2.C (cursorEnd): simplify
3772 (getColumnNearX): adjust
3774 * text.C (computeBidiTables): adjust
3777 * rowpainter.C (paintChars): adjust
3778 (paintSelection): adjust
3779 (paintChangeBar): adjust
3782 * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
3784 (numberOfSeparators): adjust
3786 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3792 * text3.C: Restricts the mouse click functionality
3793 of insets like bibtex, include, toc and floatlist to the visible
3794 button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
3795 up the dialogs. Cursor has to be in front of the inset (i.e.
3796 start of row) for this to function.
3798 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3800 * bufferview_funcs.C (currentState): output row information
3802 2003-09-04 Lars Gullik Bjønnes <larsbj@lyx.org>
3804 * bufferview_funcs.C (currentState): output paragraph position
3806 2003-09-04 Angus Leeming <leeming@lyx.org>
3808 * FloatList.h: move out #include "Floating.h".
3809 * LaTeX.h: move out #include "DepTable.h".
3810 * LyXAction.h: move out #include "funcrequest.h".
3811 * buffer.h: move out #include "author.h", "iterators.h".
3812 * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
3813 * lyx_main.h: move out #include "errorlist.h".
3814 * lyxfunc.h: move out #include "FuncStatus.h".
3815 * lyxtext: move out #include "lyxcursor.h".
3816 * paragraph_pimpl.h: move out #include "counters.h".
3818 2003-09-03 Angus Leeming <leeming@lyx.org>
3820 * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
3821 preamble_snippets list, enabling us to add snippets to the preamble
3822 only if the snippet was not there already.
3824 2003-09-04 Angus Leeming <leeming@lyx.org>
3826 * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
3828 2003-09-03 Lars Gullik Bjønnes <larsbj@gullik.net>
3830 * lyxfunc.C (dispatch): if fitCursor did something be sure to
3833 2003-09-03 Martin Vermeer <martin.vermeer@hut.fi>
3835 * BranchList.C: point fix, earlier forgotten
3837 2003-09-02 Angus Leeming <leeming@lyx.org>
3839 * box.C (contains): renamed from 'contained' after a fantastic
3842 2003-09-02 John Levon <levon@movementarian.org>
3848 * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
3850 2003-09-02 John Levon <levon@movementarian.org>
3852 * text2.C: simplification of cursorEnd(), including partial
3855 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3857 * buffer.C (readFile): add a space
3859 2003-09-02 Alfredo Braunstein <abraunst@libero.it>
3861 * BufferView_pimpl.C (update): remove bogus fitCursor() call
3863 2003-09-02 Lars Gullik Bjønnes <larsbj@gullik.net>
3865 * buffer.C (readFile): new function, take a filename and a
3866 ParagraphList::iterator
3868 (readFile): adjust, make it private. don't use setStream, make
3869 lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
3870 always contain the filename.
3872 * BufferView.C (insertLyXFile): simplify and make it work for
3875 2003-08-30 John Levon <levon@movementarian.org>
3877 * Makefile.am: fix dist (from Kayvan)
3879 2003-08-28 Lars Gullik Bjønnes <larsbj@gullik.net>
3881 * most files: change to use const Buffer refs
3883 2003-08-27 André Pönitz <poenitz@gmx.net>
3885 * BufferView.[Ch]: remove getParentText, implement getParentLanguage
3886 on top of ownerPar().
3888 2003-08-27 John Levon <levon@movementarian.org>
3890 * funcrequest.C: properly initialise POD members
3892 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3894 * lyxtext.h (top_y): move top_y from here
3899 * BufferView_pimpl.[Ch]: to here
3900 * frontends/screen.C:
3901 * insets/insettabular.C:
3902 * insets/insettext.C: adjust
3903 * rowpainter.[Ch] (paintRows): remove LyXText & argument
3905 2003-08-27 Alfredo Braunstein <abraunst@libero.it>
3908 * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
3910 2003-08-26 André Pönitz <poenitz@gmx.net>
3912 * paragraph_func.[Ch] (outerPar): new function
3915 * paragraph_funcs.C:
3916 * paragraph_funcs.h:
3917 * paragraph_pimpl.C:
3918 * text2.C: remove Inset::par_owner
3920 2003-08-25 Martin Vermeer <martin.vermeer@hut.fi>
3925 * text2.C: eliminates the needFullRow/display() stuff
3926 altogether, putting the logic in metrics/draw in the insets.
3928 2003-08-25 Alfredo Braunstein <abraunst@libero.it>
3930 * text2.C (redoParagraphInternal, redoParagraphs):
3931 * text.C (redoParagraph): add a call to updateRowPositions at the
3932 end of each 'metrics-like' call. Remove all others.
3933 (getRow): remove the 'y-computing' version.
3934 (getRowNearY): do not compute nor return the real y. Solve the
3935 'y < 0' problem and simplify.
3937 2003-08-22 Angus Leeming <leeming@lyx.org>
3939 * *.[Ch]: clean-up of licence and author blurbs.
3940 Also move config.h out of a few .h files and into a few .C files.
3942 2003-08-22 André Pönitz <poenitz@gmx.net>
3944 * lyxrow.[Ch]: add x_ and *fill_ members
3949 * text2.C: adjust/remove prepareToPrint() calls
3951 2003-08-22 André Pönitz <poenitz@gmx.net>
3953 * lyxrow.[Ch]: add end_ member
3955 * lyxrow_funcs.C: use LyXRow::end_
3957 * lyxtext.h (singleWidth): add LyXFont parameter
3960 * text2.C: adjust LyXText::singleWidth() calls
3962 * text.C (redoParagraph): simplify row breaking logic
3965 2003-08-19 André Pönitz <poenitz@gmx.net>
3967 * funcrequest.C: initialize button_ member
3970 * rowpainter.[Ch]: interface consolidation
3972 2003-08-18 André Pönitz <poenitz@gmx.net>
3975 * BufferView_pimpl.C:
3977 * paragraph_funcs.C:
3979 * text3.C: remove LyXScreen::draw() and fitCursor calls
3981 * BranchList.h: remove spurious semicolons
3983 * MenuBackend.C: fix branchlist related crash
3985 2003-08-17 Martin Vermeer <martin.vermeer@hut.fi>
3993 * bufferparams.[Ch]:
3997 * text3.C: implements the 'branch inset'
3998 idea. This allows the output of various versions of a document
3999 from a single source version, selectively outputing or suppressing
4000 output of parts of the text.
4001 This implementation contains a 'branch list editor' in a separate
4002 tab of the document settings dialog. Branches are user definable
4003 and have a "display colour" to distinguish them on-screen.
4005 ColorHandler was somewhat cleaned up.
4006 (1) make possible a dynamically growing LColor list by allowing
4007 the graphic context cache to grow along (vector);
4008 (2) eliminate an IMHO unnecessary step in colour allocation.
4010 2003-08-15 Kayvan A. Sylvan <kayvan@sylvan.com>
4012 * BufferView_pimpl.C: compile fix
4014 2003-08-15 André Pönitz <poenitz@gmx.net>
4016 * rowpainter.C: remove extra metrics calls
4018 * lyxtext.h: merge the two constructors into a single one,
4019 pass reference to owner's par list
4021 * BufferView_pimpl.C:
4025 2003-08-15 André Pönitz <poenitz@gmx.net>
4027 * lyxrow_funcs.[Ch]:
4030 * paragraph_funcs.C:
4035 * text_funcs.C: split LyXText::rowlist_ into individual
4036 Paragraph::rows_ chunks
4039 * BufferView_pimpl.[Ch]:
4042 * text3.C: remove toggleSelection()
4044 2003-08-12 Michael Schmitt <michael.schmitt@teststep.org>
4046 * bufferlist.C: beautify two alerts (shorter text of buttons)
4047 * buffer.C: Remove redundant ' ' from message
4049 * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
4050 rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
4051 rename VALIGN_CENTER to VALIGN_MIDDLE
4053 2003-08-11 André Pönitz <poenitz@gmx.net>
4055 * lyxtext.h (getPar):
4056 * text.C: new function
4058 2003-08-11 André Pönitz <poenitz@gmx.net>
4061 * tracer.[Ch]: remove unneeded files
4063 * InsetList.[Ch]: remove resizeInsetsLyXText()
4068 * text3.C: merge insertParagraphs() and appendParagraph()
4069 remove breakAgain(), update()
4071 * BufferView_pimpl.[Ch]:
4072 * bufferview_funcs.[Ch]:
4076 * tabular.C: adjust after text & InsetList changes.
4078 2003-08-08 André Pönitz <poenitz@gmx.net>
4080 * text.C (insertChar, backspace): replace rowlist fiddling
4081 with rebreak of full par
4084 * text.C (breakAgainOneRow, redoHeightOfParagraph,
4085 checkParagraph, updateInset): removed
4087 2003-08-07 André Pönitz <poenitz@gmx.net>
4090 * text3.C: merge some LFUN handlers, remove dead code
4092 2003-08-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4094 * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
4096 2003-08-05 Alfredo Braunstein <abraunst@libero.it>
4098 * text2.C (DEPM): fix part of bug 1255 and 1256
4100 2003-08-05 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4102 * BufferView_pimpl.C (workAreaDispatch): change to use
4103 LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
4104 that are no mouse related.
4106 2003-08-05 André Pönitz <poenitz@gmx.net>
4109 * BufferView_pimpl.[Ch]:
4110 * bufferview_funcs.C:
4112 * text3.C: rip out "deep update"
4114 * textcursor.[Ch] (last_sel_cursor): remove unused member
4116 2003-08-04 André Pönitz <poenitz@gmx.net>
4119 * BufferView_pimpl.[Ch]:
4120 * ParagraphParameters.C:
4121 * bufferview_funcs.C:
4127 * text3.C: replace "complicated" BufferView::update(...) calls with
4130 * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
4132 2003-08-02 Kayvan Sylvan <kayvan@sylvan.com>
4134 * Makefile.am (lyx_SOURCES): add paper.h
4136 2003-08-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
4138 * Makefile.am: move things around so that both lyx-qt and
4139 lyx-xforms can be built (according to --with-frontend). Then lyx
4140 is a symbolic link to lyx-[firstfrontend]
4142 2003-08-02 Lars Gullik Bjønnes <larsbj@lyx.org>
4144 * Always use std::endl with lyxerr
4146 2003-08-01 Lars Gullik Bjønnes <larsbj@lyx.org>
4148 * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
4150 2003-08-01 André Pönitz <poenitz@gmx.net>
4153 * BufferView_pimpl.[Ch]:
4155 * text3.C: merge BufferView::repaint() and BufferView::update()
4157 2003-08-01 José Matos <jamatos@lyx.org>
4159 * buffer.[Ch]: file_format is no longer a buffer data element.
4161 2003-08-01 André Pönitz <poenitz@gmx.net>
4166 * text2.C: make redoParagraph more independent of current cursor
4168 * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
4170 * text2.C: remove unneeded members
4172 2003-07-30 André Pönitz <poenitz@gmx.net>
4174 * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
4176 * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
4177 create a single function...
4179 * paragraph_funcs.C (moveItem): ... here.
4182 lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
4184 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4186 * LColor.[Ch]: Add comment and greyedout logical colors.
4188 2003-07-30 André Pönitz <poenitz@gmx.net>
4190 * tabular.C: don't use Assert too heavily. This crashes where it
4193 2003-07-30 Alfredo Braunstein <abraunst@libero.it>
4195 * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
4196 is disabled (bug 1232)
4198 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4200 * factory.C: limited 'arg' scope
4202 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4204 * factory.C: fixed Note submenu issues
4206 2003-07-30 Martin Vermeer <martin.vermeer@hut.fi>
4208 * factory.C: submenu for Note/Comment/Greyedout
4210 2003-07-29 Alfredo Braunstein <abraunst@libero.it>
4213 * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
4215 2003-07-29 Martin Vermeer <martin.vermeer@hut.fi>
4218 * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
4219 greyedout. Patch provided by Jürgen Spitzmüller.
4221 2003-07-29 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4223 * kbmap.C (read): fix error message when reading bind files
4225 2003-07-29 Angus Leeming <leeming@lyx.org>
4227 * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
4228 certainly does not do what it purports to do. I am doing it, and
4229 us, a favour by killing it.
4231 2003-07-28 José Matos <jamatos@lyx.org>
4233 * buffer.C (readBody, do_writeFile):
4234 * paragraph.C(readParagraph): \end_document replaces \the_end.
4236 2003-07-29 André Pönitz <poenitz@gmx.net>
4239 * BufferView_pimpl.[Ch]:
4243 * textcursor.[Ch]: remove toggleToggle & Co
4245 2003-07-28 José Matos <jamatos@fep.up.pt>
4247 * buffer.C (readParagraph):
4248 * params_func (readParToken, readParagraph):
4249 * paragraph.C (write): \layout -> \begin_layout.
4251 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4253 * lyxlex_pimpl.C (setFile): clean up slightly.
4255 * bufferparams.h: add compressed var
4257 * buffer_funcs.C (readFile): adjust for LyXLex change
4258 (newFile): ditto + simplify
4260 * buffer.C (writeFile): handle writing of compressed files
4262 * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
4263 Check if the file is compressed and set a bufferparm if so.
4265 * Makefile.am (lyx_LDADD): remove explicit -lz
4267 2003-07-28 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4269 * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
4270 makeDocBookFile): put the real LyX version in the first line of
4274 * version.C.in: remove lyx_docversion
4276 * tabular.C (write_attribute): add a template-based version to
4277 write enums properly
4279 2003-07-28 André Pönitz <poenitz@gmx.net>
4284 * text3.C: use doubles again for x-coordinates. They are needed.
4286 2003-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4288 * messages.C (getLocaleDir): use lyx_localedir()
4290 * lyxlex_pimpl.C (setFile): compress stuff
4292 * buffer.C (writeFile): add some compression stuff
4293 (do_writeFile): new func, dont call expliti close... will this
4296 * Makefile.am (lyx_LDADD): add -lz
4298 2003-07-28 José Matos <jamatos@fep.up.pt>
4300 * buffer.C: increment file format.
4301 * paragraph_funcs (readParagraph, readParToken):
4302 * paragraph.C (readParagraph): add \end_layout.
4304 2003-07-27 Angus Leeming <leeming@lyx.org>
4306 * Makefile.am: remove special casing for configure-time setting of
4307 LYX_DIR, TOP_SRCDIR and LOCALEDIR.
4309 * lyx_main.C (init): remove all Jean-Marc's magic setting of
4310 system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
4312 2003-07-26 André Pönitz <poenitz@gmx.net>
4314 * paragraph_func.[Ch]:
4315 * paragraph.C (realizeFont): inline it whereever it is used
4320 * text3.C: remove Buffer * parameter from a bunch of get*Font functions
4323 2003-07-26 André Pönitz <poenitz@gmx.net>
4327 * text2.C: get rid of LyXText::need_break_row
4329 2003-07-27 Lars Gullik Bjønnes <larsbj@gullik.net>
4331 * toc.[Ch]: put namespace toc inside namespace lyx
4333 * MenuBackend.C (expandToc2): adjust for lyx::toc
4336 * lyxfunc.C (dispatch): adjust for lyx::find
4338 * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
4339 lyx::find instead. Reorganize a bit.
4340 (LyXReplace): rename to replace
4341 (LyXFind): rename to find
4343 * BufferView_pimpl.C (trackChanges): adjust for lyx::find
4346 2003-07-26 André Pönitz <poenitz@gmx.net>
4348 * text.C (setHeightOfRow): restrict scope of temporary variable
4350 * paragraph_funcs.C (readParToken): remove USE_CAPTION compatibility
4351 code (never has been used?)
4353 2003-07-27 Asger Alstrup <alstrup@local>
4355 * text.C (fill): Optimise algorithm to exploit that we can reuse
4356 the LyXFont for many characters.
4357 (setHeightOfRow): Same thing.
4358 (rowBreakPoint): Same thing.
4360 2003-07-26 Asger Alstrup <alstrup@local>
4362 * text2.C (metrics): change a brain-dead algorithm to a smarter one.
4364 * text.C (singleWidth): Spurious font copying in hot-spot
4365 singleWidth avoided. Reorder tests for arabic for efficiency.
4367 * text.C (fill): handle empty paragraphs better.
4369 2003-07-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4372 * encoding.h: add includes
4374 * lyxrc.C: remove reading of bind files
4376 * lyx_main.C (init): setup bindings and menus only if we have a
4379 * kbmap.C (read): new method. Do the actual reading of bind
4382 * converter.C (dvipdfm_options):
4385 (output): adapt PAPER_* enums.
4387 * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
4389 * bufferparams.h: remove paper-related enums from there
4391 * paper.h: New file. A trivial header file to hold paper-related
4392 enums. It should later expand to contain many paper-related
4395 * lyxrc.C: declare extern displayTranslator
4397 2003-07-27 José Matos <jamatos@fep.up.pt>
4399 * tabular.[Ch] (linuxdoc): add support for tables and figures
4402 2003-07-27 José Matos <jamatos@fep.up.pt>
4404 * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
4405 consistency in both functions.
4406 * bufferlist.C (updateIncludedTeXfiles): change client to comply.
4408 2003-07-26 Asger Alstrup <alstrup@local>
4410 * rowpainter.C (paintRows): Change algorithm to work directly on
4411 the insets rather than asking every character in the document
4412 whether its an inset.
4414 2003-07.26 Alfredo Braunstein <abraunst@libero.it>
4416 * buffer.C (openFileWrite): factorize some code
4418 2003-07-26 Angus Leeming <leeming@lyx.org>
4421 * lyx_main.[Ch]: replace occurances of system_tempdir with
4424 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4426 * rename Inset to InsetOld
4428 2003-07-25 Asger Alstrup <alstrup@diku.dk>
4430 * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
4431 Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
4432 which I think is a bit clearer. EDIT is gone, since it was
4433 premature optimisation, and broken for mathed anyway.
4434 * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
4435 with cursor positioning in insets as well (math insets still do not
4436 work, but that's a different story anyway.) It mysteriously
4437 crashes sometimes with undo in the first paragraph, but I'm fairly
4438 confident that this is a compiler bug.
4440 2003-07-25 Lars Gullik Bjønnes <larsbj@gullik.net>
4442 * paragraph.C (Paragraph): adjust for new clone return type
4444 (copyIntoMinibuffer): ditto
4446 2003-07-25 Asger Alstrup <alstrup@lyx.org>
4448 * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
4449 by not having a special case, and always doing a full rebreak of
4450 the document after undo.
4452 2003-07-23 Angus Leeming <leeming@lyx.org>
4454 * factory.C (createInset): InsetExternal::setParams now takes a
4457 2003-07-23 Angus Leeming <leeming@lyx.org>
4459 * factory.C (createInset): changed interface to the external and
4460 graphics mailers' string2params functions.
4462 2003-07-23 Angus Leeming <leeming@lyx.org>
4464 * factory.C (createInset): pass a
4465 Buffer const * parameter to InsetExternalMailer's string2params.
4467 2003-07-22 John Levon <levon@movementarian.org>
4469 * Thesaurus.h: include the right aiksaurus header
4471 2003-07-21 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4473 * MenuBackend.C (expand): check menu shortcuts unconditionally
4475 2003-07-21 Angus Leeming <leeming@lyx.org>
4477 * factory.C (createInset): pass a
4478 buffer_path parameter to InsetGraphicsMailer's string2params.
4480 2003-07-21 Angus Leeming <leeming@lyx.org>
4482 * BufferView_pimpl.C (buffer):
4485 * lyxfunc.C (dispatch):
4486 * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
4487 rather than the grfx shortcut.
4489 2003-07-21 André Pönitz <poenitz@gmx.net>
4491 * rowpainter.C: remove unused variables
4494 * tabular_funcs.h: move to tabular.C
4495 * Makefile.am: adjust
4497 * tabular.[Ch]: basic optical cleaning
4499 * author.h: pass references, not values
4501 2003-07-18 André Pönitz <poenitz@gmx.net>
4509 * text3.C: two-phase drawing for InsetText and InsetTabular
4510 some float -> int changes.
4512 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4514 * lyx_main.C: fix the fix
4516 2003-07-18 Alfredo Braunstein <abraunst@libero.it>
4518 * lyx_main.C: fix a crash in batch mode if no files specified
4521 2003-07-17 Alfredo Braunstein <abraunst@libero.it>
4523 * format.[Ch] (papersize): moved to BufferParams
4524 * converter.[Ch] (dvips_options): moved to BufferParams
4525 (dvipdfm_options): moved to anon namespace
4526 * bufferparams.[Ch]: added above functions.
4528 2003-07-17 André Pönitz <poenitz@gmx.net>
4532 * text2.C: don't call inset->update() anymore
4534 * metricsinfo.[Ch]: add convenience constructor
4536 2003-07-16 André Pönitz <poenitz@gmx.net>
4541 * text2.C: replace the LyXCursor::irow_ member with
4542 on-demand computation of the value
4544 2003-07-16 John Levon <levon@movementarian.org>
4546 * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
4548 2003-07-15 André Pönitz <poenitz@gmx.net>
4551 * text2.C: remove no more needed refresh_row
4553 2003-07-15 André Pönitz <poenitz@gmx.net>
4558 * text3.C: refresh_status tristate -> need_update bool
4560 2003-07-15 Alfredo Braunstein <abraunst@libero.it>
4562 * lyxtext.h (init): remove reinit argument (act as if always true)
4563 * text2.C: adjust to that
4565 2003-07-14 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4567 * bufferview_funcs.[Ch]: introduce function replaceSelection()
4568 * text3.C: use it to delete selections in some cases
4569 (bugs 441, 673, 702, 954).
4571 2003-07-14 André Pönitz <poenitz@gmx.net>
4573 * rowpainter.[Ch]: reduce interface
4575 2003-07-14 André Pönitz <poenitz@gmx.net>
4577 * BufferView_pimpl.C:
4578 * text2.C: adjust after removing unused BufferView * argument
4580 2003-07-14 Alfredo Braunstein <abraunst@libero.it>
4582 * text2.C (init): fix a crash fired on resize
4584 2003-07-11 Alfredo Braunstein <abraunst@libero.it>
4586 * buffer.[Ch]: added new closing signal
4587 * BufferView_pimpl.[Ch]: connect/disconnect to new signal
4588 * lyxfunc.C: removed BufferView::buffer(0) call now handled in
4589 BufferView::Pimpl via the closing the signal
4591 2003-07-10 Alfredo Braunstein <abraunst@libero.it>
4593 * buffer.[Ch]: take out all bv-related from buffer
4595 * BufferView_pimpl.[Ch]: connect to new signals
4596 * CutAndPaste.C: removed useless asserts
4597 * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
4600 * lyxfunc.C: moved view-related funciontality from vc here
4601 * paragraph.C: removed outdated comments
4604 2003-07-10 André Pönitz <poenitz@gmx.net>
4606 * BufferView_pimpl.C:
4610 * text2.C: remove InsetText::InnerCache, clean up consequences
4612 2003-07-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
4614 * ispell.C: fix two typos in error messages
4616 2003-07-08 Martin Vermeer <martin.vermeer@hut.fi>
4618 * Extend Note inset to other forms of annotation like Comment
4619 and Greyedout. Right button click gives dialog.
4621 Files modified or added (+):
4625 * ControlNote.[Ch] +
4627 * Makefile.am in frontends/xforms, frontends/xforms/forms,
4628 frontends/controllers
4632 2003-07-01 Juergen Spitzmueller <j.spitzmueller@gmx.de>
4634 * aspell.C: add missing namespace lyx::support
4636 2003-07-07 Alfredo Braunstein <abraunst@libero.it>
4638 * BufferView.[Ch] (newFile): Add
4639 * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
4640 * LaTeX.[Ch] (message): added this signal and use it
4641 * buffer.[Ch] (busy, message): added these signals and use them
4642 * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
4646 * importer.C: use buffer signals instead of direct bv calling
4647 * lyx_cb.[Ch] (ShowMessage): removed
4650 * paragraph_funcs.C:
4651 * text2.C: use buffer signals
4653 2003-07-04 Lars Gullik Bjønnes <larsbj@gullik.net>
4655 * introduce namespace lyx::graphics
4657 2003-07-02 André Pönitz <poenitz@gmx.net>
4659 * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
4661 2003-07-01 André Pönitz <poenitz@gmx.net>
4668 * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
4669 text*.C to text_func.C
4671 2003-07-01 Lars Gullik Bjønnes <larsbj@gullik.net>
4673 * introduce namespace lyx::support
4675 2003-06-30 André Pönitz <poenitz@gmx.net>
4680 * text.C: re-enable --with-included-string
4682 2003-06-28 Lars Gullik Bjønnes <larsbj@gullik.net>
4684 * textcursor.C: add <config.h>
4686 * text.C (getWord): remove const from word_location arg
4688 * lyxvc.C (getLogFile): fix const type order
4690 * lyxtext.h: remove const from word_location arg, add arg name
4692 * lyxlayout.h: currect type on labeltype.
4694 * importer.C: correct \file
4696 * converter.C (intToFormat): use std:: on ret val, ws changes
4698 * bufferlist.h: correct \file
4700 * buffer.C (makeLinuxDocFile): fix const type order
4701 (makeDocBookFile): ditto
4702 (fillWithBibKeys): use std:: on stdlib args.
4704 * CutAndPaste.C: fix authors.
4705 (availableSelections): use std:: on return vector
4707 2003-06-27 André Pönitz <poenitz@gmx.net>
4709 * BufferView_pimpl.C:
4710 * bufferview_funcs.C:
4718 * text3.C: remove LyXCursor::row_ member
4721 * text.C: rename fullRebreak() to partialRebreak() and implement
4722 a fullRebreak() that really bereks fully
4724 * textcursor.h: new struct for cursor-related data
4726 2003-06-26 Alfredo Braunstein <abraunst@lyx.org>
4728 * lyx_main.C (LyX): get full path of document loaded on the
4731 2003-06-26 André Pönitz <poenitz@gmx.net>
4733 * lyxcursor.[Ch]: move rarely used operator==,!= out of line
4734 remove unused/broken operator>,<,>=.
4736 * text.C: remove only use of broken operator<= in an Assert().
4738 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4740 * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
4741 moved errorlist_.clear to showErrorList
4743 2003-06-24 Alfredo Braunstein <abraunst@lyx.org>
4745 * converter.C (scanLog, runLaTeX):
4746 * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
4747 move the bv->showErrorList call to the callers
4748 * lyxfunc.C: i.e. here...
4750 * BufferView.[Ch] (setErrorList, resetErrorList): both removed
4751 * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
4752 namespace, the second to...
4753 * buffer_funcs (BufferFormat, parseErrors): added
4754 * errorlist.C (ErrorList(TeXErrors const &)): removed
4756 2003-06-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4758 * ToolbarBackend.C (getIcon): complain when icon cannot be found
4760 2003-06-24 "Garst R. Reese" <reese@isn.net>
4764 2003-06-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4766 * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
4768 * version.C.in: change docversion to 1.4
4770 2003-06-22 Alfredo Braunstein <abraunst@libero.it>
4772 * buffer.C: fix a bug just introduced
4774 2003-06-21 Alfredo Braunstein <abraunst@libero.it>
4776 * buffer.[Ch]: added the parseError signal and use it, removed
4778 * BufferView.[Ch] (addError): moved to ...
4779 * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
4780 to the Buffer::parseError signal to catch (guess what) parse errors
4781 * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
4783 2003-06-19 Alfredo Braunstein <abraunst@libero.it>
4785 * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
4786 ability to create a buffer and to return an existing one from
4787 the list. Moved these functions to...
4788 * buffer_funcs.[Ch]: added
4789 * BufferView.[Ch] (loadLyXFile): added
4790 * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
4791 job removed from bufferlist::loadLyXFile.
4792 * buffer.C (setReadOnly): make it work without view
4793 (i.e added an if (users))
4795 2003-06-19 Angus Leeming <leeming@lyx.org>
4798 * LyXAction.C (init):
4799 * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
4800 with LFUN_DIALOG_SHOW <name> <data>.
4802 2003-06-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4804 * CutAndPaste.C (availableSelections): small compilation fix for
4805 ancient (gcc 2.9x) compilers
4807 2003-06-18 Lars Gullik Bjønnes <larsbj@gullik.net>
4809 * text3.C (cursorNext): add tmp var
4811 * text2.C (updateCounters): for function calling out of for clause
4812 (replaceSelectionWithString): ditto
4813 (insertStringAsParagraphs): ditto
4814 (getColumnNearX): add tmp var
4815 (setCursorFromCoordinates): add tmp var
4816 (cursorDownParagraph): add tmp var
4817 (deleteEmptyParagraphMechanism): add tmp var
4819 * text.C (insertChar): add tmp var
4821 * rowpainter.C (paintDepthBar): add tmp var
4823 * CutAndPaste.C (availableSelections): potentially check all
4824 paragraphs in a cut to fill the shown strings.
4826 2003-06-18 André Pönitz <poenitz@gmx.net>
4828 * kbmap.[Ch]: use vector<> instead of list<>
4830 2003-06-17 Lars Gullik Bjønnes <larsbj@lyx.org>
4832 * text3.C (dispatch): handle arg to LFUN_PASTE, call
4833 pasteSelection with index
4835 * text2.C (pasteSelection): modify, call pasteSelection with index
4837 * paragraph.C (asString): reimplement version with no interval to
4838 call the one with interval.
4840 * lyxtext.h: add index arg to pasteSelection
4842 * MenuBackend.C (MenuItem): handle PasteRecent
4843 (Menu::read::Menutags): add md_pasterecent
4845 (expandPasteRecent): new function
4848 * MenuBackend.h: add PasteRecent to MenuItem::Kind
4850 * CutAndPaste.C: get rid of some stale comments. Add typdefe for
4852 (availableSelections): new function
4854 2003-06-17 Angus Leeming <leeming@lyx.org>
4856 * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
4858 2003-06-17 Angus Leeming <leeming@lyx.org>
4861 * LyXAction.C (init): new LFUN_DIALOG_SHOW.
4863 * lyxfunc.C (dispatch): invoke it.
4865 2003-06-16 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4867 * iterators.C (operator++, ParPosition): reintroduce some
4868 const_cast for the benefit of older compilers.
4870 2003-06-13 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
4872 * text3.C (dispatch): do not modify clipboard when doing
4873 LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
4874 LFUN_DELETE_SKIP on a selection selection
4876 2003-06-16 André Pönitz <poenitz@gmx.net>
4882 * tabular.[Ch]: IU of clone() and getLabelList();
4884 2003-06-13 André Pönitz <poenitz@gmx.net>
4886 * tabular.h: compactification
4888 2003-06-12 André Pönitz <poenitz@gmx.net>
4892 * tabular_funcs.h: some renaming plus whitespace
4894 2003-06-12 André Pönitz <poenitz@gmx.net>
4897 * BufferView_pimpl.C:
4903 * toc.C: Return a Paragraph & for ParIterator::operator*()
4905 2003-06-11 John Levon <levon@movementarian.org>
4909 * ToolbarBackend.C: add "Toolbars" section and
4912 2003-06-10 Angus Leeming <leeming@lyx.org>
4915 * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
4917 * lyxfunc.C (dispatch): invoke it.
4919 2003-06-11 Lars Gullik Bjønnes <larsbj@gullik.net>
4921 * main.C: protect <ios> with HAVE_IOS
4922 (main): protect sync_with_stdio with HAVE_IOS
4924 2003-06-10 Lars Gullik Bjønnes <larsbj@lyx.org>
4926 * text2.C (cutSelection): adjust
4927 (pasteSelection): adjust
4929 * messages.C: handle get of empty string
4931 * main.C (main): use sync_with_stdio(false)
4933 * lyxfunc.C (dispatch): adjust
4935 * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
4936 (WriteAs): remove unneeded BufferView arg.
4938 * bufferparams.h: use correct types on papersize, papersize2 and
4941 * bufferparams.C (readToken): adjust for type
4942 (writeLaTeX): add missing cases to switch.
4944 * bufferlist.C (quitWriteBuffer): adjust
4947 * buffer.C (asciiParagraph): remove some commented code.
4949 * CutAndPaste.C: remove current_view extern variable.
4950 (cutSelection): add BufferParams arg.
4951 (eraseSelection): add BufferParams arg.
4952 (pasteSelection): add Buffer const & arg
4954 2003-06-07 John Levon <levon@movementarian.org>
4957 * paragraph_funcs.C:
4958 * paragraph_pimpl.C:
4962 * paragraph.C: allow InsetERT to freely space lines,
4963 and some consolidation of code
4965 2003-06-06 José Matos <jamatos@fep.up.pt>
4967 * buffer.C (makeDocBookFile): fix bug #821
4969 2003-06-06 Alfredo Braunstein <abraunst@libero.it>
4971 * BufferView_pimpl.C (dispatch): use Dialogs::visible
4973 2003-06-04 Angus Leeming <leeming@lyx.org>
4975 * buffer.C: bump format to 224.
4977 2003-06-05 André Pönitz <poenitz@gmx.net>
4979 * text2.C (redoParagraphs): remove two const_cast<>
4981 2003-06-04 Lars Gullik Bjønnes <larsbj@lyx.org>
4983 * ParagraphList.h: remove last remnants of NO_STD_LIST
4985 2003-06-03 Angus Leeming <leeming@lyx.org>
4987 * factory.C (createInset): small change to the way InsetExternal's params
4990 2003-06-04 André Pönitz <poenitz@gmx.net>
4992 * buffer.h: use Undo directly instead of shared_ptr<Undo>
4994 * paragraph_pimpl.h:
4995 * paragraph.[Ch]: some Inset -> UpdatableInset changes
4997 * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
4999 * undo_funcs.C: make some simple cases of undo work again
5001 2003-06-03 John Levon <levon@movementarian.org>
5003 * ispell.C: HPUX doesn't have sys/select.h
5006 2003-06-03 John Levon <levon@movementarian.org>
5008 * CutAndPaste.C: update tabular and include inset
5013 * paragraph.C: remove owningBuffer(), don't pass Buffer
5016 * factory.C: insetGraphicsParams changed
5018 2003-06-02 John Levon <levon@movementarian.org>
5024 * text3.C: remove insetparent
5026 2003-06-02 John Levon <levon@movementarian.org>
5029 * buffer.C: fix inset_iterator.end(), move out of line
5032 2003-06-01 John Levon <levon@movementarian.org>
5034 * text3.C: use a proper cut/paste when doing inset
5035 insert (from Jürgen Spitzmüller)
5037 2003-06-01 John Levon <levon@movementarian.org>
5039 * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
5041 2003-05-30 André Pönitz <poenitz@gmx.net>
5043 * rowpainter.C: unify second drawing phase
5045 2003-05-29 Lars Gullik Bjønnes <larsbj@gullik.net>
5047 * trans_mgr.C: remove one case of current_view
5049 * text2.C (cursorBottom): delete NO_STD_LIST stuff
5051 * paragraph_funcs.h: remove paragraph.h include
5053 * paragraph.h: delete NO_STD_LIST stuff
5055 * paragraph.C (Paragraph): delete NO_STD_LIST stuff
5057 * buffer.h: remove paragraph.h include
5059 * ParagraphList.C: delete file
5061 * Makefile.am (lyx_SOURCES): remove ParagraphList.C
5063 * toc.C (getTocList): adjust
5065 * paragraph_pimpl.C (validate): adjust
5067 * paragraph_funcs.C (optArgInset): use const_iterator, adjust
5069 * paragraph.C (Paragraph): adjust
5070 (getPositionOfInset): use const_iterator, adjust
5071 (bibitem): use const_iterator, adjust
5072 (setInsetOwner): adjust
5074 * iterators.C (operator++): adjust
5076 * InsetList.[Ch]: Replace selfmade iterator with standard
5077 vector::iterator also introduce const_iterator. Remove getPos,
5078 getInset and setInset from InsetTable. Adjust accordingly.
5080 * BufferView.C (lockInset): adjust
5081 (ChangeInsets): adjust
5083 * tabular.[Ch]: delete commented same_id functions
5085 2003-05-28 John Levon <levon@movementarian.org>
5087 * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
5089 2003-05-28 André Pönitz <poenitz@gmx.net>
5091 * metricsinfo.[Ch]: remove 'fullredraw' member
5093 2003-05-28 Lars Gullik Bjønnes <larsbj@lyx.org>
5095 * lyxtextclass.C (operator): remove caching.
5097 2003-05-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5101 * text2.C (cursorBottom): adjust
5102 (setCounter): use ParagraphList::find, adjust
5104 * text.C (workWidth): use ParagraphList::find, adjust
5106 * lyxcursor.C (LyXCursor): adjust
5108 * buffer.C (inset_iterator): adjust
5110 * ParagraphList.h: make iterator(value_type) private, make
5111 ParagraphList a friend of iterator.
5113 * ParagraphList.C (find): new function
5115 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
5117 2003-05-27 André Pönitz <poenitz@gmx.net>
5119 * dimension.[Ch]: a -> asc, d -> des, w -> wid
5121 2003-05-27 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
5123 * lyxfont.C (latexWriteStartChanges): fix character count for \noun
5125 2003-05-26 John Levon <levon@movementarian.org>
5127 * LyXAction.C: LFUN_ESCAPE should be ReadOnly
5129 2003-05-26 Lars Gullik Bjønnes <larsbj@gullik.net>
5131 * remove same_id from function signatures, adjust.
5133 2003-05-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5135 * undo_funcs.C (createUndo): use the id functions directly, adjust.
5137 * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
5139 * paragraph.C (Paragraph): get rid of same_ids parameter
5141 * ParagraphList.C (insert): adjust
5144 2003-05-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5146 * paragraph_funcs.C (breakParagraph): adjust
5147 (breakParagraphConservative): adjust
5149 * buffer.C (readParagraph): adjust
5151 * ParagraphList.C (insert): take a reference instead of a pointer
5154 * paragraph.[Ch] (id): new function
5156 * bufferlist.C (newFile): adjust
5158 * ParagraphList.C (ParagraphList): adjust
5160 (push_back): take a reference instead of a pointer.
5162 * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
5164 * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
5167 * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
5168 set else use old code.
5170 * ParagraphList.C: remove all NO_NEXT code and only compile this
5171 code of NO_STD_LIST is set.
5173 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5175 * BufferView_pimpl.C:
5185 * graphics/GraphicsConverter.C:
5186 * graphics/PreviewLoader.C: header adjustment
5188 2003-05-23 Angus Leeming <leeming@lyx.org>
5190 * LaTeXFeatures.[Ch] (useBabel): new method.
5191 * bufferparams.C (writeLaTeX): use it.
5193 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5195 * ParagraphList.h (set): remove unused function.
5197 2003-05-23 André Pönitz <poenitz@gmx.net>
5200 * BufferView_pimpl.C:
5204 * undo_funcs.C: setUndo reworked
5206 * iterators.[Ch]: add access to topmost ParagraphList
5208 * lyxtext.[Ch] (workWidth): add a const
5210 2003-05-23 Alfredo Braunstein <abraunst@libero.it>
5212 * texrow.[Ch] (increasePos): remove function
5213 * exporter.C (export): removed unused var and outdated comment
5215 2003-05-23 Angus Leeming <leeming@lyx.org>
5217 * latexrunparams.h: rename fragile as moving_arg.
5218 * paragraph.C (simpleTeXOnePar): ditto.
5219 * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
5221 2003-05-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5223 * undo_funcs.C (textHandleUndo): comment out next/previous stuff
5225 (textUndoOrRedo): comment out a currently unused var.
5227 * paragraph.h (NO_NEXT): enable NO_NEXT
5229 * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
5231 * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
5233 * exporter.C (Export): adjust for removeAutoInsets removal.
5235 * buffer.C (runChktex): adjust for removeAutoInsets removal.
5237 * LyXAction.C (init): remove LFUN_REMOVEERRORS
5239 * BufferView.[Ch] (removeAutoInsets): delete function
5241 2003-05-22 Angus Leeming <leeming@lyx.org>
5243 * latexrunparams.h: add a free_spacing variable.
5245 * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
5246 to pass moving_arg, as the data is stored in runparams.fragile.
5248 * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
5249 to Inset::latexOptional or to simpleTeXOnePar.
5251 * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
5252 free_spacing arg to Inset::latexOptional.
5254 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5257 2003-05-22 Angus Leeming <leeming@lyx.org>
5259 * latexrunparams.h: add fragile and use_babel variables.
5261 * bufferparams.[Ch] (writeLaTeX): return use_babel.
5262 * buffer.C (makeLaTeXFile): store this returned value in
5263 runparams.use_babel, thus passing it to the inset::latex methods.
5265 * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
5266 simpleTeXSpecialChars as it is now stored in runparams.fragile.
5268 * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
5269 longer has a fragile arg, as it is stored in runparams.fragile.
5271 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
5272 moving_arg parameter as the data is stored in runparams.fragile.
5274 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
5275 a fragile parameter as the data is stored in runparams.fragile.
5277 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5279 * paragraph.C (Paragraph): initialize next_par_ and prev_par_
5281 2003-05-22 Angus Leeming <leeming@lyx.org>
5283 * latexrunparams.h: add a 'bool nice' which defaults to false.
5285 * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
5286 now encapsulated within runparams.
5288 * bufferlist.C (updateIncludedTeXfiles):
5289 * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
5291 2003-05-22 Angus Leeming <leeming@lyx.org>
5293 * latexrunparams.h: new file containing struct LatexRunParams.
5294 * Makefile.am: add new file.
5296 * LaTeX.[Ch] (c-tor, run):
5297 * buffer.[Ch] (makeLaTeXFile):
5298 * bufferlist.[Ch] (updateIncludedTeXfiles):
5299 * converter.C (convert, scanLog):
5300 * converter.[Ch] (runLaTeX):
5301 * exporter.C (Export):
5302 * paragraph.[Ch] (simpleTeXOnePar):
5303 * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
5304 * paragraph_funcs.[Ch] (latexParagraphs):
5305 * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
5306 * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
5307 pass around a LatexRunParams parameter.
5309 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5311 * paragraph.[Ch]: remove unused constructor
5313 * ParagraphList.C (erase): new function, taking two iterators
5315 2003-05-22 André Pönitz <poenitz@gmx.net>
5317 * undo_funcs.C: remove duplicated code
5319 * iterator.[Ch]: operator=
5321 2003-05-22 Lars Gullik Bjønnes <larsbj@gullik.net>
5323 * tabular.C (SetMultiColumn): ws changes
5325 * rowpainter.C (paintFirst): get rid of a ->previous
5327 * lyx_cb.C (getPossibleLabel): parlist simplification
5329 * BufferView.C (ChangeInsets): simplify slightly.
5331 2003-05-20 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5333 * LyXAction.C: new lfun space-insert, kill protected-space-insert
5334 * lfuns.h: new LFUN_SPACE
5335 * lyxfunc.C: protected space has a new lfun
5336 * paragraph_funcs.C: read new space insets
5338 * factory.C: handle new space insets
5340 2003-05-22 André Pönitz <poenitz@gmx.net>
5343 * BufferView_pimpl.C:
5346 * undo_funcs.C: return a ParIterator from getParFromID.
5348 * iterators.[Ch]: add two const's
5350 2003-05-21 Lars Gullik Bjønnes <larsbj@gullik.net>
5352 * toc.C (getTocList): adjust
5354 * iterators.[Ch]: rework for parlist
5356 * buffer.C (par_iterator_begin): adjust
5357 (par_iterator_end): adjust
5359 * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
5361 * BufferView.C (removeAutoInsets): adjust
5362 (ChangeInsets): adjust
5364 2003-05-21 Alfredo Braunstein <abraunst@libero.it>
5366 * text.C (top_y): fix bug 1110
5368 2003-05-08 Alfredo Braunstein <abraunst@libero.it>
5370 * errorlist.[Ch]: added
5373 * BufferView_pimpl.C:
5374 * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
5377 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5379 * Makefile.am: ensure that lyx is relinked upon changes to the
5380 various "convenience" libs.
5382 2003-05-20 Angus Leeming <leeming@lyx.org>
5384 * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
5385 files are compiled in alphabetical order again.
5387 * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
5389 2003-05-19 Angus Leeming <leeming@lyx.org>
5391 * gettext.[Ch]: remove "char const * _(char const *)".
5393 2003-05-19 André Pönitz <poenitz@gmx.net>
5395 * dimension.[Ch]: promote from mathed/dimension.[Ch]
5404 * paragraph_funcs.C: dimensions() instead of ascend/descend/width
5406 2003-05-19 André Pönitz <poenitz@gmx.net>
5410 * lyxtextclass.[Ch]:
5412 * paragraph_funcs.[Ch]:
5414 * text3.C: more insetenv work
5416 2003-05-16 Alfredo Braunstein <abraunst@libero.it>
5418 * ParagraphParameters.C (params2string): small bug fixed
5420 2003-05-16 André Pönitz <poenitz@gmx.net>
5423 * bufferview_funcs.C: patch from Kornel Benko to prevent
5424 crash when _(...) is called twice in a statement
5426 2003-05-16 André Pönitz <poenitz@gmx.net>
5433 * undo_funcs.C: edit() -> LFUN_INSET_EDIT
5435 2003-05-14 Alfredo Braunstein <abraunst@libero.it>
5437 * lyx_main.C (init): remove spurious static_cast
5439 2003-05-14 André Pönitz <poenitz@gmx.net>
5441 * BufferView.C: fix format string
5443 2003-05-12 Alfredo Braunstein <abraunst@libero.it>
5445 * BufferView.[Ch] (insertErrors): removed
5446 * BufferView.[Ch] (showErrorList): added
5447 * buffer.C (runChkTeX):
5448 * converter.C (scanLog): call showErrorList instead of inserterrors
5450 2003-05-13 André Pönitz <poenitz@gmx.net>
5452 * BufferView_pimpl.C:
5454 * bufferview_func.C:
5461 * tabular_funcs.h: tostr() from its own header
5463 * ParagraphParameters.C:
5468 * text3.C: STRCONV()
5470 2003-05-12 André Pönitz <poenitz@gmx.net>
5473 * BufferView_pimpl.C:
5477 * ParagraphParameters.C:
5481 * bufferview_funcs.C:
5494 * paragraph_funcs.C:
5498 * text3.C: boost::format -> bformat all over the place
5501 2003-05-09 André Pönitz <poenitz@gmx.net>
5503 * LColor.[Ch]: Pimpl the #include <map> away
5505 2003-05-09 John Levon <levon@movementarian.org>
5507 * bufferlist.C: never remove emergency saves
5509 2003-05-08 Lars Gullik Bjønnes <larsbj@gullik.net>
5511 * Makefile.am: better lib building
5513 2003-05-07 Lars Gullik Bjønnes <larsbj@gullik.net>
5515 * texrow.[Ch]: remove dependency on Paragraph and just store a id
5517 * paragraph_pimpl.C (simpleTeXBlanks): adjust
5518 (simpleTeXSpecialChars): adjust
5519 (simpleTeXSpecialChars): adjust
5520 * paragraph.C (simpleTeXOnePar): adjust
5521 * buffer.C (makeLaTeXFile): adjust
5523 * Makefile.am (BOOST_LIBS): allow boost as system lib.
5525 * text2.C (changeDepth): parlist cleanup
5526 (getColumnNearX): ditto
5528 * rowpainter.C (getLabelFont): parlist cleanup
5530 * bufferlist.C (newFile): parlist cleanup
5532 * CutAndPaste.C (eraseSelection): parlist cleanup
5534 * BufferView_pimpl.C (trackChanges): parlist cleanup
5537 * BufferView.C (lockInset): parlist cleanup.
5538 (ChangeInsets): ditto
5540 2003-05-06 Lars Gullik Bjønnes <larsbj@gullik.net>
5542 * CutAndPaste.h: Update file header.
5544 * CutAndPaste.C: Update file header.
5545 Store the parts cut out of the Document in a limited_stack.
5546 (copySelection): adjust
5547 (pasteSelection): new function, takes the index in the limited stack.
5548 (nrOfParagraphs): adjust
5549 (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
5550 simplify error inset insertion.
5551 (checkPastePossible): adjust
5553 2003-05-06 John Levon <levon@movementarian.org>
5555 * text2.C: don't cast wrap inset to float
5557 2003-05-05 André Pönitz <poenitz@gmx.net>
5560 * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
5562 * buffer.[Ch]: new function hasParWithId() to help to get rid of a
5563 few naked Paragraph *.
5565 2003-05-02 Michael Schmitt <michael.schmitt@teststep.org>
5567 * bufferparams.C: Output warning if a document with missing
5568 TeX document class is loaded
5569 * exporter.C: Disable TeX exports if the document class is missing
5572 * lyxtextclasslist.C: Handle new textclass.lst format; new method
5573 isTeXClassAvailable()
5575 2003-05-03 John Levon <levon@movementarian.org>
5578 * BufferView.C: remove showLockedInsetCursor(), showCursor(),
5579 explicit cursor show/hide
5581 * BufferView_pimpl.h:
5582 * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
5583 after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
5585 * lyxfunc.C: hide cursor before dispatching.
5590 * text3.C: remove explicit cursor hides
5592 2003-05-02 André Pönitz <poenitz@gmx.net>
5594 * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
5597 * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
5600 * text2.C: tiny whitespace
5602 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5604 * undo_funcs.C: almost only ws changes.
5606 * ParagraphList.C (splice): just return if pl is empty.
5608 2003-05-02 Lars Gullik Bjønnes <larsbj@gullik.net>
5610 * ParagraphList.C (splice): new function.
5612 * CutAndPaste.C (pasteSelection): use it
5614 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5616 * CutAndPaste.C (pasteSelection): remove the last next and
5617 previous from this file.
5619 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5621 * CutAndPaste.C (pasteSelection): more clean up, user proper
5622 ParagraphList functions for pasteing.
5624 * ParagraphList.C (insert): new function, three arg insert
5626 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5628 * ParagraphList.C (insert): new function, three arg insert
5630 * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
5633 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5635 * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
5637 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5639 * CutAndPaste.C (pasteSelection): remove some unneeded code.
5641 2003-05-01 Lars Gullik Bjønnes <larsbj@gullik.net>
5643 * CutAndPaste.C (resetOwnerAndChanges): new helper functor
5644 (copySelection): clean up a bit.
5645 (pasteSelection): use make_pair
5647 * ParagraphList.C (ParagraphList): implement copy constructor
5648 (operator=): implement, base on copy constructor.
5651 * paragraph.C (erase): return a bool
5653 * paragraph_pimpl.C (erasePos): remove function, move contents...
5654 (erase): ... here. Return a bool.
5655 (erase): call erase instead of erasePos.
5657 2003-04-30 Alfredo Braunstein <abraunst@libero.it>
5659 * ParagraphList.h: define PitPosPair
5660 * CutAndPaste.C (copySelection, pasteSelection): big rework, use
5661 ParagraphList, fix a bug on pasting multiple pars
5662 * text2.C: change interface to C&P
5664 2003-04-30 André Pönitz <poenitz@gmx.net>
5666 * undo_func.C: revert part of yesterday's patch 2
5668 2003-04-30 John Levon <levon@movementarian.org>
5670 * LColor.C: s/tabular/table/
5672 2003-04-30 Lars Gullik Bjønnes <larsbj@gullik.net>
5674 * text3.C (dispatch): do not convert iterator -> pointer
5675 * undo_funcs.C (setCursorParUndo): ditto
5676 * text_funcs.C (transposeChars): ditto
5678 * text2.C (setLayout): ws changes only
5680 * text.C (breakParagraph): do not convert iterator -> pointer
5682 (acceptChange): ditto
5683 (rejectChange): ditto
5688 * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
5691 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5693 * text3.C (gotoInset): YABG (yet another bad getChar)
5695 2003-04-29 André Pönitz <poenitz@gmx.net>
5697 * paragraph.h: make operator= private unimplemented as long as
5700 * ParagraphList.C: whitespace
5703 * paragraph_pimpl.[Ch]:
5704 * paragraph_funcs.C:
5706 * undo_funcs.C: whitespace + Paragraph * -> Paragraph (const) &
5709 undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
5711 2003-04-29 Alfredo Braunstein <abraunst@libero.it>
5713 * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
5714 * paragraph.[Ch] (erase):
5715 * paragraph_pimpl.[Ch] (erase): change return type and value
5716 * text2.C (cutSelection): some rework
5718 2003-04-28 John Levon <levon@movementarian.org>
5720 * bufferlist.C: changes for unsaved changes dialog
5722 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5724 * bufferlist.C (newFile): set language (messages_) for new
5727 * buffer.C (readFile): ws changes only.
5729 2003-04-28 André Pönitz <poenitz@gmx.net>
5734 * BufferView_pimpl.C:
5735 * BufferView.C: getParFromID related ParagraphList::iterator changes
5737 2003-04-28 André Pönitz <poenitz@gmx.net>
5739 * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
5742 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5744 * messages.C: remove one more localedir class variable.
5746 2003-04-28 Lars Gullik Bjønnes <larsbj@gullik.net>
5748 * messages.C (getLocaleDir): singleton generation function
5750 (Messages): add a default constructor.
5752 * main.C (main): do not setup localedir here, do not call
5755 * gettext.C (_): use it.
5756 (gettext_init): delete funciton
5758 2003-04-27 Lars Gullik Bjønnes <larsbj@gullik.net>
5760 * gettext.C (getLyXMessages): new singleton generating function.
5762 * buffer.C (updateDocLang): adjust
5764 * Makefile.am (messages.o): add target
5765 (main.o): remove target
5767 2003-04-27 John Levon <levon@movementarian.org>
5772 * lyxvc.C: specify cancel button in Alert::prompt
5774 2003-04-26 John Levon <levon@movementarian.org>
5779 * LyXAction.C: add LFUN_INSET_SETTINGS
5781 * lyxfunc.C: don't enable tabular-feature when there's
5782 just any locking inset
5784 2003-04-26 John Levon <levon@movementarian.org>
5786 * bufferlist.C: re-add Cancel to buffer close question
5788 * lyxfunc.C: fix import UI a bit
5790 2003-04-25 John Levon <levon@movementarian.org>
5792 * gettext.C: remove the broken asserts for now
5794 2003-04-25 Lars Gullik Bjønnes <larsbj@gullik.net>
5796 * messages.C: make case where setlocale cannot comply work better.
5798 * buffer.C (updateDocLang): new function
5799 (changeLanguage): use it
5802 * text2.C (setCounter): use B_ a bit.
5804 * lyxlayout.C (Read): be sure to trim the label strings.
5806 * messages.C (Messages): fix typo in comment
5808 * buffer.C (readFile): set message_ after file is loaded.
5809 (makeDocBookFile): remove double return
5810 (changeLanguage): reset message_ upon language change.
5811 (B_): new func, use this to get translated buffer strings.
5813 * main.C: add myself and Jean Marc as authors.
5815 2003-04-24 Lars Gullik Bjønnes <larsbj@gullik.net>
5817 * messages.[hC]: pimplify Messages, and three different pimpls to be
5818 used in different circumstances.
5820 * gettext.[Ch]: change for use with new message code.
5822 2003-04-24 André Pönitz <poenitz@gmx.net>
5824 * factory.C: support for eqref
5826 2003-04-23 Lars Gullik Bjønnes <larsbj@gullik.net>
5828 * messages.[Ch]: add missing char
5830 * Makefile.am (lyx_SOURCES): add messages.[Ch]
5832 * messages.[Ch]: New files
5834 2003-04-18 John Levon <levon@movementarian.org>
5838 * BufferView_pimpl.C:
5842 * text2.C: remove layout-copy/paste (bug 778)
5844 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5846 * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
5848 2003-04-16 Alfredo Braunstein <abraunst@libero.it>
5850 * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
5851 if they succeed. Act accordingly.
5853 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5855 * text2.C (setCharFont): adjust
5856 (setCounter): adjust
5857 (insertStringAsLines): adjust
5859 * text.C (leftMargin): adjust
5860 (setHeightOfRow): adjust
5862 * rowpainter.C (paintFirst): adjust
5865 * paragraph_funcs.C (depthHook): ParagraphList::iterators
5867 (isFirstInSequence): ditto
5868 (getEndLabel): ditto
5871 * paragraph.C (getParLanguage): comment out some hard stuff.
5873 * buffer.C (insertStringAsLines): take a ParagraphList as arg
5875 (simpleDocBookOnePar): ditto
5876 (makeDocBookFile): use ParagraphList::iterator
5878 * CutAndPaste.C (pasteSelection): adjust
5880 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5882 * text2.C (getFont): adjust
5883 (getLayoutFont): adjust
5884 (getLabelFont): adjust
5886 * paragraph_funcs.C (TeXOnePar): adjust
5888 * buffer.C (simpleLinuxDocOnePar): adjust
5889 (simpleDocBookOnePar): adjust
5891 * CutAndPaste.C (pasteSelection): adjust
5893 * BufferView.C (getEncoding): adjust
5895 * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
5897 2003-04-16 John Levon <levon@movementarian.org>
5899 * lyxfind.C: use parlist stuff for search/changes
5901 2003-04-16 Lars Gullik Bjønnes <larsbj@gullik.net>
5903 * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
5905 * text2.C (deleteEmptyParagraphMechanism): adjust
5907 * text2.[Ch] (ownerParagraph): delete func (both of them
5909 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5911 * text_funcs.C (transposeChars): use ParagraphList::iterator here.
5913 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5915 * ParagraphList.C: prepare for NO_NEXT
5917 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5919 * text2.C (getFont): adjust
5920 (getLayoutFont): adjust
5921 (getLabelFont): adjust
5923 * paragraph.C (getFont): adjust
5924 (getLabelFont): adjust
5925 (getLayoutFont): adjust
5927 * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
5929 2003-04-15 John Levon <levon@movementarian.org>
5933 * lyx_main.C: handle Include in .ui files
5935 2003-04-15 John Levon <levon@movementarian.org>
5937 * MenuBackend.C: make the doc files length shorter
5940 * ToolbarBackend.C: handle toolbar placement flags,
5943 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5945 * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
5948 * paragraph_funcs.C (TeXOnePar): adjust
5950 * paragraph.C (getLabelFont): add outerfont arg, adjust
5951 (getLayoutFont): ditto
5952 (simpleTeXOnePar): adjust
5954 * paragraph_pimpl.C (realizeFont): delete func
5956 2003-04-14 Alfredo Braunstein <abraunst@libero.it>
5958 * text2.C (beforeFullRowInset): added a bad getchar check, removed
5959 row argument, constify cur argument.
5961 2003-04-15 Lars Gullik Bjønnes <larsbj@gullik.net>
5963 * text2.C (getFont): adjust
5964 (getLayoutFont): adjust
5965 (getLabelFont): adjust
5967 * paragraph_funcs.C (TeXOnePar): adjust
5968 (outerFont): new func...
5969 (realizeFont): ...moved out from here, changed this to facilitate
5972 * paragraph.C (getFont): take outerfont as arg, adjust
5973 (simpleTeXOnePar): add outerfont arg, adjust
5975 * buffer.C (simpleLinuxDocOnePar): adjust
5976 (simpleDocBookOnePar): adjust
5978 * CutAndPaste.C (pasteSelection): adjust
5980 * BufferView.C (getEncoding): adjust
5982 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
5984 * text2.C (setCharFont): adjust
5985 (setCounter): adjust
5987 * text.C (leftMargin): adjust
5988 (setHeightOfRow): adjust
5990 * rowpainter.C (paintFirst): adjust
5993 * paragraph_pimpl.C (realizeFont): adjust
5995 * paragraph.C (isFirstInSequence): move from here...
5996 * paragraph_funcs.C (isFirstInSequence): ...to here
5998 * paragraph.C (outerHook): move from here...
5999 * paragraph_funcs.C (outerHook): ...to here
6001 * paragraph.C (depthHook): move from here...
6002 * paragraph_funcs.C (depthHook): ...to here
6004 * paragraph.C (getEndLabel): move from here...
6005 * paragraph_funcs.C (getEndLabel): ...to here
6007 * text2.C (realizeFont): move from here...
6008 * paragraph_funcs.C (realizeFont): ...to here
6010 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6012 * text3.C (gotoNextInset): use separate tmp vars for par and pos.
6014 2003-04-14 Angus Leeming <leeming@lyx.org>
6016 * LColor.[Ch]: scrap LColor mathcursor.
6018 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6020 * lyxlex.[Ch] (text): delete function
6021 * trans.C (Load): adjust
6022 * paragraph_funcs.C (readParToken): adjust
6024 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6026 * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
6027 vector<char> instead of a char[].
6029 * lyxlex_pimpl.C (getString): adjust
6031 (lex): use getString
6035 * lyxlex.C (text): use pimpl_->getString()
6039 2003-04-14 Lars Gullik Bjønnes <larsbj@gullik.net>
6041 * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
6042 (makeFontEntriesLayoutSpecific): temp var for par.size()
6043 (setLayout): temp var for ownerParagraphs().end()
6044 (fullRebreak): temp var for rows().end()
6045 (selectionAsString): temp var for boost::next(startpit), realize
6046 that the while really is a regular for loop.
6047 (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
6048 setCursor in one place.
6049 (setParagraph): temp vr for ownerParagraphs().end()
6050 (updateCounters): make the while loop a for loop
6051 (cutSelection): temp var for ownerParagraphs().end()
6052 (updateInset): make the do {} while() a regular for loop
6053 (getCursorX): use temp vars
6054 (setCurrentFont): use temp vars
6055 (getColumnNearX): use temp vars
6057 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6059 * text.C (transformChar): use temp var for getChar
6060 (computeBidiTables): use temp var for row->par()
6061 (fill): move temp vars for row->par() and pit->layout() earlier in
6063 (labelFill): use temp var for row->par()
6064 (setHeightOfRow): do not allow rit to be RowList::end, get rid of
6065 asc and desc, realize that pit never changes and that firstpit is
6066 just a duplicate and not needed. Exchange rit->par() with pit in a
6068 (breakAgain): use a temp var for boost::next(rit)
6069 (breakAgainOneRow): ditto
6070 (breakParagraph): use a temp var for rows().begin()
6071 (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
6072 (cursorRightOneWord): use temp var for cursor.par() and
6073 cursor.pos(), remove usage of tmpcursor.
6074 (cursorLeftOneWord): use temp var for cursor.par() and
6075 cursor.pos() only set cur at end of function.
6077 2003-04-13 Lars Gullik Bjønnes <larsbj@gullik.net>
6079 * text.C, text2.C: exchange all usage of Paragraph::next with
6080 boost::next(ParagraphList::iterator)
6082 * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
6084 * text2.C (cursorTop): simplify implementation
6085 (cursorBottom): ditto
6086 (setParagraph): use ParagraphList::iterator
6087 (setCurrentFont): adjust
6088 (getColumnNearX): adjust
6089 (cursorRight): adjust
6090 (cursorLeft): remove usage of Paragraph::previous
6091 (cursorUpParagraph): ditto
6092 (deleteEmptyParagraphMechanism): slight cleanup
6094 * text.C (isBoundary): take a Paragraph const & instead of a
6096 (addressBreakPoint): ditto
6097 (leftMargin): remove usage of Paragraph::previous.
6098 (setHeightOfRow): ditto
6099 (cursorLeftOneWord): ditto
6100 (selectNextWordToSpellcheck): ditto
6103 (breakParagraph): remove one usage of Paragraph::next
6104 (redoParagraph): ditto
6105 (acceptChange): ditto
6106 (insertChar): adjust
6107 (rowBreakPoint): adjust
6109 * bufferview_funcs.C (toggleAndShow): adjust
6111 2003-04-11 Alfredo Braunstein <abraunst@libero.it>
6113 * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
6114 methods to access it.
6116 * text.C: Added updateRowPositions to compute all row positions.
6117 Make top_y and getRowNearY() to use the cached y position
6119 2003-04-11 John Levon <levon@movementarian.org>
6121 * text.C (rowBreakPoint): reintroduce the labelEnd
6122 checks, code copied from the row fill stuff. Deep voodoo.
6124 * text.C (fill): add a comment and debugging for the
6127 2003-04-11 John Levon <levon@movementarian.org>
6129 * text.C: make sure fullrow insets get wrapped to the next line,
6130 even when they're in a manual label
6132 2003-04-10 Lars Gullik Bjønnes <larsbj@gullik.net>
6134 * text2.C (insertParagraph): make it take ParagraphList::iterator
6136 (setLayout): make it return ParagraphList::iterator
6137 (redoParagraphs): ditto
6139 (checkParagraph): ditto
6141 * text.C (getRow): make getrow take ParagraphList::iterator as arg
6143 * text2.C: adjust several funcs.
6144 (realizeFont): take a ParagraphList::iterator as arg.
6145 (getLayoutFont): ditto
6146 (getLabelFont): ditto
6147 (setCharFont): ditto
6149 * text.C: adjust several funcs.
6151 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6153 * text.C (selectNextWordToSpellcheck): don't accidentally
6156 2003-04-10 John Levon <levon@movementarian.org>
6158 * ToolbarBackend.C (getIcon): special handling for
6161 2003-04-09 Alfredo Braunstein <abraunst@libero.it>
6163 * text2.C (cursorRight): a getChar assert fixed
6165 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6167 * text2.C (getFont): change to take a ParagraphList::iterator
6168 instead of Paragraph*
6169 Adjust several functions.
6171 * text.C (transformChar): change to take a ParagraphList::iterator
6172 instead of Paragraph*
6173 (singleWidth): ditto
6174 Adjust several functions.
6176 * rowpainter.C: adjust several functions
6177 * rowpainter.h:store a ParagraphList::iterator and not a
6181 2003-04-09 John Levon <levon@movementarian.org>
6186 * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
6187 and the "help" bits as well
6189 2003-04-09 John Levon <levon@movementarian.org>
6192 * ToolbarBackend.C: allow multiple toolbars
6194 2003-04-09 Lars Gullik Bjønnes <larsbj@gullik.net>
6196 * undo_funcs.C (setCursorParUndo): adjust
6198 * text_funcs.C (transposeChars): adjust
6200 * text3.C (gotoNextInset): adjust
6203 * text2.C (setLayout): adjust
6204 (changeDepth): adjust
6206 (redoParagraphs): adjust
6207 (selectionAsString): adjust
6208 (setParagraph): adjust
6209 (insertInset): adjust
6210 (cutSelection): adjust
6211 (copySelection): adjust
6212 (pasteSelection): adjust
6213 (insertStringAsLines): adjust
6214 (updateInset): adjust
6215 (setCursor): change to take a ParagraphList::iterator parameter
6216 (setCursorIntern): change to take a ParagraphList::iterator parameter
6217 (setCurrentFont): adjust
6218 (cursorLeft): adjust
6219 (cursorRight): adjust
6220 (deleteEmptyParagraphMechanism): adjust
6222 * text.C (breakParagraph): adjust
6223 (insertChar): adjust
6224 (acceptChange): adjust
6225 (rejectChange): adjust
6226 (selectNextWordToSpellcheck): adjust
6227 (changeCase): adjust
6231 * lyxfind.C (SearchForward): adjust
6232 (SearchBackward): adjust
6233 (nextChange): adjust
6235 * lyxcursor.C (par): adjust
6237 * lyxcursor.h: store a ParagraphList::iterator instead of a
6240 * lyx_cb.C (getPossibleLabel): adjust
6242 * bufferview_funcs.C (toggleAndShow): adjust
6244 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
6247 * BufferView.C (removeAutoInsets): adjust
6248 (lockedInsetStoreUndo): adjust
6250 2003-04-09 John Levon <levon@movementarian.org>
6252 * ToolbarBackend.C: try icon without argument
6253 if with argument fails
6255 2003-04-08 John Levon <levon@movementarian.org>
6258 * ToolbarBackend.C: add getIcon(), handle tooltip,
6259 and change from "Icon" to "Item".
6261 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6263 * BufferView.C (lockInset): another bad getchar crunched
6265 2003-04-08 Alfredo Braunstein <abraunst@libero.it>
6267 * text2.C (changeDepth): do not setUndo on test_only (make undo work
6270 2003-04-05 Alfredo Braunstein <abraunst@libero.it>
6272 * lyxfind.C (searchForward, searchBackwards): bug 782
6274 2003-04-07 John Levon <levon@movementarian.org>
6276 * paragraph.C: remove dead comment
6278 * text.C: remove troublesome depth-fiddling code
6279 in leftMargin() and rightMargin() (bug 1017)
6281 * text.C: fix breaking of rows in nested lists
6284 * text2.C (updateCounters): fix up depth values
6287 2003-04-07 John Levon <levon@movementarian.org>
6289 * BufferView_pimpl.C: clear message when doc finishes resizing,
6290 and after a mouse event
6292 * lyxfunc.C: clear message after exiting inset
6294 2003-04-07 John Levon <levon@movementarian.org>
6296 * bufferview_funcs.C: show math status not outside
6297 status in the statusbar
6299 2003-04-07 John Levon <levon@movementarian.org>
6301 * lyxfunc.C: note status changed after a depth change
6303 2003-04-04 Angus Leeming <leeming@lyx.org>
6305 * LaTeX.h: move AuxInfo operator==, != out of line.
6306 Remove LaTeX virtual destructor; nothing derives from it.
6307 Move operator()() out of public area and rename it startscript().
6308 Change protected for private.
6310 2003-04-04 Angus Leeming <leeming@lyx.org>
6313 * text2.C: remove unneeded #includes.
6315 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6317 * text2.C (dEPM): fix the heigth of the next row
6319 2003-04-03 Alfredo Braunstein <abraunst@libero.it>
6321 * text.C: squashed an invalid getChar requester + some ws changes
6323 2003-04-03 John Levon <levon@movementarian.org>
6325 * bufferview_funcs.h:
6326 * bufferview_funcs.C:
6329 * text2.C: make getStatus work for the env depth lfuns
6331 2003-04-03 John Levon <levon@movementarian.org>
6333 * bufferview_funcs.h:
6334 * bufferview_funcs.C:
6337 * text2.C: parlistize decDepth(), by merging it with incDepth()
6339 2003-04-03 Lars Gullik Bjønnes <larsbj@gullik.net>
6341 * lyxrow.h: store a ParagraphList::iterator instead of a
6342 Paragraph* and adjust other class functions to suit.
6344 * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
6347 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6349 * text2.C (setCursor): do not anchor to cursor row for the time being
6351 2003-04-02 John Levon <levon@movementarian.org>
6358 * text3.C: rename the "tab" lfuns. Remove tab support from normal text
6360 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6362 * paragraph.h: make ParagraphList and ParagraphList::iterator
6363 friends of Paragraph.
6365 * buffer.C (makeLinuxDocFile): move towards ParagraphList
6367 * ParagraphList.C: Use the private next_ and previous_ from
6370 2003-04-01 John Levon <levon@movementarian.org>
6374 * Makefile.am: rename, remove defaults gunk
6377 * MenuBackend.C: remove defaults gunk
6380 * Languages.C: remove defaults gunk
6383 * lyx_main.C: error out if files couldn't be found.
6385 2003-04-02 John Levon <levon@movementarian.org>
6387 * text2.C: make incDepth() use parlist
6389 2003-04-02 Lars Gullik Bjønnes <larsbj@gullik.net>
6391 * undo_funcs.C (firstUndoParagraph): adjust
6393 * text3.C (gotoInset): adjust
6394 (dispatch): adjust, and rewrite loop.
6396 * text2.C (init): adjust, and rewrite loop.
6397 (redoParagraphs): adjust
6398 (updateInset): adjust, and rewrite loop.
6399 (deleteEmptyParagraphMechanism): adjust
6401 * tabular.C (LyXTabular): adjust
6402 (SetMultiColumn): adjust
6405 * lyxtext.[Ch] (ownerParagraph): delete function
6406 (ownerParagraphs): new function returns a ParagraphList.
6408 * BufferView.C (removeAutoInsets): adjust
6409 (insertErrors): adjust
6410 (setCursorFromRow): adjust
6412 2003-04-01 Angus Leeming <leeming@lyx.org>
6414 * BufferView_pimpl.C (buffer): ensure that the Layout is correct
6417 2003-04-02 John Levon <levon@movementarian.org>
6423 * text_funcs.C: make transposeChars a free function
6425 * lyxrow_funcs.C: remove wrong comment
6427 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6430 * rowpainter.C: adjust
6435 * lyxrow_funcs. [Ch]: new files
6437 * lyxrow.[Ch]: remove next and previous pointers
6438 (next,previous): remove accessor functions
6439 (isParEnd): move to lyxrow_funcs
6440 (lastPos): move to lyxrow_funcs
6441 (nextRowIsAllInset): move to lyxrow_funcs
6442 (lastPrintablePos): move to lyxrow_funcs
6443 (numberOfSeparators): move to lyxrow_funcs
6444 (numberOfHfills): move to lyxrow_funcs
6445 (numberOfLabelHfills): move to lyxrow_funcs
6446 (hfillExpansion): move to lyxrow_funcs
6450 * bufferview_funcs.C (toggleAndShow): adjust
6452 * RowList.h: Remove class RowList from file leave just a
6455 * RowList.C: delete file
6457 * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
6460 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6462 * text3.C (cursorPrevious): adjust
6463 (cursorNext): adjust
6466 * text2.C (redoHeightOfParagraph): adjust
6467 (redoDrawingOfParagraph): adjust
6470 * text.C (breakParagraph): adjust
6471 (insertChar): adjust
6474 * rowpainter.C (RowPainter): adjust
6475 (leftMargin): simplify and adjust
6476 (most rowpainter functions): adjust.
6478 * rowpainter.h: store the row as RowList::iterator not as Row*
6480 * lyxcursor.C (row): taka RowList::iterator as arg
6483 * lyxcursor.h: make the LyXCursor store RowList::iterators instead
6486 2003-04-01 Angus Leeming <leeming@lyx.org>
6488 * bufferview_funcs.C (string2font): rewrite so that it no longer uses
6489 stuff like bool Bool.
6491 2003-04-01 Alfredo Braunstein <abraunst@libero.it>
6493 * text2.C (redoParagraphs): fix a bug (introduced by myself) and
6496 2003-04-01 Lars Gullik Bjønnes <larsbj@gullik.net>
6498 * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
6501 * lyxtext.h (rows): drop one version and leve a const variant that
6502 returns a RowList::iterator.
6504 2003-03-31 Angus Leeming <leeming@lyx.org>
6506 * text.C (fill): ensure that the signature is the same as that in the
6509 2003-03-31 Lars Gullik Bjønnes <larsbj@gullik.net>
6511 * text2.C (redoParagraphs): adjust
6512 (updateCounters): adjust
6513 (checkParagraph): adjust
6514 (getColumnNearX): adjust and reformat a bit.
6516 * text.C (top_y): adjust
6518 (leftMargin): adjust
6519 (prepareToPrint): adjust
6521 (getRowNearY): adjust
6523 * lyxtext.h: make rowlist_ mutable.
6525 * RowList.h: add const_iterator
6526 * RowList.C: adjust for RowList::const_iterator.
6528 * text2.C (getCursorX): make it take a RowList::iterator as arg,
6531 2003-03-31 John Levon <levon@movementarian.org>
6534 * lyxrc.C: moved pdf_mode and use_gui to elsewhere
6536 * lyx_main.C: set default fonts from using lyx_gui funcs
6538 * exporter.C: pdf_mode moved from lyxrc
6541 * lyxfunc.C: changes from above
6543 2003-03-31 John Levon <levon@movementarian.org>
6545 * lyx_main.C: fix to the last fix
6547 2003-03-31 John Levon <levon@movementarian.org>
6549 * bufferlist.C: "Load original" -> "Load Original"
6555 * format.C: more Alert cleanups
6557 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6559 * text2.C (removeParagraph): make it take a RowList::iterator as
6561 (getColumnNearX): make it take a RowList::iterator as arg, adjust.
6562 (postRowPaint): make it take a RowList::iterator as arg, adjust.
6564 * text.C (anchor_row): make it take a RowList::iterator as arg,
6566 (computeBidiTables): make it take a const reference to Row instead
6567 of Row pointer, adjust.
6568 (leftMargin): make it take a RowList::iterator as arg, adjust.
6569 (rowBreakPoint): adjust
6570 (breakAgainOneRow): make it take a RowList::iterator as arg,
6572 (prepareToPrint): make it take a RowList::iterator as arg, adjust.
6574 * bufferview_funcs.C (toggleAndShow): adjust
6576 2003-03-30 John Levon <levon@movementarian.org>
6580 * boost-inst.C: moved to support
6582 * several files: changes as a result
6584 2003-03-30 Lars Gullik Bjønnes <larsbj@gullik.net>
6586 * text2.C (LyXText): adjust.
6588 (removeRow): make it take a RowList::iterator as arg, adjust.
6589 (fullRebreak): adjust
6590 (deleteEmptyParagraphMechanism): adjust
6591 (clearPaint): adjust
6594 * text.C (top_y): adjust
6595 (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
6596 (breakAgain): make it take a RowList::iterator as arg, adjust.
6597 (breakParagraph): adjust
6598 (insertChar): adjust
6601 * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
6602 need_break_row, and refresh_row.
6604 * text3.C (dispatch): adjust
6606 * text2.C (checkParagraph): adjust
6608 (setCursorFromCoordinates): adjust
6610 * text.C (top_y): adjust
6612 (getRow): make it return a RowList::iterator, adjust
6613 (getRowNearY): make it return a RowList::iterator, adjust
6615 * text2.C (init): adjust
6616 (insertRow): remove function
6617 (insertParagraph): adjust
6618 (redoParagraphs): adjust
6619 (fullRebreak): adjust
6620 (updateCounters): adjust
6622 * text.C (top_y): rewrite to use RowList iterators.
6624 (setHeightOfRow): rewrite to sue RowList iterators.
6625 (appendParagraph): adjust
6626 (breakAgain): adjust
6627 (breakAgainOneRow): adjust
6628 (breakParagraph): adjust
6630 (getRowNearY): adjust, and remove commented code.
6632 * lyxtext.h (firstRow): delete function
6633 (lastRow): delete function
6634 (rows): new function (const and non-const versions.)
6635 (insertRow): delete function
6637 * lyxrow.[Ch] (Row): new constructor taking a par and a pos
6639 2003-03-29 John Levon <levon@movementarian.org>
6641 * BufferView_pimpl.C: always update scrollbar top
6642 because pasting text when we're anchored could mean we
6643 miss an update altogether
6645 2003-03-29 Lars Gullik Bjønnes <larsbj@gullik.net>
6647 * text2.C (init): use rowlist_.end() and not 0.
6648 (insertRow): change to take a RowList::iterator as arg, adjust
6650 (insertParagraph): change to take a RowList::iterator as arg,
6652 (redoParagraphs): remove some debug msgs.
6654 * text.C (appendParagraph): change to take a RowList::iterator
6655 arg, adjust for this.
6656 (breakAgain): add an assert
6657 (breakAgainOneRow): ditto
6659 2003-03-29 John Levon <levon@movementarian.org>
6661 * text2.C: do not clear selection after inc/decDepth
6664 2003-03-29 John Levon <levon@movementarian.org>
6667 * buffer.C: fix broken strerrors according to Lars
6669 2003-03-29 John Levon <levon@movementarian.org>
6671 * converters.C: more Alert cleanups
6673 2003-03-29 John Levon <levon@movementarian.org>
6675 * bufferview_funcs.C: remove pointless Alert
6677 * buffer.C: fix confusing error message when
6678 a template is chmoded 000
6680 2003-03-29 John Levon <levon@movementarian.org>
6684 * BufferView_pimpl.C: Alert fixes
6688 * tabular-old.C: remove unused table compat reading
6690 2003-03-29 John Levon <levon@movementarian.org>
6695 * lyx_cb.C: more Alert cleanups
6697 * lyxfunc.C: don't allow chktex if not latex document
6699 2003-03-29 John Levon <levon@movementarian.org>
6703 * buffer.C: warnings pushed down from support/,
6706 2003-03-29 John Levon <levon@movementarian.org>
6708 * lyxfunc.C: safety check for C-r (revert)
6710 2003-03-29 John Levon <levon@movementarian.org>
6713 * bufferlist.C: several UI fixes using Alert::prompt.
6714 Fix the pointless looping quit code. Fix stupid revert
6719 * lyx_cb.C: use Alert::prompt
6721 * lyx_main.C: remove a silly question
6723 * lyxfunc.C: remove a couple of silly questions,
6726 2003-03-28 John Levon <levon@movementarian.org>
6728 * text2.C: fix bug 974 (End on empty par)
6730 2003-03-28 John Levon <levon@movementarian.org>
6732 * BufferView_pimpl.C:
6734 * lfuns.h: remove do-nothing math greek lfuns
6736 2003-03-27 Lars Gullik Bjønnes <larsbj@gullik.net>
6738 * lyxgluelength.h (isValidGlueLength): add default arg on
6739 parameter 2. Remove default arg from friend in class.
6741 * lyxlength.h (isValidLength): add default arg on parameter 2.
6742 Remove default arg from friend in class.
6744 * text2.C (LyXText): adjust, initialize refresh_row.
6748 (insertParagraph): adjst
6749 (redoParagraphs): adjust
6750 (fullRebreak): adjust
6751 (updateCounters): adjust
6752 (deleteEmptyParagraphMechanism): first attempt at fixing a
6755 * text.C (top_y): adjust
6756 (setHeightOfRow): adjust
6758 (getRowNearY): adjust
6760 * lyxtext.h: include RowList.h
6761 (~LyXText): not needed anymore, deleted.
6762 (firstRow): modify for RowList
6763 (lastRow): new function
6764 Delete firstrow and lastrow class variables, add a Rowlist
6765 rowlist_ class variable.
6767 * lyxrow.C (lastPos): use empty() and not !size() to check if a
6770 * RowList.C (insert): fix case where it == begin().
6772 2003-03-26 Angus Leeming <leeming@lyx.org>
6774 * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
6775 the thesaurus dialog.
6777 2003-03-26 Lars Gullik Bjønnes <larsbj@gullik.net>
6779 * Makefile.am (lyx_SOURCES): add RowList.[Ch]
6781 * RowList.[Ch]: new files
6783 * ParagraphList.C (erase): handle the case where it == begin
6786 2003-03-25 John Levon <levon@movementarian.org>
6790 * aspell.C: add new aspell support
6793 * lyxrc.C: Make use_pspell be use_spell_lib. Always
6796 2003-03-25 Angus Leeming <leeming@lyx.org>
6799 * LyXAction.C (init): new LFUN_INSET_INSERT.
6801 * BufferView_pimpl.C (dispatch): split out part of the
6802 LFUN_INSET_APPLY block LFUN_INSET_INSERT.
6804 * factory.C (createInset): act on LFUN_INSET_INSERT rather than
6807 2003-03-25 Angus Leeming <leeming@lyx.org>
6809 * lyxfunc.C (dispatch): changes to the Dialogs interface.
6811 2003-03-25 Alfredo Braunstein <abraunst@libero.it>
6814 * text3.C: remove useless row->height(0)
6816 2003-03-25 John Levon <levon@movementarian.org>
6820 * text3.C: rename the refreshing stuff to better names
6822 2003-03-24 John Levon <levon@movementarian.org>
6824 * BufferView_pimpl.h:
6825 * BufferView_pimpl.C: update layout choice on a mouse
6828 2003-03-23 John Levon <levon@movementarian.org>
6830 * Makefile.am: fix commandtags.h reference
6832 2003-03-22 John Levon <levon@movementarian.org>
6834 * BufferView_pimpl.C:
6839 * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
6841 2003-03-21 Alfredo Braunstein <abraunst@libero.it>
6844 * text.C: take the rtl methods out of line
6846 2003-03-21 André Pönitz <poenitz@gmx.net>
6848 * metricsinfo.[Ch]: new files containing structures to be passed around
6849 during the two-phase-drawing...
6851 2003-03-21 André Pönitz <poenitz@gmx.net>
6853 * lyxtextclass.C: read 'environment' tag.
6855 2003-03-20 Alfredo Braunstein <abraunst@libero.it>
6857 * text2.C (removeRow): fix bug 964
6859 2003-03-20 John Levon <levon@movementarian.org>
6863 * text2.C: paint cleanups. Inset::update() dropped font
6866 2003-03-19 John Levon <levon@movementarian.org>
6868 * lyxfunc.C: only fitcursor/markDirty if available()
6870 2003-03-19 John Levon <levon@movementarian.org>
6872 * commandtags.h: rename to ...
6874 * lfuns.h: ... this, and renumber / cleanup
6876 2003-03-19 John Levon <levon@movementarian.org>
6878 * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
6879 fit the cursor after an lfun
6883 * BufferView_pimpl.h:
6884 * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
6886 * LyXAction.C: layout-character should have ReadOnly
6888 * ParagraphParameters.C:
6890 * bufferview_funcs.C:
6897 * undo_funcs.C: changes from above
6899 2003-03-18 John Levon <levon@movementarian.org>
6901 * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
6902 remove it from update()
6904 * lyxfunc.C: update layout choice after an lfun
6906 * text3.C: remove extra updateLayoutChoice()s
6908 2003-03-18 John Levon <levon@movementarian.org>
6910 * text.C: top_y change means full repaint, fix
6911 a drawing bug with cursor movement
6913 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6917 * text2.C: anchor row on setCursor
6919 2003-03-18 Alfredo Braunstein <abraunst@libero.it>
6921 * lyxtext.h: remove almost all mutable keywords
6924 * text3.C: remove const keywords accordingly
6926 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6928 * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
6930 (TeXEnvironment): ditto
6933 2003-03-17 John Levon <levon@movementarian.org>
6935 * text.C (rowBreakPoint): remove attempt to fix displayed
6936 math insets inside a manual label
6938 2003-03-17 Lars Gullik Bjønnes <larsbj@gullik.net>
6940 * lyxtext.h: remove BufferView* as first arg from almost all class
6942 * other files: adjust.
6944 2003-03-17 John Levon <levon@movementarian.org>
6948 * text2.C: more paint cleanups
6950 * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
6953 * rowpainter.C: remove "smart" background painting code
6955 2003-03-16 John Levon <levon@movementarian.org>
6960 * text3.C: add helper functions for setting refresh_row/y
6962 2003-03-14 Kayvan Sylvan <kayvan@sylvan.com>
6964 * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
6965 newline inset which *can* get inserted in the pass_thru layouts.
6966 This is primarily for literate documents.
6968 2003-03-14 Dekel Tsur <dekelts@tau.ac.il>
6970 * buffer.C: increment LYX_FORMAT to 223
6972 2003-03-14 André Pönitz <poenitz@gmx.net>
6974 * textclass.h: prepare for environment handling, ws changes
6975 * lyxlayout.C: read latexheader and latexfooter tags
6977 2003-03-14 John Levon <levon@movementarian.org>
6979 * text2.C: rewrite ::status() a bit
6981 2003-03-13 John Levon <levon@movementarian.org>
6983 * lyxtext.h: add some docs
6985 2003-03-13 John Levon <levon@movementarian.org>
6990 * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
6992 2003-03-13 John Levon <levon@movementarian.org>
6994 * text3.C: fix appendix redrawing
6996 2003-03-13 John Levon <levon@movementarian.org>
6998 * text.C (setHeightOfRow):
7000 * rowpainter.C: make appendix mark have the text
7001 "Appendix" so the user knows what it is
7004 * LColor.C: s/appendixline/appendix/ from above
7006 2003-03-13 John Levon <levon@movementarian.org>
7008 * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
7010 * text.C: fix a getChar(pos) bug properly
7012 2003-03-13 Angus Leeming <leeming@lyx.org>
7015 * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
7016 Probably only temporary. Let's see how things pan out.
7018 * BufferView.C (unlockInset):
7019 * BufferView_pimpl.C (fitCursor):
7020 replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
7022 * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
7023 PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
7025 * ParagraphParameters.[Ch] (setParagraphParams, params2string):
7026 new functions that convert ParagraphParameters to and from a string.
7028 * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
7029 BufferView::Pimpl's dispatch.
7030 In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
7032 2003-03-13 André Pönitz <poenitz@gmx.net>
7036 * factory.C: make it aware of InsetEnv
7038 2003-03-13 Lars Gullik Bjønnes <larsbj@gullik.net>
7040 * text2.C (setCursor): never ask for one past last
7041 (setCursor): add some debugging messages.
7043 * text.C (singleWidth): never ask for one past last
7044 (singleWidth): ditto
7046 (rightMargin): ditto
7047 (rowBreakPoint): ditto
7048 (setHeightOfRow): ditto
7049 (prepareToPrint): ditto
7051 * rowpainter.C (paintBackground): never ask for one past last
7052 (paintText): never ask for one past last
7054 * paragraph_pimpl.C (getChar): make the assert stricter, never
7055 allow the one past last pos to be taken
7057 * paragraph.C (getChar): ws changes only
7059 * lyxrow.C (nextRowIsAllInset): never ask for one past last
7060 (numberOfSeparators): ditto
7061 (numberOfHfills): ditto
7063 2003-03-12 John Levon <levon@movementarian.org>
7069 * paragraph_funcs.C: fix per-buffer authorlists
7071 2003-03-12 John Levon <levon@movementarian.org>
7073 * text.C: fix newline in right address
7075 2003-03-12 Angus Leeming <leeming@lyx.org>
7077 * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
7078 duplicate those in LyXFunc::dispatch.
7082 * ToolbarDefaults.C:
7083 rename LFUN_FREE as LFUN_FONTFREE_APPLY.
7084 Add LFUN_FONTFREE_UPDATE.
7086 * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
7087 LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
7089 * bufferview_func.[Ch]: several new functions to facilliate
7090 transfer of data to and from the character dialog.
7092 2003-03-12 John Levon <levon@movementarian.org>
7097 * paragraph_funcs.C:
7098 * paragraph_pimpl.C:
7102 * text3.C: remove META_NEWLINE in favour of an inset
7105 * rowpainter.C: remove paintNewline (done by inset)
7107 2003-03-12 John Levon <levon@movementarian.org>
7109 * paragraph_pimpl.C: complain about bad getChar()s
7110 for a while at least
7112 2003-03-12 John Levon <levon@movementarian.org>
7115 * buffer.C: move paragraph read into a separate function,
7116 a little renaming to reflect that.
7119 * bufferparams.C: remove the author_ids map, not necessary now
7122 * factory.C: moved Buffer::readInset to here
7124 * paragraph_funcs.h:
7125 * paragraph_funcs.C: readParagraph free function moved from
7128 * tabular.C: name change
7130 2003-03-12 John Levon <levon@movementarian.org>
7133 * ParagraphParameters.C: move par params input to
7136 * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
7137 behave like a normal read from the stream wrt reading
7138 a line vs. a \\token
7140 2003-03-12 John Levon <levon@movementarian.org>
7143 * ParagraphParameters.h:
7144 * ParagraphParameters.C: move output code to a
7147 2003-03-12 John Levon <levon@movementarian.org>
7149 * BufferView.C (insertLyXFile):
7152 * tabular.C: use a parlist iterator for creating the
7155 2003-03-12 John Levon <levon@movementarian.org>
7157 * buffer.C: make current_change static local not
7160 2003-03-12 John Levon <levon@movementarian.org>
7162 * buffer.C: fix insertStringAsLines for change tracking
7164 2003-03-12 John Levon <levon@movementarian.org>
7171 * bufferparams.C: move author list into params. Rename some
7172 functions. Move the header reading into a separate token
7173 loop. Move the header token reading into BufferParams.
7175 2003-03-12 John Levon <levon@movementarian.org>
7177 * changes.C: put debug inside lyxerr.debugging() checks
7179 2003-03-11 André Pönitz <poenitz@gmx.net>
7181 * factory.C: make it aware of InsetHFill
7183 2003-03-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
7185 * buffer.C (latexParagraphs): move function from here...
7186 * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
7189 2003-03-10 Angus Leeming <leeming@lyx.org>
7191 * LyXAction.C (init): fix bug in poplating array with multiple entries
7192 with the same LFUN (spotted by JMarc).
7194 2003-03-10 John Levon <levon@movementarian.org>
7197 * text2.C: move getColumnNearX() near its
7200 2003-03-10 John Levon <levon@movementarian.org>
7202 * text.C: fix break before a minipage
7204 2003-03-10 John Levon <levon@movementarian.org>
7206 * text.C: fix the last commit
7208 2003-03-09 John Levon <levon@movementarian.org>
7212 * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
7213 bug 365 (don't break before insets unless needed). Don't
7214 return a value > last under any circumstances.
7216 2003-03-09 Angus Leeming <leeming@lyx.org>
7218 * BufferView_pimpl.C (trackChanges, dispatch): call
7219 Dialogs::show("changes") rather than Dialogs::showMergeChanges().
7221 2003-03-09 Angus Leeming <leeming@lyx.org>
7223 * lyxfunc.C (dispatch): call Dialogs::show("about") rather
7224 than Dialogs::showAboutlyx().
7226 2003-03-09 Angus Leeming <leeming@lyx.org>
7228 * factory.C (createInset): call Dialogs::show("tabularcreate") rather
7229 than Dialogs::showTabularCreate().
7231 2003-03-09 John Levon <levon@movementarian.org>
7235 * text2.C: 3rd arg to nextBreakPoint was always the same.
7238 2003-03-08 John Levon <levon@movementarian.org>
7245 * text2.C: Remove the "main" bit from the "main body"
7248 2003-03-08 John Levon <levon@movementarian.org>
7250 * text.C (leftMargin): The left margin of an empty
7251 manual label paragraph should not include the label width
7254 * text.C (prepareToPrint): don't attempt to measure hfills
7255 for empty manual label paragraphs - the answer should be 0
7257 2003-03-08 Lars Gullik Bjønnes <larsbj@gullik.net>
7259 * CutAndPaste.C: remove commented code and reindent.
7261 2003-03-08 John Levon <levon@movementarian.org>
7264 * lyxfunc.C: move reloadBuffer()
7267 * BufferView.C: to here
7269 * lyxvc.C: add comment
7272 * vc-backend.C: call bv->reload() to avoid
7273 getStatus() check on MENURELOAD
7275 2003-03-07 Dekel Tsur <dekelts@tau.ac.il>
7277 * LaTeX.C (run): Fix a bug where the DVI file was not updated due
7278 to an old format .dep file.
7280 2003-03-07 Angus Leeming <leeming@lyx.org>
7282 * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
7283 when the LFUN_MOUSE_RELEASE should have been handled by
7284 inset->localDispatch.
7286 2003-03-07 Angus Leeming <leeming@lyx.org>
7288 * BufferView_pimpl.C (dispatch):
7289 * LyXAction.C (init):
7290 * ToolbarDefaults.C (init):
7292 * lyxfunc.C (getStatus):
7293 remove LFUN_INSET_GRAPHICS.
7295 * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
7297 2003-03-07 Angus Leeming <leeming@lyx.org>
7300 * LyXAction.C (init):
7301 * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
7303 * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
7306 * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
7308 * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
7309 localDispatch method LFUN_INSET_DIALOG_UPDATE.
7311 2003-03-07 Angus Leeming <leeming@lyx.org>
7313 * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
7316 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7318 * ParagraphList.C (front): new function
7321 2003-03-06 Alfredo Braunstein <abraunst@libero.it>
7323 * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
7324 and top_row_offset_. removed var first_y.
7326 * text2.C (LyXText, removeRow):
7328 * BufferView_pimpl.C:
7329 use these methods instead of using first_y
7331 2003-03-06 Lars Gullik Bjønnes <larsbj@gullik.net>
7333 * text2.C (pasteSelection): adjust for checkPastePossible
7335 * CutAndPaste.C: remove Paragraph * buf and replace with
7336 ParagraphList paragraphs.
7337 (DeleteBuffer): delete
7338 (cutSelection): change the tc type to textclass_type
7339 (copySelection): change the tc type to textclass_type
7340 (copySelection): adjust for ParagraphList
7341 (pasteSelection): change the tc type to textclass_type
7342 (pasteSelection): adjust for Paragraphlist
7343 (nrOfParagraphs): simplify for ParagraphList
7344 (checkPastePossible): simplify for ParagraphList
7345 (checkPastePossible): remove unused arg
7347 * ParagraphList.C (insert): handle the case where there are no
7350 * CutAndPaste.h: make CutAndPaste a namespace.
7352 * text3.C (dispatch): adjust
7354 * text.C (breakParagraph): add a ParagraphList as arg
7356 * paragraph_funcs.C (breakParagraph): change to take a
7357 BufferParams and a ParagraphList as args.
7358 (breakParagraphConservative): ditto
7359 (mergeParagraph): ditto
7360 (TeXDeeper): add a ParagraphList arg
7361 (TeXEnvironment): ditto
7364 * buffer.C (readLyXformat2): adjust
7365 (insertStringAsLines): adjust
7366 (latexParagraphs): adjust
7368 * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
7369 (cutSelection): adjust
7370 (pasteSelection): adjust
7372 * BufferView_pimpl.C (insertInset): adjust
7374 2003-03-05 Angus Leeming <leeming@lyx.org>
7377 * LyXAction.C (init):
7378 * BufferView_pimpl.C (dispatch):
7379 * lyxfunc.C (getStatus):
7380 remove LFUN_CHILD_INSERT.
7382 * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
7384 2003-03-05 Angus Leeming <leeming@lyx.org>
7387 * LyXAction.C (init):
7388 * src/factory.C (createInset):
7389 * lyxfunc.C (getStatus):
7390 * text3.C (dispatch):
7391 remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
7393 * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
7395 2003-03-05 Lars Gullik Bjønnes <larsbj@gullik.net>
7397 * ParagraphList.C (insert): handle insert right before end()
7398 (erase): fix cases where it can be first or last paragraph.
7400 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7402 * paragraph_funcs.C (TeXEnvironment): remove all usage of
7403 Paragraph::next and Paragraph::previous
7406 * text.C (breakParagraph): adjust
7408 * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
7409 BufferParams& as arg.
7410 (breakParagraph): use ParagraphList::insert
7411 (breakParagraphConservative): take a Buffer* instead of a
7412 BufferParams& as arg.
7413 (breakParagraphConservative): use ParagraphList::insert.
7415 * buffer.C (insertStringAsLines): un-const it
7416 (insertStringAsLines): adjust
7418 * ParagraphList.C (insert): new function
7420 * CutAndPaste.C (pasteSelection): adjust
7422 * text.C (backspace): adjust
7424 * tabular.C (SetMultiColumn): adjust
7426 * CutAndPaste.C (cutSelection): adjust
7427 (pasteSelection): adjust
7429 * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
7430 Buffer const * as arg
7432 * ParagraphList.C (erase): new function
7433 * paragraph_funcs.C (mergeParagraph): use it
7434 (mergeParagraph): make it take a Buffer* instead of a
7435 BufferParams* as arg
7437 * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
7439 (breakParagraphConservative): ditto
7441 * paragraph.h: remove the breakParagraph friend
7443 * paragraph.C (eraseIntern): new function
7444 (setChange): new function
7446 * paragraph_funcs.C (mergeParagraph): make it take a
7447 ParagraphList::iterator instead of a Paragraph *, adjust
7450 * paragraph.h: move an #endif so that the change tracking stuff
7451 also works in the NO_NEXT case.
7453 2003-03-04 Angus Leeming <leeming@lyx.org>
7456 * LyXAction.C: new LFUN_INSET_MODIFY.
7458 * BufferView_pimpl.C (dispatch): if an inset is found to be open
7459 on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
7461 2003-03-04 Lars Gullik Bjønnes <larsbj@gullik.net>
7463 * several files: ws changes only
7465 * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
7466 (TeXEnvironment): ditto
7469 * buffer.C (makeLaTeXFile): adjust
7470 (latexParagraphs): make it take ParagraphList::iterator as args
7472 2003-03-03 Lars Gullik Bjønnes <larsbj@gullik.net>
7474 * buffer.C (latexParagraphs): adjust
7476 * paragraph.C (TeXOnePar): move function...
7477 (optArgInset): move function...
7478 (TeXEnvironment): move function...
7479 * paragraph_pimpl.C (TeXDeeper): move function...
7480 * paragraph_funcs.C: ...here
7482 * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
7484 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7486 * buffer.C (readInset): remove compability code for old Figure and
7489 2003-03-02 Lars Gullik Bjønnes <larsbj@gullik.net>
7491 * buffer.C: ws changes
7494 * BufferView_pimpl.C: ditto
7497 * bufferlist.h: ditto
7501 2003-02-28 Alfredo Braunstein <abraunst@libero.it>
7503 * converter.[Ch]: split into itself +
7506 * Makefile.am: += graph.[Ch] + format.[Ch]
7513 * lyxrc.C: added #include "format.h"
7515 2003-02-27 Angus Leeming <leeming@lyx.org>
7517 * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
7520 * factory.C (createInset): add "label" to the factory.
7522 * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
7523 string and do no more.
7525 2003-02-27 Angus Leeming <leeming@lyx.org>
7528 * LyXAction.C (init):
7529 * factory.C (createInset):
7530 * BufferView_pimpl.C (dispatch):
7531 collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
7533 * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
7535 * lyxfunc.C (dispatch):
7536 * text3.C (dispatch): pass name to params2string.
7538 2003-02-26 Angus Leeming <leeming@lyx.org>
7540 * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
7542 Rearrange the ~includes. Strip out the unnecessary ones.
7544 * factory.C (createInset): reformat.
7545 create new insets for the various LFUN_XYZ_APPLY lfuns.
7547 2003-02-26 John Levon <levon@movementarian.org>
7550 * lyxrow.C: add isParStart,isParEnd helpers
7552 * paragraph.h: make isInserted/DeletedText take refs
7554 * paragraph_funcs.h:
7555 * paragraph_funcs.C: remove #if 0'd code
7560 * text.C: use lyxrow helpers above.
7561 Move draw and paint routines to RowPainter.
7562 Make several methods use refs not pointers.
7563 Make backgroundColor() const.
7564 Add markChangeInDraw(), isInInset().
7565 Merge changeRegionCase into changeCase.
7566 Make workWidth() shouldn't-happen code into an Assert.
7569 * rowpainter.C: new class for painting a row.
7572 * vspace.C: make inPixels take a ref
7574 2003-02-26 Angus Leeming <leeming@lyx.org>
7576 * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
7579 2003-02-25 John Levon <levon@movementarian.org>
7581 * ispell.C: give the forked command a more accurate name
7583 2003-02-22 John Levon <levon@movementarian.org>
7586 * toc.C: make TocItem store an id not a Paragraph *
7589 2003-02-21 Angus Leeming <leeming@lyx.org>
7591 * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
7592 LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
7593 Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
7594 LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
7595 LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
7596 LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
7598 * BufferView_pimpl.C (dispatch):
7599 * LyXAction.C (init):
7600 * factory.C (createInset):
7601 * lyxfunc.C (getStatus, dispatch):
7602 * text3.C (dispatch): retire old LFUNs and bring new ones to life.
7604 2003-02-21 Angus Leeming <leeming@lyx.org>
7606 * BufferView_pimpl.C (MenuInsertLyXFile):
7607 * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
7608 * lyxfunc.C (menuNew, open, doImport):
7609 no longer pass a LyXView & to fileDlg.
7611 2003-02-21 Angus Leeming <leeming@lyx.org>
7613 * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
7614 * LyXAction.C: change, BIBKEY to BIBITEM.
7615 * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
7616 Change InsetBibKey to InsetBibitem.
7617 Change BIBKEY_CODE to BIBITEM_CODE.
7618 * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7619 * factory.C: replace insetbib.h with insetbibitem.h.
7620 Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7621 * paragraph.C: replace insetbib.h with insetbibitem.h.
7622 * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
7623 Change bibkey() to bibitem().
7624 * text.C: remove insetbib.h.
7625 * text2.C: replace insetbib.h with insetbibitem.h.
7626 change bibkey() to bibitem().
7627 * text3.C: remove insetbib.h.
7628 change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
7630 2003-02-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7632 * lyxrc.C (output): enclose user email in quotes (in case there are
7635 2003-02-18 John Levon <levon@movementarian.org>
7637 * buffer.h: add std::
7639 2003-02-17 John Levon <levon@movementarian.org>
7645 * pspell.C: reworking. Especially in ispell, a large
7646 number of clean ups and bug fixes.
7648 * lyxfunc.C: fix revert to behave sensibly
7650 2003-02-17 André Pönitz <poenitz@gmx.net>
7653 * commandtags.h: new LFUN_INSERT_BIBKEY
7663 * paragraph_func.C: remove special bibkey handling
7665 2003-02-17 John Levon <levon@movementarian.org>
7667 * text.C (Delete): fix case where delete at the end of
7668 the very first paragraph would not merge the pars
7670 2003-02-17 John Levon <levon@movementarian.org>
7672 * lyxrow.C: fix lastPrintablePos()
7674 2003-02-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7676 * bufferparams.C (writeLaTeX): add a std:here
7678 * buffer.C: and remove a using directive there
7680 2003-02-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7682 * buffer.C (makeLaTeXFile): move the code that generates the
7685 * bufferparams.C (writeLaTeX): ... in this new method
7687 * LaTeXFeatures.C (getEncodingSet): make const
7688 (getLanguages): make const
7690 * MenuBackend.C (binding): returns the binding associated to this
7692 (add): sets the status of each item by calling getStatus. Adds
7694 (read): add support for OptSubMenu
7695 (expand): remove extra separator at the end of expanded menu
7697 2003-02-15 John Levon <levon@movementarian.org>
7700 * BufferView_pimpl.C:
7702 * bufferlist.C: remove pointless BufferStorage bloat. Remove
7703 inset code that had no actual effect. Remove unneeded status
7706 2003-02-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7708 * buffer.C (makeLaTeXFile): fix counting of number of line feeds
7711 2003-02-14 Michael Schmitt <michael.schmitt@teststep.org>
7713 * text.C (drawLengthMarker): also draw an arrow marker for
7714 symbolic lengths (medskip...)
7716 2003-02-14 John Levon <levon@movementarian.org>
7719 * tabular.C: better method names
7721 2003-02-14 John Levon <levon@movementarian.org>
7723 * BufferView_pimpl.C:
7728 * lyxfunc.C: change prohibit/allowInput to busy(bool), as
7729 it's a more accurate name. Remove some pointless uses.
7731 2003-02-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7733 * text2.C (LyXText): change order of initilizers to shut off
7736 2003-02-14 John Levon <levon@movementarian.org>
7738 * buffer.C: use ParIterator for getParFromID()
7742 * paragraph_pimpl.h:
7743 * paragraph_pimpl.C: remove unused getParFromID()
7745 2003-02-14 John Levon <levon@movementarian.org>
7747 * buffer.C: remove some very old #if 0'd parse code
7749 2003-02-13 John Levon <levon@movementarian.org>
7753 * text2.C: move hfillExpansion(), numberOfSeparators(),
7754 rowLast(), rowLastPrintable(), numberofHfills(),
7755 numberOfLabelHfills() ...
7758 * lyxrow.C: ... to member functions here.
7763 * text.C: remove LyXText::beginningOfMainBody(), and call
7764 p->beginningOfMainBody() directly. Move the check for
7765 LABEL_MANUAL into the latter.
7772 * BufferView.C: make defaultHeight() be a free defaultRowHeight()
7778 * frontends/screen.C: move bv_owner private, introduce isTopLevel()
7779 to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
7781 2003-02-13 John Levon <levon@movementarian.org>
7783 * CutAndPaste.C: remove debug
7785 2003-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
7787 * paragraph.C (asString): remove two unused variables
7789 * lyxtextclass.C (readTitleType):
7791 (LyXTextClass): handle new members titletype_ and titlename_
7793 * buffer.C (latexParagraphs): honor LyXTextClass::titletype
7795 2003-02-09 John Levon <levon@movementarian.org>
7798 * buffer.C: replace hand-coded list with a map for the dep clean
7800 2003-02-08 John Levon <levon@movementarian.org>
7802 * LaTeX.C: consolidate code into showRunMessage() helper
7804 2003-02-08 John Levon <levon@movementarian.org>
7809 * BufferView.C: change setSelectionOverString() to setSelectionRange()
7810 and pass the size in explicitly
7812 * BufferView_pimpl.h:
7813 * BufferView_pimpl.C:
7815 * BufferView.C: add getCurrentChange()
7817 * BufferView_pimpl.h:
7818 * BufferView_pimpl.C: handle change lfuns
7820 * CutAndPaste.C: merge the cut and copy code. Rework the cut code
7821 for changes. Mark pasted paragraphs as new.
7823 * support/lyxtime.h:
7824 * support/lyxtime.C:
7825 * DepTable.C: abstract time_t as lyx::time_type
7828 * LColor.C: add colours for new text, deleted text, changebars
7830 * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
7831 package use "usenames" option.
7835 * LyXAction.C: add change lfuns
7839 * author.C: author handling
7842 * buffer.C: add a per-buffer author list, with first entry as
7843 current author. Handle new .lyx tokens for change tracking. Output
7844 author list to .lyx file. Output dvipost stuff to .tex preamble.
7845 Bump lyx format to 222.
7848 * bufferlist.C: add setCurrentAuthor() to reset current author details
7852 * bufferparams.C: add param for tracking
7854 * bufferview_funcs.C: output change info in minibuffer
7858 * changes.C: add change-tracking structure
7861 * debug.C: add CHANGES debug flag
7864 * lyxfind.C: add code for finding the next change piece
7867 * lyxrc.C: add user_name and user_email
7870 * lyxrow.C: add a metric for the top of the text line
7873 * text.C: implement accept/rejectChange()
7876 * text.C: paint changebars. Paint new/deleted text in the chosen
7877 colours. Strike through deleted text.
7881 * paragraph_pimpl.h:
7882 * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
7883 in the current change to the insert functions. Rework erase to
7884 mark text as deleted, adding an eraseIntern() and a range-based
7885 erase(). Implement per-paragraph change lookup and
7888 * paragraph_funcs.C: Fixup paste for change tracking.
7890 * tabular.C: mark added row/columns as new.
7892 * text.C: fix rowLast() to never return -1. Don't allow
7893 spellchecking of deleted text. Track transpose changes. Don't
7894 allow paragraph break or merge where appropriate.
7896 * text2.C: leave cursor at end of selection after a cut.
7898 2003-02-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7900 * text.C (getLengthMarkerHeight):
7901 (drawLengthMarker): make the `symbolic' lengths (small/med/big)
7902 visible on screen too.
7904 2003-02-07 John Levon <levon@movementarian.org>
7906 * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
7908 2003-02-05 Angus Leeming <leeming@lyx.org>
7910 * lyxserver.C (read_ready): revert my patch of 11 September last year
7911 as it sends PC cpu through the roof. Presumably this means that
7912 the lyxserver will no longer run on an Alpha...
7914 2003-01-30 Angus Leeming <leeming@lyx.org>
7916 * factory.C (createInset): create an InsetCommandParam of type "index"
7917 and use it to 'do the right thing'.
7919 * text2.C (getStringToIndex): ensure that cursor position is always
7920 reset to the reset_cursor position.
7922 2003-01-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7924 * lyxfunc.C (getStatus): "buffer-export custom" should never be
7927 2003-01-20 Michael Schmitt <michael.schmitt@teststep.org>
7931 * lyxfunc.C: Output messages with identical spelling, punctuation,
7934 2003-01-22 Michael Schmitt <Michael.Schmitt@teststep.org>
7936 * MenuBackend.C (expandFormats): List only viewable export formats
7939 * buffer.C (parseSingleLyXformat2Token): Fix misleading error
7942 * lyxfunc.C (getStatus): Make sure that formats other than
7943 "fax" can also be disabled
7945 2003-01-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7947 * text3.C (dispatch): put the lfuns that insert insets in 3
7948 groups, and call doInsertInset with appropriate arguments.
7949 (doInsertInset): new function, that creates an inset and inserts
7950 it according to some boolean parameters.
7952 2003-01-16 Lars Gullik Bjønnes <larsbj@gullik.net>
7954 * buffer.C (readFile): remember to pass on 'par' when calling
7955 readFile recursively.
7957 2003-01-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7959 * MenuBackend.C (expandFormats): add "..." to import formats.
7961 2003-01-15 Dekel Tsur <dekelts@tau.ac.il>
7963 * paragraph.C (asString): Remove XForms RTL hacks.
7965 2003-01-13 Alfredo Braunstein <abraunst@libero.it>
7966 * buffer.C: fix typo
7968 2003-01-12 Lars Gullik Bjønnes <larsbj@gullik.net>
7970 * Makefile.am (LIBS): delete var
7971 (lyx_LDADD): add @LIBS@ here instead.
7973 2003-01-08 Michael Schmitt <Michael.Schmitt@teststep.org>
7975 * Clarify the meaning of "wheel mouse jump"
7977 2003-01-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7979 * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
7982 2003-01-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7984 * importer.C (Loaders): do not preallocate 3 elements in the
7985 vector, since one ends up with 6 elements otherwise
7987 2002-12-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7989 * DepTable.C (write): write the file name as last element of the
7990 .dep file (because it may contain spaces)
7991 (read): read info in the right order
7993 2003-01-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
7995 * paragraph_pimpl.C (simpleTeXBlanks):
7996 (simpleTeXSpecialChars):
7997 * paragraph.C (simpleTeXOnePar): make `column' unsigned.
7999 * tabular.C (latex): add some missing case statements. Reindent.
8001 * MenuBackend.C (expandToc): remove unused variable.
8003 2003-01-06 Michael Schmitt <Michael.Schmitt@teststep.org>
8012 * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
8015 2003-01-05 John Levon <levon@movementarian.org>
8018 * BufferView.C: add getEncoding()
8021 * kbsequence.C: do not store last keypress
8024 * lyxfunc.C: store last keypress here instead. Pass encoding
8027 2002-12-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8029 * lyx_main.C (init): remove annoying error message when following
8030 symbolic links (bug #780)
8032 2002-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8034 * text.C (insertChar):
8035 * lyxrc.C (getDescription): remove extra spaces
8037 2002-12-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8039 * lyxrc.C (getDescription): remove extra spaces
8041 2002-12-20 John Levon <levon@movementarian.org>
8043 * text3.C: hack fix for page up/down across tall rows
8045 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8047 * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
8050 2002-12-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8052 * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
8053 unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
8054 thesaurus is not compiled in
8056 2002-12-17 Alfredo Braunstein <abraunst@libero.it>
8058 * lyxfunc.C: correct inversion of WORDFINDBACK/FORWARD
8060 2002-12-16 Angus Leeming <leeming@lyx.org>
8063 * lyx_main.C (init): remove override_x_deadkeys stuff.
8065 2002-12-12 John Levon <levon@movementarian.org>
8067 * lyxfunc.C: use LyXKeySym->isText() as last-ditch
8068 insert. Only remove shift modifier under strict
8071 2002-12-09 Lars Gullik Bjønnes <larsbj@gullik.net>
8073 * MenuBackend.C (expandToc): fix crash.
8075 2002-12-08 Lars Gullik Bjønnes <larsbj@gullik.net>
8077 * MenuBackend.C (expandToc): gettext on float names.
8079 2002-12-03 Juergen Spitzmueller <j.spitzmueller@gmx.de>
8081 * lyxlength.[Ch]: set default unit to UNIT_NONE,
8082 implement bool empty() [bug 490]
8084 2002-12-02 Lars Gullik Bjønnes <larsbj@gullik.net>
8086 * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
8088 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8090 * several files: ws changes
8092 2002-12-01 Lars Gullik Bjønnes <larsbj@gullik.net>
8094 * text2.C (setCounter): clean up a bit, use boost.format.
8095 (updateCounters): initialize par upon declaration.
8097 * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
8098 if the layout exists. We do not just store the layout any more.
8099 (SwitchLayoutsBetweenClasses): use boost.format
8101 2002-11-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8103 * converter.C (convert): if from and to files are the same, use a
8104 temporary files as intermediary
8106 2002-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8109 * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
8111 2002-11-27 Dekel Tsur <dekelts@tau.ac.il>
8113 * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
8115 2002-11-27 Lars Gullik Bjønnes <larsbj@gullik.net>
8117 * tabular.C (asciiPrintCell): use string(size, char) instead of
8120 * sgml.C (openTag): fix order of arguments to string constructor
8123 * lyxfunc.C (dispatch): use boost.format
8125 * lots of files: change "c" -> 'c'
8127 2002-11-25 Dekel Tsur <dekelts@tau.ac.il>
8129 * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
8131 2002-11-25 Angus Leeming <leeming@lyx.org>
8133 * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
8135 * lyx_main.C (init): compile fix.
8137 2002-11-25 Lars Gullik Bjønnes <larsbj@gullik.net>
8139 * lyx_cb.C (start): boost.formatify
8140 do not include <iostream>
8142 * lengthcommon.C: ws only
8144 * boost-inst.C,BoostFormat.h: add more explict instantations
8146 2002-11-24 Lars Gullik Bjønnes <larsbj@gullik.net>
8148 * lots of files: handle USE_BOOST_FORMAT
8150 2002-11-21 John Levon <levon@movementarian.org>
8152 * pspell.C: fix compile
8154 2002-11-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8156 * lyxfunc.C (dispatch): use boost::format
8160 * lyxfont.C (stateText): use boost::format
8162 * lyx_main.C (LyX): use boost::format
8164 (queryUserLyXDir): ditto
8167 (typedef boost::function): use the recommened syntax.
8169 * importer.C (Import): use boost::format
8171 * debug.C (showLevel): use boost::format
8173 * converter.C (view): use boost::format
8178 * bufferview_funcs.C (currentState): use boost::format
8180 * bufferlist.C (emergencyWrite): use boost::format
8182 * buffer.C (readLyXformat2): use boost::format
8183 (parseSingleLyXformat2Token): ditto
8185 * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
8187 * LaTeX.C (run): use boost::format
8189 * Chktex.C (scanLogFile): use boost::format
8191 * BufferView_pimpl.C (savePosition): use boost::format
8192 (restorePosition): ditto
8193 (MenuInsertLyXFile): ditto
8195 * BoostFormat.h: help file for explicit instation.
8197 2002-11-21 Dekel Tsur <dekelts@tau.ac.il>
8199 * tabular.C (latex): Support for block alignment in fixed width
8202 2002-11-17 John Levon <levon@movementarian.org>
8204 * BufferView_pimpl.C:
8206 * lyxfunc.C: split filedialog into open/save
8208 2002-11-08 Juergen Vigna <jug@sad.it>
8210 * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
8211 by my last patch (hopefully).
8213 2002-11-08 John Levon <levon@movementarian.org>
8222 * toc.C: ParConstIterator, and use it (from Lars)
8224 2002-11-07 Ben Stanley <bds02@uow.edu.au>
8226 * lyxtextclass.[Ch]: revise and add doxygen comments
8228 2002-11-07 John Levon <levon@movementarian.org>
8230 * text.C: fix progress value for spellchecker
8232 * toc.C: fix navigate menu for insetwrap inside minipage
8234 * paragraph_funcs.C: added FIXME for suspect code
8236 2002-11-07 John Levon <levon@movementarian.org>
8238 * BufferView_pimpl.C: fix redrawing of insets
8241 2002-11-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
8243 * text2.C (updateCounters): fix bug 668
8245 2002-11-04 Dekel Tsur <dekelts@tau.ac.il>
8247 * text3.C (dispatch): Do not make the buffer dirty when moving the
8250 2002-11-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8252 * vc-backend.C: STRCONV
8255 * text2.C (setCounter): STRCONV
8257 * paragraph.C (asString): STRCONV
8259 * lyxlength.C (asString): STRCONV
8260 (asLatexString): ditto
8262 * lyxgluelength.C (asString): STRCONV
8263 (asLatexString): ditto
8265 * lyxfunc.C (dispatch): STRCONV
8268 * lyxfont.C (stateText): STRCONV
8270 * importer.C (Import): STRCONV
8272 * counters.C (labelItem): STRCONV
8273 (numberLabel): ditto
8274 (numberLabel): remove unused ostringstream o
8279 * bufferview_funcs.C (currentState): STRCONV
8281 * buffer.C (readFile): STRCONV
8282 (asciiParagraph): ditto
8283 (makeLaTeXFile): ditto
8285 * Spacing.C (writeEnvirBegin): STRCONV
8287 * LaTeXFeatures.C (getLanguages): STRCONV
8288 (getPackages): ditto
8290 (getBabelOptions): ditto
8291 (getTClassPreamble): ditto
8292 (getLyXSGMLEntities): ditto
8293 (getIncludedFiles): ditto
8297 (scanAuxFile): ditto
8300 * LString.h: add the STRCONV macros
8302 * BufferView_pimpl.C (savePosition): STRCONV
8303 (restorePosition): ditto
8304 (MenuInsertLyXFile): ditto
8306 * vc-backend.C (scanMaster): change from submatch[...] to
8309 * funcrequest.C: include config.h
8311 * factory.C: include config.h
8313 * chset.C (loadFile): change from submatch[...] to submatch.str(...)
8315 * box.C: include config.h
8317 * LaTeX.C (scanAuxFile): change from submatch[...] to
8321 2002-10-25 Angus Leeming <leeming@lyx.org>
8323 * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
8325 * ispell.[Ch] (setError): new method.
8326 * ispell.C (c-tor): move out child process into new class LaunchIspell.
8327 Use setError() insetead of goto END.
8329 * lyx_cb.C (AutoSave): move out child process into new class
8332 2002-10-30 John Levon <levon@movementarian.org>
8334 * text3.C: make start appendix undoable
8336 2002-10-24 Dekel Tsur <dekelts@tau.ac.il>
8338 * lyxlength.C (inPixels): Fix returned value.
8340 * paragraph.C (TeXOnePar): Fix bug with language changes in nested
8343 2002-10-24 Angus Leeming <leeming@lyx.org>
8345 * lyxgluelength.h: no need to forward declare BufferParams
8346 or BufferView, so don't.
8348 2002-10-21 John Levon <levon@movementarian.org>
8350 * BufferView.C: menuUndo ->undo, redo
8352 * BufferView.h: document, remove dead, make some methods private
8354 * paragraph_funcs.h:
8355 * paragraph_funcs.C:
8356 * CutAndPaste.C: s/pasteParagraph/mergeParagraph
8361 * sgml.C: move sgml open/close tag into sgml.C
8363 * bufferview_funcs.h: unused prototype
8366 * lyxfunc.C: remove unused
8369 * text.C: remove unused
8371 2002-10-21 John Levon <levon@movementarian.org>
8375 * BufferView_pimpl.h:
8376 * BufferView_pimpl.C: fix mouse wheel handling based on
8377 patch from Darren Freeman
8379 2002-10-09 Dekel Tsur <dekelts@tau.ac.il>
8381 * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
8383 2002-10-17 Dekel Tsur <dekelts@tau.ac.il>
8385 * lyxlength.C (inPixels): Fix hanfling of negative length.
8386 Fix LyXLength::MU case.
8388 2002-10-16 John Levon <levon@movementarian.org>
8390 * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
8392 2002-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8394 * converter.C (view): add support for $$i (file name) and $$p
8395 (file path) for the viewer command. If $$i is not specified, then
8396 it is appended to the command (for compatibility with old syntax)
8398 2002-10-14 Juergen Vigna <jug@sad.it>
8400 * undo_funcs.C (textHandleUndo): alter the order in which the
8401 new undopar is added to the LyXText, as we have to set first
8402 the right prev/next and then add it as otherwise the rebuild of
8403 LyXText is not correct. Also reset the cursor to the right paragraph,
8404 with this IMO we could remove the hack in "redoParagraphs()".
8406 2002-10-09 Angus Leeming <leeming@lyx.org>
8408 * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
8409 to turn off an optimisation if a new inset is to be inserted.
8411 2002-10-11 André Pönitz <poenitz@gmx.net>
8413 * lyxtext.h: make some functions public to allow access
8414 from inset/lyxtext for handling LFUN_PRIOR/NEXT
8416 2002-10-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8418 * text3.C (dispatch): when changing layout, avoid an infinite loop
8421 2002-10-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8423 * lyxrc.C (read): treat a viewer or converter command of "none" as
8426 * MenuBackend.C (expandFormats): for an update, also allow the
8427 formats that are not viewable
8429 * lyx_main.C (queryUserLyXDir): re-run automatically the configure
8430 script if it is newer than the lyxrc.defaults in user directory
8432 2002-10-07 André Pönitz <poenitz@gmx.net>
8434 * text.C: Vitaly Lipatov's small i18n fix
8436 2002-09-25 Angus Leeming <leeming@lyx.org>
8438 * ispell.h: doxygen fix.
8440 2002-09-25 Dekel Tsur <dekelts@tau.ac.il>
8442 * buffer.h (readFile): Add a new argument to the method, to allow
8443 reading of old-format templates.
8445 2002-09-24 Dekel Tsur <dekelts@tau.ac.il>
8447 * toc.C (getTocList): Get TOC from InsetWrap.
8449 2002-09-16 John Levon <levon@movementarian.org>
8451 * lyxfunc.C: check tabular for cut/copy too
8453 2002-09-12 John Levon <levon@movementarian.org>
8458 * factory.C: add header
8460 * paragraph_funcs.h:
8461 * paragraph_funcs.C: cleanup
8463 2002-09-11 John Levon <levon@movementarian.org>
8465 * PrinterParams.h: odd/even default to true
8467 2002-09-12 Rob Lahaye <lahaye@snu.ac.kr>
8469 * PrinterParams.h: update printer parameters for new xforms dialog
8471 2002-09-11 Angus Leeming <leeming@lyx.org>
8473 * lyxserver.C (read_ready): re-write to make it more transparent
8474 and to make it work in coherent fashion under Tru64 Unix.
8476 2002-09-11 André Pönitz <poenitz@gmx.net>
8480 * text3.C: implement LFUN_WORDSEL
8482 2002-09-11 Lars Gullik Bjønnes <larsbj@gullik.net>
8484 * lyxtextclass.h: don't include FloatList.h, forward declare instead.
8485 make floatlist_ a boost::shared_ptr<FloatList>
8487 * lyxtextclass.C: include FloatList.h
8488 (LyXTextClass): initialize floatlist_
8489 (TextClassTags): add TC_NOFLOAT
8490 (Read): match "nofloat" to TC_NOFLOAT and use it.
8491 (readFloat): modify call to floatlist_
8495 * FloatList.[Ch] (FloatList): remove commented out float
8497 (erase): new function
8499 2002-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
8501 * MenuBackend.C (expandToc): fix crash when there is no document
8504 2002-09-10 Dekel Tsur <dekelts@tau.ac.il>
8506 * many files: Add insetwrap.
8508 2002-09-09 John Levon <levon@movementarian.org>
8510 * text2.C: remove confusing and awkward depth wraparound
8512 2002-09-09 John Levon <levon@movementarian.org>
8514 * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
8517 * buffer.C: remove getIncludeonlyList()
8520 * lyxfunc.C: remove headers
8522 2002-09-09 Juergen Vigna <jug@sad.it>
8524 * text.C (getColumnNearX): fix form Michael this is most
8525 probably a cut&paste bug.
8527 2002-09-06 Lars Gullik Bjønnes <larsbj@gullik.net>
8529 * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
8531 * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
8532 references, ws changes.
8534 * text2.C (init): update counters after init
8535 (insertParagraph): no need to set counter on idividual paragraphs.
8536 (setCounter): access the counters object in the textclass object
8537 on in the buffer object.
8538 (updateCounters): ditto
8540 * lyxtextclass.C: include counters.h, add variable ctrs_ as
8541 shared_ptr<Counters> to avoid loading counters.h in all
8543 (LyXTextClass): initialize ctrs_
8544 (TextClassTags): add TC_COUNTER, and ...
8545 (Read): use it here.
8546 (CounterTags): new tags
8547 (readCounter): new function
8548 (counters): new funtion
8549 (defaultLayoutName): return a const reference
8551 * counters.C (Counters): remove contructor
8552 (newCounter): remove a couple of unneeded statements.
8553 (newCounter): simplify a bit.
8554 (numberLabel): some small formatting changes.
8556 * buffer.[Ch]: remove all traces of counters, move the Counters
8557 object to the LyXTextClass.
8559 2002-09-06 Alain Castera <castera@in2p3.fr>
8561 * tabular.C: uses \tabularnewline; uses >{...} construct from array
8562 package to set the horizontal alignment on fixed width columns.
8565 * lyx_sty.h: added tabularnewline macro def.
8567 * LaTeXFeatures.C: added NeedTabularnewline macro feature
8569 2002-09-06 John Levon <levon@movementarian.org>
8571 * LyXAction.C: tooltips for sub/superscript
8573 * MenuBackend.C: a bit more verbose
8575 * lyxfunc.C: tiny clean
8577 * undo_funcs.C: document undo_frozen
8579 2002-09-05 Lars Gullik Bjønnes <larsbj@gullik.net>
8581 * counters.C (Counters): add missing algorithm counter.
8583 * text2.C (setCounter): lookup the counter with layouts latexname
8584 instead of by section number.
8585 (setCounter): use a hackish way to lookup the correct enum
8587 a float name->type change
8588 reset enum couners with counter name directly instead of depth value.
8590 * counters.C (Counters): remove the push_backs, change to use the
8591 float type not the float name.
8592 (labelItem): remove unused string, float name->type change
8594 * counters.h: don't include vector, loose the enums and sects vectors
8596 2002-09-04 Lars Gullik Bjønnes <larsbj@gullik.net>
8598 * lyxtextclass.C (TextClassTags): add TC_FLOAT
8599 (Read): add float->TC_FLOAT to textclassTags
8600 (Read): and handle it in the switch
8601 (readFloat): new function
8603 * FloatList.C (FloatList): comment out the hardcoded float
8606 * lyxlayout.h: ws change.
8608 2002-08-29 Dekel Tsur <dekelts@tau.ac.il>
8610 * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
8612 2002-09-03 Angus Leeming <leeming@lyx.org>
8614 * BufferView_pimpl.h: qualified name is not allowed in member
8615 declaration: WorkArea & Pimpl::workarea() const;
8617 * factory.C: added using std::endl directive.
8619 * text3.C: added using std::find and std::vector directives.
8621 2002-08-29 André Pönitz <poenitz@gmx.net>
8624 * text2.C: remove unused member number_of_rows
8627 * BufferView2.C: remove file, move contents to...
8628 * BufferView.C: ... here
8630 * BufferView_pimpl.C:
8631 * factory.C: move more inset creation to factory
8633 * vspace.C: avoid direct usage of LyXText, ws changes
8636 don't provide direct access to WorkArea, use two simple
8637 acessors haveSelction() and workHeight() instead
8640 2002-08-29 John Levon <levon@movementarian.org>
8642 * BufferView_pimpl.C (dispatch): do not continue when
8645 2002-08-28 André Pönitz <poenitz@gmx.net>
8647 * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
8650 * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
8652 2002-08-28 Rob Lahaye <lahaye@snu.ac.kr>
8654 * buffer.C: increment LYX_FORMAT to 221
8656 * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
8657 grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
8659 * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
8661 * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
8663 2002-08-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8665 * factory.C (createInset): use LyXTextClass::floats
8667 * MenuBackend.C (expandFloatListInsert):
8668 (expandFloatInsert):
8671 * text2.C (setCounter):
8673 * LaTeXFeatures.C (useFloat):
8674 (getFloatDefinitions):
8676 * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
8678 * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
8679 floatlist_, with accessor floats().
8681 * FloatList.h: remove global FloatList
8683 2002-08-26 André Pönitz <poenitz@gmx.net>
8685 * paragraph.[Ch]: Martin's patch for the \end_deeper bug
8689 * BufferView_pimpl.C:
8690 * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
8692 2002-08-25 John Levon <levon@movementarian.org>
8694 * LyXAction.C: fix margin note description
8696 2002-08-24 John Levon <levon@movementarian.org>
8700 * bufferview_funcs.C:
8702 * undo_funcs.C: cleanups
8704 * lyxfunc.C: disable CUT/COPY when no selection
8706 2002-08-23 Rob Lahaye <lahaye@snu.ac.kr>
8708 * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
8709 in "enum UNIT"; e.g. PTW for Percent of TextWidth
8711 * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
8712 Add backward compatibility to "mono", "gray" and "no".
8714 2002-08-24 Dekel Tsur <dekelts@tau.ac.il>
8716 * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
8717 (and file_format >= 200).
8719 2002-08-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8721 * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
8723 2002-08-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8725 * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
8727 2002-08-20 Martin Vermeer <martin.vermeer@hut.fi>
8729 * BufferView_pimpl.C:
8736 * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
8737 inset and code to make it work with the paragraph code. The inset
8738 can be anywhere in the paragraph, but will only do the expected
8739 thing in LaTeX if the layout file contains the parameter line
8741 (or more generally, a nonzero value) for that layout.
8743 2002-08-22 Lars Gullik Bjønnes <larsbj@gullik.net>
8745 * paragraph.h: remove the declaration of undefined counters class
8748 2002-08-22 Martin Vermeer <martin.vermeer@hut.fi>
8750 * text2.C (setCounter): fixed enumeration mis-count as reported by
8751 Dr. Richard Hawkins.
8753 2002-08-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
8755 * paragraph_funcs.h: remove some unneeded includes
8757 * text.C (backspace): pasteParagraph now in global scipe
8759 * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
8760 (pasteSelection): ditto
8762 * paragraph.[Ch] (pasteParagraph): move function to global scope ...
8763 * paragraph_funcs.C (pasteParagraph): ... here
8765 2002-08-20 André Pönitz <poenitz@gmx.net>
8767 * commandtags.h: new LFUNs for swapping/copying table row/colums
8770 * lyxfunc.C: support for new lfuns
8772 2002-08-21 Lars Gullik Bjønnes <larsbj@gullik.net>
8775 * buffer.[Ch]: remove NO_COMPABILITY stuff
8777 2002-08-20 Lars Gullik Bjønnes <larsbj@gullik.net>
8779 * boost.C (throw_exception): new file, with helper function for
8780 boost compiled without exceptions.
8785 * ParameterStruct.h:
8786 * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
8788 * bufferlist.C (emergencyWriteAll): use boost bind
8790 * BufferView_pimpl.C (moveCursorUpdate): remove inline
8792 * text.C: include paragraph_funcs.h
8793 (breakParagraph): breakParagraph is now in global scope
8795 * paragraph_funcs.[Ch]: new files
8797 * paragraph.C (breakParagraph,breakParagraphConservative): move to
8800 * buffer.C: include paragraph_funcs.h
8801 (insertStringAsLines): breakParagraph is now in global scope
8803 * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
8806 * CutAndPaste.C: include paragraph_funcs.h
8807 (cutSelection): breakParagraphConservative is now in global scope
8808 (pasteSelection): ditto
8810 * buffer.h: declare oprator== and operator!= for
8811 Buffer::inset_iterator
8813 * bufferlist.C (emergencyWrite): don't use fmt(...)
8815 * text3.C: add using std::endl
8817 * BufferView.C (moveCursorUpdate): remove default arg
8819 2002-08-20 André Pönitz <poenitz@gmx.net>
8821 * buffer.[Ch]: move inline functions to .C
8824 * BufferView_pimpl.C:
8826 * buffer.[Ch]: use improved inset_iterator
8829 * paragraph.[Ch]: write one paragraph at a time
8831 2002-08-20 Dekel Tsur <dekelts@tau.ac.il>
8833 * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
8834 style if style is not specified.
8836 2002-08-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8838 * text2.C (setCounter): when searching for right label for a
8839 caption, make sure to recurse to parent insets (so that a caption
8840 in a minipage in a figure float works) (bug #568)
8842 2002-08-20 André Pönitz <poenitz@gmx.net>
8844 * text3.C: new file for LyXText::dispatch() and helpers
8846 * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
8848 * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
8850 2002-08-19 André Pönitz <poenitz@gmx.net>
8853 * text.C: new LyXText::dispatch()
8855 * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
8857 2002-08-18 Dekel Tsur <dekelts@tau.ac.il>
8859 * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
8861 * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
8864 2002-08-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8866 * Makefile.am: use $(variables) instead of @substitutions@
8868 2002-08-15 André Pönitz <poenitz@gmx.net>
8871 * BufferView_pimpl.C: streamlining mathed <-> outer world
8875 * LyXAction.C: remove unused LFUN_MATH
8877 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8879 * paragraph.[Ch]: add some NO_NEXT ifdefs.
8881 2002-08-15 Lars Gullik Bjønnes <larsbj@gullik.net>
8883 * paragraph.C (Paragraph): reformat a bit
8884 (cutIntoMinibuffer): use builtin InsetList function instad of
8888 * buffer.C: include boost/bind.hpp, add using std::for_each
8889 (writeFileAscii): use ParagraphList iterators
8890 (validate): use for_each for validate traversal of paragraphs
8891 (getBibkeyList): use ParagraphList iterators
8892 (resizeInsets): use for_each to resizeInsetsLyXText for all
8894 (getParFromID): use ParagraphList iterators
8896 * BufferView2.C (lockInset): use paragraph list and iterators
8898 2002-08-14 John Levon <levon@movementarian.org>
8900 * lyxserver.C: remove spurious xforms include
8902 2002-08-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
8904 * lyxfunc.C (getStatus): disable math-extern outside of math mode
8906 2002-08-13 André Pönitz <poenitz@gmx.net>
8909 * lyxfunc.C: further cleaning
8911 2002-08-13 André Pönitz <poenitz@gmx.net>
8913 * funcrequest.h: new constructor
8915 * funcrequest.C: move stuff here from .h
8918 * BufferView_pimpl.C:
8921 * lyxfunc.C: subsequent changes
8923 * lyxfunc.h: new view() member function
8925 * lyxfunc.C: subsequent changes
8927 2002-08-13 Angus Leeming <leeming@lyx.org>
8930 * BufferView_pimpl.C:
8938 changes due to the changed LyXView interface that now returns references
8939 to member variables not pointers.
8941 2002-08-13 Angus Leeming <leeming@lyx.org>
8943 * WordLangTuple (word, lang_code): return references to strings,
8948 * lyxtext.h: forward-declare WordLangTuple.
8953 * text.C: #include "WordLangTuple.h".
8956 * text.C: (selectNextWordToSpellcheck): constify return type.
8958 2002-08-12 Martin Vermeer <martin.vermeer@hut.fi>
8964 * paragraph_pimpl.h:
8967 * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
8969 Made updateCounter always count from start of buffer, and removed
8970 second argument (par).
8971 Reverted floats number display to '#'. Perhaps I'll try again when the
8972 code base is sanitized a bit.
8974 2002-08-12 Angus Leeming <leeming@lyx.org>
8976 * buffer.[Ch] (getLabelList): constify.
8978 2002-08-07 André Pönitz <poenitz@gmx.net>
8980 * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
8982 * funcrequest.h: extension to keep mouse (x,y) position
8984 2002-08-12 Juergen Vigna <jug@sad.it>
8986 * BufferView2.C (insertErrors): forbid undo when inserting error
8989 * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
8991 2002-08-12 Lars Gullik Bjønnes <larsbj@gullik.net>
8993 * ParagraphList.[Ch]: new files
8995 * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
8997 * BufferView2.C (lockInset): ParagraphList changes
9000 * bufferlist.C: ditto
9004 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9006 * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
9007 unused class variable counter_,
9009 * paragraph.[Ch] (getFirstCounter): delete unused function
9011 * counters.C: include LAssert.h
9012 (reset): add a new function with no arg, change other version to
9013 not have def. arg and to not allow empty arg.
9015 * text2.C (setCounter): remove empty arg from call to Counters::reset
9017 2002-08-11 John Levon <levon@movementarian.org>
9019 * Makefile.am: add WordLangTuple.h
9021 2002-08-11 Lars Gullik Bjønnes <larsbj@gullik.net>
9023 * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
9024 lyxfunc.C lyxlex_pimpl.C: ws changes only.
9026 * insets/insettext.C: InsetList changes
9028 * graphics/GraphicsSupport.C (operator()): InsetList changes
9030 * toc.C (getTocList): InsetList changes
9032 * paragraph_pimpl.[Ch]: InsetList changes
9034 * paragraph.[Ch]: InsetList changes
9036 * buffer.C (inset_iterator): InsetList changes
9037 (setParagraph): ditto
9038 * buffer.h (inset_iterator): ditto
9039 * iterators.C (operator++): ditto
9040 * iterators.h: ditto
9042 * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
9044 * InsetList.[Ch]: new files, most InsetList handling moved out of
9047 * BufferView2.C (removeAutoInsets): InsetList changes
9049 (ChangeInsets): ditto
9051 2002-08-10 Lars Gullik Bjønnes <larsbj@gullik.net>
9053 * paragraph_pimpl.h (empty): new function
9055 * paragraph.[Ch] (empty): new function
9057 * other files: use the new Paragraph::empty function
9059 2002-08-09 John Levon <levon@movementarian.org>
9061 * lyxtext.h: remove unused refresh_height
9063 2002-08-09 John Levon <levon@movementarian.org>
9070 * paragraph.C: move sgml char escaping out of paragraph
9073 * paragraph.C: remove id setter
9077 * paragraph_pimpl.C: remove dead tex_code_break_column
9079 * bufferview_funcs.C: small cleanup
9081 * lyxfunc.C: remove dead proto
9083 * lyxtext.h: make some stuff private. Remove some dead stuff.
9085 * lyxgluelength.C: make as[LyX]String() readable
9087 2002-08-08 John Levon <levon@movementarian.org>
9092 * ToolbarDefaults.C:
9095 * toc.C: lyxaction cleanup
9097 2002-08-08 John Levon <levon@movementarian.org>
9099 * BufferView2.C: small cleanup
9102 * lyxfind.C: move unnecessary header into the .C
9104 2002-08-08 John Levon <levon@movementarian.org>
9106 * funcrequest.h: just tedious nonsense
9109 * lyx_main.C: cleanups
9112 * vspace.C: remove dead header lyx_main.h
9114 2002-08-07 Angus Leeming <leeming@lyx.org>
9117 * paragraph_pimpl.h:
9118 Forward declare class Counters in paragraph.h by moving the ctrs member
9119 variable into Paragraph::Pimpl.
9120 (counters): new method, returning a reference to pimpl_->ctrs.
9122 * text2.C: ensuing changes.
9124 2002-08-07 John Levon <levon@movementarian.org>
9126 * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
9128 * BufferView_pimpl.C: announce X selection on double/triple
9131 * lyx_main.C: use correct bool in batch dispatch
9133 * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
9135 2002-08-07 André Pönitz <poenitz@gmx.net>
9137 * funcrequest.h: new class to wrap a kb_action and its argument
9140 * BufferView_pimpl[Ch]:
9144 * lyxrc.C: subsequent changes
9147 2002-08-07 John Levon <levon@movementarian.org>
9149 * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
9150 document options change.
9152 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9157 * makefile.am: move counters functionality over from
9158 text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
9160 2002-08-06 John Levon <levon@movementarian.org>
9162 * WordLangTuple.h: new file for word + language code tuple
9173 * BufferView2.C: use WordLangTuple
9176 * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
9178 2002-08-06 John Levon <levon@movementarian.org>
9180 * lyx_main.C: fix cmdline batch handling
9182 2002-08-06 André Pönitz <poenitz@gmx.net>
9184 * lyxrc.C: set default for show_banner to true
9186 2002-08-06 John Levon <levon@movementarian.org>
9188 * pspell.C: fix a crash, and allow new aspell to work
9190 2002-08-06 John Levon <levon@movementarian.org>
9193 * kbmap.C: small cleanup
9196 * vspace.C: add const
9198 2002-08-05 John Levon <levon@movementarian.org>
9200 * LyXAction.C: back to tabular-insert
9202 2002-08-04 John Levon <levon@movementarian.org>
9205 * BufferView.C: cosmetic change
9207 * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
9217 * BufferView2.C: purge all "Lyx" not "LyX" strings
9220 * lyxcursor.C: attempt to add some documentation
9225 * ToolbarDefaults.C:
9226 * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
9227 merge with LFUN_TABULAR_INSERT
9234 * pspell.C: split up i/pspell implementations into separate
9235 files, many cleanups
9237 * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
9239 * text2.C: some cleanup
9241 * lyxfunc.C: don't check for isp_command == "none" any more, it
9242 didn't make any sense
9244 2002-08-06 Martin Vermeer <martin.vermeer@hut.fi>
9249 * makefile.am: move counters functionality over
9250 from text2.C/paragraph.[Ch] to counters.[Ch], and
9252 2002-08-02 John Levon <levon@movementarian.org>
9254 * buffer.C: s/lyxconvert/lyx2lyx/
9256 2002-08-02 Angus Leeming <leeming@lyx.org>
9258 * lyxlex.C: revert John's change as it breaks reading of the user
9261 2002-08-02 Angus Leeming <leeming@lyx.org>
9263 * importer.C (Import):
9264 * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
9265 changes due to LyXView::view() now returning a boost::shared_ptr.
9267 2002-08-02 John Levon <levon@movementarian.org>
9269 * lyxlex.C: small cleanup
9271 2002-08-02 John Levon <levon@movementarian.org>
9273 * text2.C (status): small cleanup, no logic change
9275 2002-08-01 John Levon <levon@movementarian.org>
9278 * buffer.C (writeFile): don't output alerts, caller
9282 * lyx_cb.C: from above
9284 * lyxfunc.C: allow to open non-existent files
9286 2002-07-31 John Levon <levon@movementarian.org>
9288 * lyxserver.C: don't let incidental errors get
9291 2002-07-30 John Levon <levon@movementarian.org>
9293 * lyxfunc.C: disable character dialog in ERT inset (partial fix)
9295 2002-07-30 John Levon <levon@movementarian.org>
9298 * lyxserver.C: remove I/O callback too
9300 2002-07-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9302 * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
9305 2002-07-29 Lars Gullik Bjønnes <larsbj@gullik.net>
9307 * many files: strip,frontStrip -> trim,ltrim,rtrim
9309 2002-07-28 Lars Gullik Bjønnes <larsbj@gullik.net>
9311 * PrinterParams.h: remove extern containsOnly, and include
9312 support/lstrings.h instead.
9314 * LaTeX.C (scanAuxFile): modify because of strip changes
9316 * buffer.C (makeLaTeXFile): ditto
9317 * bufferparams.C (writeFile): ditt
9318 * lyxfont.C (stateText): ditto
9319 * lyxserver.C (read_ready): ditto
9320 * vc-backend.C (scanMaster): ditto
9322 * BufferView_pimpl.h: ws changes
9324 * BufferView_pimpl.C: inlude boost/signals/connection.hpp
9326 2002-07-26 André Pönitz <poenitz@gmx.net>
9328 * kb_sequence.C: remove unnedred usings
9330 2002-07-26 Juergen Vigna <jug@sad.it>
9332 * lyxfind.C (LyXReplace): we have to check better if the returned
9333 text is not of theLockingInset()->getLockingInset().
9335 2002-07-25 Juergen Vigna <jug@sad.it>
9337 * lyxfind.C (LyXReplace): don't replace if we don't get the
9340 * undo_funcs.C (createUndo): remove debugging code.
9342 2002-07-25 Dekel Tsur <dekelts@tau.ac.il>
9344 * buffer.C (parseSingleLyXformat2Token): Use default placement
9345 when reading old floats.
9347 * FloatList.C (FloatList): Change the default placement of figure
9348 and tables to "tbp".
9350 2002-07-25 John Levon <moz@compsoc.man.ac.uk>
9352 * MenuBackend.C: using std::max
9354 2002-07-25 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9356 * MenuBackend.C (expandToc):
9357 (expandToc2): code moved from xforms menu frontend. It is now
9358 generic and TOCs are transparent to menu frontends.
9360 2002-07-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9362 * toc.C (getTocList): protect against buf=0
9364 * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
9365 Menu as first parameter. Now, this calls itself recursively to
9366 expand a whole tree (this will be useful for TOC handling)
9367 (expandFloatInsert): remove 'wide' version of floats
9369 * MenuBackend.h (submenuname): returns the name of the submenu.
9370 (submenu): returns the submenu itself, provided it has been
9371 created by MenuBackend::expand
9373 2002-07-23 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9375 * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
9376 insets which have noFontChange == true. (bug #172)
9378 2002-07-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
9380 * BufferView_pimpl.C: add connection objects and use them...
9383 2002-07-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9385 * MenuBackend.C (expandLastfiles):
9388 (expandFloatListInsert):
9389 (expandFloatInsert):
9390 (expand): split expand in parts
9392 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9394 * lyx_gui.C: use lyx_gui::exit()
9396 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9398 * LyXAction.C: show the failing pseudo action
9400 2002-07-22 Dekel Tsur <dekelts@tau.ac.il>
9402 * buffer.C (readFile): Run the lyxconvert script in order to read
9405 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9409 * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
9411 2002-07-22 John Levon <moz@compsoc.man.ac.uk>
9415 * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
9417 2002-07-22 Herbert Voss <voss@lyx.org>
9420 * lyxlength.[Ch]: add support for the vertical lengths
9422 2002-07-21 John Levon <moz@compsoc.man.ac.uk>
9424 * toc.[Ch]: std:: fixes
9426 2002-07-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9428 * lyxrc.C: do not include lyx_main.h
9430 * LaTeXFeatures.h: use a list<string> instead of a vector<string>
9436 * BufferView2.C: include "lyxlex.h"
9439 * bufferparams.h: do not #include "lyxlex.h"
9441 * lyxtextclasslist.C (Add): remove method
9442 (classlist): renamed to classlist_
9444 * paragraph_pimpl.C:
9448 * bufferview_funcs.C:
9453 * toc.C (getTocList): use BufferParams::getLyXTextClass
9455 * toc.C (getTocList): use InsetFloat::addToToc
9457 * toc.[Ch]: new files, containing helper functions to handle table
9460 * lyxfunc.C (dispatch): no need to remove spaces around command
9462 (getStatus): handle LFUN_SEQUENCE by returning the status of the
9463 first command of the sequence; it is not very clever, but I do not
9464 have a better idea, actually
9466 * LyXAction.C (LookupFunc): make sure to remove space at the
9467 beginning and end of the command
9469 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9471 * MenuBackend.C (getMenubar): new method: return the menubar of
9473 (read): treat differently reading of menu and menubar (in
9474 particular, the menubar has no name now)
9475 (Menu::menubar): remove
9477 * lyxfunc.C (dispatch): add 'done' message to minibuffer when
9480 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9482 * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
9483 a bibitem inset in a RTL paragraph.
9485 2002-07-20 John Levon <moz@compsoc.man.ac.uk>
9487 * paragraph_pimpl.C: constify
9489 * BufferView_pimpl.C:
9491 * lyxfunc.C: fix dispatch in a nicer way
9493 2002-07-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9495 * lyxfunc.C (dispatch):
9496 * BufferView_pimpl.C:
9497 * BufferView_pimpl.h:
9499 * BufferView.h: rename Dispatch() to dispatch()
9501 * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
9503 * lyxlayout.C (Read): honor DependsOn tag
9505 * lyxlayout.[Ch] (depends_on): new method
9507 * version.C.in: update lyx_docversion
9509 * LaTeXFeatures.C (getMacros): only define \LyX when needed
9511 * paragraph.C (validate): remove from here...
9512 * paragraph_pimpl.C (validate): ... and move here
9513 (isTextAt): make it const
9515 * buffer.C (getLists): ws cleanup
9517 2002-07-20 Dekel Tsur <dekelts@tau.ac.il>
9519 * language.C (read): Use iso8859-1 encoding in latex_lang
9520 (this prevents LyX from crashing when using iso10646-1 encoding).
9522 2002-07-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9524 * text2.C (toggleInset): if cursor is inside an inset, close the
9525 inset and leave cursor _after_ it
9527 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9529 * lyxfunc.C: move minibuffer completion handling out of here
9531 2002-07-19 John Levon <moz@compsoc.man.ac.uk>
9533 * BufferView_pimpl.C:
9534 * LaTeX.C: fix dispatch calls
9536 2002-07-19 Dekel Tsur <dekelts@tau.ac.il>
9538 * text.C (drawChars): Fix Arabic text rendering.
9540 2002-07-18 John Levon <moz@compsoc.man.ac.uk>
9544 * lyxfunc.C: remove message-push/pop
9548 * lyxfunc.C: rationalise some code by removing verboseDispatch
9549 in favour of a bool argument to dispatch()
9551 2002-07-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9553 * lyx_main.C (init): make sure to read symlinks as absolute paths
9555 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9558 * lyxfunc.C: no need for commandshortcut to be a member
9560 2002-07-15 André Pönitz <poenitz@gmx.net>
9562 * converter.C: add support for $$s (scripts from lib/scripts dir)
9563 * lyx_main.C: white space
9565 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9569 * lyxrc.C: remove second exit confirmation
9571 2002-07-17 John Levon <moz@compsoc.man.ac.uk>
9576 * BufferView_pimpl.h:
9577 * BufferView_pimpl.C:
9578 * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
9580 2002-07-16 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9582 * MenuBackend.C (expand): add numeric shortcuts to document menu
9584 * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
9586 2002-07-15 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9588 * lyxfont.C (setLyXFamily):
9595 * buffer.C (asciiParagraph): use ascii_lowercase
9597 2002-07-15 Mike Fabian <mfabian@suse.de>
9599 * lyxlex_pimpl.C (search_kw):
9600 * lyxlex.C (getLongString):
9601 * converter.h (operator<):
9602 * converter.C (operator<):
9603 * buffer.C (parseSingleLyXformat2Token):
9605 * ToolbarDefaults.C (read):
9606 * MenuBackend.C (checkShortcuts):
9608 * LColor.C (getFromGUIName):
9609 (getFromLyXName): use the compare_ascii_no_case instead of
9610 compare_no_case, because in turkish, 'i' is not the lowercase
9611 version of 'I', and thus turkish locale breaks parsing of tags.
9613 2002-07-16 Angus Leeming <leeming@lyx.org>
9615 * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
9616 now takes a Buffer const & argument.
9618 2002-07-15 John Levon <moz@compsoc.man.ac.uk>
9620 * BufferView.C (resize): check there's a buffer to resize
9622 2002-07-14 John Levon <moz@compsoc.man.ac.uk>
9624 * lyxfunc.C: remove dead code
9627 * lyxserver.C: use lyx_guii::set_read_callback
9629 2002-07-13 Dekel Tsur <dekelts@tau.ac.il>
9631 * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
9632 an inset in a RTL paragraph.
9634 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9636 * lyxfunc.C: repaint after a font size update
9638 2002-07-15 André Pönitz <poenitz@gmx.net>
9640 * lyxlength.C: inBP should be able to return negative values
9642 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9644 * lyxfunc.C: use lyx_gui::update_fonts()
9646 2002-07-12 John Levon <moz@compsoc.man.ac.uk>
9648 * lyxfunc.C: use lyx_gui::update_color()
9650 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9656 * lyxrc.C: remove file->new asks for name option, and let
9657 buffer-new take an argument
9659 2002-07-11 John Levon <moz@compsoc.man.ac.uk>
9661 * BufferView_pimpl.C: remove unneeded extra repaint()
9663 2002-07-10 John Levon <moz@compsoc.man.ac.uk>
9665 * LyXAction.C: allow command-sequence with NoBuffer
9667 * lyxfunc.C: don't insist on trailing ';' for command-sequence
9669 2002-07-10 Angus Leeming <leeming@lyx.org>
9671 * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
9673 2002-07-09 Angus Leeming <leeming@lyx.org>
9675 * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
9677 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9679 * lengthcommon.h: whitespace
9681 * lyxfunc.C: update scrollbar after goto paragraph
9683 * lyxtext.h: factor out page break drawing, and fix it so
9684 page break/added space paints as selected nicely
9686 2002-07-09 John Levon <moz@compsoc.man.ac.uk>
9688 * BufferView_pimpl.C: add FIXMEs, clean up a little
9690 2002-07-09 André Pönitz <poenitz@gmx.net>
9692 * lyxfont.[Ch]: support for wasy symbols
9694 2002-07-08 André Pönitz <poenitz@gmx.net>
9696 * BufferView_pimpl.C: apply John's patch for #93.
9698 2002-07-05 Angus Leeming <leeming@lyx.org>
9700 * BufferView_pimpl.C (buffer): generate previews if desired.
9702 * LColor.h: add "preview" to the color enum.
9704 * LColor.C (LColor): add a corresponding entry to the items array.
9706 * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
9709 2002-07-05 Angus Leeming <leeming@lyx.org>
9711 * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
9712 The body of the code is now in the method that is passed an ostream &
9713 rather than a file name.
9714 Pass an additional only_preamble parameter, useful for the forthcoming
9717 2002-07-03 André Pönitz <poenitz@gmx.net>
9719 * lyxfunc.C: simplify getStatus() a bit for math stuff
9721 2002-07-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
9723 * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
9725 2002-06-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9727 * text.C (changeRegionCase): do not change case of all the
9728 document when region ends at paragraph end (bug #461)
9730 2002-07-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9732 * paragraph.C (startTeXParParams):
9733 (endTeXParParams): add \protect when necessary
9735 2002-06-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
9737 * BufferView_pimpl.C (workAreaExpose): remove warning
9739 2002-06-27 Angus Leeming <leeming@lyx.org>
9741 * Makefile.am: add lyxlayout_ptr_fwd.h.
9743 2002-06-26 André Pönitz <poenitz@gmx.net>
9745 * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
9747 2002-06-25 Angus Leeming <leeming@lyx.org>
9749 * lyxfunc.C (dispatch): Comment out the call to
9750 grfx::GCache::changeDisplay. The method no longer exists now that the
9751 pixmap generation part of the graphics loader has been moved into
9754 2002-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
9756 * text2.C: layout as layout
9758 * text.C: layout as layout
9760 * tabular.C (OldFormatRead): layout as layout
9762 * paragraph_pimpl.C (TeXDeeper): layout as layout
9763 (realizeFont): layout as layout
9765 * paragraph.C (writeFile): layout as layout
9766 (validate): layout as layout
9767 (getFont): layout as layout
9768 (getLabelFont): layout as layout
9769 (getLayoutFont): layout as layout
9770 (breakParagraph): layout as layout
9771 (stripLeadingSpaces): layout as layout
9772 (getEndLabel): layout as layout
9773 (getMaxDepthAfter): layout as layout
9774 (applyLayout): layout as layout
9775 (TeXOnePar): layout as layout
9776 (simpleTeXOnePar): layout as layout
9777 (TeXEnvironment): layout as layout
9778 (layout): layout as layout
9779 (layout): layout as layout
9781 * lyxtextclass.C (compare_name): new functor to work with
9782 shared_ptr, layout as layout
9783 (Read): layout as layout
9784 (hasLayout): layout as layout
9785 (operator): layout as layout
9786 (delete_layout): layout as layout
9787 (defaultLayout): layout as layout
9789 * lyxlayout_ptr_fwd.h: new file
9791 * lyxlayout.C (Read): layout as layout
9793 * lyx_cb.C (MenuInsertLabel): layout as layout
9795 * bufferlist.C (newFile): layout as layout
9797 * buffer.C (readLyXformat2): layout as layout
9798 (parseSingleLyXformat2Token): layout as layout
9799 (insertStringAsLines): layout as layout
9800 (asciiParagraph): layout as layout
9801 (latexParagraphs): layout as layout
9802 (makeLinuxDocFile): layout as layout
9803 (simpleLinuxDocOnePar): layout as layout
9804 (makeDocBookFile): layout as layout
9805 (simpleDocBookOnePar): layout as layout
9806 (getLists): layout as layout
9808 * LaTeXFeatures.C (getTClassPreamble): layout as layout
9810 * CutAndPaste.C (cutSelection): layout as layout
9811 (pasteSelection): layout as layout
9812 (SwitchLayoutsBetweenClasses): layout as layout
9814 * BufferView_pimpl.C (Dispatch): layout as layout
9815 (smartQuote): layout as layout
9817 * BufferView2.C (unlockInset): layout as layout
9819 2002-06-24 André Pönitz <poenitz@gmx.net>
9821 * lyxfunc.C: fix #487
9823 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9827 * lyxfunc.C: remove display_shortcuts, show_banner
9829 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9831 * Buffer_pimpl.C: oops, update on resize
9833 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9840 * BufferView.C: use repaint()
9842 * BufferView_pimpl.h:
9843 * BufferView_pimpl.C: s/updateScreen()/repaint()/
9844 as it's a clearer description. Remove superfluous
9847 2002-06-21 John Levon <moz@compsoc.man.ac.uk>
9849 * text.C: fix bug 488. Not ideal, but getting
9850 getWord() to work properly for the insets that
9851 matter is more difficult ...
9853 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9855 * BufferView_pimpl.C:
9858 * lyxfunc.C: remove the six million index lyxfuncs to just
9859 one, and DTRT (bug 458)
9861 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9865 * BufferView_pimpl.h:
9866 * BufferView_pimpl.C: clean up resize() stuff,
9867 and unnecessary updateScreen()s
9869 2002-06-20 John Levon <moz@compsoc.man.ac.uk>
9873 * BufferView_pimpl.h:
9874 * BufferView_pimpl.C:
9877 * minibuffer.C: remove focus management of workarea,
9878 not needed. Use screen's greyOut()
9880 2002-06-17 Herbert Voss <voss@lyx.org>
9882 * converter.C: (convert) do not post a message, when converting
9883 fails, let the calling function decide what to do in this case
9885 2002-06-18 John Levon <moz@compsoc.man.ac.uk>
9887 * lyxfunc.C: tidy up a little
9889 2002-06-16 <alstrup@diku.dk>
9891 * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
9892 Got rid of FORMS_H_LOCATION include. Now we are
9895 2002-06-15 LyX Development team <lyx@rilke>
9897 * buffer.[Ch] (sgmlOpenTag):
9898 (sgmlCloseTag): Added support for avoiding pernicious mixed
9899 content. Return number of lines written.
9902 (makeDocBookFile): Fixed calls to sgml*Tag.
9903 Simple white space clean.
9905 (simpleDocBookOnePar): Simple white space clean.
9907 * tabular.[Ch] (docBook): Renamed to docbook and got another
9908 argument to related with the pernicious mixed content.
9910 (docbookRow): Fixed calls for docbook inset method.
9912 2002-06-15 Lyx Development team <larsbj@birdstep.com>
9914 * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
9915 so it's X11 independent.
9919 * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
9921 2002-06-15 Lyx Development team <lyx@electronia>
9923 * intl.h: Renamed getTrans to getTransManager.
9925 2002-06-14 Angus Leeming <leeming@lyx.org>
9927 * Makefile.am: nuke forgotten stl_string_fwd.h.
9929 2002-06-12 Angus Leeming <leeming@lyx.org>
9931 * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
9933 2002-06-13 Angus Leeming <leeming@lyx.org>
9936 * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
9938 2002-06-12 Andrew Zabolotny <zap@cobra.ru>
9940 * kbmap.C (getiso): add support for cyrillic and greek
9942 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9946 * BufferView_pimpl.h:
9947 * BufferView_pimpl.C: move bogus scrolling logic
9950 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9953 * BufferView_pimpl.C: view->resize() change
9955 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9957 * BufferView_pimpl.C: topCursorVisible
9960 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9964 * lyx_gui.C: move to frontends/
9968 * lyx_main.C: changes from above
9970 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9977 * lyx_main.C: minor tidy
9979 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9981 * BufferView_pimpl.h:
9982 * BufferView_pimpl.C:
9984 * BufferView.C: make painter() const,
9987 * BufferView2.C: use screen() accessor
9990 * lyx_main.C: some minor cleanup
9992 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
9994 * BufferView_pimpl.h:
9995 * BufferView_pimpl.C: remove enter/leaveView,
9998 2002-06-12 John Levon <moz@compsoc.man.ac.uk>
10003 * BufferView_pimpl.h:
10004 * BufferView_pimpl.C: only construct screen once,
10007 * lyxrc.C: remove pointless comment
10009 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10012 * BufferView.C: remove active() and belowMouse()
10014 * BufferView_pimpl.h:
10015 * BufferView_pimpl.C: use workarea() not workarea_,
10016 and make it use a scoped_ptr instead
10018 2002-06-11 John Levon <moz@compsoc.man.ac.uk>
10020 * lyx_gui.C: add debug message on BadWindow
10022 2002-06-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
10024 * sp_spell.C: fdopen is not part of the C++ standard.
10026 * paragraph.C (InsetIterator): use >= instead of ==
10028 2002-06-07 Angus Leeming <leeming@lyx.org>
10030 Fixes needed to compile with Compaq cxx 6.5.
10031 * BufferView_pimpl.C:
10038 * lyxtextclasslist.C:
10043 all c-library variables have been moved into namespace std. Wrap
10044 using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
10049 Add a using std::abs declaration.
10051 * kbmap.h (modifier_pair):
10052 * paragraph.h (InsetTable, InsetList):
10053 * lyxfont.h (FontBits):
10054 type definition made public.
10056 * bufferlist.C (emergencyWriteAll): the compiler complains that
10057 there is more than one possible lyx::class_fun template to choose from.
10058 I re-named the void specialisation as lyx::void_class_fun.
10060 * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
10062 * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
10063 the compiler is is unable to find tostr in write_attribute.
10065 2002-06-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10067 * buffer.C (sgmlError): hide #warning
10069 2002-06-05 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10071 * xtl/*: get rid of xtl, which is not in use anyway
10073 * LyXAction.C (init):
10074 * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
10075 were unimplemented xtl experimentation
10077 2002-06-04 André Pönitz <poenitz@gmx.net>
10079 * lyxfunc.C: disable array operation on simple formulae
10081 2002-06-03 John Levon <moz@compsoc.man.ac.uk>
10083 * converter.C: constify a bit
10085 2002-06-02 John Levon <moz@compsoc.man.ac.uk>
10087 * lyx_gui.C: check xforms version correctly
10089 2002-04-30 Herbert Voss <voss@lyx.org>
10091 * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
10094 2002-05-31 John Levon <moz@compsoc.man.ac.uk>
10096 * lyxvc.C: fix bug 416 (make sure buffer is saved before
10097 attempt to register it with a VCS)
10099 2002-05-30 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10101 * lyx_main.C (init): honor variables LYX_DIR_13x and
10104 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10108 * lyx_main.C: fix a crash on bad command line,
10109 and give a useful exit status on error
10111 * lyxfunc.C (doImport): allow -i lyx to work
10113 2002-03-30 André Pönitz <poenitz@gmx.net>
10115 * lyxfunc.C: mathed font changes
10117 2002-05-30 John Levon <moz@compsoc.man.ac.uk>
10132 * trans_mgr.h: srcdocs, and some minor cleanups
10134 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10136 * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
10137 call getFont all the time)
10139 2002-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
10141 * switch from SigC signals to boost::signals
10143 2002-05-29 André Pönitz <poenitz@gmx.net>
10145 * paragraph_pimpl.C (getChar): don't call size() too often...
10147 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10149 * paragraph_pimpl.C (insertChar): do not try to update tables when
10150 appending (pos == size())
10152 * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
10153 in order to reduce drastically the number of comparisons needed to
10154 parse a large document
10156 2002-05-29 André Pönitz <poenitz@gmx.net>
10162 * textclasslist.[Ch]:
10163 * sp_ispell.h: whitespace change
10165 2002-05-29 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10167 * lyxserver.C (callback): tentative fix of lyxserver. Does not use
10168 lyxaction directly now.
10170 2002-05-27 John Levon <moz@compsoc.man.ac.uk>
10174 * lyxvc.C: remove unused headers
10176 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10183 * undo_funcs.C: some cleanups. Use shared_ptr
10184 and a template for the undo stacks.
10186 2002-05-26 John Levon <moz@compsoc.man.ac.uk>
10188 * BufferView_pimpl.h:
10189 * BufferView_pimpl.C:
10196 * text2.C: use key_state/mouse_state
10198 2002-05-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10200 * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
10203 * chset.C: change include order
10204 (loadFile): use boost regex and get rid of LRegex and LSubstring
10206 * Makefile.am (BOOST_LIBS): new variable
10207 (lyx_LDADD): use it
10209 * LaTeX.C: change include order.
10210 (scanAuxFile): use boost regex and get rid of LRegex and
10214 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10219 * FontInfo.C: moved to frontends/xforms/
10222 * FontLoader.C: moved into frontends for GUIIzation
10227 * lyxfunc.C: changes from above
10229 2002-05-24 John Levon <moz@compsoc.man.ac.uk>
10231 * LColor.C: remove spurious X include
10233 * BufferView_pimpl.C:
10238 * text2.C: move font metrics to frontends/
10240 2002-05-24 Juergen Vigna <jug@sad.it>
10242 * undo_funcs.C (textHandleUndo): fix the cursor selection after
10243 setting the undo_cursor.
10245 * ParagraphParameters.h: include local includes first.
10247 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10249 * BufferView_pimpl.C:
10250 * BufferView_pimpl.h:
10254 * screen.C: move WorkArea into frontends/
10260 * BufferView2.C: move LyXScreen into frontends/
10264 * lyx_gui.C: move lyxlookup into frontends/xforms/
10266 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10269 * BufferView_pimpl.C:
10279 * bufferview_funcs.C:
10292 * vc-backend.C: move LyX/XFormsView into frontends/
10294 2002-05-23 John Levon <moz@compsoc.man.ac.uk>
10306 * text2.C: move Painter to frontends/
10308 2002-05-22 Lars Gullik Bjønnes <larsbj@birdstep.com>
10310 * buffer.C: comment out some some code that depend upon lyx_format
10313 * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
10314 * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
10316 * buffer.h (NO_COMPABILITY): turn off compability
10318 * ColorHandler.C: include scoped_array.hpp
10320 * font.C: Use more specific smart_ptr header.
10323 * ShareContainer.h: ditto
10324 * lyx_main.h: ditto
10326 * FontInfo.h: ditto
10327 * BufferView_pimpl.h: ditto
10328 * ColorHandler.h: ditto
10330 * kbmap.C (defkey): change call to shared_ptr::reset
10332 2002-05-21 Juergen Vigna <jug@sad.it>
10334 * buffer.C (insertErtContents): fix to insert ert asis if it is
10335 non empty. Skip it completely if it contains only whitespaces.
10337 2002-05-15 John Levon <moz@compsoc.man.ac.uk>
10339 * BufferView_pimpl.C:
10340 * BufferView2.C: clear selection on paste (bug 393)
10342 2002-05-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10344 * DepTable.C: include ctime
10346 2002-05-11 Dekel Tsur <dekelts@tau.ac.il>
10348 * buffer.C (latexParagraphs): Add new argument (moving_arg).
10350 2002-05-14 Juergen Vigna <jug@sad.it>
10352 * text.C (breakParagraph): fixed function to honor the keepempty
10353 layout in the right maner and also to permit the right breaking
10354 algorithm on empty or non empyt keepempty paragraphs.
10356 * paragraph.C (breakParagraph): we have to check also if the par
10357 is really empty (!size()) for isempty otherwise we do the wrong
10360 2002-05-10 Juergen Vigna <jug@sad.it>
10362 * buffer.[Ch] : The following are only changes to the ert
10363 compatibility read reading old LaTeX layout and font stuff and
10364 convert it to ERTInsets.
10366 * buffer.h: added isErtInset().
10368 * buffer.C (struct ErtComp): add a fromlayout bool to check
10369 if we're inside a LaTeX layout.
10370 (isErtInset): new helper function.
10371 (insertErtContents): look for other ert insets before this one
10372 and insert the contents there, so that we don't have subsequent
10373 ERT insets with nothing between them. This way we create only one
10374 inset with multiple paragraphs. Also check if we don't insert only
10375 spaces ' ' as they are ignored anyway afterwards in the .tex file
10376 so if we have only spaces we will ignore this latex part in the
10378 (parseSingleLyXformat2Token \\layout): better compatibility when
10379 reading layout-latex stuff.
10380 (parseSingleLyXformat2Token \\lang): put the insetERT in the right
10382 (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
10383 stuff after reading the inset only get the information back from
10386 2002-05-10 Dekel Tsur <dekelts@tau.ac.il>
10388 * buffer.C (makeLaTeXFile): Put language options after loading babel.
10390 * LaTeXFeatures.C (getBabelOptions): New method.
10392 2002-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
10394 * BufferView_pimpl.C (Dispatch): work around missing argument for
10397 2002-05-08 Juergen Vigna <jug@sad.it>
10399 * text.C (leftMargin): handle paragraph leftindent.
10401 * paragraph.C (writeFile): write the new \\leftindent tag.
10402 (validate): handle leftindent code.
10403 (TeXEnvironment): handle paragraphleftindent code again.
10405 * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
10407 * buffer.C (parseSingleLyXformat2Token): added compatibility code
10408 for paragrap_extra indent code and new token \\leftindent.
10409 (latexParagraphs): handle the leftindent as environment.
10411 * ParameterStruct.h: added leftindent support.
10413 * ParagraphParameters.C (leftIndent): added support functions for
10414 the paragraph left indent.
10416 * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
10419 2002-05-05 Dekel Tsur <dekelts@tau.ac.il>
10421 * paragraph.C (isRightToLeftPar): Return false for a paragraph
10424 * text.C (computeBidiTables): No bidi in insetERT.
10426 * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
10429 2002-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10431 * version.C.in: pre 5
10433 2002-05-02 José Matos <jamatos@fep.up.pt>
10434 * buffer.C (makeDocBookFile): white space changes, add newline to
10436 (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
10438 * tabular.C (docBook): fix typo.
10440 2002-05-03 Juergen Vigna <jug@sad.it>
10442 * screen.C (drawFromTo): recalculate the rowpointer if we had a
10443 change in LyXText as we can not be sure it was not freed.
10444 (drawOneRow): remove unused code.
10446 * text.C (drawInset): redo the calculation of the need_break_row as
10447 it could have a row which was already freed.
10448 (draw): look at the return value of drawInset and return false if
10449 it also returned false.
10450 (paintRowText): look at the return value of draw and return false if
10451 it also returned false.
10453 * lyxtext.h: added bool return type to drawInset() and draw() so that
10454 if we have a change in the row so that the rowbreak has to be redone
10455 we abort drawing as it will be called again.
10457 2002-05-02 Juergen Vigna <jug@sad.it>
10459 * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
10460 a change in the maintext also if we're inside an inset.
10461 (Dispatch): set the cursor again after a break line and after the
10462 screen has been updated as it could be we're in a different row.
10464 * text2.C (fixCursorAfterDelete): check to make sure we don't request
10465 to set the cursor behind the pargraph with > size().
10466 (setCursor): check also for the same paragraph when checking where
10467 to put the cursor if we have a NFR inset.
10469 * buffer.C (parseSingleLyXformat2Token): move the compatibility
10470 parts of layout read further up as it still was in the wrong
10473 2002-05-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
10475 * screen.C (drawFromTo): change sine fullRebreak always return
10478 * buffer.C (parseSingleLyXformat2Token): reindent some
10480 * BufferView_pimpl.C (update): change since fullRebreak always
10482 (Dispatch): git rid of the last hardcoded "Standard"s.
10484 2002-05-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
10486 * text2.[Ch] (fullRebreak): make it return void now that we always
10489 2002-04-30 Juergen Vigna <jug@sad.it>
10491 * buffer.C (parseSingleLyXformat2Token): reset the font before the
10492 ert compatibility check for "latex" layout.
10494 2002-04-29 Dekel Tsur <dekelts@tau.ac.il>
10496 * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
10497 minipages: use col% instead of p%, and also use the current font.
10498 (makeLaTeXFile): Fix use babel condition.
10499 (parseSingleLyXformat2Token): Correct font when reading old floats.
10501 2002-04-28 Dekel Tsur <dekelts@tau.ac.il>
10503 * BufferView_pimpl.C (Dispatch): Check that float type exists when
10504 inserting list of floats.
10506 2002-04-25 Herbert Voss <voss@lyx.org>
10508 * MenuBackend.C (expand): don't add the graphics extensions to the
10511 2002-04-24 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10513 * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
10514 non-existing layout, do not complain if it was the default layout
10515 of the original class (bug #342)
10517 2002-04-24 Juergen Vigna <jug@sad.it>
10519 * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
10520 (workAreaButtonRelease): don't do anything if it was a mouse-wheel
10522 2002-04-22 Angus Leeming <a.leeming@ic.ac.uk>
10524 * buffer.C (getBibkeyList): If using \bibliography, return the
10525 option field with the reference itself. Enables us to provide natbib
10526 support when using \bibliography.
10528 2002-04-23 Mike Ressler <mike.ressler@alum.mit.edu>
10530 * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
10532 * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
10533 natbib is provided by the LaTeX class.
10535 2002-04-23 Juergen Vigna <jug@sad.it>
10537 * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
10540 * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
10542 2002-04-22 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10544 * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
10546 * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
10547 ensuremath around textordmasculine, textordfeminine and
10550 2002-04-19 Juergen Vigna <jug@sad.it>
10552 * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
10553 reinitializing the buffer otherwise row-dimensions may be wrong.
10554 (update): reset also the selection cursors if they do exits otherwise
10555 their x/y positions may be wrong.
10557 * text2.C (cursorDown): don't enter the inset if we came from a row
10558 above and are one row over the inset.
10560 * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
10561 really leaving an inset.
10563 2002-04-18 Juergen Vigna <jug@sad.it>
10565 * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
10566 of the selected paragraph does not have the selected layout also if
10569 * text2.C (setLayout): fixed bug which did not change last selected
10572 * tabular.C (OldFormatRead): check also for \\end_inset as Lars
10573 changed the read and substituted \\end_float with \\end_inset!
10575 * BufferView_pimpl.C (cursorPrevious):
10576 (cursorNext): fixed to make it work with rows heigher than the work
10577 area without moving the cursor only the draw of the row.
10578 (workAreaMotionNotify): fix jumping over high rows.
10580 2002-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
10582 * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
10585 2002-04-16 Juergen Vigna <jug@sad.it>
10587 * text2.C (setCursor): set also the irow().
10588 (setCursorFromCoordinates): fixed to set the (i) cursor values right!
10590 (cursorDown): support for locking an inset if the x_fix value goes
10591 inside it. That way I can transverse insets too with cursor up/down.
10593 * lyxrow.h: added irow helper function same as other (i) functions.
10595 * BufferView_pimpl.C (cursorPrevious):
10596 (cursorNext): fixed for insets!
10598 2002-04-15 Juergen Vigna <jug@sad.it>
10600 * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
10601 position otherwise it is wrong in some cases.
10603 * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
10604 inside the inset before the call.
10606 2002-04-16 Angus Leeming <a.leeming@ic.ac.uk>
10608 * buffer.[Ch] (getBibkeyList): make it const.
10610 2002-04-12 Juergen Vigna <jug@sad.it>
10612 * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
10614 * text2.C (getCursorX): new helper function
10615 (setCursor): compute also ix_
10616 (setCursorFromCoordinates): set also ix.
10618 * lyxcursor.h: added ix_ and helper functions.
10620 * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
10622 * buffer.C (insertStringAsLines): dont break paragraph if the this
10623 paragraph is inside an inset which does not permit it!
10625 * text.C (breakParagraph): honor keepempty flag and break the paragraph
10626 also with no chars on this paragraph.
10627 (paintRowText): only paint stuff if it's inside the workarea!
10629 * paragraph.C (breakParagraph): honor keepempty flag and break the
10630 paragraph always below not above.
10632 * BufferView2.C (unlockInset): update the paragraph layout on inset
10633 unlock as we changed paragraph in such a case.
10635 * lyxfind.C (LyXFind): clear the former selection if not found!
10637 * text2.C (insertInset): freeze Undo after setUndo so that it is not
10638 again called in insertChar().
10640 * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
10641 an inset which uses the whole row!
10642 (rightMargin): ditto.
10643 (insertChar): force a rebreak if we inserted an inset!
10645 2002-03-28 Herbert Voss <voss@lyx.org>
10647 * lyxlength.[Ch]: add inBP() to get the right PS-point
10648 units (BigPoint). With inPixels we have rounding errors
10650 2002-04-11 Juergen Vigna <jug@sad.it>
10652 * text2.C (setCursorFromCoordinates): set iy to the right value.
10653 (setCursor): add check if row->previous exists!
10655 * buffer.C (parseSingleLyXformat2Token): reset font after read of
10656 an old float_type as this was the case in the old code!
10658 * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
10660 * BufferView2.C (showLockedInsetCursor): use iy
10661 (fitLockedInsetCursor): ditto
10663 * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
10664 locked insets as there we have the right value now.
10666 * lyxcursor.C: added iy_ variable and iy functions to set to the
10667 baseline of cursor-y of the locked inset.
10669 * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
10670 (setCursor): fixed for insets which need a full row.
10672 * text.C (rowLastPrintable): don't ignore the last space when before
10673 an inset which needs a full row.
10674 (numberOfSeparators): use rowLastPrintable and <= last to honor a space
10675 as last character of a row when before a inset which needs a full row.
10677 2002-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
10679 * version.C.in: update date
10681 * text2.C (fullRebreak): try to always return true and see what
10684 2002-04-04 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10686 * MenuBackend.C (expand): use Floating::listName
10688 * FloatList.C (FloatList): add listName argument to the built-in
10691 * Floating.[Ch]: add listName member, which is the 'List of XXX'
10692 text associated with the float.
10694 2002-04-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10696 * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
10698 2002-04-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
10700 * ShareContainer.h: add a couple of missing typenames.
10702 2002-04-02 Angus Leeming <a.leeming@ic.ac.uk>
10704 * lyxrc.C (getDescription): use _() correctly rather than N_().
10706 2002-03-28 Herbert Voss <voss@lyx.org>
10708 * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
10709 "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
10711 2002-04-02 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10713 * lyx_main.C (init): use environment variable LYX_DIR_12x instead
10714 of LYX_DIR_11x. Same for LYX_USERDIR_12x.
10716 2002-03-29 Juergen Vigna <jug@sad.it>
10718 * lyxfunc.C (dispatch): add a missing fitCursor call.
10720 * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
10721 it was scrolled by a cursor move, so return the bool status.
10723 * BufferView.C (fitCursor): return the bool flag also to the outside
10724 world as this is needed.
10726 * screen.C (toggleToggle): don't subtract the offset if it's positive.
10728 * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
10729 call the edit() as it is not needed (and wrong) IMO.
10730 (workAreaButtonPress): set the screen_first variable before evt.
10731 unlock the inset as this may change screen_first and then we have
10732 a wrong y position for the click!
10734 2002-03-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10736 * MenuBackend.C (expand): another translation that I missed
10738 2002-03-28 Juergen Vigna <jug@sad.it>
10740 * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
10742 * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
10744 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10746 * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
10748 * MenuBackend.C (expand): fix export/view/update when there is no
10751 2002-03-27 Herbert Voss <voss@lyx.org>
10753 * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
10756 2002-03-27 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10758 * bufferview_funcs.C (currentState): only show paragraph number
10759 for is DEVEL_VERSION is set.
10761 * lyxfunc.C (dispatch): put warning in INFO channel
10763 * MenuBackend.C (expand): translate the name of floats
10765 * FloatList.C (FloatList): mark the float names for translation
10767 * converter.C (convert): use LibScriptSearch
10769 2002-03-26 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10771 * MenuBackend.C (defaults): fix default menu (we might as well get
10774 2002-03-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
10776 * lyxvc.C (registrer): register the file with CVS if it's in a CVS
10779 2002-03-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
10781 * lyxvc.C: reorder includes.
10783 2002-03-25 John Levon <moz@compsoc.man.ac.uk>
10785 * BufferView_pimpl.C (updateScrollbar): update on buffer switch
10788 2002-03-19 John Levon <moz@compsoc.man.ac.uk>
10790 * CutAndPaste.C: change layouts earlier on paste
10791 to avoid crashing when calling getFont()
10793 2002-03-22 Angus Leeming <a.leeming@ic.ac.uk>
10795 * PrinterParams.h: #include "lyxrc.h" and remove that bloody
10798 2002-03-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
10800 * WorkArea.C: remove 'Pending' debug message.
10802 * most files: ws cleanup
10804 * buffer.[Ch]: ws changes
10806 * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
10808 2002-03-21 Juergen Vigna <jug@sad.it>
10810 * tabular.C (SetMultiColumn): collapse also the contents of the
10811 cells and set the last border right. Added a Buffer const * param.
10813 2002-03-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
10815 * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
10818 2002-03-19 Juergen Vigna <jug@sad.it>
10820 * text2.C (clearSelection): reset also xsel_cache.
10822 * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
10823 where it needs to be called (John tells us to do so too :)
10824 (selectionLost): reset sel_cache.
10826 * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
10828 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10830 * text2.C (setCursorIntern): put debuging code in INSETS channel
10832 2002-03-19 André Pönitz <poenitz@gmx.net>
10834 * lyxfunc.C: tiny whitespace change
10836 2002-03-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
10838 * ToolbarDefaults.C (init):
10839 * LyXAction.C (init):
10841 * BufferView_pimpl.C (Dispatch):
10842 * lyxfunc.C (dispatch): remove LFUN_DEPTH
10844 2002-03-19 Allan Rae <rae@lyx.org>
10846 * exporter.C (Export): removeAutoInsets before doing anything else.
10847 While I've just introduced a dependency on BufferView this really is
10848 the best place to clean the buffer otherwise you need to cleanup in
10849 a dozen places before calling export or cleanup in a dozen functions
10852 * converter.C (runLaTeX):
10853 (scanLog): Better handling of removeAutoInsets and screen updates.
10855 * lyxfunc.C (dispatch): small whitespace changes
10857 2002-03-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
10859 * WorkArea.C (C_WorkAreaEvent): return a value.
10860 (event_cb): return 1 if we handled the event, 0 otherwise.
10862 * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
10864 2002-03-18 Juergen Vigna <jug@sad.it>
10866 * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
10867 (GetAdditionalWidth): ditto.
10868 (RightLine): ditto.
10871 * BufferView2.C (copy): use getLyXText() so that we do it inside an
10872 inset if we're there actually (probably not used right now but this
10873 is the direction to go for unifying code).
10874 (paste): disable code to clear the selection.
10876 * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
10877 inside an InsetText and move the check further up as it is in the
10880 * text2.C (pasteSelection): set a selection over the pasted text.
10882 2002-03-14 Kayvan A. Sylvan <kayvan@sylvan.com>
10884 * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
10885 and libgraphics to build on Cygwin.
10887 2002-03-15 Juergen Vigna <jug@sad.it>
10889 * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
10890 inserting an Inset into the paragraph. I know this is not the best
10891 fix but we already use current_view in CutAndPaste so we will remove
10892 all of it's using at the same time.
10894 * buffer.C (sgmlError): deactivated function till it is rewritten in
10895 the right mode, now it can create problems.
10897 * paragraph.C (isLineSeparator): check if getInset returns != 0,
10898 before accessing it.
10900 2002-03-14 Juergen Vigna <jug@sad.it>
10902 * undo_funcs.C (textHandleUndo): do the right thing when updating
10903 the inset after the undo/redo.
10905 * text2.C (setCursor): just some testcode for #44 not ready yet.
10907 * undo_funcs.C (textHandleUndo): set the next() and previous()
10908 pointers of the paragraph to 0 before deleting otherwise we have
10909 problems with the Paragraph::[destructor].
10911 * text.C (breakParagraph): IMO we should ALWAYS force a real undo
10912 on a paragraph insertion.
10914 2002-03-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
10916 * buffer.C (asciiParagraph): use += operator for char append to
10919 * paragraph.C (getFontSettings): compare >= not just >
10920 (highestFontInRange): ditto
10923 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10925 * paragraph.C: change several algorithm to be more appripriate for
10926 the problem domain. This is lookip in FontList and in the InsetList.
10928 2002-03-13 André Pönitz <poenitz@gmx.net>
10931 * LyXAction.C: remove unused LFUN_MATH_MACROARG
10933 2002-03-06 John Levon <moz@compsoc.man.ac.uk>
10938 * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
10940 2002-03-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
10942 * Painter.C (display): anon helper function, adjust code for this
10944 (pixmap): remove function.
10946 * Painter.h: remove private display variable.
10948 * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
10950 2002-03-13 Angus Leeming <a.leeming@ic.ac.uk>
10952 * WorkArea.[Ch]: remove figinset_canvas cruft.
10954 2002-03-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
10956 * lyxtextclass.C (operator): add one item cache optimization.
10958 * bufferlist.h: doxy changes
10960 * bufferlist.C: ws changes
10962 * DepTable.[Ch] (ext_exist): place const in the right spot.
10964 * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
10966 (workAreaExpose): call resizeInsets when the with BufferView changes.
10967 (Dispatch): adjust for protectedBlank removal
10968 (specialChar): call updateInset if the insert went ok.
10970 * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
10971 specialChar instead.
10973 * BufferView2.C (ChangeInsets): remove warning add FIXME comment
10975 * BufferView.h: doxy change
10977 * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
10979 * lyxtextclass.C (operator[]): remove non-const version
10980 (defaultLayout): remove non-const version
10982 2002-03-12 Juergen Vigna <jug@sad.it>
10984 * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
10985 did resize the LyXText too.
10987 * buffer.C (readLyXformat2): set layout information on newly allocated
10990 * tabular.C (OldFormatRead): set layout information on the paragraph.
10992 2002-03-12 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
10994 * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
10996 2002-03-11 Juergen Vigna <jug@sad.it>
10998 * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
11000 (resizeCurrentBuffer): force also the insets to resize themselfes.
11001 (moveCursorUpdate): fixed up for InsetText.
11003 2002-03-08 Angus Leeming <a.leeming@ic.ac.uk>
11006 * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
11007 * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
11008 value of Dialogs::tooltipsEnabled().
11009 (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
11011 2002-03-08 Juergen Vigna <jug@sad.it>
11013 * BufferView_pimpl.C (updateInset): update inset inside inset also
11014 if it isn't inside theLockingInset().
11016 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11018 * buffer.C (asciiParagraph): redo some of the word and line length
11020 (getLists): look for Caption instead of caption.
11022 2002-03-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11024 * buffer.C (Buffer): initialize niceFile to true
11026 (makeLinuxDocFile):
11027 (makeDocBookFile): make sure niceFile is true on exit
11029 2002-03-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11031 * buffer.C (makeLaTeXFile): escape ~ in \input@path
11033 2002-03-07 Angus Leeming <a.leeming@ic.ac.uk>
11035 * LyXSendto.C: remove.
11036 * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
11037 * lyx_gui.C: remove now-redundant comment.
11038 * ColorHandler.h: remove forward declaration of class WorkArea.
11039 * lyxfunc.C: remove #include "WorkArea.h".
11041 2002-03-07 Juergen Vigna <jug@sad.it>
11043 * undo_funcs.C (textHandleUndo): fix problems when the paragraph
11044 got moved away with the DEPM and also set the inset_owner always
11045 right which before could have been omitted.
11047 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11049 * buffer.C (parseSingleLyXformat2Token): use default layout is the
11050 wanted layout is not found.
11052 2002-03-07 Juergen Vigna <jug@sad.it>
11054 * CutAndPaste.C (cutSelection): another layout settings forgotten.
11056 2002-03-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
11058 * paragraph.C (breakParagraph): use default layout not layout of
11060 (Paragraph): clear ParagraphParameters.
11062 2002-03-06 Juergen Vigna <jug@sad.it>
11064 * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
11065 otherwise it would not be a valid lenght. Fixed a special case in
11066 the minipage compatibility read where we end the document with a
11069 * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
11070 was set as it could be 0 for InsetTexts first entry.
11072 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11074 * paragraph.C (writeFile): if layout is empty write out
11075 defaultLayoutName().
11077 * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
11078 file without named layout we set layout to defaultLayoutName().
11080 2002-03-06 Juergen Vigna <jug@sad.it>
11082 * CutAndPaste.C (copySelection): set layout for new paragraph.
11084 * text.C (prepareToPrint): leave ERT inset left aligned
11085 (leftMargin): don't indent paragraphs inside ERT insets
11087 2002-03-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
11089 * paragraph.C (breakParagraph): dont call clear do the work manually
11091 * paragraph.[Ch] (clear): remove function
11093 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11095 * paragraph.C (Paragraph): dont call clear, the work has already
11098 * lyxtextclass.C (operator): assert if n is empty
11100 * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
11101 work manually instead.
11103 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11105 * BufferView_pimpl.C: protect selectionLost against text == 0
11107 2002-03-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
11109 * text.C (breakParagraph): fix a setting layout to '0' problem.
11111 2002-03-05 José Abílio Oliveira Matos <jamatos@novalis.fc.up.pt>
11113 * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
11114 final location of file, for the included files, and graphics.
11116 2002-03-05 Juergen Vigna <jug@sad.it>
11118 * CutAndPaste.C (pasteSelection): fix the depth level on paste.
11120 2002-03-04 Juergen Vigna <jug@sad.it>
11122 * lyx_cb.C (getContentsOfAsciiFile): new helper function.
11124 * tabular.C (calculate_width_of_column_NMC): fixed to use also the
11125 last column of multicolumn cells.
11126 (SetWidthOfMulticolCell): recalculate NMC and real columns.
11128 2002-03-04 Jose Abilio Oliveira Matos <jamatos@novalis.fc.up.pt>
11130 * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
11131 file if it doesn't go to a temporary file.
11133 * buffer.C (sgmlOpenTag):
11134 (sgmlCloseTag): remove extra newline insertion.
11136 2002-03-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
11138 * text.C (getRowNearY): comment out debug msg
11140 2002-03-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
11142 * text2.C: first -> first_y
11144 * text.C (getRowNearY): add some attemts at a possible
11145 optimization, not working.
11147 * tabular.[Ch]: add BufferParams to several function so that newly
11148 created paragraph can be initialized to he default layotu for the
11151 * tabular-old.C (ReadOld): add buf->params to call of Init
11153 * screen.C: rename text->first to text->first_y
11155 * paragraph.C (breakParagraph): always set layout in the broken
11158 * lyxtextclass.C (Read): remove lowercase
11161 (delete_layout): ditto
11163 * lyxtext.h: rename first -> first_y
11165 * lyxlayout.C (Read): remove lowercase
11168 (obsoleted_by): ditto
11170 * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
11172 * buffer.C (insertErtContents): add params are to InsetERT
11173 (parseSingleLyXformat2Token): add code to check if a paragraphs
11174 layout really exist.
11175 (parseSingleLyXformat2Token): add params to several inset
11177 (asciiParagraph): remove lowercase, do the layout comparisons with
11180 * BufferView_pimpl.C (cursorNext): first -> first_y
11181 (resizeCurrentBuffer): first -> first_y
11182 (updateScrollbar): first -> first_y
11183 (scrollCB): first -> first_y
11184 (workAreaMotionNotify): first -> first_y
11185 (workAreaButtonPress): first -> first_y
11186 (checkInsetHit): first -> first_y
11187 (cursorPrevious): first -> first_y
11188 (cursorNext): first -> first_y
11189 (Dispatch): add buffer_->params to severl inset contructors
11191 2002-03-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
11193 * lyxlayout.C (Read): remove some debug info that I forgot.
11195 * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
11196 clean up the code slightly.
11197 (makeLinuxDocFile): ditto
11198 (makeDocBookFile): ditto
11200 * text2.C: layout as string
11202 * text.C: layout as string
11204 * paragraph_pimpl.C: layout as string
11206 * paragraph.[Ch]: layout as string
11208 * lyxtextclasslist.[Ch]: layout as string
11210 * lyxtextclass.[Ch]: layout as string
11212 * lyxtext.h: layout as string
11214 * lyxlayout.[Ch]: layout as string
11216 * lyx_cb.C: layout as string
11218 * bufferview_funcs.C: layout as string
11220 * bufferparams.C: layout as string
11222 * buffer.C: layout as string
11224 * LyXView.[Ch]: layout as string
11226 * LaTeXFeatures.[Ch]: layout as string
11228 * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
11230 * BufferView_pimpl.C: change current_layout to string, remove
11235 (workAreaButtonRelease): layout as string
11237 * BufferView2.C (unlockInset): adjust
11239 * vspace.C (asLatexCommand): use an explict temp variable.
11241 2002-03-01 John Levon <moz@compsoc.man.ac.uk>
11243 * Makefile.am: use FRONTEND_*
11245 2002-03-01 Juergen Vigna <jug@sad.it>
11247 * tabular.C (SetWidthOfMulticolCell): changed to something better
11248 I hope but still work in progress.
11249 (recalculateMulticolumnsOfColumn): renamed function from
11250 recalculateMulticolCells as it is more appropriate now.
11251 (SetWidthOfCell): calculate multicols better.
11253 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11255 * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
11257 * lyxfunc.C (processKeySym): print sequence also if it is
11258 `deleted' (complete)
11260 * kbsequence.C (print): print sequence even if it is deleted
11261 (complete would be a better word, actually).
11263 * lyxfunc.C (dispatch): print complete options after a prefix key
11265 * vspace.C (asLatexCommand): rewrite in a slightly different form.
11267 2002-03-01 Martin Vermeer <martin.vermeer@hut.fi>
11269 * text2.C (setCharFont): eliminate setCharFont code duplication.
11271 2002-03-01 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11273 * BufferView_pimpl.C (Dispatch): remove bogus handling of
11274 LFUN_TABULAR_FEATURE (bug #177)
11276 2002-02-29 ;-) Angus Leeming <a.leeming@ic.ac.uk>
11278 * Makefile.am: remove figure.h
11280 2002-02-28 Angus Leeming <a.leeming@ic.ac.uk>
11282 * Bufferview_pimpl.C:
11294 * text2.C: remove #include "lyx_gui_misc.h".
11296 * LaTeX.C: added #include <cstdio>
11298 2002-02-28 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11300 * paragraph.C (getMaxDepthAfter): new method. The maximal depth
11301 that the paragraph following this one can have.
11303 * text2.C (incDepth): use Paragraph::getMaxDepthAfter
11305 * vspace.C (asLatexCommand): fix bogus gcc warning
11307 * Makefile.am (lyx_SOURCES): remove vms_defines.h
11309 2002-02-27 Martin Vermeer <martin.vermeer@hut.fi>
11311 * text2.C (setLayout): get rid of redundant code
11313 2002-02-26 Martin Vermeer <martin.vermeer@hut.fi>
11315 * text2.C (incDepth): make sure depth cannot be increased beyond
11318 2002-02-20 Angus Leeming <a.leeming@ic.ac.uk>
11320 * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
11321 also call grfx::GCache::changeDisplay if the graphicsbg color changes.
11323 * PainterBase.h (image):
11324 * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
11325 a LyXImage const *.
11327 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11331 * BufferView_pimpl.C:
11332 * BufferView_pimpl.h:
11352 * sp_spell.C: remove fig inset, and the crap house of
11353 cards that follows it
11355 2002-02-26 John Levon <moz@compsoc.man.ac.uk>
11360 * os2_errortable.h:
11361 * nt_defines.h: move .h into support/
11363 * vms_defines.h: remove
11365 * WorkArea.C: add space in debug output
11369 * buffer.C: add WITH_WARNINGS
11373 * bufferlist.C: s/retrive/retrieve/, add docs
11382 * chset.C: add docs
11384 * lyxgui.C: add ID to X error handler
11386 * lyxtestclass.c: fix typo
11388 2002-02-26 Juergen Vigna <jug@sad.it>
11390 * tabular_funcs.C (write_attribute): changed so that some default
11391 attributes are not written at all.
11392 (getTokenValue): set default values before trying to read the
11393 value so we have the return value always set as default if we don't
11394 find the token we search for.
11396 * tabular.C (Write): write bools as bools not as strings!
11398 2002-02-22 Juergen Vigna <jug@sad.it>
11400 * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
11401 insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
11403 * text.C (leftMargin): don't add an indent for paragraphs inside
11404 tabular cells (fix #208).
11406 2002-02-21 José Matos <jamatos@fep.up.pt>
11408 * tabular.C (docBook): fixed support for long tables.
11410 2002-02-20 Juergen Vigna <jug@sad.it>
11412 * text2.C (getFont): get the drawing font of the Inset if this
11413 paragraph is inside an inset (only important for InsetERT for now).
11415 * buffer.C (insertErtContents): use new lanugage params in ERT
11418 * CutAndPaste.C: commenting out seemingly uneeded code.
11420 2002-02-19 Allan Rae <rae@lyx.org>
11422 * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
11423 Iterators might be simple to use but they also get invalidated.
11424 (removeAutoInsets): renamed saved cursor tracking variables and added
11425 some comments to clarify what everything does.
11427 2002-02-18 Angus Leeming <a.leeming@ic.ac.uk>
11434 * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
11435 support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
11438 * vc-backend.h: remove #include "support/syscall.h"
11442 * converter.C: rearrange #includes in Lars' approved fashion.
11444 * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
11445 forward declare class Timeout in the header file.
11447 * XFormsView.C: changes due to the above.
11449 * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
11450 similar to LyXView.
11452 * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
11453 * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
11455 2002-02-18 José Matos <jamatos@fep.up.pt>
11457 * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
11460 2002-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
11462 * a lot of small ws changes
11463 * add a lot of using std::XXX
11464 * use std construcs some places where approp.
11465 * use some exisint stuff from lyxfunctional where approp.
11466 * Make file changes to use partial linking (lets test this now...)
11468 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11472 remove #include "support/syscontr.h" as it's redundant. Always has been.
11480 change Systemcalls::System to Systemcalls::Wait and
11481 change Systemcalls::SystemDontWait to Systemcalls::DontWait.
11482 No change of functionality, just reflects the stripped down Systemcalls
11485 2002-02-16 Angus Leeming <a.leeming@ic.ac.uk>
11487 * debug.[Ch]: add a GRAPHICS type to the enum.
11489 2002-02-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11491 * text.C (nextBreakPoint): use Paragraph::isLineSeparator
11493 * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
11496 2002-02-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11498 * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
11499 match the changes below.
11501 * text2.C (toggleInset): if there is not editable inset at cursor
11502 position, try to see if cursor is _inside_ a collapsable inset
11505 2002-02-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11507 * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
11508 document menu has a nice checkbox
11510 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11512 * lyxlength.C (asLatexString): change PW to output as percent of
11515 * lengthcommon.C: change '%' to 't%'
11517 * lyxfunc.C (dispatch): a few comments from Martin
11519 2002-02-06 John Levon <moz@compsoc.man.ac.uk>
11523 * BufferView_pimpl.h:
11524 * BufferView_pimpl.C: clear our selection when X tells us we've lost
11527 2002-02-07 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11529 * vspace.C (inPixels): fix compiler warning
11531 2002-02-06 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11533 * lyxfunc.C (getStatus): fix status message for disabled commands.
11535 2002-02-01 John Levon <moz@compsoc.man.ac.uk>
11537 * BufferView_pimpl.C: fix crash on close buffer
11538 during selection (#227)
11540 2002-01-27 Herbert Voss <voss@lyx.org>
11542 * buffer.C: link old Figure to new graphic inset
11544 2002-01-26 Dekel Tsur <dekelts@tau.ac.il>
11546 * FontLoader.C (getFontinfo): Change the latex font names in order
11547 to match the names of type1inst.
11549 2002-01-21 Lars Gullik Bjønnes <larsbj@birdstep.com>
11551 * WorkArea.C (WorkArea): initialize the scrollbar bounds.
11553 * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
11554 (extchanged): ditto
11556 (remove_files_with_extension): ditto
11557 (remove_file): ditto
11560 * BufferView_pimpl.C (updateScrollbar): do the right thing if the
11561 document is smaller than the work area height. Do not initialize
11562 static variables to 0.
11564 2002-01-20 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11566 * lyx_gui.C (init): give the toolbar tooltips a normal font.
11568 * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
11569 LFUN_LAYOUT_PARAGRAPHS.
11571 * tabular.C (GetCellFromInset): new method. Finds an inset in a
11572 tabular. It is possible to provide a possible cell, which will
11573 typically be the actcell from the corresponding insettabular
11575 * lyxfunc.C (getStatus): small cleanup; disable
11576 LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
11579 2002-01-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11581 * tabular.C (Validate): remove broken optimization (fixes bug #201)
11583 * paragraph.C (startTeXParParams):
11584 (endTeXParParams): new methods. The LaTeX code to
11585 start/end paragraph formatting
11586 (simpleTeXOnePar): call startTeXParParams also when paragraph is
11587 empty (fixes bug #200)
11589 * vspace.C (inPixels): adapt to the change below
11590 (inPixels): [later] more cleanups (remove unused variables)
11592 * lyxlength.C (inPixels): change to use a width and a height as
11595 2002-01-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11597 * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
11598 Replaced with \paperwidth
11600 * DepTable.C (insert): add std:: qualifier
11602 2002-01-18 Allan Rae <rae@lyx.org>
11604 * text2.C (removeRow): add comment. Should other refresh_?? vars be
11607 * text.C (drawInset): Turned out I didn't know enough about how
11608 rebreaking worked. This fixes most of the redraw problems. I see
11609 an occasional cursor trail when a line is broken now and the cursor
11610 placement can seem out by a few pixels also after a rebreak.
11612 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11614 * buffer.C (parseSingleLyXformat2Token): update because minipage
11615 width is now a LyXLength
11617 * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
11619 * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
11622 2002-01-17 Juergen Vigna <jug@sad.it>
11624 * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
11626 * BufferView2.C (lockInset): call edit() so that theLockingInset()
11627 is set correctly and the inset is updated correctly.
11629 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11631 * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
11632 the beginning of the loop.
11634 2002-01-17 John Levon <moz@compsoc.man.ac.uk>
11636 * lyxrc.C: improve help for use_scalable_fonts
11638 2002-01-17 Allan Rae <rae@lyx.org>
11640 * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
11642 2002-01-17 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11644 * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
11645 make sure to set their inset_owner to the right value (bug #171)
11647 2001-12-12 Ben Stanley <bds02@uow.edu.au>
11650 * DepTable.C: Implement mtime checking to reduce time spent doing
11653 2002-01-16 Juergen Vigna <jug@sad.it>
11655 * tabular.C (GetAdditionalHeight): one of error fixed.
11657 * lyxrc.C (output): small fix in writing use_pspell.
11659 2002-01-16 Angus Leeming <a.leeming@ic.ac.uk>
11661 * sp_base.h: #include LString.h
11663 2002-01-16 Allan Rae <rae@lyx.org>
11665 * text2.C (removeRow): refresh_row needs a valid row. Or does it?
11666 Can someone check this please?
11668 * text.C (drawInset): It was possible that p.row would be removed by
11669 breakAgainOneRow upsetting a few other settings. There may be another
11670 small tweak possible by setting need_break_row = 0 when p.row has been
11671 removed but I don't know enough about the logic here.
11673 2002-01-15 Allan Rae <rae@lyx.org>
11675 * text.C (insertChar): removed conditional truism.
11677 * BufferView2.C (removeAutoInsets): More tweaks.
11678 cur_par_prev could be a stray pointer. Check for trailing empty line
11679 in case last line was cur_par and only had an error inset on it.
11681 2002-01-14 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11683 * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
11686 * vc-backend.C (most methods):
11687 * exporter.C (Export):
11688 * converter.C (convert):
11690 * LyXSendto.C (SendtoApplyCB):
11691 * lyxfunc.C (dispatch):
11695 * lyx_cb.C (AutoSave):
11697 * BufferView_pimpl.C (MenuInsertLyXFile):
11698 * buffer.C (runChktex): use Buffer::filePath().
11700 * buffer.h: rename filename to filename_; rename filepath to
11701 filepath_ and make it private
11702 (filePath): new method
11704 * buffer.C (writeFile): use fileName()
11707 * lyx_main.C (init): fix starting of LyX when the binary is a
11708 link from so,ewhere else.
11710 * minibuffer.C: include <cctype> for isprint
11712 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11714 * buffer.C (parseSingleLyXformat2Token): changes associated with the
11715 change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
11716 name clash with InsetCollapsable's width function.
11718 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11720 * lastfiles.C: include <iterator>
11722 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11724 * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
11727 * buffer.C (makeLaTeXFile): ditto.
11728 Also make loop operation more transparent.
11730 2002-01-14 Angus Leeming <a.leeming@ic.ac.uk>
11732 * ToolbarDefaults.C: remove trailing comma closing namespace.
11734 * WorkArea.h: remove WorkArea:: from declaration of event_cb.
11736 * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
11739 * trans.C (Load): comment out unused variable, allowed.
11741 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11743 * minibuffer.[Ch] (append_char): new method to recieve input from the
11744 drop-down completion browser. If a key was pressed, then recieve this
11745 char and append it to the existing string.
11746 (peek_event): modify the positioning data passed to the completion
11747 browser so that it can be placed above the minibuffer rather than below.
11748 2002-01-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
11750 * LyXAction.C (init): alloe error-next for readonly documents.
11752 * BufferView2.C (ChangeRefsIfUnique): use standard version of
11755 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11757 * bufferlist.C (readFile): create the buffer _after_ checking that
11760 * lyxfunc.C (verboseDispatch): fix handling of arguments
11762 * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
11764 * lyxrc.C: use string::erase() instead of initializing to "".
11767 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
11769 * BufferView_pimpl.h:
11770 * BufferView_pimpl.C:
11773 * text2.C: tell X when we have made a selection for copying
11775 2002-01-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11777 * BufferView_pimpl.C (MenuInsertLyXFile):
11778 * lyxfunc.C (menuNew):
11780 (doImport): add shortcuts to directory buttons
11782 * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
11785 * lyxfunc.C (setStatusMessage):
11786 (getStatusMessage): new methods
11787 (getStatus):use setStatusMessage instead of setErrorMessage
11788 (dispatch): when function is disabled, set error message here
11789 [instead of in getStatus previously]
11791 * BufferView_pimpl.C (workAreaButtonRelease): update
11792 toolbar/menubar here too.
11794 2002-01-13 Allan Rae <rae@lyx.org>
11796 * BufferView2.C (removeAutoInsets): finished off earlier fix.
11797 Now seems indestructible. Remaining task is to audit all other
11798 code affected by deleteEmptyParagraphMechanism. One small quirk
11799 left is that an empty document with an error in the preamble can
11800 be made to report an error but no error box appears. I don't know
11802 (removeAutoInsets): Improved comments.
11804 2002-01-13 John Levon <moz@compsoc.man.ac.uk>
11807 * Thesaurus.C: update for Aiksaurus 0.14
11809 2002-01-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
11811 * text2.C (firstParagraph): removed member function, all uses
11812 replaces with ownerParagraph
11813 (redoParagraphs): here
11814 (updateInset): here
11815 (toggleAppendix): here
11816 * BufferView2.C (insertErrors): here
11817 (setCursorFromRow): here
11819 2002-01-13 Allan Rae <rae@lyx.org>
11821 * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
11822 the old cursor is now invalid due to deleteEmptyParagraphMechanism.
11823 There is still a way to segfault this although you may have to do this
11824 multiple times: Have an InsetERT with an unknown command in it.
11825 View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
11826 <down-arrow>, <Enter> again, View->DVI, BANG!
11828 * text2.C (setCursor):
11829 (deleteEmptyParagraphMechanism):
11830 * lyxtext.h (setCursor):
11831 (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
11832 Making use of the return value may help fix other bugs.
11834 2002-01-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11836 * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
11838 * LyXView.C (updateMenubar): call MenuBar::update here
11839 (updateToolbar): but not here
11840 (showState): do not update toolbar/menubar
11842 * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
11843 should need to care about that.
11845 * lyxfunc.C (verboseDispatch): simplify a bit
11846 (getStatus): have a version which takes a pseudoaction, and
11847 another which requires a (kb_action,string).
11849 * LyXAction.C (retrieveActionArg): make it work also when action
11850 is not a pseudo-action.
11851 (getActionName): simplify a bit
11854 2002-01-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11856 * lyxfunc.C (verboseDispatch): new families of methods with
11857 several ways to specify a command and a bool to indicate whether
11858 the command name and shortcut should be displayed in minibuffer
11859 (eventually, we could extend that to a finer bitmask like
11860 SHORTCUT|CMDNAME|CMDRESULT, or whatever).
11861 (dispatch): the pristine dispatch command which just, well,
11862 dispatchs! Note it still sets its result to minibuffer; I'm not
11865 * lyxfunc.h: remove setHintMessage
11867 * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
11869 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11871 * BufferView_pimpl.C (specialChar): delete new inset if we have
11872 not been able to insert it.
11874 * kbmap.C: revert to using int instead of kb_action, since all we
11875 are dealing with is pseudo-actions.
11877 * LyXAction.C (searchActionArg): change to return int instead of
11878 kb_action, since the result is a pseudoaction.
11880 2002-01-12 Dekel Tsur <dekelts@tau.ac.il>
11882 * buffer.C (insertErtContents): Fix (partially) the font bug.
11884 2002-01-11 Angus Leeming <a.leeming@ic.ac.uk>
11886 * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
11887 as the other one is broken on my machine!
11889 2002-01-10 Martin Vermeer <martin.vermeer@hut.fi>
11892 * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
11894 2002-01-10 Angus Leeming <a.leeming@ic.ac.uk>
11896 * lyxrc.[Ch]: change names and descriptions of popup font variables to
11897 reflect their actual use. Provide compatibility code for older lyxrc
11900 * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
11902 change names of popup font variables in line with the changes to lyxrc.C
11904 2002-01-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11906 * buffer.C (asciiParagraph): avoid outputing a word twice after
11909 * lyxrc.C (getDescription): document that document_path and
11910 template_path can be empty.
11912 2002-01-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11914 * LaTeXFeatures.C (getMacros):
11915 * buffer.C (validate): rename feature "amsstyle" to "amsmath"
11917 * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
11919 * LaTeXFeatures.C (useFloat): require "float" here instead of in
11921 (getPackages): rename feature "floats" to "float". Use an array to
11922 iterate over 'simple' features (i.e. just a \usepackage). Add
11923 handling of "amsmath" (renamed from "amsstyle").
11925 2001-12-29 Michael A. Koziarski <michael@koziarski.org>
11927 * LaTeXFeatures.C (require): Prevent duplicate entries in the
11930 2002-01-08 Angus Leeming <a.leeming@ic.ac.uk>
11932 * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
11933 FuncStaus::FuncStatus & FuncStaus::some_method().
11935 2002-01-08 Martin Vermeer <martin.vermeer@hut.fi>
11937 * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
11938 of the func_satus stuff. Edited and massaged in various ways by
11941 * lyxfunc.C (getStatus): use FuncStatus
11943 2002-01-08 Juergen Vigna <jug@sad.it>
11945 * text.C (nextBreakPoint): use function Inset::isChar().
11947 * paragraph.C (TeXOnePar): use function
11948 Inset::forceDefaultParagraphs.
11950 * buffer.C (latexParagraphs): use function
11951 Inset::forceDefaultParagraphs.
11953 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11955 * lyx_gui.C (init): set the style of the menu popups to
11956 FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
11958 2002-01-07 Juergen Vigna <jug@sad.it>
11960 * text.C (setHeightOfRow): small fix
11961 (prepareToPrint): don't look at alignment if we don't have the place
11964 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11966 * box.C: New file. Move the Box methods and functions out of box.h,
11967 following Lars' suggestion.
11969 2002-01-07 Angus Leeming <a.leeming@ic.ac.uk>
11971 * box.h: #include "support/LOstream.h", needed for inlined function.
11974 * lyxtextclasslist.C: added some using std declarations.
11976 2002-01-06 John Levon <moz@compsoc.man.ac.uk>
11978 * box.h: make signed dimensions to allow insets wider than
11979 the screen (bug #162)
11981 * BufferView_pimpl.C: add some insetHit debug
11983 2002-01-05 John Levon <moz@compsoc.man.ac.uk>
11985 * vc-backend.C: add FIXME
11987 2002-01-03 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
11989 * lyxfunc.C (getStatus): enable code for showing math font status
11992 2002-01-07 Juergen Vigna <jug@sad.it>
11994 * text.C (nextBreakPoint): removed debug output not needed anymore.
11996 2002-01-06 Juergen Vigna <jug@sad.it>
11998 * text.C (nextBreakPoint): fixed up this function we had this bug
11999 since ever but now hopefully we break row better.
12000 (insertChar): we have to check if an inset is the next char as it
12001 could now happen that a large inset is causing a break.
12003 2002-01-05 Juergen Vigna <jug@sad.it>
12005 * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
12006 if it doesn't like to be drawed.
12008 2002-01-04 Juergen Vigna <jug@sad.it>
12010 * BufferView2.C (lockInset): forgot to set a cursor.
12012 * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
12014 2002-01-03 Martin Vermeer <martin.vermeer@hut.fi>
12016 * FormMathsPanel.C:
12019 * form_maths_panel.C:
12020 * form_maths_panel.h:
12021 * form_maths_panel.fd: implemented sub- and super- buttons in math
12024 * lyx_main.C: Revised hardwired bindings to allow original _ and ^
12025 (or ^ space) to be used as in TeX (req'd by André).
12027 * lyxfunc.C: Allow ^ and _ again to be used both as
12028 super/subscript (mathed) and as themselves (in text).
12030 2002-01-03 Allan Rae <rae@lyx.org>
12032 * LyXView.C (updateWindowTitle): Setup a short icon title of either
12033 "LyX" or the filename of the current buffer if it has one. This is a
12034 modified form of John Levon's patch.
12036 * XFormsView.C (setWindowTitle): also set icon title.
12038 * LyXView.h (setWindowTitle): signature changed.
12039 * XFormsView.h (setWindowTitle): ditto.
12041 2002-01-02 Juergen Vigna <jug@sad.it>
12043 * tabular.C (AppendColumn): hopefully fixed this memory access problem.
12045 2001-12-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
12047 * screen.C (topCursorVisible): introduce a temp var for
12048 text->cursor.row(), handle the case where this row is null. (kindo
12051 * text2.C (setCursor): add a couple of asserts.
12053 * paragraph.h (inset_iterator): add -> operator
12055 * paragraph.[Ch] (autoDeleteInsets): remove member function
12057 * BufferView2.C (removeAutoInsets): rewrite to handle the old
12058 cursor pos correctly and handle inset deletion by itself.
12059 (insertErrors): move iterator declaration out of for expression
12061 * lyxtextclass.C: add <algorithm>
12063 * Makefile.am: added the new files to sources, removed layout.C
12065 * layout.C: removed file
12067 * layout.h: remove LYX_DUMMY_LAYOUT
12069 * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
12073 * lyxtextclass.[Ch]:
12074 * lyxtextclasslist.[Ch]: new files
12076 * include order changes to a lot of files, also changes because of
12079 2001-12-27 Juergen Vigna <jug@sad.it>
12081 * buffer.C (asciiParagraph): more fixes.
12083 * tabular.C (ascii): make ascii export support export of only the
12084 data separated by a column-delimiter.
12085 (ascii): better support for ascii export.
12087 * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
12089 2001-12-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12091 * tabular_funcs.C: use a "using std::getline" instead of the
12092 previous fix from Angus (necessary for cxx + lyxstring)
12094 2001-12-24 Juergen Vigna <jug@sad.it>
12096 * BufferView_pimpl.C (tripleClick): fixed for InsetText.
12098 * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
12099 problems. First check a minipage also if we have some ert-contents
12100 (not only on par->size(), second set the right depth of the paragraph
12101 on the relink to the root-paragraph-list!
12103 * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
12104 which then did not anymore update the main paragraphs on undo/redo!
12106 2001-12-21 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12108 * lyxfunc.C (getStatus): use func_status::toggle to simplify the
12109 code. Support all font-changing funcs (even those which are not in
12110 menu currently). Support for reporting font settings in
12111 mathed (disabled until Andre provides a function on mathed's side).
12113 * func_status.h (toggle): small helper function to set toggle
12116 2001-12-21 Angus Leeming <a.leeming@ic.ac.uk>
12118 * tabular_funcs.C: getline -> std::getline
12120 2001-12-21 Juergen Vigna <jug@sad.it>
12122 * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
12123 accessed and could be 0 (I couldn't generate this but it seems
12126 2001-12-20 Lars Gullik Bjønnes <larsbj@birdstep.com>
12128 * tabular_funcs.C: add LIstream.h, move write_attribute to..
12129 * tabular_funcs.h: here and include iosfwd
12131 2001-12-20 Juergen Vigna <jug@sad.it>
12133 * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
12134 inside inset but undo_par was.
12136 2001-12-19 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12138 * Thesaurus.C: always include <config.h> in sources.
12142 * box.h: do not include <config.h> in header files
12144 * text.C (paintLastRow): remove unused variable
12146 * text.C (transformChar):
12148 * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
12150 * Painter.C (text):
12151 * font.C (width): rewrite to use uppercase() instead of
12154 * lyxfind.C (IsStringInText): use uppercase instead of toupper.
12156 2001-12-12 John Levon <moz@compsoc.man.ac.uk>
12158 * lyxfind.C: clean up of find failure position change
12160 2001-12-20 Juergen Vigna <jug@sad.it>
12162 * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
12164 * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
12165 (TeXRow): added to LaTeX a single tabular row.
12166 (TeXLongtableHeaderFooter): added to output LT-h/f data.
12167 (Latex): simplified and finally good LT-h/f support.
12168 (various_functions): just small adaptions for LT-h/f support.
12170 * tabular_funcs.[hC]: added and moved here all not classfunctions
12173 2001-12-19 Juergen Vigna <jug@sad.it>
12175 * tabular.[Ch]: better support for longtabular options (not finished
12178 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12180 * text.C (paintLastRow): use the label font instead of the font of
12181 the last character to compute the size of *_BOX. This makes more
12182 sense and avoids a crash with empty paragraphs.
12183 Use Painter::rectangle to draw EMPTY_BOX.
12185 2001-12-19 Juergen Vigna <jug@sad.it>
12187 * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
12188 the paragraphs if the replaced paragraph is not the first one!
12189 Tried to delete not used paragraphs but does not work yet so for
12190 now it's inside #ifdef's and by default off!
12192 2001-12-18 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12194 * MenuBackend.C: include "lyx_main.h" instead of declaring
12195 lastfiles (actually was declared as LastFiles* instead of a
12198 2001-12-17 Juergen Vigna <jug@sad.it>
12200 * tabular.C (AppendColumn): applied John's fix
12202 2001-12-15 John Levon <moz@compsoc.man.ac.uk>
12206 * BufferView_pimpl.h:
12207 * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
12210 * box.h: new start of class for above
12212 * lyxfunc.C: ignore space-only minibuffer dispatches.
12213 Show the command name when it doesn't exist
12215 * minibuffer.C: don't add empty lines to the history
12217 * minibuffer.C: add a space on dropdown completion
12219 2001-12-14 John Levon <moz@compsoc.man.ac.uk>
12221 * text.C: fix line above/below drawing in insets
12223 2001-12-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12225 * lyxlength.C (LyXLength): Initialize private variables.
12227 2001-12-15 Dekel Tsur <dekelts@tau.ac.il>
12229 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
12230 when inserting error insets.
12232 2001-12-13 Juergen Vigna <jug@sad.it>
12234 * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
12235 actually sometimes the before-paragraph.
12236 (setUndo): don't clear the redostack if we're not actually undoing!
12238 2001-12-06 Juergen Vigna <jug@sad.it>
12240 * undo_funcs.C (textHandleUndo): well after John's hint I got here
12241 and fixed redoing of main paragraph, so we can use it now ;)
12243 * text2.C (redoParagraphs): fixed a crash when having only 1 row!
12245 2001-12-13 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12247 * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
12250 2001-12-13 André Pönitz <poenitz@gmx.net>
12253 * undo_func.C: minor cleanup
12255 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12257 * FontLoader.C (getFontinfo): only use symbol fonts with encoding
12258 -adobe-fontspecific. At least Mandrake and Redhat have a symbol
12259 font in urw-fonts package which is marked as -urw-fontspecific and
12260 does not work (incidentally, changing the encoding in the
12261 fonts.dir of this package to -adobe-fontspecific fixes the
12264 * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
12265 is a crash when undoing first paragraph (Juergen, please take a
12266 look). THis does not mean the undo fix is wrong, just that it
12269 * text2.C (ownerParagraph): let the (int,Paragraph*) version call
12270 the (Paragraph*) version when needed instead of duplicating the
12273 * text.C (workWidth): use Inset::parOwner to find out where the
12274 inset has been inserted. This is a huge performance gain for large
12275 documents with lots of insets. If Inset::parOwner is not set, fall
12276 back on the brute force method
12278 * paragraph_pimpl.C (insertInset):
12279 * paragraph.C (Paragraph):
12280 (cutIntoMinibuffer): set parOwner of insets when
12281 inserting/removing them
12283 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12285 2001-12-12 Martin Vermeer <martin.vermeer@hut.fi>
12291 * mathed/formulabase.C:
12292 * mathed/math_cursor.[Ch]:
12293 make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
12296 2001-12-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
12298 * lyxlength.[Ch] (operator!=): new function
12300 2001-12-12 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12302 * text.C (workWidth): use Inset::parOwner to find out where the
12303 inset has been inserted. This is a huge performance gain for large
12304 documents with lots of insets. If Inset::parOwner is not set, fall
12305 back on the brute force method
12307 * paragraph_pimpl.C (insertInset):
12308 * paragraph.C (Paragraph):
12309 (cutIntoMinibuffer): set parOwner of insets when
12310 inserting/removing them
12312 * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
12314 2001-12-10 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12316 * tabular-old.C (getTokenValue):
12317 * tabular.C (getTokenValue):
12318 (write_attribute): new versions for LyXLength
12319 (everywhere): adjust the use of widths
12321 * tabular.h: change the type of widths from string to LyXLength
12323 2001-12-11 Ben Stanley <bds02@uow.edu.au>
12325 * paragraph.C: fixed missing line number count when exporting
12326 Environments to LaTeX file
12328 * buffer.C: added informational message for checking line numbers.
12330 2001-12-11 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12332 * text2.C (deleteEmptyParagraphMechanism): if there is only one
12333 paragraph, do the 'double space' part, but not the 'empty
12336 * text.C (workWidth): small optimization
12337 (getLengthMarkerHeight): use minimal size for negative lengths.
12339 2001-12-11 Dekel Tsur <dekelts@tau.ac.il>
12341 * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
12343 * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
12345 2001-12-11 André Pönitz <poenitz@gmx.net>
12348 * lyxfont.[Ch]: support for fraktur font used by \mathfrak
12350 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12352 * text2.C: keep selection on a setFont()
12354 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12356 * lyx_cb.C: another bv->text misuse, from insert label
12358 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12361 * kbsequence.C: re-instate nmodifier mask
12363 2001-12-12 Angus Leeming <a.leeming@ic.ac.uk>
12365 * lyx_main.h: make lyxGUI private.
12367 2001-12-06 John Levon <moz@compsoc.man.ac.uk>
12369 * lyxfind.C: place the cursor correctly on failed search
12371 2001-12-09 Jean-Marc Lasgouttes <lasgouttes@freesurf.fr>
12373 * text.C (getLengthMarkerHeight): for small heights, the arrows
12374 are not always on top/bottom of the text
12375 (drawLengthMarker): smaller arrows; take the left margin in
12376 account; draw also vfills.
12378 (paintLastRow): remove special code for vfill and standard spaces,
12379 since everything is handled in drawLengthMarker now.
12381 2001-12-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
12383 * buffer.C (insertErtContents): try to handle font and language
12384 interaction a bit better.g
12386 * ColorHandler.C (updateColor): change the hash to cover the whole
12387 LColor enum, ws cleanup
12388 (getGCLinepars): ditto
12389 (getGCLinepars): only lookup in the linecache once.
12391 2001-12-07 Dekel Tsur <dekelts@tau.ac.il>
12393 * iterators.C (operator++): Make the iterator more robust
12395 * BufferView2.C (removeAutoInsets): Use paragraph iterators
12397 * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
12399 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12402 * text.C: better added space drawing
12404 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12407 * BufferView2.C: fix layout combo update on inset unlock
12409 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12411 * Makefile.am: don't compile unused files
12413 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12417 * LyXAction.C: remove old LFUN_LAYOUTNO
12419 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12421 * paragraph_pimpl.h:
12422 * paragraph_pimpl.C: isTextAt() doesn't need font param
12424 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12427 * lyxlex.C: little cleanup
12429 2001-12-05 John Levon <moz@compsoc.man.ac.uk>
12431 * BufferView_pimpl.C: fix insertAscii for insets
12433 2001-12-05 Juergen Vigna <jug@sad.it>
12435 * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
12436 set the right font on the "multi" paragraph paste!
12438 2001-12-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
12444 * lyxlength.C: remove out-commented code.
12446 * BufferView_pimpl:
12460 * vc-backend.C: change "while(" to "while ("
12462 * lyxlength.[Ch]: add zero function to check if length is zero or
12464 * lyxgluelength.C: use it
12466 2001-12-05 Allan Rae <rae@lyx.org>
12468 * lyxlength.C: Attempted a fix for the abs(int) header selection.
12469 Works for 2.95.3, from what I understand of Garst's reports this should
12470 work for other g++ versions. We're screwed if the abs(int) definition
12471 changed between bugfix releases of gcc.
12473 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12475 * text.C: fix chapter label offset !
12477 2001-12-04 John Levon <moz@compsoc.man.ac.uk>
12480 * text.C: fix hfill at end of line, clean up
12482 2001-12-04 Juergen Vigna <jug@sad.it>
12484 * undo_funcs.C (textHandleUndo): added a call to inset->update() so
12485 that we force an update of the inset and it's owners if neccessary.
12487 2001-12-03 Juergen Vigna <jug@sad.it>
12489 * text.C (rowLast): simplified code
12491 2001-12-03 John Levon <moz@compsoc.man.ac.uk>
12493 * lyxfunc.C: fix show options on timeout
12495 2001-12-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
12497 * screen.C (topCursorVisible): scroll half a page when the cursor
12498 reached top of bottom of screen
12500 2001-12-02 John Levon <moz@compsoc.man.ac.uk>
12502 * minibuffer.C: deactivate on loss of focus
12504 2001-12-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
12506 * vspace.[Ch] (operator!=): add operator.
12508 2001-12-01 John Levon <moz@compsoc.man.ac.uk>
12510 * BufferView_pimpl.C: refuse to open an inset when
12511 there's a selection.
12513 2001-11-30 John Levon <moz@compsoc.man.ac.uk>
12515 * BufferView_pimpl.C: allow to click on RHS of full row insets
12517 2001-11-30 Juergen Vigna <jug@sad.it>
12519 * tabular.C (LyXTabular): add a same_id to set the same id's in the
12520 insets for undo reasons.
12522 2001-11-28 André Pönitz <poenitz@gmx.net>
12524 * vspace.[Ch]: cosmetical changes
12526 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12536 * kbsequence.C: part re-write of old kb code
12539 * WorkArea.C: remove Lgb_bug_find_hack
12541 2001-11-30 José Matos <jamatos@fep.up.pt>
12543 * buffer.C (makeDocBookFile): add a comment to point a hack.
12544 (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
12545 Fixed a double write of labels.
12547 2001-11-29 Ben Stanley <bds02@uow.edu.au>
12550 * LaTeX.h Fixed bug in LaTeX class where it would not
12551 re-run latex if no depfiles were changed, but the .dvi was removed.
12553 2001-11-28 André Pönitz <poenitz@gmx.net>
12555 * all the files from the change on 2001/11/26:
12556 use lyx::layout_type instead of LyXTextClass::size_type
12557 use lyx::textclass_type instead of LyXTextClassList::size_type
12559 2001-11-29 Juergen Vigna <jug@sad.it>
12561 * text.C: added support for paragraph::isFreeSpacing()
12563 * buffer.C: same as above
12565 * paragraph.h: inserted isFreeSpacing() function to enable
12566 FreeSpacing inside InsetERT.
12568 * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
12569 of the paragraph's in the cut/copy buffer to 0!
12571 * text2.C (removeRow): remove the assert as it can!
12573 * lyxtext.h: added helper function firstRow returning firstrow and
12574 made firstrow private again.
12576 * BufferView2.C (lockInset): don't relock if we're already locked!
12578 * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
12579 the only paragraph.
12580 (removeRow): added Assert::(firstrow)
12582 * debug.C: forgot to add INSETTEXT here.
12584 2001-11-28 Juergen Vigna <jug@sad.it>
12586 * sp_spell.C (initialize): changed error text to more general
12587 spellchecker command use (not only ispell!)
12589 * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
12591 * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
12593 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12595 * vspace.C: initialise lyxgluelength on failure
12597 2001-11-28 Allan Rae <rae@lyx.org>
12599 * text.C (paintLastRow): g++-2.95.3 and others don't like variable
12600 declaration & definition that looks like a function declaration.
12602 2001-11-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12604 * BufferView2.C (copy):
12605 (copyEnvironment): do not clear the selection when doing a copy.
12607 * text.C (paintFirstRow): compilation fix
12609 2001-11-27 Ben Stanley <bds02@uow.edu.au>
12611 * tabular.C (Latex): correct line count when writing latex.
12613 2001-11-27 John Levon <moz@compsoc.man.ac.uk>
12615 * paragraph_pimpl.h:
12616 * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
12619 2001-11-26 John Levon <moz@compsoc.man.ac.uk>
12623 * LColor.C: change vfillline->added_space
12625 * text.C: add markers and text for added space
12627 * vspace.C: fix comment
12629 2001-11-28 André Pönitz <poenitz@gmx.net>
12631 * paragraph.C: whitespace changes
12632 * all the other files from the change on 2001/11/26:
12633 change *::pos_type into lyx::pos_type
12635 2001-11-27 Dekel Tsur <dekelts@tau.ac.il>
12637 * buffer.C (parseSingleLyXformat2Token): Set the language to the
12638 language of the document when inserting error insets.
12640 2001-11-26 André Pönitz <poenitz@gmx.net>
12642 * BufferView_pimpl.[Ch]:
12650 * paragraph_pimpl.[Ch]:
12653 * text2.C: reduce header dependencies, introduce type for positions
12655 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12657 * <various>: change to use Alert.h
12659 2001-11-25 Dekel Tsur <dekelts@tau.ac.il>
12661 * buffer.C (parseSingleLyXformat2Token): Insert an error inset
12662 when encountering an unknown token.
12663 (readLyXformat2): Show an error message if there were unknown tokens.
12665 2001-11-22 John Levon <moz@compsoc.man.ac.uk>
12668 * BufferView_pimpl.C:
12672 * text2.C: use par->isInset()
12674 2001-11-23 John Levon <moz@compsoc.man.ac.uk>
12676 * paragraph_pimpl.h:
12677 * paragraph_pimpl.C: cleanup
12679 2001-11-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12681 * text2.C (removeRow):
12682 * text.C (setHeightOfRow): remove useless (and costly) call to
12685 2001-11-20 Allan Rae <rae@lyx.org>
12687 * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
12688 Now need Inset*::checkInsertChar() to return true for appropriate
12689 cases so that the characters in the minibuffer will actually be
12692 2001-11-15 Lars Gullik Bjønnes <larsbj@birdstep.com>
12694 * text.C: change the order of the includes.
12695 (workWidth): initialize it at once.
12696 (workWidth): make maxw unsigned
12697 (setHeightOfRow): remove unused variable (inset)
12698 (selectSelectedWord): remove unused variable (inset)
12699 (paintRowText): fix drawing of hfill characters, and clean up a bit.
12701 2001-11-14 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12703 * lyxserver.C (emergencyCleanup): do not try to close pipes if
12704 server is not running.
12706 (closeConnection): add debug info when server is disabled.
12708 * ColorHandler.C (getGCForeground): send debug message to GUI
12711 * lyxrc.C: do not include lyxserver.h and tex-strings.h.
12713 * kbmap.C (bind): modify because return conventions of
12714 kb_sequence::parse have changed.
12716 * kbsequence.C (parse): only ignore spaces and not any stupid
12717 control character. This avoids tests like s[i] <= ' ', which are
12718 guaranteed to fail with 8bit characters and signed chars.
12719 Change return code to string::npos when there have been no error
12720 (0 was a bad idea when error is at first character)
12722 2001-11-14 José Matos <jamatos@fep.up.pt>
12725 * buffer.C (simpleDocBookOnePar): removed unused argument.
12727 2001-11-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12729 * text.C (selectNextWordToSpellcheck): do not test explicitely for
12730 insets which are part of a word. Paragraph::isLetter takes care of
12731 that now. Use Paragraph::isInset to identify insets.
12732 (selectSelectedWord): do not test for hyphenation break.
12734 * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
12735 that protected spaces are considered as spaces.
12737 * paragraph.C (isLetter): cleanup the code for ispell extras; use
12740 2001-11-12 John Levon <moz@compsoc.man.ac.uk>
12743 * lyxserver.C: fix it. and small cleanup.
12745 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12747 * BufferView_pimpl.C: use inline helpers
12750 * LaTeXFeatures.C: fix typos
12753 * Spacing.C: move spacing_string into class
12755 * ToolbarDefaults.C: move stuff into namespace anon
12757 * layout.h: update enum
12759 * lyxfunc.C: use better debug
12761 * minibuffer.h: fix typo
12765 * WorkArea.C: add and use Debug::WORKAREA
12769 * text2.C: code re-organisation, inline helpers
12771 2001-11-09 Michael A. Koziarski <michael@koziarski.org>
12773 * Layout.C: replaced a few cases of std::vector.size() == 0 with
12774 std::vector.empty().
12776 2001-11-09 Allan Rae <rae@lyx.org>
12778 * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
12779 '\n's after tables. Tabular and ERT inset work now makes this no
12782 2001-11-07 John Levon <moz@compsoc.man.ac.uk>
12785 * minibuffer.C: fix crash, improve drop-down completion
12787 2001-11-06 John Levon <moz@compsoc.man.ac.uk>
12790 * lyxserver.C: invalidate fd's when doing endPipe()
12792 2001-11-08 José Matos <jamatos@fep.up.pt>
12794 * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
12795 (simpleDocBookOnePar): removed code made obsolete by the new inset code.
12798 * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
12800 2001-11-07 José Matos <jamatos@fep.up.pt>
12803 * buffer.C (sgmlError): linuxDocError renamed, and made public, added
12806 * buffer.C (sgmlOpenTag):
12807 * buffer.C (sgmlCloseTag): removed debug info.
12809 * buffer.h (sgmlOpenTag):
12810 * buffer.h (sgmlCloseTag): made public.
12812 2001-11-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12814 * buffer.C (saveParamsAsDefaults):
12815 * lyx_cb.C (MenuLayoutSave): remove
12817 * LyXAction.C (init):
12819 * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
12821 2001-11-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12823 * buffer.C (setPaperStuff): removed from here...
12825 * bufferparams.C (setPaperStuff): ... and moved there.
12827 2001-11-03 John Levon <moz@compsoc.man.ac.uk>
12831 * XFormsView.C: add support for drop-down completion
12833 2001-11-03 Dekel Tsur <dekelts@tau.ac.il>
12835 * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
12838 2001-10-31 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12840 * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
12843 2001-10-30 John Levon <moz@compsoc.man.ac.uk>
12845 * lyx_main.C: change ref to known bugs
12847 2001-10-30 Kayvan A. Sylvan <kayvan@sylvan.com>
12849 * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
12850 to work around older babel problems.
12852 2001-10-28 Kayvan A. Sylvan <kayvan@sylvan.com>
12854 * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
12856 2001-10-24 Juergen Vigna <jug@sad.it>
12858 * tabular-old.C (ReadOld): below variable changes reflected.
12860 * tabular.[Ch]: added ltType struct for longtable header/footer
12861 defines and changed all instances where they are used. Added
12862 future support for double top/bottom rows.
12864 2001-10-24 José Matos <jamatos@fep.up.pt>
12866 * buffer.h (docbookHandleCaption):
12867 * buffer.C (docbookHandleCaption): removed unused function.
12868 (makeDocBookFile): moved docbook supported version to v4.1.
12870 2001-10-24 José Matos <jamatos@fep.up.pt>
12873 * tabular.C (docbookRow): new function to export docbook code of a row.
12874 (DocBook): now honors the longtable flags.
12876 2001-10-23 José Matos <jamatos@fep.up.pt>
12879 * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
12880 of the lyx defined sgml entities used in a docbook/linuxdoc document.
12882 * buffer.C (makeLinuxDocFile):
12883 (makeDocBookFile): reworked the preamble, more clean, and with
12884 support for lyx defined entities. Changed the document declaration
12885 to be more XML friendly.
12887 * tabular.C (DocBook): removed / terminator to be more SGML friendly,
12888 if we need to output XML that should be done with a filter.
12890 2001-10-22 Juergen Vigna <jug@sad.it>
12892 * sp_pspell.h (class PSpell): add alive function needed in the
12893 controller to see if the spellchecker could be started.
12895 2001-10-22 Juergen Vigna <jug@sad.it>
12897 * buffer.C (insertStringAsLines): modify the font for inserting
12898 chars in certain conditions by calling checkInsertChar(font).
12900 2001-10-19 Juergen Vigna <jug@sad.it>
12902 * text.C (workWidth): use getRow instead of wrong algorithm.
12903 (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
12905 2001-10-19 John Levon <moz@compsoc.man.ac.uk>
12910 * lyx_main.C: add emergencyCleanup (remove pipes on crash)
12912 2001-10-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12914 * text.C (workWidth): do not search for the exact row when
12915 margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
12916 optimization for big documents.
12918 2001-10-18 Juergen Vigna <jug@sad.it>
12920 * text.C (workWidth): new function with added Inset * parameter.
12922 2001-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12924 * text2.C (setCursorFromCoordinates): use Paragraph::size_type
12926 * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
12927 change return type of getColumnNearX.
12930 * text.C (changeRegionCase): use uppercase/lowercase instead of
12933 (rightMargin): simplify code by factoring out the uses of
12938 (appendParagraph): use Paragraph::size_type
12940 2001-10-15 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12942 * vspace.C (asLatexString): add a missing break
12944 2001-10-15 Herbert Voss <voss@perce.de>
12946 * vspace.C (asLatexString): fix bug in output of string for l% and p%.
12948 2001-10-11 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12950 * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
12953 2001-10-10 André Pönitz <poenitz@gmx.net>
12955 * lyxfunc.C: removed greek_kb_flag.
12957 2001-10-10 Herbert Voss <voss@perce.de>
12959 * lyx_main.C: delete global string help_lyxdir.
12961 2001-10-09 Herbert Voss <voss@perce.de>
12963 * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
12965 * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
12967 * lyx_main.C: added global string help_lyxdir.
12969 * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
12971 2001-10-07 Adrien Rebollo <adrien.rebollo@gmx.fr>
12973 * lyxrc.C (set_font_norm_type): support iso8859-4
12975 2001-07-02 Claus Hentschel <claus.hentschel@mbau.fh-hannover.de>
12977 * LaTeX.C (deplog): add another regex for MikTeX
12979 2001-10-05 Adrien Rebollo <adrien.rebollo@gmx.fr>
12981 * lyxrc.C (set_font_norm_type): support iso8859-3
12983 2001-10-04 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
12985 * BufferView_pimpl.C (tripleClick): fix stupid logic error.
12987 * LaTeXFeatures.C: remove special case of french and index
12989 * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
12990 before \begin{document}). This solves several incompatibilities.
12992 2001-10-03 Garst Reese <reese@isn.net>
12994 * lyx_cb.C: change CheckTex error msg.
12996 2001-10-03 José Matos <jamatos@fep.up.pt>
12998 * buffer.C (simpleDocBookOnePar): add support for pass_thru.
13000 2001-10-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13002 * .cvsignore: update
13004 * lyx_main.C (commandLineVersionInfo): use new style version info.
13006 * buffer.C (writeFile):
13008 (makeLinuxDocFile):
13009 (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
13011 * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
13013 * version.h: update to use stuff in version.C
13015 * version.C.in: new file. Contains version information determined
13016 at compile time. This is a merging of version.h and
13019 2001-10-03 Juergen Vigna <jug@sad.it>
13021 * BufferView_pimpl.C (update): don't change "dirty" status in
13024 2001-10-03 Angus Leeming <a.leeming@ic.ac.uk>
13026 * WorkArea.C (c-tor): re-position version string slightly.
13028 2001-10-02 Angus Leeming <a.leeming@ic.ac.uk>
13030 * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
13031 revert to previous code.
13033 WorkArea.[Ch]: (show, destroySplash): methods removed.
13035 WorkArea.C: rework code so that it's an amalgam of the codes before and
13036 after the splash screen was moved to WorkArea.
13038 2001-10-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13041 * vspace.C (inPixels):
13044 * buffer.C (insertStringAsLines):
13045 (asciiParagraph): fix types to be large enough
13047 * lyxlex_pimpl.h: change member status from short to int
13049 * layout.h: fix type of endlabeltype
13052 * kbsequence.C (parse): change return type to string::size_type
13054 * LaTeX.C (updateBibtexDependencies): comment out unneeded
13057 * Bullet.C (bulletSize):
13058 (bulletEntry): do not use short ints as parameters
13060 * BufferView2.C (insertLyXFile): change a char to an int.
13062 * WorkArea.C (WorkArea): remove unneeded floats in computation
13064 2001-10-01 Dekel Tsur <dekelts@tau.ac.il>
13066 * buffer.C (asciiParagraph): Treat '\\' as other chars.
13068 * paragraph.C (asString): Do not ignore newline/hfill chars when
13069 copying to the clipboard.
13071 2001-09-29 Dekel Tsur <dekelts@tau.ac.il>
13073 * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
13074 after a multi-line inset.
13076 2001-09-28 Dekel Tsur <dekelts@tau.ac.il>
13078 * paragraph.C (validate): Set NeedLyXFootnoteCode
13080 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13082 * lyxfont.C (LyXSizeNames): changed increase-error to increase
13083 and decrease-error to decrease.
13085 2001-09-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13087 * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
13088 it more readable (should be equivalent)
13090 2001-09-27 Adrien Rebollo <adrien.rebollo@gmx.fr>
13092 * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
13094 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13096 * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
13097 of a cursor (row, etc.) after a character has been deleted
13098 (deleteEmptyParagraphMechanism): call the method above on _all_
13099 cursors held by the LyXText when a double space has been
13102 2001-09-27 Angus Leeming <a.leeming@ic.ac.uk>
13104 * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
13106 (resizeCurrentBuff): remove code to destroy the old splash dialog.
13108 * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
13109 background. Use greyOut() and the new show() methods to toggle between
13110 the foreground and background. Add code to remove the splash after
13111 its initial showing.
13113 * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
13114 (create_forms): no longer call Dialogs::showSplash.
13116 2001-09-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13118 * .cvsignore: add version_info.h
13120 2001-09-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13122 * version_info.h.in: new file
13124 * Makefile.am: add version_info.h.in
13126 * lyx_main.C (commandLineVersionInfo): use version_info defined in
13127 version_info.h instead of VERSION_INFO
13129 2001-09-24 Angus Leeming <a.leeming@ic.ac.uk>
13131 * text.C (selectNextWordToSpellcheck): reverted change to if-block.
13132 The ERT inset now returns string().
13134 2001-09-21 Angus Leeming <a.leeming@ic.ac.uk>
13136 * lyxtext.h, text.C (selectNextWord): renamed as
13137 selectNextWordToSpellcheck.
13139 * text.C (selectNextWordToSpellcheck): Modified to not select
13140 words inside an ERT inset.
13142 2001-09-21 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13144 * lyx_cb.C (MenuLayoutSave): change a bit the question
13146 * sp_base.h: include <sys/types.h>
13148 2001-09-18 Angus Leeming <a.leeming@ic.ac.uk>
13150 * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
13152 2001-09-20 Michael Schmitt <Michael.Schmitt@teststep.org>
13154 * several files: fix typos in user-visible strings
13156 2001-09-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13158 * text2.C (pasteSelection): do not set the selection, since it
13159 will be cleared later. Actually, the intent was to fix the way the
13160 selection was set, but I figured rmoving the code was just as good.
13162 2001-09-19 Dekel Tsur <dekelts@tau.ac.il>
13164 * FontLoader.C (available): Check if font is available without
13167 2001-09-19 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
13169 * lyxrc.[Ch]: added auto_reset_options variable and associated code.
13171 2001-09-13 Angus Leeming <a.leeming@ic.ac.uk>
13173 * lyxrc.[Ch]: added display_graphics variable and associated code.
13175 2001-09-17 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13177 * bufferparams.C (hasClassDefaults): new method. Returns true if
13178 the buffer parameters correspond to known class defaults
13180 2001-09-17 Angus Leeming <a.leeming@ic.ac.uk>
13182 * XFormsView.C (show): set minimum size to the main window.
13184 2001-09-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13186 * text2.C (copySelection):
13188 * lyxfind.C (LyXReplace):
13189 * BufferView_pimpl.C (Dispatch): pass the correct flag to
13190 LyXText::selectionAsString.
13192 * paragraph.C (asString): add "label" argument to the second form
13194 * text2.C (selectionAsString): add "label" argument and pass it to
13195 Paragraph::asString.
13197 2001-09-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13199 * lyx_main.C (commandLineHelp): remove version information
13201 2001-09-08 Rob Lahaye <lahaye@users.sourceforge.net>
13203 * lyx_main.C: add -version commandline option
13205 2001-09-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
13207 * paragraph.h: make the optional constructor arg required instead.
13208 some modifications to other files because of this.
13210 * minibuffer.C (C_MiniBuffer_peek_event): make it static
13212 * lyxserver.C (C_LyXComm_callback): make it static
13214 * lyx_main.C (error_handler): make it static
13216 * lyx_gui.C (LyX_XErrHandler): make it static
13218 * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
13220 * WorkArea.C: make the extern "C" methods static.
13222 * Makefile.am (lyx_LDADD): simplify
13224 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13226 * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
13227 LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
13229 * LyXAction.C (init):
13230 * lyxfunc.C (dispatch): associated code removal.
13232 2001-09-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13234 * lyxfont.h (isSymbolFont): shut off warning
13236 * text.C (setHeightOfRow):
13237 (getVisibleRow): fix crash with empty paragraphs which have a
13240 2001-09-07 Rob Lahaye <lahaye@users.sourceforge.net>
13242 * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
13245 2001-09-04 José Matos <jamatos@fep.up.pt>
13248 * tabular.C (docbook): rename docBook method to docbook.
13250 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13252 * Makefile.am: add dependencies to main.o.
13254 2001-09-03 Dekel Tsur <dekelts@tau.ac.il>
13256 * FontLoader.C (available): Return false if !lyxrc.use_gui
13258 2001-09-03 Michael Schmitt <schmitt@itm.mu-luebeck.de>
13260 * FontInfo.C (query):
13261 * converter.C (view):
13262 * importer.C (Import):
13263 * exporter.C (Export): Can not -> cannot.
13265 2001-09-02 John Levon <moz@compsoc.man.ac.uk>
13267 * BufferView_pimpl.C: allow to create index inset even if
13270 2001-09-02 Angus Leeming <a.leeming@ic.ac.uk>
13272 * buffer.C (getLists): replace boost::tie code with an explicit pair
13273 as boost::tie can break some compilers.
13275 * iterators.h: Added a std:: declaration to the return type of
13278 2001-08-31 John Levon <moz@compsoc.man.ac.uk>
13280 * lyxrc.C: add help for view_dvi_paper_option, default to safe
13283 2001-09-02 Dekel Tsur <dekelts@tau.ac.il>
13285 * iterators.[Ch]: New files. Provide paragraph iterators.
13287 * buffer.C (changeLanguage): Use paragraph iterators.
13288 (isMultiLingual): ditto
13290 * BufferView2.C (ChangeInsets): Use paragraph iterators.
13292 2001-09-01 Dekel Tsur <dekelts@tau.ac.il>
13294 * FontLoader.C: Support for cmr font.
13296 2001-08-31 Dekel Tsur <dekelts@tau.ac.il>
13298 * FontLoader.C (getFontinfo): Handle latex symbol fonts.
13299 (available): New method.
13301 * FontInfo.C (getFontname): Use scalable fonts even when
13302 lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
13305 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13307 * converter.C (Formats::view): reverted! Incorrect fix.
13309 2001-08-23 Angus Leeming <a.leeming@ic.ac.uk>
13311 * converter.C (Formats::view): only output the -paper option
13312 if the dvi viewer is xdvi, thereby fixing bug #233429.
13314 2001-08-23 Herbert Voss <voss@perce>
13316 * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
13318 2001-08-20 Dekel Tsur <dekelts@tau.ac.il>
13320 * Spacing.h (Spacing): Set space to Default on in the default
13323 2001-08-19 Lars Gullik Bjønnes <larsbj@birdstep.com>
13325 * vc-backend.h (RCS::versionString): add RCS to version
13326 (CVS::versionString): add CVS to version
13328 * vc-backend.C (scanMaster): do not add CVS to version.
13329 (scanMaster): do not add RCS to version
13331 * lyxvc.C (versionString): new method
13333 * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
13335 2001-08-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
13337 * Spacing.C (set): initialize fval
13339 2001-08-15 Dekel Tsur <dekelts@tau.ac.il>
13341 * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
13344 2001-08-16 Juergen Vigna <jug@sad.it>
13346 * lyxfunc.C (dispatch): implemented the new FINISHED states.
13348 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13350 * BufferView_pimpl.C:
13353 * text2.C: setParagraph takes linespacing now
13355 2001-08-15 John Levon <moz@compsoc.man.ac.uk>
13357 * LyxAction.C: add internal LFUN_CITATION_INSERT
13359 * LyXView.C: actually apply fix
13361 * bufferlist.C: fix open non-existent file
13363 * lyxfind.C: fix indentation
13365 * lyxfunc.C: remove unneeded assert, fix typo
13367 2001-08-16 John Levon <moz@compsoc.man.ac.uk>
13369 * MenuBackend.C: use "Floatname List"
13371 2001-08-14 Dekel Tsur <dekelts@tau.ac.il>
13373 * buffer.C (parseSingleLyXformat2Token): Do not generate errors
13374 when converting LaTeX layout to insetERT.
13375 Generate a non-collapsed float when reading old float
13377 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13379 * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
13382 2001-08-13 Juergen Vigna <jug@sad.it>
13384 * text.C (fill): return 0 instead of 20 as this seems to be the more
13387 2001-08-13 Dekel Tsur <dekelts@tau.ac.il>
13389 * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
13392 2001-08-13 Juergen Vigna <jug@sad.it>
13394 * lyxfind.C (LyXReplace): fixed not single-replacing characters with
13396 (SearchBackward): comment out the unlocking of the inset_owner this
13397 should not be needed!
13399 2001-08-11 Dekel Tsur <dekelts@tau.ac.il>
13401 * Many files: Remove inherit_language, and add latex_language
13403 * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
13404 collapsible insets.
13406 2001-08-10 Juergen Vigna <jug@sad.it>
13408 * text.C (prepareToPrint): fixed hfill-width in draw!
13410 * BufferView2.C (selectLastWord): save the selection cursor as this
13411 now is cleared in the function LyXText::clearSelection!
13413 2001-08-08 Juergen Vigna <jug@sad.it>
13415 * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
13416 BACKSPACE type functions.
13418 * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
13419 is only cutted from the document but not put in the cut-buffer, where
13420 still the old stuff should be.
13422 * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
13424 * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
13426 * tabular.C (SetWidthOfCell): fixed special case where the width
13428 (LeftLine): handle '|' in align_special.
13430 (LeftAlreadyDrawed): ditto
13431 (SetWidthOfCell): ditto
13433 2001-08-07 Juergen Vigna <jug@sad.it>
13435 * lyx_main.C (readUIFile): fixed some forgotten lowercase!
13437 2001-08-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
13439 * lyxlex_pimpl.[Ch]: converto to lowercase funcs
13440 * lyxlex.[hC]: ditto
13442 2001-08-06 Juergen Vigna <jug@sad.it>
13444 * text.C (getVisibleRow): fix up row clearing a bit.
13446 2001-08-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
13448 * minibuffer.C: make sure the X server sees the changes in the input.
13450 2001-08-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
13452 * paragraph.C (getFont): split into...
13453 (getLabelFont): this
13454 (getLayoutFont): and this
13455 * paragraph_pimpl.C (realizeFont): calling this
13457 * text2.C (getFont): split into...
13458 (getLayoutFont): this
13459 (getLabelFont): and this
13460 (realizeFont): all three calling this
13462 * lyxfont.h: remove all NO_LATEX macros and code... adjust all
13465 2001-08-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13467 * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
13469 2001-08-02 Kayvan A. Sylvan <kayvan@sylvan.com>
13471 * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
13472 layouts from the Quote inset insertion.
13474 2001-08-03 Juergen Vigna <jug@sad.it>
13476 * BufferView_pimpl.C (update): do the fitCursor only at the end!
13478 * screen.C (drawFromTo): don't call fitcursor here and do the loop
13479 only if status not is already CHANGED_IN_DRAW (second level).
13481 * text.C (draw): don't set the need_break_row when inside an
13484 2001-08-02 Lars Gullik Bjønnes <larsbj@birdstep.com>
13486 * buffer.C (parseSingleLyXformat2Token): handle more latex
13489 * bufferview_funcs.[hC]: change function names to
13490 begin with small char, adjust other files.
13492 2001-08-02 André Pönitz <poenitz@gmx.net>
13495 BufferView_pimpl.C: remove broken special code for math-greek
13497 2001-08-02 Juergen Vigna <jug@sad.it>
13499 * BufferView_pimpl.C (update): redone this function so that we
13500 update the text again if there was a CHANGE_IN_DRAW.
13502 * screen.C (cursorToggle): removed LyXText parameter and recoded.
13503 (drawFromTo): added a new internal bool which is used by draw() and
13505 (general): some cursor drawing problems fixed.
13507 2001-08-01 Juergen Vigna <jug@sad.it>
13509 * lyxfind.C (LyXFind): fixed
13510 (SearchForward): ditto
13511 (SearchBackward): ditto
13513 * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
13514 spurius drawing of the cursor in the main area.
13516 * text2.C (status): small fix which could lead to a segfault!
13517 (clearSelection): remove unneeded BufferView param.
13519 2001-08-01 André Pönitz <poenitz@gmx.net>
13521 * lyxfunc.C: small change due to changed mathed interface
13523 2001-08-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13525 * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
13527 2001-08-01 John Levon <moz@compsoc.man.ac.uk>
13529 * lyxfunc.c: fail gracefully if file doesn't exist
13534 * BufferView_pimpl.C: IsDirWriteable() proto changed
13536 * LyXView.C: fix updateWindowTitle() to store the last title
13538 2001-07-31 Juergen Vigna <jug@sad.it>
13540 * text.C (setHeightOfRow): fixed setting of ascent/descent based on
13541 the font (wrong since using of Paragraph::highestFontInRange).
13543 * paragraph.C (highestFontInRange): added a default_size parameter.
13545 * text.C (getVisibleRow): minor clear row changes (still not perfect).
13546 (setHeightOfRow): reformat
13548 2001-07-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
13550 * converter.[hC] + affected files: move to (inital-char)lowercase
13553 * ParagraphParameters.C (ParagraphParameters): remove commented code
13555 * PainterBase.[Ch]: remove commented code
13557 * LaTeXFeatures.h: add "bool floats" for float.sty
13559 * LaTeXFeatures.C (LaTeXFeatures): init floats
13560 (require): handle float
13561 (getPackages): do it with floats
13563 2001-07-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13565 * BufferView_pimpl.C (Dispatch): improve handling of
13566 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
13568 * commandtags.h: #include lyxfont.h here temporarily to avoid
13571 * bufferlist.h: include LString.h here.
13573 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13575 * text2.C (getStringToIndex): new method.
13577 2001-07-29 Asger Alstrup Nielsen <alstrup@alstrup>
13579 * *: Reduced header file dependencies all over.
13581 2001-07-30 Baruch Even <baruch@lyx.org>
13583 * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
13585 2001-07-29 Baruch Even <baruch@lyx.org>
13587 * buffer.C (readInset): Changed GRAPHICS to Graphics.
13589 2001-07-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
13591 * ParameterStruct.h (endif): add a default constructor to make
13592 sure that all variables is initialized.
13594 * ParagraphParameters.C (ParagraphParameters): adjust
13596 2001-07-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13598 * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
13599 index; also, check that there is something to index, and that it
13600 does not span over several paragraphs.
13601 (doubleClick): use WHOLE_WORD_STRICT for double click.
13603 * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
13605 * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
13608 2001-07-26 Baruch Even <baruch@lyx.org>
13610 * buffer.C (readInset): Changed to call up InsetGraphics when reading
13611 an InsetFig figure, backwards compatible reading of old figure code.
13613 2001-07-27 Juergen Vigna <jug@sad.it>
13615 * text2.C: font.realize function adaption.
13617 * text.C (draw): add a warnings lyxerr text if needed.
13619 * layout.C: font.realize function adaption.
13621 * language.C: add inherit_language and implement it's handlings
13623 * bufferview_funcs.C (StyleReset): remove language parameter from
13624 font creation (should be language_inherit now).
13626 * bufferparams.C (writeFile): handle ignore_language.
13628 * paragraph.C (getFontSettings): the language has to be resolved
13629 otherwise we have problems in LyXFont!
13631 * lyxfont.C (lyxWriteChanges): added document_language parameter
13632 (update): removed unneeded language parameter
13634 * paragraph.C (validate): fixed wrong output of color-package when
13635 using interface colors for certain fonts in certain environments,
13636 which should not seen as that on the final output.
13638 2001-07-26 John Levon <moz@compsoc.man.ac.uk>
13640 * BufferView_pimpl.C:
13645 * LyXAction.C: add thesaurus support
13648 * lyxfind.C: add "once" parameter, for thesaurus, to not
13649 move to the next match
13651 2001-07-26 Juergen Vigna <jug@sad.it>
13653 * lyxfont.C (realize): honor ignore_language too!
13656 * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
13658 * text.C (draw): one place more for ignore_language to not draw
13661 2001-07-25 Angus Leeming <a.leeming@ic.ac.uk>
13663 * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
13665 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13667 * buffer.C (parseSingleLyXformat2Token): a more general fix for
13668 the minipage conversion problem.
13670 2001-07-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
13672 * buffer.C (parseSingleLyXformat2Token): check minipage if we
13675 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13677 * BufferView.h: don't forward declare WorkArea
13679 * BufferView.C: don't include WorkArea.h
13681 2001-07-25 André Pönitz <poenitz@gmx.net>
13685 * lyxfunc.C: new LFUN 'math-space'
13687 * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
13689 2001-07-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
13691 * text2.C (toggleInset): call open/close
13693 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13695 * lyxfunc.C (dispatch): add debug for the disabled case
13697 * font.C (buttonText): make similar to rectText
13699 * buffer.C (readInset): comment out parsing of insetlist and
13702 * PainterBase.C (rectText): small correction
13704 * BufferView_pimpl.C: comment out insettheorem and insetlist
13705 * LyXAction.C: ditto
13706 * commandtags.h: ditto
13708 2001-07-24 Juergen Vigna <jug@sad.it>
13710 * text.C (draw): honor the ignore_language.
13712 * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
13714 2001-07-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13716 * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
13719 2001-07-24 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13721 * lyxtext.h: remove unused (and unimplemented) methods
13723 2001-07-23 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13725 * text.C (getVisibleRow): honor background color
13728 * Painter.h: remove default color argument for fillRectangle
13730 * text.C (backgroundColor): new method
13732 2001-07-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
13734 * text.C (getVisibleRow): adjust
13736 * font.[Ch] (rectText): new method, metrics
13737 (buttonText): new method, metrics
13739 * PainterBase.[hC]: make rectText and buttonText always draw and take
13742 2001-07-22 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13744 * ToolbarDefaults.C (read):
13745 * MenuBackend.C (read): allow escaping in all strings
13747 * BufferView_pimpl.C (insertAndEditInset): new method.
13748 (Dispatch): use insertAndEditInset whenever appropriate.
13750 * BufferView_pimpl.C (insertNote): removed
13752 * BufferView_pimpl.C (smartQuote): new method, moved from
13753 BufferView; if an insetquote cannot be inserted, insert a '"'
13756 * BufferView2.C: remove insertCorrectQuote();
13758 * lyxfunc.C (getStatus): Add support for all remaingin
13759 inset-insert lfuns.
13761 * trans_mgr.C (insertVerbatim): do not treat '"' specially.
13763 * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
13764 command (necessary to pass " as parameter of self-insert.
13766 * text.C (selectWordWhenUnderCursor):
13767 (selectWord): add word_location parameter
13768 (selectWordWhenUnderCursor): same + remove special code for word
13770 (selectNextWord): use kind() to guess type of insetspecialchar,
13773 * buffer.C (insertStringAsLines): new method, extracted from LyXText.
13774 (insertErtContents): create ert insets as collapsed.
13775 (readInset): better compatibility code for Info inset.
13777 2001-07-20 Juergen Vigna <jug@sad.it>
13779 * lyxfunc.C (dispatch): use always LyXFind now!
13781 * text2.C (init): add a reinit flag so that the LyXText can be
13782 reinited instead of deleted and reallocated (used in InsetText).
13784 * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
13790 2001-07-18 Juergen Vigna <jug@sad.it>
13792 * text.C (selectNextWord): handle insets inside inset by calling
13793 always the bv->text functions so that we can go up the_locking_inset!
13795 * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
13796 in strange locations when inside an inset!
13798 * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
13799 handling to include insets.
13801 * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
13803 2001-07-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
13805 * LyXAction.C (init):
13807 * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
13808 LIGATURE_BREAK, since the name is so stupid.
13810 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13812 * buffer.C (readInset): enable reading of new InsetNotes as well as old
13815 * FontLoader.C: remove FORMS_H_LOCATION cruft.
13817 * sp_form.[Ch]: remove.
13819 * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
13821 * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
13824 * src/buffer.C (readInset): ditto.
13826 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13828 * BufferView_pimpl.C (specialChar): new method. Obsoletes
13829 menuSeparator(), endOfSentenceDot(), ldots() and
13830 hyphenationPoint(), which are therefore removed.
13831 (Dispatch): handle LFUN_HYPHENATION_BREAK.
13833 * LyXAction.C (init):
13834 * commandtags.h: add LFUN_HYPHENATION_BREAK.
13836 * paragraph.C (getWord): removed.
13838 * BufferView_pimpl.C (Dispatch): use last word or selection for
13839 LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
13841 * lyx_main.C (queryUserLyXDir): do not ask before creating
13842 user_dir, except if it has been named explicitely.
13844 2001-07-20 Angus Leeming <a.leeming@ic.ac.uk>
13846 * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
13847 a document of zero size.
13849 2001-07-19 Angus Leeming <a.leeming@ic.ac.uk>
13851 * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
13852 approriately in the c-tor and in require().
13853 (getPackages): output the appropriate LaTeX for natbib support.
13855 * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
13856 variables "use_natbib" and "use_numerical_citations" when reading the
13858 (readInset): read the various natbib cite commands.
13859 (validate): white-space change.
13861 * bufferparams.[Ch]: new variables "bool use_natbib" and
13862 "bool use_numerical_citations".
13863 (writeFile): output them in the LyX file.
13865 2001-07-19 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
13867 * lyxfunc.C (getStatus): add support for all the inset insertion
13870 * text2.C (insertInset):
13871 * paragraph.C (insetAllowed):
13872 * BufferView_pimpl.C (insertInset): update to take in account the
13873 renaming of insertInsetAllowed
13875 * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
13877 * text2.C (getInset): new method. returns inset at cursor position.
13879 * BufferView_pimpl.C (Dispatch): changes because of this.
13881 * LyXAction.C (init): rename open-stuff to inset-toggle.
13883 * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
13885 * text2.C (toggleInset): renamed from openStuff; use
13888 2001-07-13 Yves Bastide <stid@libd-pc11.univ-bpclermont.fr>
13890 * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
13892 * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
13894 2001-07-18 Dekel Tsur <dekelts@tau.ac.il>
13896 * buffer.C (readLyXformat2): Add filename to the error dialog
13898 2001-07-18 Juergen Vigna <jug@sad.it>
13900 * tabular.C (GetCellNumber): put an assert here instead of the check!
13902 2001-07-17 Juergen Vigna <jug@sad.it>
13904 * BufferView_pimpl.C (toggleSelection): adapted too.
13906 * text.C (selectNextWord): adapted for use with insets.
13907 (selectSelectedWord): ditto
13909 2001-07-17 Juergen Vigna <jug@sad.it>
13911 * sp_spell.C (PSpell): fix initialitation order.
13913 2001-07-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
13915 * paragraph.C: spacing
13917 2001-07-17 Edwin Leuven <leuven@fee.uva.nl>
13919 * sp_spell.C: repair language selection for pspell
13921 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13923 * lyxfunc.h: change more methods to begin with lower char.
13925 2001-07-16 Dekel Tsur <dekelts@tau.ac.il>
13927 * buffer.C (parseSingleLyXformat2Token): Generate error insets
13928 for unknown layouts.
13930 2001-07-13 Dekel Tsur <dekelts@tau.ac.il>
13932 * buffer.C (readLyXformat2): Generate an error dialog if there are
13935 2001-07-16 Juergen Vigna <jug@sad.it>
13937 * sp_spell.C: always compile ISpell part.
13939 * lyxrc.C: added use_pspell entry and it's handling.
13941 2001-07-13 Juergen Vigna <jug@sad.it>
13943 * sp_spell.C: removed double includes.
13945 2001-07-13 Angus Leeming <a.leeming@ic.ac.uk>
13947 Consistent use of Lsstream.h:
13948 * Lsstream.h: added using std::stringstream for consistencies sake.
13950 * buffer.C: removed using std::stringstream
13952 * lyxfont.C (stateText):
13953 * paragraph.C (asString):
13954 * text.C (selectNextWord, selectSelectedWord):
13955 * text2.C (setCounter):
13956 * vspace.C (asString, asLatexString):
13957 std::ostringstream -> ostringstream.
13959 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13961 * LyXAction.C: add LFUN_HELP_ABOUTLYX
13962 * commandtags.h: add LFUN_HELP_ABOUTLYX
13963 * lyxfunc.C: add about lyx remove credits/copyright/version stuff
13965 2001-07-13 Edwin Leuven <leuven@fee.uva.nl>
13967 * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
13969 * lyx_gui_misc.C: remove spellchecker
13970 * lyxfunc.C: showSpellchecker
13972 * sp_ispell.h: added
13973 * sp_pspell.h: added
13974 * sp_spell.C: added
13975 * sp_form.[Ch]: removed
13976 * spellchecker.[Ch]: removed
13978 2001-07-12 Kayvan A. Sylvan <kayvan@sylvan.com>
13980 * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
13982 (simpleTeXSpecialChars): Simply print the input character without
13983 any special translation if pass_thru is set.
13985 * layout.h: Added bool pass_thru to layout class for being able to
13986 implement pass through of a paragraph for Literate Programming.
13988 * layout.C: add LT_PASS_THRU to LayoutTags enum.
13989 * layout.C (LyXLayout): set pass_thru to flase in constructor.
13990 * layout.C (Read): add "passthru" to list of layout tags and add
13991 code to set the pass_thru boolean when it is read.
13993 2001-07-12 Lars Gullik Bjønnes <larsbj@birdstep.com>
13995 * trans_decl.h: remove allowed from KmodInfo
13997 * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
13998 remove allowed code
14001 * paragraph_pimpl.C (erase): use boost::prior
14003 * Painter.C (text): use data() instead of c_str() when length is
14005 * WorkArea.C (putClipboard): ditto
14006 * font.h (width): ditto
14008 * BufferView2.C: use it-> instead of (*it). for iterators
14010 * paragraph_pimpl.C: ditto
14011 * paragraph.C: ditto
14012 * minibuffer.C: ditto
14013 * language.C: ditto
14015 * encoding.C: ditto
14016 * counters.C: ditto
14017 * converter.C: ditto
14019 * Variables.C: ditto
14020 * TextCache.C: ditto
14021 * MenuBackend.C: ditto
14022 * LyXAction.C: ditto
14024 * FloatList.C: ditto
14025 * DepTable.C: ditto
14026 * ColorHandler.C (LyXColorHandler): ditto
14028 2001-07-10 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14030 * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
14032 * text2.C (openStuff): reintroduce this method (which had been
14033 nuked in NEW_INSETS frenzy).
14035 * lyxfunc.C (Dispatch): when an action has not been handled, use
14036 its name in the error message, not its number.
14038 * paragraph.C (inInset): change method name to begin with lowercase.
14041 * text2.C: updates because of this.
14043 2001-07-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14045 * ToolbarDefaults.C (add): add spaces in error message
14047 2001-07-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14049 * buffer.C (readLyXformat2): initialize the ert comp. variables.
14050 (readLyXformat2): rename return_par to first_par, use lyxlex's
14051 pushToken and remove the manual push handling.
14052 (parseSingleLyXformat2Token): add another ert comp. variable:
14053 in_tabular, rename return_par to first_par. handle newlines better
14055 2001-07-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14057 * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
14059 2001-07-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14061 * text2.C (getParFromID): removed
14063 * buffer.C (getParFromID): new method moved form lyxtext.
14064 * BufferView2.C (insertErrors): adjust
14065 (setCursorFromRow): adjust
14066 * BufferView_pimpl.C (restorePosition): adjust
14067 * lyxfunc.C (Dispatch): adjust
14068 * undo_funcs.C (textUndo): adjust
14070 (textHandleUndo): adjust
14071 (textHandleUndo): adjust
14073 2001-07-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14075 * buffer.C: up' the LYX_FORMAT
14077 * lyxfont.h: turn NO_LATEX on as default
14079 * buffer.C (insertErtContents): new methods of tex style compability.
14080 (parseSingleLyXformat2Token): use it several places.
14081 * tabular.C (OldFormatRead): and here
14083 2001-07-07 Lars Gullik Bjønnes <larsbj@birdstep.com>
14085 * text2.C: remove some commented code.
14088 * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
14089 * trans.C: changes because of the above.
14091 2001-07-07 Dekel Tsur <dekelts@tau.ac.il>
14093 * text2.C (setCounter): Fix counters bug with bibliography layout.
14095 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14097 * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
14098 own member functions
14099 (simpleTeXSpecialChars): ditto
14101 2001-07-06 Juergen Vigna <jug@sad.it>
14103 * a lot of files: changed the access to LyXText::status and the
14104 call of undo-functions.
14106 * undo.[Ch]: added a inset_id to the undo informations.
14108 * undo_funcs.[Ch]: added and moved here all undo functions.
14110 * lyxtext.h: give the status enum a weight, made status_ a private
14111 variable and made accessor functions for it, removed the whole bunch
14112 of undo-functions as they are now in their own file, make some
14113 functions publically available. Added function ownerParagraph with
14116 * paragraph.[Ch]: added "bool same_ids" to the constructor,
14117 made InInset() a const function, added getParFromID() function.
14119 * buffer.[Ch]: added const version for inset_iterator functions,
14120 added getInsetFromID() function.
14122 * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
14123 changed undo functions for new version.
14125 2001-07-05 Juergen Vigna <jug@sad.it>
14127 * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
14128 unknow mechanism does not call the proper constructor but only this
14129 one also if I request the other!?
14131 2001-07-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
14133 * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
14135 * text2.C (LyXText): use initialization lists.
14137 * lyxtext.h (Selection): initialize set_ and mark_
14138 (init): remove method
14140 2001-07-05 Dekel Tsur <dekelts@tau.ac.il>
14142 * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
14144 2001-07-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14146 * screen.[Ch]: change method names to begin with lowercase
14148 * BufferView_pimpl.C (updateScrollbar): simplify further and
14149 hopefully make it a bit faster.
14151 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14153 * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
14154 calling directly xforms functions.
14156 * Painter.C (Painter):
14157 * lyx_cb.C (MenuWrite):
14158 * FontInfo.C (query): use GUIRunTime::x11Display() instead of
14161 * lyx_gui.C: remove bogus guiruntime extern declaration.
14163 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14165 * text2.C (redoHeightOfParagraph): comment out stuff we don't need
14167 (redoDrawingOfParagraph): ditto
14168 (redoParagraphs): ditto
14169 (cutSelection): don't create a object for CutAndPaste use the
14170 static method directly
14171 (pasteSelection): ditto
14173 * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
14176 2001-07-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14178 * modifications to some other files because of this.
14180 * Makefile.am (lyx_SOURCES): add XFormsView
14182 * XFormsView.[Ch]: new files
14184 * LyXView.[Ch]: make LyXView a base class for the gui handling for
14185 the main window. Move the gui dependent stuff to XFormsView
14187 2001-07-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14189 * tabular.C (GetCellInset): update cur_cell also in the row/col
14190 version of this function.
14192 * lyxfunc.C: no need to include figure_form.h here.
14198 * lyxvc.C: no need to include forms.h here.
14200 2001-06-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14202 * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
14204 * lyxfunc.C (Dispatch):
14206 * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
14207 constructor argument.
14209 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14211 * paragraph.C (Paragraph): dont't clear, and just set layout.
14212 (makeSameLayout): use params's copy contructor.
14214 * ParagraphParameters.[Ch] (makeSame): delete method
14216 2001-06-29 John Levon <moz@compsoc.man.ac.uk>
14218 * Variables.[Ch]: fix indentation, rename set to isSet
14220 2001-06-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14222 * lyxfunc.C (Dispatch): fix typo
14224 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14226 * paragraph_pimpl.C: add std:: qualifier to lower_bound and
14229 * bufferlist.C: include assert.h for emergencyWrite().
14231 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14233 * lyx_main.C: if we can't even find a readable LYX_DIR directory,
14234 give up at last (bug #425202) !
14236 2001-06-27 John Levon <moz@compsoc.man.ac.uk>
14242 * spellchecker.C: strip spellchecker options and bring up
14243 preferences tab instead
14245 2001-06-28 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14247 * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
14248 the istringstream constructor
14250 2001-06-27 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14252 * paragraph.C (getLayout): fix return value
14254 * paragraph.h: do not declare getLayout as inline.
14256 * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
14258 2001-06-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14260 * lyxcursor.h (operator<): new func
14261 (operator>): new func
14262 (operator>=): new func
14263 (operator<=): new func
14265 * text.C (changeCase): use selection.start and selection.end
14266 (changeRegionCase): require from to be <= to. Require par to be a
14269 * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
14271 2001-06-27 Juergen Vigna <jug@sad.it>
14273 * text.C (cursorLeftOneWord): changed to return the cursor and added
14274 overlay with BufferView * parameter which calls this one.
14276 (selectWord): use new getWord function.
14277 (changeCase): renamed from changeWordCase as and extended to work
14278 also on selections.
14280 * lyxtext.h: added enum word_location
14282 * BufferView_pimpl.C (Dispatch): change function changeWordCase to
14283 changeCase as this operates now also on selections.
14285 2001-06-26 The LyX Project <lyx@violet.home.sad.it>
14287 * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
14289 * many files: send debug output to Debug::INFO instead of
14292 * converter.C (View):
14294 (Move): send debug output to Debug::FILES instead of console.
14296 2001-06-26 The LyX Project <lyx@rose.home.sad.it>
14298 * lyxfunc.C (getStatus): use func_status
14300 * func_status.h: new header, describing the results of
14301 LyXFunc::getStatus;
14303 * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
14306 2001-06-25 The LyX Project <jug@sad.it>
14308 * buffer.C (sgmlOpenTag):
14310 (SimpleDocBookOnePar): disable the depth spaces, for the moment.
14312 2001-06-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14314 * text2.C: remove some dead code
14316 * tabular.C (GetCellInset): store the last cell checked (gotten)
14318 * tabular.h: add the helper for the speedup
14320 * lyxtext.h: remove some dead code
14322 2001-06-26 The LyX Project <Asger>
14324 * paragraph.C: Change export to LaTeX of alignment to
14325 \begin{center} and family for better roundtrip work with reLyX.
14327 * Tune the math drawing a bit.
14329 2001-06-25 The LyX Project <Asger>
14331 * LColor.C (LColor): New color for math background. New color
14334 2001-06-25 The LyX Project <jug@sad.it>
14336 * lyxfunc.C (MenuNew): remove extra check for .lyx file
14338 * lyxfunc.C (Open):
14339 * bufferlist.C (newFile): do not restrict to files ending with
14342 * BufferView_pimpl.C (MenuInsertLyXFile):
14344 2001-06-24 The LyX Project <jug@sad.it>
14346 * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
14349 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14351 * lyxtext.h: rename most methods to begin with a small char.
14352 Lots of changes because of this.
14354 * paragraph.C (Paragraph): do not call fitToSize
14355 (erase): call Pimpl::erase
14356 (insertChar): call Pimpl::insertChar
14357 (insertInset): call Pipl::insertInset
14358 (breakParagraph): do not call fitToSize
14359 (breakParagraphConservative): do not call fitToSize
14360 (fitToSize): remove method
14362 * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
14364 2001-06-24 The LyX Project <Asger>
14366 * Fix Qt compilation^2
14368 2001-06-24 The LyX Project <jug@sad.it>
14370 * paragraph.[Ch] (outerHook): new method. mostly equivalent to
14371 depthHook(getDepth()-1).
14374 * ParagraphParameters.h:
14375 * ParameterStruct.h: change type of depth to unsigned int ==
14376 depth_type. Many adaptations to other files before of that.
14378 2001-06-24 The LyX Project <Asger>
14380 * Fix Qt compilation.
14382 2001-06-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14384 * paragraph.h: renamed several methods to begin with small letter.
14385 several changes to many parts of the code because of this.
14387 2001-06-23 The LyX Project <jug@sad.it>
14389 * text2.C (InsertStringAsLines): renamed from InsertStringA;
14390 rewritten to discard all double spaces when KeepEmpty is off
14391 (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
14392 to only handle newlines but not fiddle with spaces and friends.
14394 * lyxfunc.C (MenuNew): when doing 'new from template', use
14395 template_path as default directory
14397 2001-06-23 The LyX Project <Asger>
14399 * Clean-up of header file includes all over
14400 * paragraph.h: Move some of the stuff into paragraph_pimpl.h
14402 2001-06-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14404 * paragraph.h: renamed from lyxparagraph.h
14406 2001-06-23 Asger <lyx@violet.home.sad.it>
14408 * Buffer.h: Removed Buffer::resize
14409 * BufferList.h: Removed BufferList::resize
14410 * LyXView.h: Added LyXView::resize. This way, we will only reflow
14411 the document lazily when we change the width, or the font settings.
14413 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14415 * lyxfunc.C: silently ignore empty dispatches from the minibuffer
14417 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14419 * buffer.h: remove out of date comment
14421 2001-06-22 John Levon <moz@compsoc.man.ac.uk>
14424 * screen.C: fix "theoretical" GC leak
14426 2001-06-20 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14428 * LaTeX.C (scanAuxFile):
14429 (deplog): remove trailing \r when reading stream (useful under
14432 2001-06-15 Angus Leeming <a.leeming@ic.ac.uk>
14434 * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
14435 (resizeCurrentBuffer): have functions BufferView::theLockingInset()
14436 and BufferView::theLockingInset(Inset*), so should use them and not
14437 access bv_->text->the_locking_inset directly.
14439 * lyxfunc.C (Dispatch): cosmetic name change of three signals.
14441 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14444 * tex-defs.h: remove old unused file
14446 2001-06-15 John Levon <moz@compsoc.man.ac.uk>
14448 * BufferView_pimpl.C: fix typo, remove minibuffer message
14449 when buffer has loaded
14451 2001-06-14 Lars Gullik Bjønnes <larsbj@birdstep.com>
14453 * lyxfunc.C (Dispatch): use stringstream
14454 (MenuNew): use stringstream
14455 (Open): use stringstream
14457 * importer.C (Import): use stringstream
14459 * bufferview_funcs.C (CurrentState): use stringstream
14461 * LaTeX.C (run): use stringstream
14463 * BufferView_pimpl.C (savePosition): use stringstream
14464 (restorePosition): use stringstream
14465 (MenuInsertLyXFile): use stringstream
14467 2001-06-14 Angus Leeming <a.leeming@ic.ac.uk>
14480 * vspace.C: removed // -*- C++ -*- as first line.
14483 * version.h: added // -*- C++ -*- as first line.
14485 2001-06-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14487 * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
14489 * text2.C (SetSelectionOverString): do not test str[i]==0 for end
14492 2001-06-13 Lars Gullik Bjønnes <larsbj@birdstep.com>
14494 * buffer.C (parseSingleLyXformat2Token): fix compatability reading
14497 2001-06-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14499 * gettext.C: include LString.h even when --disable-nls is on.
14501 2001-06-12 Angus Leeming <a.leeming@ic.ac.uk>
14503 * converter.h (Get): changed argument type from int to
14504 FormatList::size_type to avoid unnecessary conversion.
14506 * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
14509 2001-06-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14511 * gettext.h: include LString.h even when --disable-nls is on.
14513 2001-06-07 Juergen Vigna <jug@sad.it>
14515 * text.C (BreakAgain): subst spaces with tabs.
14517 * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
14518 (resizeInsetsLyXText): set force on resizeLyXText.
14520 2001-06-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14522 * gettext.h (gettext_init):
14523 (locale_init): use a real definition instead of a macro
14525 2001-06-02 John Levon <moz@compsoc.man.ac.uk>
14527 * Bufferview_pimpl.C:
14529 * LColor.C: further lcolor tidies
14531 2001-06-05 Lars Gullik Bjønnes <larsbj@birdstep.com>
14533 * BufferView_pimpl.C (updateScrollbar): simplify.
14535 * BufferView2.C: don't include insets/insetinfo.h, change
14536 prototype for insertInset and call the Pimpl version. let
14537 updateInset call Pimpl version.
14539 * BufferView.h: move inset_slept to BufferView::Pimpl, move
14540 gotoInset to BufferView::Pimpl
14542 2001-06-01 Juergen Vigna <jug@sad.it>
14544 * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
14545 inside a LockingInset (is the update needed at all?).
14547 2001-05-31 Juergen Vigna <jug@sad.it>
14549 * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
14550 here not the old one otherwise how should we compare it afterwards
14553 2001-06-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14558 * FontInfo.C: bring C functions into global namespace when
14561 2001-05-30 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14563 * LString.h: make sure config.h has been loaded before LString.h.
14565 * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
14566 (one for each char read by EatLine!).
14568 * lyx_main.C (init): constify lyxdir. Lowercase the name of some
14571 2001-06-01 Lars Gullik Bjønnes <larsbj@birdstep.com>
14573 * paragraph.C (BreakParagraph): set the inset_owner in the new par
14574 to the same as the par we break from
14576 2001-05-31 Lars Gullik Bjønnes <larsbj@birdstep.com>
14578 * commandtags.h: add LFUN_INSET_WIDE_FLOAT
14580 * MenuBackend.C (expand): also create menu entries for wide
14581 versions of the floats.
14583 * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
14585 * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
14587 * Makefile.am (lyx_DEPENDENCIES): adjust for change in
14588 frontends/Makefile.am
14594 * tabular.C (getTokenValue): add std::
14596 * tabular-old.C (getTokenValue): add std::
14597 (getTokenValue): ditto
14598 (getTokenValue): ditto
14600 * screen.C (ToggleSelection): adjust
14602 * lyxtext.h: put selection cursors inside a Selection struct.
14604 * lyxfunc.C (moveCursorUpdate): adjust
14606 * lyxfont.C (latexWriteStartChanges): add std::
14608 * lyxfind.C: adjust
14610 * font.h: delete with(char const *, LyXFont const &)
14612 * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
14614 * FontInfo.C (getFontname): add std::
14616 * BufferView_pimpl.C (resizeCurrentBuffer): adjust
14617 (workAreaButtonPress): adjust
14618 (tripleClick): adjust
14620 (moveCursorUpdate): adjust
14623 * BufferView2.C (gotoInset): adjust
14625 2001-05-30 Juergen Vigna <jug@sad.it>
14627 * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
14628 to check pspell I add this as default as I now have new pspell
14629 libraries and they seem to use this.
14631 2001-05-30 Lars Gullik Bjønnes <larsbj@birdstep.com>
14633 * text2.C (CutSelection): make the cursor valid before the call to
14636 2001-05-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14638 * kbsequence.C (parse): de-uglify a bit the parsing code, which
14639 relied on 0 terminated strings and other horrors. Bug found due to
14640 the new assert in lyxstring!
14642 * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
14645 2001-05-29 Lars Gullik Bjønnes <larsbj@birdstep.com>
14647 * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
14650 * lyxfunc.C (processKeySym): change method of getting to the
14653 * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
14654 menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
14655 * BufferView_pimpl.[Ch]: here as private methods.
14657 2001-05-28 Juergen Vigna <jug@sad.it>
14659 * text.C (SetHeightOfRow): added the update() call again as it is
14660 needed to initialize inset dimensions!
14662 2001-05-16 Juergen Vigna <jug@sad.it>
14664 * text2.C (SetCharFont): Add new function with BufferView * and
14665 bool toggleall parameters for setting insets internal fonts.
14666 (SetFont): Freeze the undo as we may change fonts in Insets and
14667 all this change should be inside only one Undo!
14669 * bufferview_funcs.C (ToggleAndShow): fixed this functions for
14670 setting font's in insets as for them we have the SetFont function!
14672 2001-05-15 Juergen Vigna <jug@sad.it>
14674 * text2.C (ClearSelection): to be sure we REALLY don't have any
14677 * tabular.C (TeXCellPreamble): fixed the left border problem for
14680 2001-05-27 Dekel Tsur <dekelts@tau.ac.il>
14682 * LaTeX.C (deplog): Make sure that the main .tex file is in the
14685 2001-05-23 Lars Gullik Bjønnes <larsbj@birdstep.com>
14687 * lyx_main.C (defaultKeyBindings): set KP_enter to point at
14688 LFUN_BREAKPARAGRAPH.
14690 * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
14691 help test to "internal only", similar for LFUN_INSERT_URL
14693 * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
14694 (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
14695 auto_region_delete and deadkeys.
14697 2001-05-22 John Levon <moz@compsoc.man.ac.uk>
14700 * LColor.C: remove some dead entries, tidy a little
14702 2001-05-18 Lars Gullik Bjønnes <larsbj@birdstep.com>
14704 * lyxfunc.C (processKeySym): comment the Escape handling, remove
14706 (Dispatch): implement LFUN_ESCAPE
14708 * commandtags.h: add LFUN_ESCAPE
14710 * LyXAction.C (init): add entry for LFUN_ESCAPE
14712 * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
14713 Remove commented code.
14714 (insertNote): moved here
14715 (open_new_inset): moved here
14717 * BufferView[2].[Ch]: move insertNote and open_new_inset to
14720 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14722 * kbmap.C (findbinding): clean it up and make it work correctly.
14724 * lyx_main.C (init): do not pass argc and argv as parameters
14726 2001-05-16 Ruurd Reitsma <r.a.reitsma@wbmt.tudelft.nl>
14728 * buffer.C: fix path for OS/2 & Win32
14732 * lyx_main.C: Added os:: class.
14734 * os2_defines.h: update
14736 2001-05-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
14738 * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
14739 better by trying again with reduced state.
14741 2001-05-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14743 * lyxrc.C (read): print error about invalid key sequence only when
14744 debugging (because not all latinX keysyms are known to some X
14747 * kbsequence.C (getiso): add a few std:: qualifiers
14748 (getiso): comment out extra return statement.
14750 2001-05-11 Lars Gullik Bjønnes <larsbj@birdstep.com>
14752 * BufferView_pimpl.C (Dispatch): comment out the old "default" key
14754 (Dispatch): enhance the accent inset a bit. (not perfect)
14756 2001-05-10 Lars Gullik Bjønnes <larsbj@birdstep.com>
14758 * buffer.C (makeLaTeXFile): use stringstream on language_optons.
14760 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14762 * bufferlist.C (emergencyWrite): fix assert() call
14764 2001-05-04 Kayvan A. Sylvan <kayvan@sylvan.com>
14766 * text.C (InsertChar): Added trivial patch to only send the "you
14767 can not do multiple spaces this way" message once during a
14770 2001-05-08 Baruch Even <baruch@lyx.org>
14772 * Makefile.am: Changed order of libraries to get LyX to link properly
14773 with the gnome frontend.
14775 2001-05-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14777 * LaTeXFeatures.h: add a std:: qualifier
14779 2001-05-09 Lars Gullik Bjønnes <larsbj@birdstep.com>
14781 * paragraph.C (String): use stringstream
14783 2001-05-08 Lars Gullik Bjønnes <larsbj@birdstep.com>
14785 * paragraph.C (writeFile): remove footflag arg
14787 * buffer.C (makeLaTeXFile): use stringstream
14788 (latexParagraphs): remove footnot gurba
14790 * LaTeXFeatures.C (getPackages): use stringstream
14791 (getMacros): likewise
14792 (getTClassPreamble): likewise
14793 (getFloatDefinitions): new method
14795 * paragraph.C (writeFile): reindent
14798 * WorkArea.h: revert the xpos + etc changes.
14800 * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
14802 * lyxparagraph.[Ch]: add copy constructor, remove Clone
14804 * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
14805 (pasteSelection): likewise
14806 * text2.C (CreateUndo): likewise
14808 2001-05-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
14810 * minibuffer.C (peek_event): temporarily reduce the functionality
14811 of the minibuffer (to allow args on lfuns)
14813 * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
14814 LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
14816 * buffer.C (readInset): add compability reading of old float
14817 lists, add reading of new style float list.
14818 (readInset): avoid reevaluation of inscmd.getCmdName()
14819 (getLists): reindent
14821 * MenuBackend.C (MenuItem): implement parsing of
14822 md_floatlistinsert and md_floatinsert.
14823 (expand::LastFiles): move initalizaton of iterators out of loop,
14824 avoid reevaluation.
14825 (expand::Documents): introduce typdedef vector<string> Strings,
14827 (expand::ExportFormats): introduce typedef vector<Format const *>
14828 Formats, and use it.
14829 (expand): implement FloatListInsert and FloatInsert.
14831 * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
14832 LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
14833 LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
14835 * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
14837 (Dispatch::LFUN_FLOAT_LIST): implement
14839 2001-04-28 Kayvan A. Sylvan <kayvan@sylvan.com>
14841 * LaTeX.C (run): Fix problem with --export code.
14843 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14845 * BufferView.[Ch] (workarea): removed.
14846 (getClipboard) new method; wrapper for workarea()->getClipboard()
14848 * ToolbarDefaults.C (read): removed final lex.next() command; it's a
14851 * WorkArea.h (width, height, xpos, ypos): These methods all
14852 returned the dimensions of the work_area sub-area of WorkArea,
14853 resulting in a position error if the WorkArea were resized. Now
14854 return the dimensions of the entire WorkArea.
14856 * lyx_main.C (ReadUIFile): don't print out spurious warnings.
14858 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14860 * LaTeX.C (deplog): correct the syntax of regex reg1
14862 2001-05-03 Lars Gullik Bjønnes <larsbj@birdstep.com>
14864 * undo.C: remove !NEW_INSETS cruft
14866 2001-04-28 Lars Gullik Bjønnes <larsbj@birdstep.com>
14868 * text2.C: remove !NEW_INSETS cruft
14870 * text.C: remove !NEW_INSETS cruft
14872 * tabular.C: remove !NEW_INSETS cruft
14874 * spellchecker.C: remove !NEW_INSETS cruft
14876 * lyxtext.h: remove !NEW_INSETS cruft
14878 * lyxlex_pimpl.C: remove !NEW_INSETS cruft
14880 * lyxfunc.C: remove !NEW_INSETS cruft
14882 * lyxfind.C: remove !NEW_INSETS cruft
14884 * lyx_cb.C: remove !NEW_INSETS cruft
14886 * figureForm.C: remove !NEW_INSETS cruft
14888 * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
14890 * buffer.[Ch]: remove !NEW_INSETS cruft
14892 * ToolbarDefaults.C: remove !NEW_INSETS cruft
14894 * CutAndPaste.C: remove !NEW_INSETS cruft
14896 * BufferView_pimpl.C: remove !NEW_INSETS cruft
14898 * BufferView2.C: remove !NEW_INSETS cruft
14900 * BufferView.h: remove !NEW_INSETS cruft
14902 2001-05-03 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14904 * Lsstream.h: include LString.h before the sstream headers to
14905 fix problem with gcc 2.95.3 and lyxstring
14907 2001-05-02 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
14909 * lyx_main.C: add using directives when needed for C functions
14910 declared in std:: namespace.
14912 2001-04-27 Juergen Vigna <jug@sad.it>
14914 * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
14915 (SetHeightOfRow): comment out the update call should not be needed!
14917 2001-04-13 Juergen Vigna <jug@sad.it>
14919 * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
14920 (LyXTabular): tried to minimize operator= operations (and realized
14921 hopfully Lars wish).
14923 2001-04-27 Juergen Vigna <jug@sad.it>
14925 * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
14927 2001-04-27 Lars Gullik Bjønnes <larsbj@birdstep.com>
14929 * lyxfunc.C (Dispatch): hack to make listof algorithm work
14931 * buffer.C (readInset): hack to make listof algorithm work
14933 * BufferView_pimpl.C: hack to make listof algorithm work
14935 2001-04-26 Lars Gullik Bjønnes <larsbj@birdstep.com>
14937 * LyXAction.C: removed all !NEW_INSETS cruft
14938 (init): moved lfun_item in method
14940 * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
14942 2001-04-26 Angus Leeming <a.leeming@ic.ac.uk>
14944 * BufferView2.C (theLockingInset): white space.
14946 2001-04-25 Lars Gullik Bjønnes <larsbj@birdstep.com>
14948 * minibuffer.C: include <iostream>
14950 * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
14952 * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
14954 * commandtags.h: add LFUN_TRANSPOSE_CHARS
14956 * text.[Ch] (TransposeChars): new method
14958 2001-04-24 Lars Gullik Bjønnes <larsbj@birdstep.com>
14960 * call message directly through LyXView instead of through LyXFunc
14961 * BufferView2.C: adjust
14962 * BufferView_pimpl.C: adjust
14963 * FontLoader.C: adjust
14965 * bufferview_funcs.C: adjust
14966 * converter.C: adjust
14967 * figureForm.C: adjust
14968 * importer.C: adjust
14970 * lyx_gui_misc.C: adjust
14971 * lyxfunc.C: adjust
14974 + more files in subdirs
14976 * lyxparagraph.h (size): move up int file
14979 * adjust all uses of Assert to lyx::Assert.
14981 * BufferView2.C (ChangeCitationsIfUnique): adjust for
14982 lyxfunctional in namespace lyx
14983 * layout.C (hasLayout): ditto
14986 (delete_layout): ditto
14987 (NumberOfClass): ditto
14988 * converter.C (GetFormat): ditto
14993 * bufferlist.C (getFileNames): ditto
14994 (emergencyWriteAll): ditto
14997 * MenuBackend.C (hasSubmenu): ditto
15000 * BufferView_pimpl.C (getInsetByCode): ditto
15002 2001-04-18 Juergen Vigna <jug@sad.it>
15004 * vspace.C (asLatexString): fixed the 100% problem.
15006 2001-04-18 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15008 * lyxfunc.C (Dispatch):
15010 * minibuffer.h: add a few std:: qualifiers
15012 2001-04-17 Lars Gullik Bjønnes <larsbj@birdstep.com>
15014 * minibuffer.[Ch]: reimplement so that commands is initiated and
15015 run from lyxfunc, simplified som handling, and made the completion
15016 and history code for complete. wip.
15018 * lyxfunc.C (processKeySym): call message
15019 (miniDispatch): new temporary method
15020 (LFUN_EXEC_COMMAND): reimplement for new minibuffer
15021 (LFUN_MESSAGE): implement
15022 (LFUN_MESSAGE_PUSH): implement
15023 (LFUN_MESSAGE_POP): implement
15024 (initMiniBuffer): the initial/defualt minibuffer message.
15026 * lyxfont.[Ch]: inline some more getters
15028 * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
15030 * lyx_gui_misc.[Ch] (WriteStatus): remove method
15032 * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
15033 (AutoSave): use LFUN_MESSAGE
15034 (Reconfigure): ditto
15036 * importer.C (Import): constify som local vars, use LFUN_MESSAGE
15038 * figureForm.C: use LFUN_MESSAGE
15040 * converter.C (runLaTeX): use LFUN_MESSAGE
15042 * bufferview_funcs.C: use LFUN_MESSAGE
15044 (changeDepth): ditto
15046 * bufferparams.h: use boost::
15048 * bufferlist.h: inherit privately from noncopyable
15050 * bufferlist.C (loadLyXFile): remove some commented code.
15052 * buffer.C (runChktex): use LFUN_MESSAGE
15054 * ShareContainer.h: inherit privately from noncopyable
15056 * ParagraphParameters.[hC] (depth): inline it.
15058 * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
15060 (message): new method
15061 (messagePush): ditto
15062 (messagePop): ditto
15063 (show): init minibuffer
15064 (showState): direct call
15066 * LaTeX.[Ch]: inherit privately from noncopyable
15067 (run): change second arg to LyXFunc*, use LFUN_MESSAGE
15068 instead of WriteStatus.
15070 * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
15072 * BufferView_pimpl.C (buffer): don't init minibuffer
15073 (workAreaButtonPress): use LFUN_MESSAGE
15074 (workAreaButtonRelease): ditto
15075 (savePosition): ditto
15076 (restorePosition): ditto
15077 (MenuInsertLyXFile): ditto
15078 (workAreaExpose): don't init minibuffer
15079 (update): remove commented code, simplify
15081 * BufferView2.C (openStuff): use LFUN_MESSAGE
15082 (toggleFloat): ditto
15085 (copyEnvironment): ditto
15086 (pasteEnvironment): ditto
15091 (updateInset): remove some commented code
15093 * lastfiles.h: inherit privately from noncopyable
15096 * lyx_main.h: ditto
15098 * lyxlex_pimpl.h: ditto
15100 * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
15101 LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
15102 LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15104 * LyXAction.h: inherit privately from noncopyable, add methods
15105 func_begin, func_end, returning iterators to the func map.
15107 * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
15108 add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
15109 (func_begin): new method
15110 (func_end): new method
15112 * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
15114 (copySelection): ditto
15115 (pasteSelection): ditto
15117 * BufferView.C: whitespace change
15118 * BufferView.h: inherit privately from noncopyable
15120 2001-04-16 Allan Rae <rae@lyx.org>
15122 * tabular-old.C (l_getline):
15123 * spellchecker.C (sc_check_word):
15124 * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
15125 an unrecognised preprocessor directive. So ensure they're wrapped.
15127 2001-04-14 Dekel Tsur <dekelts@tau.ac.il>
15129 * src/exporter.C (Export): Give an error message when path to file
15132 2001-04-12 Dekel Tsur <dekelts@tau.ac.il>
15134 * LaTeX.C (deplog): Always check that foundfile exists.
15136 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15139 * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
15141 2001-04-06 Lars Gullik Bjønnes <larsbj@birdstep.com>
15143 * tabular.[Ch] (getLabelList): implement new method
15145 * minibuffer.h: comment ouf setTiimer
15147 * minibuffer.C (ExecutingCB): constify res
15148 (peek_event): constify s
15149 (Set): constify ntext
15150 (Init): constify nicename
15152 * BufferView2.C (updateInset): comment out Minibuffer::setTimer
15154 * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
15155 (savePosition): use two params to Minibuffer::Set
15156 (restorePosition): ditto
15158 2001-04-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15160 * lyx_main.C: include language.h
15162 * Makefile.am (lyx_main.o): add language.h
15164 2001-04-05 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15170 * CutAndPaste.C: include gettext.h
15172 * lyxfont.h: remove old hack with ON and OFF.
15175 * lyxfont.h: do not include language.h...
15180 * bufferview_funcs.C:
15186 * paragraph.C: ... but do it here instead
15188 2001-04-04 Lars Gullik Bjønnes <larsbj@birdstep.com>
15190 * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
15192 * tabular.C: small reformat
15194 * paragraph.C (GetFontSettings): split in NEW_INSETS and non
15197 (BreakParagraph): ditto
15198 (SetOnlyLayout): ditto
15201 * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
15204 * lastfiles.C: removed most using decl, add std:: where needed
15206 * buffer.C: ws changes
15208 * MenuBackend.C (class compare_format): put into anon namespace
15209 (expand): constify label, names, action, action2
15212 * text.C (SingleWidth): constify font
15213 (IsBoundary): constify rtl2
15214 (GetVisibleRow): constify ww
15216 * LaTeX.C (deplog): constify logfile
15218 * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
15220 (workAreaExpose): constify widthChange, heightChange
15222 * lyxrow.C (par): moved
15225 * lyxrow.h: as inlines here
15227 * lyxfont.h (shape): moved from lyxfont.C
15228 (emph): moved from lyxfont.C
15230 * lyxfont.C (LyXFont): use initialization list for all
15232 (shape): move to lyxfont.h as inline
15233 (emph): move to lyxfont.h as inline
15236 2001-04-04 Juergen Vigna <jug@sad.it>
15238 * vspace.C: had to include stdio.h for use of sscanf
15240 2001-04-03 Angus Leeming <a.leeming@ic.ac.uk>
15243 * BufferView_pimpl.h: remove xforms cruft. Both classes are
15244 independent of xforms.
15246 2001-04-02 Juergen Vigna <jug@sad.it>
15248 * spellchecker.C: fixed namespace placing!
15250 2001-03-30 Angus Leeming <a.leeming@ic.ac.uk>
15252 * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
15253 the LyXParagraph * is 0.
15255 2001-03-29 Juergen Vigna <jug@sad.it>
15257 * vspace.C: added support for %, c%, p%, l%.
15258 (stringFromUnit): added helper function.
15259 (asLatexString): changed to give right results for the %-values.
15261 * buffer.C: convert the widthp in a width%.
15263 2001-03-28 Angus Leeming <a.leeming@ic.ac.uk>
15265 * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
15268 * figureForm.[Ch]: stripped the FD_from_figure manipulation
15269 code out of lux_cb.[Ch], ready for its (imminent?) removal.
15271 * lyx_cb.[Ch]: see above.
15273 * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
15277 * lyx.[Ch]: replaced by figure_form.[Ch].
15281 * lyxfunc.C: changed headers associated with above changes.
15283 2001-03-27 Juergen Vigna <jug@sad.it>
15285 * BufferView_pimpl.C: set the temporary cursor right!
15287 2001-03-27 Angus Leeming <a.leeming@ic.ac.uk>
15289 * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
15291 2001-03-23 Angus Leeming <a.leeming@ic.ac.uk>
15293 * LString.h: removed "using std::getline"!
15295 * BufferView_pimpl.C (Dispatch): changes due to changes in
15296 InsetInclude::Params.
15298 * buffer.C (tag_name): removed redundant break statements as they were
15299 producing lots of warnings with my compiler.
15301 2001-03-23 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15303 * LString.h: add "using std::getline" when using the real <string>.
15305 2001-03-23 José Abílio Matos <jamatos@fep.up.pt>
15307 * buffer.C: removed bitset usage.
15308 PAR_TAG moved to an anonymous name space.
15309 (tag_name): new funtion, also in the anonymous namespace.
15310 (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
15311 (makeDocBookFile): clean code. Completed transition from string arrays
15313 (SimpleDocBookOnePar): code clean.
15315 2001-03-23 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15317 * tabular.C: add some comments.
15319 2001-03-22 Juergen Vigna <jug@sad.it>
15321 * buffer.C (parseSingleLyXformat2Token): redone the minipage
15322 compatibility read a bit and fixed bug with minipage in different
15325 2001-03-21 José Abílio Matos <jamatos@fep.up.pt>
15327 * buffer.C (pop_tag): removed.
15328 (push_tag): removed.
15329 (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
15330 array replaced with vector. Added support for CDATA sections.
15331 (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
15333 (makeDocBookFile): XML conformant declaration of CDATA section,
15334 fixed bug related to <emphasis> in the first paragraph char.
15335 (sgmlOpenTag): exclude empty tags.
15336 (sgmlCloseTag): ditto.
15338 * buffer.h (pop_tag): removed.
15339 (push_tag): removed.
15341 2001-03-20 Angus Leeming <a.leeming@ic.ac.uk>
15343 * language.h (Languages): added size_type and size().
15345 2001-03-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15347 * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
15348 response on compability reading of minipages. One probliem is that
15349 the old usage of minipages was «flertydig»
15351 * several files here and in subdirs: don't use static at file
15352 scope use anon namespaces instead.
15354 2001-03-19 Kayvan A. Sylvan <kayvan@sylvan.com>
15356 * paragraph.C (TeXEnvironment): Added \n to \end{environment}
15357 LaTeX output. This is necessary for Literate document
15360 2001-03-17 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15362 * buffer.C: insert hfill when needed.
15364 * tabular.C (l_getline): use string::erase, small whitespace change.
15366 * BufferView_pimpl.C: try the anon namespace.
15367 * WorkArea.C: ditto
15369 2001-03-16 Juergen Vigna <jug@sad.it>
15371 * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
15372 otherwise it won't open options-dialogs.
15374 * buffer.C: honor pextraWidth(p) on converting minipages.
15376 * tabular.C (l_getline): changed the functions to strip trailing \r.
15378 2001-03-16 Angus Leeming <a.leeming@ic.ac.uk>
15380 * BufferView_pimpl.C:
15381 * minibuffer..C: added "using SigC::slot" declaration.
15383 2001-03-16 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15385 * lyxlex_pimpl.h: noncopyable is in namespace boost.
15391 * paragraph.C: ditto
15393 * lyxtext.h: NO_PEXTRA
15395 * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
15397 * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
15398 * ParameterStruct.h: ditto
15399 * ParagraphParameters.h: ditto
15400 * lyxparagraph.h: ditto
15402 2001-03-15 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15404 * buffer.C: add compability for minipage alignment.
15405 (latexParagraphs): remove unwanted pextra check.
15407 * several files: remove CXX_WORKING_NAMESPACES
15409 * buffer.C (pop_tag): tie is in namespace boost
15411 * BufferView.h: noncopyable is in namespace boost
15413 * lyx_main.h: ditto
15416 * lastfiles.h: ditto
15417 * bufferlist.h: ditto
15418 * ShareContainer.h: ditto
15420 * LyXAction.h: ditto
15423 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15425 * Merging changes from BRANCH_MVC back into HEAD.
15427 * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
15429 2001-03-15 John Levon <moz@compsoc.man.ac.uk>
15431 * BufferView_pimpl.C: change from intl.C
15435 * Makefile.am: move combox.*
15441 * intl.C: remove dialog (covered by prefs)
15443 2001-03-14 Angus Leeming <a.leeming@ic.ac.uk>
15445 * lyxfunc.C (Dispatch): removed redundant break statement.
15447 2001-03-14 Juergen Vigna <jug@sad.it>
15449 * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
15451 2001-03-14 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15453 * buffer.C: add hack to fix compability reading of minipages.
15455 2001-03-13 Dekel Tsur <dekelts@tau.ac.il>
15457 * buffer.C (getLists): Cleanup.
15459 2001-03-13 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15461 * lyxfont.C (update): don't honor toggleall on font size.
15463 2001-03-13 John Levon <moz@compsoc.man.ac.uk>
15467 * Makefile.am: moved to frontends/xforms/
15471 * BufferView_pimpl.C: changes for moved mathpanel
15473 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15475 * gettext.h: fix gettext_init() in --disable-nls
15477 2001-03-12 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15479 * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
15481 2001-03-09 John Levon <moz@compsoc.man.ac.uk>
15484 * lyx.h: strip external form
15486 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15488 * BufferView_pimpl.C: add comment, destroySplash()
15490 2001-03-12 John Levon <moz@compsoc.man.ac.uk>
15492 * BufferView_pimpl.C:
15496 * lyxfunc.C: use re-worked insetinclude
15498 2001-03-12 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15500 * buffer.C: add using std::stringstream.
15502 * lyx_cb.C: readd using std::ios.
15504 * buffer.C: add using std::map.
15506 * BufferView_pimpl.C: add using std::vector.
15508 * ShareContainer.h: add std:: to swap.
15510 * buffer.h: add some typedefs
15511 * buffer.C (getLists): use them
15512 (getLists): renamed from getTocList.
15513 add a counter for the different float types and use it in the
15515 (getLists): use the same counter for the NEW_INSETS and the "non"
15518 * lyx_cb.h: remove unused items, includes, using etc.
15520 * ShareContainer.h: remove some commented code, add more comments
15521 and "documentation".
15523 2001-03-11 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15525 * buffer.C (getTocList): make the list also when NEW_INSETS is
15528 * buffer.h: remove TocType
15530 * buffer.C (getTocList): change to return a map<string,
15531 vector<TocItem> >, implement for dynamic number of list.
15533 * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
15534 * text2.C (PasteSelection): adjust
15535 * CutAndPaste.C (pasteSelection): adjust
15537 * FloatList.C (FloatList): update from the new_insets branch.
15538 * Floating.[Ch]: ditto
15539 * LaTeXFeatures.C: ditto
15541 * lyxlex_pimpl.C: ditto
15543 * paragraph.C (Last): remove when NEW_INSETS is defined.
15545 * other file: changes because of the above.
15547 2001-03-09 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15549 * lyxparagraph.h: rename next to next_, previous to previous_,
15550 make them private for NEW_INSETS. Rename Next() to next(),
15551 Previous() to previous().
15553 * other files: changes because of the above.
15555 2001-03-08 Dekel Tsur <dekelts@tau.ac.il>
15558 * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
15561 2001-03-08 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15563 * main.C (main): pass lyx_localedir to gettext_init().
15565 * gettext.h: remove locale_init and gettext_init macros
15567 * gettext.C (locale_init): new function
15568 (gettext_init): new function
15570 * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
15573 2001-03-07 Edwin Leuven <leuven@fee.uva.nl>
15575 * Moved credits to frontends:
15576 * credits.[Ch]: removed
15577 * credits_form.[Ch]: removed
15578 * lyx_gui_misc.C: remove credits stuff
15581 2001-03-07 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15583 * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
15585 * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
15586 unneeded destructor.
15588 * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
15589 a standalone pointer again.
15591 * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
15593 2001-03-06 John Levon <moz@compsoc.man.ac.uk>
15599 * ToolbarDefaults.C:
15608 * BufferView_pimpl.C: use new file dialog in GUII
15611 * lyx_cb.C: remove LayoutsCB to Toolbar
15613 2001-03-07 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15615 * ShareContainer.h (get): add std:: qualifier
15617 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15619 * ShareContainer.h: define a proper ShareContainer::value_type
15620 type (and use typename to please compaq cxx)
15622 2001-03-06 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15624 * lyxparagraph.h: move serveral local vars to
15625 ParameterStruct/ParagraphParameters., use ShareContainer in
15626 FontTable., make vars in FontTable private and add getter and
15629 * paragraph.C: changes because of the above.
15631 * lyxfont.h: remove copy constructor and copy assignment. (the
15632 default ones is ok), move number inside FontBits. move inlines to
15635 * lyxfont.C: add number to initializaton of statics, move several
15636 inlines here. constify several local vars. some whitespace
15637 cleanup. Dont hide outerscope variables.
15639 * Spacing.h: add two new constructors to match the set methods.
15641 * ShareContainer.h: new file, will perhaps be moved to support
15643 * ParameterStruct.h: new file
15645 * ParagraphParameters.h: new file
15647 * ParagraphParameters.C: new file
15649 * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
15650 ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
15652 * BufferView_pimpl.C: ParagraphParameter changes.
15653 * buffer.C: Likewise.
15654 * bufferview_funcs.C: Likewise.
15655 * text.C: Likewise.
15656 * text2.C: Likewise.
15658 2001-03-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15660 * lyxfind.C (LyXReplace): do not redefine default argument in
15662 (IsStringInText): ditto
15663 (SearchForward): ditto
15664 (SearchBackward): ditto
15666 2001-03-06 Juergen Vigna <jug@sad.it>
15668 * lyxfind.C (IsStringInText): put parentes around expressions.
15670 2001-03-05 Edwin Leuven <leuven@fee.uva.nl>
15672 * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
15674 2001-02-23 John Levon <moz@compsoc.man.ac.uk>
15676 * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
15678 * stl_string_fwd.h: add comment
15680 * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
15683 * tabular.C: remove unused DocBook methods
15689 killed DO_USE_DEFAULT_LANGUAGE
15691 2001-03-01 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15693 * lyx_gui.C: do not include language.h.
15695 * bufferview_funcs.C (ToggleAndShow): do not provide optional
15696 arguments in function implementation.
15698 2001-02-28 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15700 * BufferView_pimpl.C: add <ctime>
15702 2001-02-27 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15704 * BufferView_pimpl.C: add using std::find_if
15706 2001-02-27 José Matos <jamatos@fep.up.pt>
15708 * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
15711 2001-02-11 José Matos <jamatos@fep.up.pt>
15713 * buffer.C (makeDocBookFile): command styles now have a parameter as
15714 "title" by default.
15716 2001-02-23 Edwin Leuven <leuven@fee.uva.nl>
15718 * layout_forms.[Ch]: removed
15719 * lyx_cb.[Ch]: out character
15720 * lyx_gui.C: out character
15721 * lyx_gui_misc.C: out character
15722 * bufferview_funcs.C: : out character,
15723 added toggleall as parameter in ToggleAndShow
15725 2001-02-26 Dekel Tsur <dekelts@tau.ac.il>
15727 * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
15729 * text2.C (SetCurrentFont): Disable number property at boundary.
15731 2001-02-26 Juergen Vigna <jug@sad.it>
15733 * lyxfunc.C (getStatus): added a string argument override function so
15734 that this is correctly called from LyXFunc::Dispatch if it contains a
15735 do_not_use_argument which is used!
15736 (Dispatch): added check for "custom" export and call appropriate func.
15738 2001-02-23 Dekel Tsur <dekelts@tau.ac.il>
15740 * lyxrc.C: Add language_command_local, language_use_babel and
15741 language_global_options.
15743 * lyxfont.C (latexWriteStartChanges): Use language_command_local.
15745 * buffer.C (makeLaTeXFile): Use language_use_babel and
15746 language_global_options.
15748 2001-02-23 Juergen Vigna <jug@sad.it>
15750 * lyxfunc.C (Dispatch): removed the whole part of the switch statement
15751 which works with LyXText and putted it inside BufferView. Here now we
15752 only call for that part the BufferView::Dispatch() function.
15754 * BufferView.C (Dispatch): added.
15756 * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
15757 functions which needs to use a LyXText over from LyXFunc.
15758 (MenuInsertLyXFile): added
15759 (getInsetByCode): added
15760 (moveCursorUpdate): added
15761 (static TEXT): added
15763 2001-02-22 Juergen Vigna <jug@sad.it>
15765 * BufferView_pimpl.C (update): call a status update to see if LyXText
15768 2001-02-20 Lars Gullik Bjønnes <larsbj@trylle.birdstep.com>
15770 * vc-backend.C (revert): implement for CVS
15771 (getLog): implement for CVS
15773 2001-02-20 Juergen Vigna <jug@sad.it>
15775 * text2.C (ClearSelection): added BufferView param for inset_owner call
15777 * lyxfunc.C (TEXT): added this function and use it instead of
15778 directly owner->view()-text of getLyXText().
15780 2001-02-20 Edwin Leuven <leuven@fee.uva.nl>
15782 * src/layout_forms.C: out preamble
15783 * src/layout_forms.h: out preamble
15784 * src/lyx_cb.C: out preamble
15785 * src/lyx_cb.h: out preamble
15786 * src/lyx_gui.C: out preamble
15787 * src/lyx_gui_misc.C: out preamble
15788 * src/lyxfunc.C: connect with guii preamble
15790 2001-02-19 Angus Leeming <a.leeming@ic.ac.uk>
15792 * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
15794 2001-02-17 Dekel Tsur <dekelts@tau.ac.il>
15796 * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
15797 whether to run bibtex.
15799 2001-02-16 Dekel Tsur <dekelts@tau.ac.il>
15801 * Makefile.am (lyx_SOURCES): Remove BackStack.h
15803 2001-02-16 Lars Gullik Bjønnes <larsbj@lyx.org>
15805 * Makefile.am (lyx_SOURCES): removed bibforms.h
15807 * vspace.h: doxygen
15809 * text.C (GetVisibleRow): make several local vars const
15811 * tabular.C: small cleanup.
15813 * lyxserver.C (callback): use compare instead of strncmp
15815 * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
15816 inlines to after class or to paragraph.C
15818 * lyxfont.h: remove friend operator!=
15820 * converter.h: move friend bool operator< to non friend and after
15823 * combox.h: small cleanup
15825 * buffer.h: doxygen, remove unused constructor, move inclas inlies
15826 to inlines after class def.
15828 * buffer.C (pop_tag): use string operations instead of strcmp
15830 * bmtable.c: doxygen, small cleanup
15832 * LaTeX.h: remove friend operator==
15834 2001-02-14 Lars Gullik Bjønnes <larsbj@lyx.org>
15846 * BufferView_pimpl.C:
15847 * BufferView.[Ch]: remove cruft
15849 2001-02-14 Juergen Vigna <jug@sad.it>
15851 * lyxfunc.C: removed #if 0 unused code
15853 * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
15855 * BufferView_pimpl.C (update): set updatestatus of inset if needed.
15857 * text2.C (SetSelection): added a BufferView * parameter
15859 2001-02-13 Juergen Vigna <jug@sad.it>
15861 * lyxfunc.C (Dispatch): fixed protected blank problem.
15862 * BufferView2.C (protectedBlank): added LyxText * parameter.
15864 * tabular.C (AppendRow): forgot to set row_info of newly added row.
15865 (AppendColumn): same as above for column_info.
15867 * lyxfunc.C (Dispatch): supported some more functions in InsetText.
15868 (moveCursorUpdate): use a LyXText param for support of InsetText.
15870 * BufferView_pimpl.C (doubleClick): added support for InsetText.
15871 (tripleClick): ditto
15873 * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
15875 * BufferView_pimpl.C (update): added LyXText param to honor insets.
15877 * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
15879 * text2.C (SetSelection): set correct update status if inset_owner
15880 (ToggleFree): ditto
15882 2001-02-12 Lars Gullik Bjønnes <larsbj@lyx.org>
15884 * tabular.C: remove some commented code.
15886 2001-02-12 John Levon <moz@compsoc.man.ac.uk>
15888 * BufferView_pimpl.C: call hideSplash()
15890 * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
15893 * bibforms.h: remove
15896 * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
15897 add LFUN_CHILD_CREATE
15899 * counters.h: fix tiny typo
15904 * lyx.C: move splash to frontends/xforms/
15906 * lyx_gui_misc.C: move Include and Bibform to frontends
15908 * lyxvc.h: clarify comment
15910 * vspace.C: tiny housekeeping
15912 2001-02-10 Dekel Tsur <dekelts@tau.ac.il>
15914 * text.C (PrepareToPrint): RTL Fix.
15916 * paragraph.C (GetUChar): New method.
15917 (String): Use GetUChar.
15919 * buffer.C (asciiParagraph): Use GetUChar.
15921 2001-02-09 Dekel Tsur <dekelts@tau.ac.il>
15923 * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
15925 2001-02-09 John Levon <moz@compsoc.man.ac.uk>
15928 * buffer.C: rename to getLogName(), handle
15929 build log / latex log nicely
15931 2001-02-09 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15934 * MenuBackend.h: remove support for reference menuitem type.
15936 2001-02-07 John Levon <moz@compsoc.man.ac.uk>
15938 * BufferView_pimpl.C: housekeeping
15939 * BufferView_pimpl.h:
15944 * minibuffer.h: move Timeout GUI-I
15946 2001-02-07 Dekel Tsur <dekelts@tau.ac.il>
15948 * lyxrc.C (read): Update converters data-structures.
15950 2001-02-07 Lars Gullik Bjønnes <larsbj@lyx.org>
15952 * LaTeX.h (operator!=): add operator != for Aux_Info
15954 2001-02-06 John Levon <moz@compsoc.man.ac.uk>
15956 * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
15958 * LaTeXLog.C: deleted, useful code moved to Buffer
15961 * buffer.C: new function getLatexLogName()
15967 * lyxfunc.C: use frontends for LaTeX and VC logs
15969 2001-02-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
15971 * LaTeX.h: yet another std:: that Allan forgot.
15973 * Variables.C (set): renamed from isset(), because this clashes
15974 with some HP-UX macros (grr).
15976 2001-02-06 Allan Rae <rae@lyx.org>
15978 * LaTeX.h: Another bug fix. Missing std:: this time.
15980 2001-02-04 Allan Rae <rae@lyx.org>
15982 * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
15983 floats problem. I've left it commented out because it's not quite
15984 correct. It should also test that the current object is a table or
15985 figure inset. But I haven't gotten around to figuring out how to do
15986 that. I *think* it'll be something like: "table" == inset.type()
15988 * LaTeX.h (operator==): Aux_Info should have a friend that returns a
15991 2001-02-02 Dekel Tsur <dekelts@tau.ac.il>
15993 * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
15994 all the citation/databases/styles in the auxilary file.
15995 (run): Rerun latex if there was a babel language error.
15997 2001-02-01 Dekel Tsur <dekelts@tau.ac.il>
15999 * text.C (Backspace): Preserve the font when changing newline char
16001 (BreakParagraph): If the cursor is before a space, delete the space.
16003 * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
16005 2001-01-31 Dekel Tsur <dekelts@tau.ac.il>
16007 * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
16008 new argument (code).
16009 (ChangeCitationsIfUnique): New method.
16011 * paragraph.C (GetPositionOfInset): Handle bibkey.
16013 2001-01-29 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16015 * BufferView_pimpl.h: change type of Position::par_pos to
16016 LyXParagraph::size_type.
16018 2001-01-29 Dekel Tsur <dekelts@tau.ac.il>
16020 * BufferView_pimpl.C (savePosition, restorePosition): Write
16021 messages to minibuffer.
16023 2001-01-28 José Matos <jamatos@fep.up.pt>
16025 * buffer.C (makeDocBookFile): adds support for document language.
16026 A silly restriction on the name of LatexCommand types where removed.
16027 Added support for CDATA sections, allows to chars unescaped, used
16028 among others in code, to avoid escape < and >.
16030 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16032 * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
16033 saved positions instrad of a stack. Furthermore, a position is
16034 stored using paragraph id/paragraph position.
16036 * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
16037 Remove LFUN_REF_BACK.
16039 2001-01-27 Dekel Tsur <dekelts@tau.ac.il>
16041 * converter.C (dvipdfm_options): New method.
16043 2001-01-26 Dekel Tsur <dekelts@tau.ac.il>
16045 * vspace.C (isValidLength): Fix for empty input string.
16047 2001-01-26 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16049 * LyXAction.C (init): change description of LFUN_FIGURE to
16052 2001-01-25 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16054 * LaTeX.C: add using directive
16056 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16058 * MenuBackend.C (expand): Fix the sorting of the formats.
16060 2001-01-24 John Levon <moz@compsoc.man.ac.uk>
16062 * lyx_main.C: tiny error message fix
16064 2001-01-24 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16066 * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
16067 calling fl_initialize(). This fixes the problem with ',' as
16068 decimal separator in text files.
16070 2001-01-24 Dekel Tsur <dekelts@tau.ac.il>
16072 * trans.C (process): Fix the keymap bug.
16074 2001-01-23 Dekel Tsur <dekelts@tau.ac.il>
16076 * LaTeX.C (scanAuxFiles): New method. Provides support for
16077 multiple bibliographies (when using the bibtopic/bibunits pacakges).
16078 (scanLogFile) Scan for "run BibTeX" messages.
16080 * buffer.C (makeLaTeXFile): Do not load the ae package when using
16081 OT1 font encoding. Also, load the aecompl package if the ae
16084 * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
16086 2001-01-22 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16088 * texrow.C (increasePos): turn two error messages into debug
16091 2001-01-20 Dekel Tsur <dekelts@tau.ac.il>
16093 * LaTeX.C (scanAux): Handle the \@input macro.
16094 (runBibTeX): Use scanAux().
16096 * language.C (latex_options_): New field.
16098 * LaTeXFeatures.C (getMacros): Add language macros.
16100 * buffer.C (makeLaTeXFile): Small fix.
16102 2001-01-19 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
16104 * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
16106 * text2.C: add a using directive.
16108 2000-01-17 John Levon <moz@compsoc.man.ac.uk>
16113 * lyxfunc.C: kill LyXBell.
16115 2001-01-17 Dekel Tsur <dekelts@tau.ac.il>
16117 * text.C (IsBoundary): Remove the error message
16119 * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
16121 * lyxrc.C (setDefaults): Correct initialization value for
16124 2001-01-15 Dekel Tsur <dekelts@tau.ac.il>
16126 * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
16129 * text2.C (GotoNextInset): New method. Replaces GotoNextError()
16130 and GotoNextNote().
16132 * src/LyXAction.C: Added reference-next.
16134 * text.C (InsertChar): Use contains instead of strchr.
16136 * lyx_cb.C (MenuInsertLabel): Enable default value code.
16138 2001-01-13 Dekel Tsur <dekelts@tau.ac.il>
16140 * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
16141 alignment commands (when needed).
16143 * text.C (InsertChar): Add ':' to number separator chars.